<!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.16788" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=682032220-11082009>This business add-in
wf_substitute is being implemented to create a message as shown in the example
class CL_EXM_IM_WF_SUBSTITUTE. </SPAN></FONT><FONT face=Arial size=2><SPAN
class=682032220-11082009>I have set a breakpoint in the code and it is being
executed. The message is passed back to the calling program
SAP_WAPI_SUBSTITUTE_MAINTAIN but it is never displayed in the
UWL? Any thoughts on why? </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=682032220-11082009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=682032220-11082009><!--StartFragment --><FONT size=3><FONT
face="Times New Roman">
<STYLE type=text/css>
SPAN {
font-family: "Courier New";
font-size: 10pt;
color: #000000;
background: #FFFFFF;
}
.L0S31 {
font-style: italic;
color: #808080;
}
.L0S32 {
color: #3399FF;
}
.L0S33 {
color: #4DA619;
}
.L0S52 {
color: #0000FF;
}
</STYLE>
</FONT></FONT><SPAN><SPAN
class=L0S52>if</SPAN> substitute = <SPAN
class=L0S33>'USE002290'</SPAN>.<BR><SPAN
class=L0S31>* set the return code</SPAN><BR> return_code = <SPAN
class=L0S33>'5'</SPAN>.<BR><SPAN
class=L0S31>* set the error message</SPAN><BR> ls_msg-msgid = <SPAN
class=L0S33>'SWL'</SPAN>.<BR> ls_msg-msgty = <SPAN
class=L0S33>'I'</SPAN>.<BR> ls_msg-msgno = <SPAN
class=L0S32>156</SPAN>.<BR> <SPAN
class=L0S52>append</SPAN> ls_msg <SPAN
class=L0S52>to</SPAN> msg.<BR> <SPAN
class=L0S52>endif</SPAN>.</SPAN><FONT face="Times New Roman"
size=3> </FONT> </SPAN></FONT></DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN
class=682032220-11082009></SPAN></FONT> </DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN class=682032220-11082009>Thank
you</SPAN></FONT></DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN
class=682032220-11082009></SPAN></FONT> </DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN
class=682032220-11082009>Tom</SPAN></FONT></DIV></BODY></HTML>