Hello John,<br/>
<br/>
there&#39;re two possibilities, why you can loose the consecutive dialog procssing:<br/>
<br/>
A) there&#39;s one background step in between the release step and the post step, which is why you loose the dialog processing, because the Workflow runtime can create the next dialog step only after having switched the user to WF-BATCH<br/>
<br/>
B) In the workflow pattern definition you have unchecked the box &quot;Immediate dialog forwarding&quot; (or kinda like that)<br/>
<br/>
To solve A) you&#39;d need to check if you could replace another background step by a synchronous dialog one. In this case you could think of integrate the previous synchronous one into the PostDialog method. I think that I can remember some SAP Standard step to set the &quot;Released&quot; flag on the preliminary document, before it can be posted. This is using the method ReleaseSet and its a synchronous background step which can be transformed how I have described.<br/>
<br/>
To solve B) just check the missing box and try again.<br/>
<br/>
With the very best wishes,<br/>
   Florin<br>
<br>
<div name="quote" style='margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;'>
    <div style="margin:0 0 10px 0;">
        <b>Gesendet:</b>&nbsp;Donnerstag, 21. M&auml;rz 2013 um 16:10 Uhr<br/>
        <b>Von:</b>&nbsp;&quot;John Haworth&quot; &lt;jhaworth@csc.com&gt;<br/>
        <b>An:</b>&nbsp;&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;<br/>
        
        <b>Betreff:</b>&nbsp;Re: FIPP method POST
    </div>
    <div name="quoted-content">
        <font face="sans-serif" size="2">Hi</font>
<br/>
<br/><font face="sans-serif" size="2">I added the step as you suggest, but
the task doesnt automatically complete, the workflow returns a task in
my inbox asking me to Post. Any ideas? </font>
<br/>
<br/><font face="sans-serif" size="2">Kind Regards<br/>
<br/>
John Haworth<br/>
SAP PDM<br/>
CSC<br/>
 <br/>
