<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16851" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=686251522-27082009><FONT face=Arial 
color=#0000ff size=2>Tom - There are Portal Content Directory settings for the 
UWL that control what is visible to the user ... such as hiding the Profile 
field and Create/Delete options</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=686251522-27082009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=686251522-27082009><FONT face=Arial 
color=#0000ff size=2>The idea of maintain substitute is that&nbsp;you can 
maintain additional tables along with the 
substitution.&nbsp;</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=686251522-27082009><FONT face=Arial 
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=686251522-27082009><FONT face=Arial 
color=#0000ff size=2>Jocelyn </FONT>&nbsp;</SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=686251522-27082009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Simon, Tom<BR><B>Sent:</B> 
Thursday, 27 August 2009 10:44 PM<BR><B>To:</B> 
sap-wug@mit.edu<BR><B>Subject:</B> [LIKELY JUNK]Business Addin WF_SUBSTITUTE and 
UWL<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2><SPAN class=468450612-27082009>I am testing this 
business addin&nbsp;to limit the profiles and&nbsp;users that can be used as a 
substitute in the UWL.&nbsp; The Business Addin gets called from the following 
three function modules: SAP_WAPI_SUBSTITUTE_MAINTAIN, 
SAP_WAPI_SUBSTITUTE_DELETE,SAP_WAPI_SUBSTITUTE_PROF_GET.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=468450612-27082009>In the UWL you are 
not able eliminate the "ALL Task" profile and when SAP_WAPI_SUBSTITUTE_MAINTAIN 
is called it calls the business addin interface executes the code in 
MAINTAIN_SUBSTITUTE.&nbsp;<STRONG>It does not create the error message in the 
UWL and the substitute gets added to the table.&nbsp;&nbsp;</STRONG>Under other 
profiles selected in the UWL&nbsp;a system error is created&nbsp;which is not 
user friendly.&nbsp; It states"An internal error returned by provider" then 
further down the actual message is returned but you would have a hardtime 
identitfying it.&nbsp;&nbsp;When the delete module is called the business 
addin&nbsp;does not stop the user from deleting the substitution.&nbsp; 
The&nbsp;error message is not acknowledged in the UWL.&nbsp; I&nbsp;opened 
an&nbsp;OSS note and&nbsp;SAP replied that my description of the above behavior 
of&nbsp;the business addin wf_substitute is standard.&nbsp; Has anyone else 
experienced this type of behavior in the UWL using the business addin 
WF_SUBSTITUTE.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=468450612-27082009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=468450612-27082009>Thank 
you</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=468450612-27082009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=468450612-27082009>Tom 
Simon</SPAN></FONT></DIV></BODY></HTML>