<!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.&nbsp; </SPAN></FONT><FONT face=Arial size=2><SPAN 
class=682032220-11082009>I have set a breakpoint in the code and it is being 
executed.&nbsp; The message is passed back to the calling program 
SAP_WAPI_SUBSTITUTE_MAINTAIN but it is never displayed in the 
UWL?&nbsp;&nbsp;Any thoughts on&nbsp;why?&nbsp; </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=682032220-11082009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=682032220-11082009><!--StartFragment --><FONT size=3><FONT 
face="Times New Roman">&nbsp;
<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>&nbsp;substitute&nbsp;=&nbsp;<SPAN 
class=L0S33>'USE002290'</SPAN>.<BR><SPAN 
class=L0S31>*&nbsp;&nbsp;&nbsp;&nbsp;set&nbsp;the&nbsp;return&nbsp;code</SPAN><BR>&nbsp;&nbsp;&nbsp;&nbsp;return_code&nbsp;=&nbsp;<SPAN 
class=L0S33>'5'</SPAN>.<BR><SPAN 
class=L0S31>*&nbsp;&nbsp;&nbsp;set&nbsp;the&nbsp;error&nbsp;message</SPAN><BR>&nbsp;&nbsp;&nbsp;&nbsp;ls_msg-msgid&nbsp;=&nbsp;<SPAN 
class=L0S33>'SWL'</SPAN>.<BR>&nbsp;&nbsp;&nbsp;&nbsp;ls_msg-msgty&nbsp;=&nbsp;<SPAN 
class=L0S33>'I'</SPAN>.<BR>&nbsp;&nbsp;&nbsp;&nbsp;ls_msg-msgno&nbsp;=&nbsp;<SPAN 
class=L0S32>156</SPAN>.<BR>&nbsp;&nbsp;&nbsp;&nbsp;<SPAN 
class=L0S52>append</SPAN>&nbsp;ls_msg&nbsp;<SPAN 
class=L0S52>to</SPAN>&nbsp;msg.<BR>&nbsp;&nbsp;<SPAN 
class=L0S52>endif</SPAN>.</SPAN><FONT face="Times New Roman" 
size=3>&nbsp;</FONT>&nbsp;</SPAN></FONT></DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN 
class=682032220-11082009></SPAN></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN 
class=682032220-11082009>Tom</SPAN></FONT></DIV></BODY></HTML>