<font size=2 face="sans-serif">Hi</font>
<br>
<br><font size=2 face="sans-serif">Thanks for that.</font>
<br>
<br><font size=2 face="sans-serif">One last question, looking at the binding
of the method POST, i.e. would you use the same binding to the POSTDIALOG
method, but how then would you bind these in / out to the POST method called
in the method POSTDIALOG?</font>
<br>
<br><img src=cid:_1_074167C8074163980050FE8D80257B32>
<br><font size=2 face="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: jhaworth@csc.com|www.csc.com<br>
<br>
=============================================<br>
Advanced Holiday Notice:<br>
<br>
3rd June - 28th June<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>
</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">&quot;Florin Wach&quot;
&lt;florin.wach@gmx.net&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">&quot;SAP Workflow
Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">18/03/2013 14:05</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">Re: FIPP method
POST</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">sap-wug-bounces@mit.edu</font>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>Hi John,<br>
<br>
yeah, that's how I've designed it: It's a foreground/dialog step, that
is executed right after the final approval was done, still being in the
context of the current user.<br>
<br>
The user itself will not notify this kinde of dialog-method-that-is-no-dialog,
unless it runs into an error ;-)<br>
<br>
This way you can avoid to hack the change-document table afterwards, as
the underlying called function modules do not allow to pass on a different
user agent name, which would be overwritten here.<br>
I've also watched for available (implicit) Enhancement options, where a
different user name could be picked up, but there wasn't any that I've
found.<br>
<br>
Florin<br>
<br>
<br>
<br>
<br>
<br>
-------- Original-Nachricht --------<br>
&gt; Datum: Mon, 18 Mar 2013 14:50:46 +0100<br>
&gt; Von: John Haworth &lt;jhaworth@csc.com&gt;<br>
&gt; An: &quot;SAP Workflow Users\' Group&quot; &lt;sap-wug@mit.edu&gt;<br>
&gt; Betreff: Re: FIPP method POST<br>
<br>
&gt; Hi<br>
&gt; <br>
&gt; Thanks for that. <br>
&gt; <br>
&gt; Could you please just clarify, if this has been defined as a dialog
<br>
&gt; method, when creating the workflow task that's calls it, would the
task <br>
&gt; not require a user name as the the receiving agent, (as its a dialog
<br>
&gt; method, i cant run it as a background task), so its going to try and
send <br>
&gt; the task to the receiving agent.?<br>
&gt; <br>
&gt; Kind Regards<br>
&gt; <br>
&gt; John Haworth<br>
&gt; SAP PDM<br>
&gt; CSC<br>
&gt; &nbsp;<br>
&gt; Euxton House, Euxton Lane, Chorley, PR7 6FE.<br>
&gt; |Office: +44(0)1257 23 6474|Mobile: +44(0)7921069650| email: <br>
&gt; jhaworth@csc.com|www.csc.com<br>
&gt; <br>
&gt; =============================================<br>
&gt; Advanced Holiday Notice:<br>
&gt; <br>
&gt; 3rd June - 28th June<br>
&gt; <br>
&gt; =============================================<br>
&gt; <br>
&gt; CSC • This is a PRIVATE message. If you are not the intended recipient,
<br>
&gt; please delete without copying and kindly advise us by e-mail of the
<br>
&gt; mistake in delivery. &nbsp;NOTE: Regardless of content, this e-mail
shall not <br>
&gt; operate to bind CSC to any order or other contract unless pursuant
to <br>
&gt; explicit written agreement or government initiative expressly permitting
<br>
&gt; the use of e-mail for such purpose • CSC Computer Sciences Limited
• <br>
&gt; Registered Office: Royal Pavilion, Wellesley Road, Aldershot, Hampshire,
<br>
&gt; GU11 1PZ, UK • Registered in England No: 0963578<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; From: &nbsp; &quot;Florin Wach&quot; &lt;florin.wach@gmx.net&gt;<br>
&gt; To: &nbsp; &nbsp; &quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;<br>
&gt; Date: &nbsp; 18/03/2013 11:46<br>
&gt; Subject: &nbsp; &nbsp; &nbsp; &nbsp;Re: FIPP method POST<br>
&gt; Sent by: &nbsp; &nbsp; &nbsp; &nbsp;sap-wug-bounces@mit.edu<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; Hello John,<br>
&gt; <br>
&gt; I've create a new method PostDialog within a subtype of FIPP and checked
<br>
&gt; the box &quot;Dialog&quot;.<br>
&gt; Within the method implementation I've basically called the Post method
and<br>
&gt; passed throught the same exceptions. You may vary here the implementation
<br>
&gt; as you like, depending on the processing flow of the workflow pattern,
and<br>
&gt; how you'd like to handle the exception situation, such as &quot;Object
is <br>
&gt; currently locked by user &amp;2&quot;<br>
&gt; <br>
&gt; begin_method postdialog changing container<br>
&gt; &nbsp; &nbsp;swc_call_method self 'Post' container.<br>
&gt; &nbsp; &nbsp;CASE sy-subrc.<br>
&gt; &nbsp; &nbsp; &nbsp; WHEN 0. &nbsp; &nbsp;&quot;Everything was okay
with the call, so nothing to do<br>
&gt; &nbsp; &nbsp; &nbsp; WHEN 1001. &quot;Serious posting problem<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;exit_return
1001 sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.<br>
&gt; &nbsp; &nbsp; &nbsp; WHEN 1002. &quot;Locked<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;exit_return
1001 sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.<br>
&gt; &nbsp; &nbsp; &nbsp; WHEN OTHERS. &quot;Unknown exception<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;exit_return
9001 sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.<br>
&gt; &nbsp; &nbsp;ENDCASE.<br>
&gt; end_method.<br>
&gt; <br>
&gt; <br>
&gt; &nbsp; &nbsp;Florin Wach<br>
&gt; &nbsp; &nbsp;Systems-Integration<br>
&gt; <br>
&gt; <br>
&gt; -------- Original-Nachricht --------<br>
&gt; &gt; Datum: Mon, 18 Mar 2013 12:24:44 +0100<br>
&gt; &gt; Von: John Haworth &lt;jhaworth@csc.com&gt;<br>
&gt; &gt; An: &quot;SAP Workflow Users\' Group&quot; &lt;sap-wug@mit.edu&gt;<br>
&gt; &gt; Betreff: FIPP method POST<br>
&gt; <br>
&gt; &gt; Hi<br>
&gt; &gt; <br>
&gt; &gt; Thanks to all who responded to previous help requests.<br>
&gt; &gt; <br>
&gt; &gt; I now have a FI Journal approval workflow that seems to be meeting
<br>
&gt; &gt; requirements. I have one further question though. The workflow
uses the <br>
&gt; &gt; POST method of FIPP to post the fi document after it has been
released. <br>
&gt; &gt; But as the post method is a background method, the users see
that <br>
&gt; Approved<br>
&gt; &gt; documents show Posted By WF-BATCH in the header. Is there any
way of <br>
&gt; &gt; changing this to show the name of the person who released it
instead?<br>
&gt; &gt; <br>
&gt; &gt; Kind Regards<br>
&gt; &gt; <br>
&gt; &gt; John Haworth<br>
&gt; &gt; SAP PDM<br>
&gt; &gt; CSC<br>
&gt; &gt; <br>
&gt; &gt; Euxton House, Euxton Lane, Chorley, PR7 6FE.<br>
&gt; &gt; |Office: +44(0)1257 23 6474|Mobile: +44(0)7921069650| email:
<br>
&gt; &gt; jhaworth@csc.com|www.csc.com<br>
&gt; &gt; <br>
&gt; &gt; =============================================<br>
&gt; &gt; Advanced Holiday Notice:<br>
&gt; &gt; <br>
&gt; &gt; 3rd June - 28th June<br>
&gt; &gt; <br>
&gt; &gt; =============================================<br>
&gt; &gt; <br>
&gt; &gt; CSC • This is a PRIVATE message. If you are not the intended<br>
&gt; recipient, <br>
&gt; &gt; please delete without copying and kindly advise us by e-mail
of the <br>
&gt; &gt; mistake in delivery. &nbsp;NOTE: Regardless of content, this
e-mail shall not<br>
&gt; <br>
&gt; &gt; operate to bind CSC to any order or other contract unless pursuant
to <br>
&gt; &gt; explicit written agreement or government initiative expressly
permitting<br>
&gt; <br>
&gt; &gt; the use of e-mail for such purpose • CSC Computer Sciences Limited
•<br>
&gt; &gt; Registered Office: Royal Pavilion, Wellesley Road, Aldershot,
Hampshire,<br>
&gt; <br>
&gt; &gt; GU11 1PZ, UK • Registered in England No: 0963578<br>
&gt; &gt; <br>
&gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; SAP-WUG@mit.edu<br>
&gt; </font></tt><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug"><tt><font size=2>http://mailman.mit.edu/mailman/listinfo/sap-wug</font></tt></a><tt><font size=2><br>
&gt; <br>
&gt; <br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
</font></tt><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug"><tt><font size=2>http://mailman.mit.edu/mailman/listinfo/sap-wug</font></tt></a><tt><font size=2><br>
</font></tt>
<br>