Euxton House, Euxton Lane, Chorley, PR7 6FE.<br/>
&#124;Office: +44(0)1257 23 6474&#124;Mobile: +44(0)7921069650&#124; email: jhaworth@csc.com&#124;<a href="http://www.csc.com" target="_blank">www.csc.com</a><br/>
<br/>
=============================================<br/>
Advanced Holiday Notice:<br/>
<br/>
3rd June - 28th June<br/>
<br/>
=============================================<br/>
<br/>
CSC &bull; 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 &bull; CSC Computer Sciences Limited &bull; Registered
Office: Royal Pavilion, Wellesley Road, Aldershot, Hampshire, GU11 1PZ,
UK &bull; Registered in England No: 0963578<br/>
</font>
<br/>
<br/>
<br/>
<br/><font color="#5f5f5f" face="sans-serif" size="1">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font face="sans-serif" size="1">Florin Wach &lt;florin.wach@gmx.net&gt;</font>
<br/><font color="#5f5f5f" face="sans-serif" size="1">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font face="sans-serif" size="1">&quot;SAP Workflow
Users&#39; Group&quot; &lt;sap-wug@mit.edu&gt;</font>
<br/><font color="#5f5f5f" face="sans-serif" size="1">Cc: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font face="sans-serif" size="1">&quot;SAP Workflow
Users&#39; Group&quot; &lt;sap-wug@mit.edu&gt;</font>
<br/><font color="#5f5f5f" face="sans-serif" size="1">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font face="sans-serif" size="1">18/03/2013 20:41</font>
<br/><font color="#5f5f5f" face="sans-serif" size="1">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font face="sans-serif" size="1">Re: FIPP method
POST</font>
<br/><font color="#5f5f5f" face="sans-serif" size="1">Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font face="sans-serif" size="1">sap-wug-bounces@mit.edu</font>
<br/>
<hr noshade=""/>
<br/>
<br/>
<br/><font size="3">They&#39;d be exactly the same, as the Containers are just
passed completly!</font>
<br/>
<br/><font size="3">addendum:</font>
<br/>
<br/><font size="3">The containers are passed completly, by using the</font>
<br/><font size="3">swc_call_method self &#39;Post&#39; &nbsp;===&gt; container &lt;===.</font>
<br/>
<br/><font size="3">So the same receiving container for the method call to
PostDialog is used as-is for the call to the Post method. Therefore you
need to declare all importing/exporting elements exactly the same way as
the called method does.</font>
<br/>
<br/>
<br/><font size="3">Best wishes,</font>
<br/><font size="3">&nbsp; &nbsp;Florin</font>
<br/><font size="3"><br/>
Am 18.03.2013 um 15:43 schrieb John Haworth &lt;</font><a href="jhaworth@csc.com" target="_parent"><font color="blue" size="3"><u>jhaworth@csc.com</u></font></a><font size="3">&gt;:<br/>
</font>
<br/><font face="sans-serif" size="2">Hi</font><font size="3"> <br/>
</font><font face="sans-serif" size="2"><br/>
Thanks for that.</font><font size="3"> <br/>
</font><font face="sans-serif" size="2"><br/>
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><font size="3">
<br/>
<br/>
&lt;mime-attachment.gif&gt; </font><font face="sans-serif" size="2"><br/>
Kind Regards<br/>
<br/>
John Haworth<br/>
SAP PDM<br/>
CSC<br/>
<br/>
Euxton House, Euxton Lane, Chorley, PR7 6FE.<br/>
&#124;Office: +44(0)1257 23 6474&#124;Mobile: +44(0)7921069650&#124; email: </font><a href="jhaworth@csc.com" target="_parent"><font color="blue" face="sans-serif" size="2"><u>jhaworth@csc.com</u></font></a><font face="sans-serif" size="2">&#124;</font><a href="http://www.csc.com/" target="_blank"><font color="blue" face="sans-serif" size="2"><u>www.csc.com</u></font></a><font face="sans-serif" size="2"><br/>
<br/>
=============================================<br/>
Advanced Holiday Notice:<br/>
<br/>
3rd June - 28th June<br/>
<br/>
=============================================<br/>
<br/>
CSC &bull; 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 &bull; CSC Computer Sciences Limited &bull; Registered
Office: Royal Pavilion, Wellesley Road, Aldershot, Hampshire, GU11 1PZ,
UK &bull; Registered in England No: 0963578</font><font size="3"><br/>
<br/>
<br/>
<br/>
</font><font color="#5f5f5f" face="sans-serif" size="1"><br/>
From: &nbsp; &nbsp; &nbsp; &nbsp;</font><font face="sans-serif" size="1">&quot;Florin
Wach&quot; &lt;</font><a href="florin.wach@gmx.net" target="_parent"><font color="blue" face="sans-serif" size="1"><u>florin.wach@gmx.net</u></font></a><font face="sans-serif" size="1">&gt;</font><font size="3">
</font><font color="#5f5f5f" face="sans-serif" size="1"><br/>
To: &nbsp; &nbsp; &nbsp; &nbsp;</font><font face="sans-serif" size="1">&quot;SAP
Workflow Users&#39; Group&quot; &lt;</font><a href="sap-wug@mit.edu" target="_parent"><font color="blue" face="sans-serif" size="1"><u>sap-wug@mit.edu</u></font></a><font face="sans-serif" size="1">&gt;</font><font size="3">
</font><font color="#5f5f5f" face="sans-serif" size="1"><br/>
Date: &nbsp; &nbsp; &nbsp; &nbsp;</font><font face="sans-serif" size="1">18/03/2013
14:05</font><font size="3"> </font><font color="#5f5f5f" face="sans-serif" size="1"><br/>
Subject: &nbsp; &nbsp; &nbsp; &nbsp;</font><font face="sans-serif" size="1">Re:
FIPP method POST</font><font size="3"> </font><font color="#5f5f5f" face="sans-serif" size="1"><br/>
Sent by: &nbsp; &nbsp; &nbsp; &nbsp;</font><a href="sap-wug-bounces@mit.edu" target="_parent"><font color="blue" face="sans-serif" size="1"><u>sap-wug-bounces@mit.edu</u></font></a><font size="3">
<br/>
</font>
<hr noshade=""/><font size="3"><br/>
<br/>
</font><tt><font size="2"><br/>
Hi John,<br/>
<br/>
yeah, that&#39;s how I&#39;ve designed it: It&#39;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&#39;ve also watched for available (implicit) Enhancement options, where a
different user name could be picked up, but there wasn&#39;t any that I&#39;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;</font></tt><a href="jhaworth@csc.com" target="_parent"><tt><font color="blue" size="2"><u>jhaworth@csc.com</u></font></tt></a><tt><font size="2">&gt;<br/>
&gt; An: &quot;SAP Workflow Users&#92;&#39; Group&quot; &lt;</font></tt><a href="sap-wug@mit.edu" target="_parent"><tt><font color="blue" size="2"><u>sap-wug@mit.edu</u></font></tt></a><tt><font size="2">&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&#39;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; &#124;Office: +44(0)1257 23 6474&#124;Mobile: +44(0)7921069650&#124; email: <br/>
&gt; </font></tt><a href="jhaworth@csc.com" target="_parent"><tt><font color="blue" size="2"><u>jhaworth@csc.com</u></font></tt></a><tt><font size="2">&#124;</font></tt><a href="http://www.csc.com/" target="_blank"><tt><font color="blue" size="2"><u>www.csc.com</u></font></tt></a><tt><font size="2"><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 &bull; 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 &bull; CSC Computer Sciences Limited
&bull; <br/>
&gt; Registered Office: Royal Pavilion, Wellesley Road, Aldershot, Hampshire,
<br/>
&gt; GU11 1PZ, UK &bull; Registered in England No: 0963578<br/>
&gt; <br/>
&gt; <br/>
&gt; <br/>
&gt; <br/>
&gt; From: &nbsp; &quot;Florin Wach&quot; &lt;</font></tt><a href="florin.wach@gmx.net" target="_parent"><tt><font color="blue" size="2"><u>florin.wach@gmx.net</u></font></tt></a><tt><font size="2">&gt;<br/>
&gt; To: &nbsp; &nbsp; &quot;SAP Workflow Users&#39; Group&quot; &lt;</font></tt><a href="sap-wug@mit.edu" target="_parent"><tt><font color="blue" size="2"><u>sap-wug@mit.edu</u></font></tt></a><tt><font size="2">&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;</font></tt><a href="sap-wug-bounces@mit.edu" target="_parent"><tt><font color="blue" size="2"><u>sap-wug-bounces@mit.edu</u></font></tt></a><tt><font size="2"><br/>
&gt; <br/>
&gt; <br/>
&gt; <br/>
&gt; Hello John,<br/>
&gt; <br/>
&gt; I&#39;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&#39;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&#39;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 &#39;Post&#39; 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;</font></tt><a href="jhaworth@csc.com" target="_parent"><tt><font color="blue" size="2"><u>jhaworth@csc.com</u></font></tt></a><tt><font size="2">&gt;<br/>
&gt; &gt; An: &quot;SAP Workflow Users&#92;&#39; Group&quot; &lt;</font></tt><a href="sap-wug@mit.edu" target="_parent"><tt><font color="blue" size="2"><u>sap-wug@mit.edu</u></font></tt></a><tt><font size="2">&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; &#124;Office: +44(0)1257 23 6474&#124;Mobile: +44(0)7921069650&#124; email:
<br/>
&gt; &gt; </font></tt><a href="jhaworth@csc.com" target="_parent"><tt><font color="blue" size="2"><u>jhaworth@csc.com</u></font></tt></a><tt><font size="2">&#124;</font></tt><a href="http://www.csc.com/" target="_blank"><tt><font color="blue" size="2"><u>www.csc.com</u></font></tt></a><tt><font size="2"><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 &bull; 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 &bull; CSC Computer Sciences Limited
&bull;<br/>
&gt; &gt; Registered Office: Royal Pavilion, Wellesley Road, Aldershot,
Hampshire,<br/>
&gt; <br/>
&gt; &gt; GU11 1PZ, UK &bull; Registered in England No: 0963578<br/>
&gt; &gt; <br/>
&gt; _______________________________________________<br/>
&gt; SAP-WUG mailing list<br/>
&gt; </font></tt><a href="SAP-WUG@mit.edu" target="_parent"><tt><font color="blue" size="2"><u>SAP-WUG@mit.edu</u></font></tt></a><tt><font size="2"><br/>
&gt; </font></tt><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank"><tt><font color="blue" size="2"><u>http://mailman.mit.edu/mailman/listinfo/sap-wug</u></font></tt></a><tt><font size="2"><br/>
&gt; <br/>
&gt; <br/>
_______________________________________________<br/>
SAP-WUG mailing list</font></tt><tt><font color="blue" size="2"><u><br/>
</u></font></tt><a href="SAP-WUG@mit.edu" target="_parent"><tt><font color="blue" size="2"><u>SAP-WUG@mit.edu</u></font></tt></a><font color="blue" size="3"><u><br/>
</u></font><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank"><tt><font color="blue" size="2"><u>http://mailman.mit.edu/mailman/listinfo/sap-wug</u></font></tt></a><font size="3"><br/>
</font>
<br/><font size="3">_______________________________________________<br/>
SAP-WUG mailing list</font><font color="blue" size="3"><u><br/>
</u></font><a href="SAP-WUG@mit.edu" target="_parent"><font color="blue" size="3"><u>SAP-WUG@mit.edu</u></font></a><font color="blue" size="3"><u><br/>
</u></font><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank"><font color="blue" size="3"><u>http://mailman.mit.edu/mailman/listinfo/sap-wug</u></font></a><tt><font size="2">_______________________________________________<br/>
SAP-WUG mailing list<br/>
SAP-WUG@mit.edu<br/>
</font></tt><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank"><tt><font size="2">http://mailman.mit.edu/mailman/listinfo/sap-wug</font></tt></a><tt><font size="2"><br/>
</font></tt>
<br/>

    </div>
</div>
<br/>