<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.l0s331
        {mso-style-name:l0s331;
        font-family:"Courier New";
        color:#4DA619;
        background:white;}
span.l0s551
        {mso-style-name:l0s551;
        font-family:"Courier New";
        color:purple;
        background:white;}
span.l0s521
        {mso-style-name:l0s521;
        font-family:"Courier New";
        color:blue;
        background:white;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>John,  I never used the SAP wf but I guess if you copy it to your own you can change the binding no problem.  On the triggering of the event you just need to set the container element with the approver you determined in your logic.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:white'>swc_clear_container&nbsp;container_instanz</span><span class=l0s551><span style='font-size:10.0pt'>.</span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:white'>swc_set_element&nbsp;container_instanz&nbsp;</span><span class=l0s331><span style='font-size:10.0pt'>'APPROVER'&nbsp;'USMSCHUMACHER'</span></span><span class=l0s551><span style='font-size:10.0pt'>.<o:p></o:p></span></span></p><p class=MsoNormal><span class=l0s551><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></span></p><p class=MsoNormal><span class=l0s521><span style='font-size:10.0pt'>call&nbsp;function&nbsp;</span></span><span class=l0s331><span style='font-size:10.0pt'>'SWE_EVENT_CREATE_FOR_UPD_TASK'</span></span><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:white'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class=l0s521><span style='font-size:10.0pt'>exporting</span></span><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:white'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class=l0s521><span style='font-size:10.0pt'>event&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span><span class=l0s551><span style='font-size:10.0pt'>=&nbsp;</span></span><span class=l0s331><span style='font-size:10.0pt'>'CREATED'</span></span><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:white'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;objtype&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class=l0s551><span style='font-size:10.0pt'>=&nbsp;</span></span><span class=l0s331><span style='font-size:10.0pt'>'FIPP'</span></span><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:white'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;objkey&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class=l0s551><span style='font-size:10.0pt'>=&nbsp;</span></span><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:white'>wf_objkey<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class=l0s521><span style='font-size:10.0pt'>tables</span></span><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:white'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;event_container&nbsp;</span><span class=l0s551><span style='font-size:10.0pt'>=&nbsp;</span></span><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:white'>container_instanz</span><span class=l0s551><span style='font-size:10.0pt'>.</span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Margaret Schumacher<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <b>On Behalf Of </b>John Haworth<br><b>Sent:</b> Monday, January 07, 2013 8:58 AM<br><b>To:</b> SAP Workflow Users' Group<br><b>Subject:</b> RE: General Ledger / Journal posting Approval Workflow<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Hi</span> <br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Thanks for the info, very useful.</span> <br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>One further question, I am looking at the standard workflow WS1000051, but at triggering it via a user exit because of the need to select an approver from a list, could I pass/bind the chosen approver to the standard FIPP CREATED event, ignoring the standard SPRO FI config, where approvers are identified?</span> <br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Kind Regards<br><br>John Haworth<br>SAP PDM<br>CSC<br><br>Euxton House, Euxton Lane, Chorley, PR7 6FE.<br>|Office: +44(0)1257 23 6474|Mobile: +44(0)7921069650| email: <a href="mailto:jhaworth@csc.com|www.csc.com">jhaworth@csc.com|www.csc.com</a><br><br>=============================================<br>Advanced Holiday Notice:<br><br>=============================================<br><br>CSC • This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. &nbsp;NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose • CSC Computer Sciences Limited • Registered Office: Royal Pavilion, Wellesley Road, Aldershot, Hampshire, GU11 1PZ, UK • Registered in England No: 0963578<br></span><br><br><br><br><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F'>From: &nbsp; &nbsp; &nbsp; &nbsp;</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>&quot;Schumacher, Margaret&quot; &lt;<a href="mailto:margaret.schumacher@teleflex.com">margaret.schumacher@teleflex.com</a>&gt;</span> <br><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F'>To: &nbsp; &nbsp; &nbsp; &nbsp;</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>&quot;SAP Workflow Users' Group&quot; &lt;<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;</span> <br><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F'>Date: &nbsp; &nbsp; &nbsp; &nbsp;</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>03/01/2013 20:02</span> <br><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F'>Subject: &nbsp; &nbsp; &nbsp; &nbsp;</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>RE: General Ledger / Journal posting Approval Workflow</span> <br><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F'>Sent by: &nbsp; &nbsp; &nbsp; &nbsp;</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'><a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a></span> <o:p></o:p></p><div class=MsoNormal align=center style='text-align:center'><hr size=2 width="100%" noshade style='color:#A0A0A0' align=center></div><p class=MsoNormal style='margin-bottom:12.0pt'><br><br><br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>John,</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>You can use the BTE 1140 (tcode BF34) to restrict the post button when the sy-tcode = ‘FB50’ and BTE 2213 to issue the event to trigger the workflow. </span><br><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp; <span style='color:blue'>if </span>… &nbsp;<span style='color:blue'>or </span>sy<span style='color:gray'>-</span>tcode <span style='color:purple'>= </span><span style='color:#3F803F'>'FB50' </span><span style='color:blue'>or </span>sy<span style='color:gray'>-</span>tcode <span style='color:purple'>= </span><span style='color:#3F803F'>'FB50L'.</span><br>&nbsp; &nbsp;t_exctab<span style='color:gray'>-</span>okcod <span style='color:purple'>= </span><span style='color:#3F803F'>'BU'</span><span style='color:purple'>. &nbsp; &nbsp; &nbsp; &nbsp; </span><i><span style='color:gray'>&quot;Post Button ok code to exclude</span></i><br>&nbsp; &nbsp;<span style='color:blue'>append </span>t_exctab<span style='color:purple'>.</span><br>&nbsp;<span style='color:blue'>endif</span><span style='color:purple'>.</span></span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>SAP has a mechanism for releasing (SPRO Assing Release Approval Procedure for Parking Documents) but we didn’t use it …&nbsp; you set some configuration by company code but it wasn’t restricting the FB50 or FB50L transactions.&nbsp; It did turn off post button for FV50 for the configured company code.</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#004080'>Margaret Schumacher</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;</span> <br><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a> [</span><a href="mailto:sap-wug-bounces@mit.edu"><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>mailto:sap-wug-bounces@mit.edu</span></a><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>] <b>On Behalf Of </b>John Haworth<b><br>Sent:</b> Thursday, January 03, 2013 9:35 AM<b><br>To:</b> SAP Workflow Users' Group<b><br>Subject:</b> General Ledger / Journal posting Approval Workflow</span> <br>&nbsp; <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Hi All</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>Best wishes for 2013.</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>I have a new requirement to start the year with, specifically to look at an Approval workflow for General Ledger postings.</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>Not my area, just wondered if anyone has any useful advice / collateral to get started. I believe it's transaction FB50, but I need to ensure the finance document posted is initially parked and the workflow initiated to seek approval, which would then remove the parked status.</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>Kind Regards<br><br>John Haworth<br>SAP PDM<br>CSC<br><br>Euxton House, Euxton Lane, Chorley, PR7 6FE.<br>|Office: +44(0)1257 23 6474|Mobile: +44(0)7921069650| email: </span><a href="mailto:jhaworth@csc.com|www.csc.com"><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>jhaworth@csc.com|www.csc.com</span></a><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br><br>=============================================<br>Advanced Holiday Notice:<br><br>=============================================<br><br>CSC • This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. &nbsp;NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose • CSC Computer Sciences Limited • Registered Office: Royal Pavilion, Wellesley Road, Aldershot, Hampshire, GU11 1PZ, UK • Registered in England No: 0963578</span><tt><span style='font-size:10.0pt'>_______________________________________________</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>SAP-WUG mailing list</tt><br><tt><a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a></tt><br></span><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug"><tt><span style='font-size:10.0pt'>http://mailman.mit.edu/mailman/listinfo/sap-wug</span></tt></a><o:p></o:p></p></div></body></html>