<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Hi Dale,</FONT></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>How are you?</FONT></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>I don’t have a 7.0 SRM system now to test but remember that I determined it was an adhoc approver by looking at the Workflow task ID (solution 1).<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>I needed to know in order to send different info in the Smartform for intermediate notification.</FONT></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT face=Calibri>Through configuration we used a different task for the adhoc approver which had different verbiage.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Solution 2 - Can you put these automated comments in the work item long text?<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></FONT></FONT></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>If I remember correctly, FM /SAPSRM/WF_CORE_ADHOC_READ did not pick up the agents because the updates were still in the buffer.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Solution 3 - It’s worth a shot to try this FM.</FONT></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Regards,</FONT></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Thomas Maue</FONT></DIV><BR>--- On <B>Fri, 8/5/11, Dale Brown <I>&lt;dale.brown@duke.edu&gt;</I></B> wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: Dale Brown &lt;dale.brown@duke.edu&gt;<BR>Subject: Adhoc Approval on Shopping Cart - Runtime Storage<BR>To: "sap-wug@mit.edu" &lt;sap-wug@mit.edu&gt;<BR>Date: Friday, August 5, 2011, 10:41 AM<BR><BR>
<DIV id=yiv1336014292>
<STYLE><!--
#yiv1336014292  
 _filtered #yiv1336014292 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv1336014292 {font-family:Consolas;panose-1:2 11 6 9 2 2 4 3 2 4;}
#yiv1336014292  
#yiv1336014292 p.yiv1336014292MsoNormal, #yiv1336014292 li.yiv1336014292MsoNormal, #yiv1336014292 div.yiv1336014292MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"sans-serif";}
#yiv1336014292 a:link, #yiv1336014292 span.yiv1336014292MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv1336014292 a:visited, #yiv1336014292 span.yiv1336014292MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv1336014292 p.yiv1336014292MsoPlainText, #yiv1336014292 li.yiv1336014292MsoPlainText, #yiv1336014292 div.yiv1336014292MsoPlainText
        {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"sans-serif";}
#yiv1336014292 span.yiv1336014292PlainTextChar
        {font-family:"sans-serif";}
#yiv1336014292 .yiv1336014292MsoChpDefault
        {font-family:"sans-serif";}
 _filtered #yiv1336014292 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv1336014292 div.yiv1336014292WordSection1
        {}
--></STYLE>

<DIV class=yiv1336014292WordSection1>
<P class=yiv1336014292MsoPlainText>Running on SRM 7.0 - Processed Control Workflow. Is there a way to tell on a current approval step that an adhoc approver is being added </DIV>
<P class=yiv1336014292MsoPlainText>to be the next level approver. In the BBP_DOC_CHANGE_BADI we are wanting to put some automated comments in the approval note, so when the adhoc </DIV>
<P class=yiv1336014292MsoPlainText>agent gets the work item he will see these notes. I know after getting out of the BBP_DOC_CHANGE_BADI, that table /SAPSRM/D_WF_016 gets updated </DIV>
<P class=yiv1336014292MsoPlainText>and there are some other tables that have the next level id, etc.. and there are classes and methods that I can use at that point in time, </DIV>
<P class=yiv1336014292MsoPlainText>but I am looking for some type of way to know during the BBP_DOC_CHANGE_BADI, that the next level coming up will now be an adhoc level.</DIV></DIV></DIV><BR>-----Inline Attachment Follows-----<BR><BR>
<DIV class=plainMail>_______________________________________________<BR>SAP-WUG mailing list<BR><A href="http://us.mc816.mail.yahoo.com/mc/compose?to=SAP-WUG@mit.edu" ymailto="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR></DIV></BLOCKQUOTE></td></tr></table>