Hi Schumacher,<br> Thanks a lot for your nice explanation. I have used the BTE 2213 to trigger the event.<br><br>Regards,<br>Ibrahim Khan<br><br><div class="gmail_quote">2008/10/22 Schumacher, Margaret <span dir="ltr"><<a href="mailto:mschumacher@teleflexmedical.com">mschumacher@teleflexmedical.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><font size="2" color="#0000ff"><span><font face="Arial">You might investigate the Business
Transaction Events (tcode FIBF) 1140 and 2213. We
didn't use the SAP configuration to trigger the parked document
approval but rather issue our own event in 2213 and restrict the Post button in
1140. I believe the existence of the configuration for a company code
is what disables the post button. Also since we don't use the sap
method the field BKPF-XWFFR had to be set to <span><span>'X'
<font face="Arial">to avoid messages that appear in the FIPP.Release method.
For sure this is a more involved means than just using the SAP configuration but
if you can't find a way to enable the post button this is an option to
disable it for the circumstances you
require.</font></span></span></font></span></font></div>
<div dir="ltr" align="left"><font size="2" color="#0000ff"><span><span><span></span></span></span></font><font size="2" color="#0000ff" face="Arial"><span><span style="font-size: 11pt; font-family: Arial;"><br></span><font color="#000000"><span style="font-size: 10pt; font-family: Arial;">Business
Transaction Event Interface 1140. During the creation and maintenance of
Journal Entries this</span><span style="font-size: 10pt; font-family: Tahoma;">
</span><span style="font-size: 10pt; font-family: Arial;">interface
will be used to restrict the POST button.<span>
</span>All finance documents need to be parked so that the Approval Workflows
will execute. The checking of called and batch processing to allow posting when
the document is created by lockbox process or some other automated
load pgm.</span></font></span></font></div>
<div dir="ltr" align="left"><font size="2" color="#0000ff" face="Arial"><span><font color="#000000"><span style="font-size: 10pt; font-family: Arial;"><font size="3"><font face="Times New Roman">
</font></font><span> <span>if</span> sy-tcode = <span>'FV50'</span><br> <span>or</span> sy-tcode = <span>'FB50'</span><br> <span>or</span> sy-tcode = <span>'FB50L'</span><br> <span>or</span> ( sy-tcode = <span>'FBB1'</span> <span>and</span> sy-binpt = <span>' '</span> <span>and</span> sy-calld = <span>' '</span> )<br>
<span>or</span> ( sy-tcode = <span>'FB01'</span> <span>and</span> sy-binpt = <span>' '</span> <span>and</span> sy-calld = <span>' '</span> )<br> <span>or</span> ( sy-tcode = <span>'FB01L'</span> <span>and</span> sy-binpt = <span>' '</span> <span>and</span> sy-calld = <span>' '</span> )<br>
<span>or</span> ( sy-tcode = <span>'FB05'</span> <span>and</span> sy-binpt = <span>' '</span> <span>and</span> sy-calld = <span>' '</span> ).<br> t_exctab-okcod = <span>'BU'</span>. <span>"Post Button ok code to exclude</span><br>
<span>append</span> t_exctab.<br> <span>endif</span>.</span><font size="3" face="Times New Roman">
</font></span></font></span></font><span style="font-size: 11pt; font-family: Arial;"><b><br></b></span><span style="font-size: 11pt; font-family: Arial;"><br></span><span style="font-size: 10pt; font-family: Arial;">Business
Transaction Event Interface 2213 when a user parks a journal entry. First
it determines if the document is being parked for the first time or being
changed. If it is the first time, the document is checked that it was
parked with transaction FV50, FB50, FB50L, FB01, FB01L, <span> </span>or FB05 and that the company code,
document number and fiscal year are filled and then the event FIPP.CREATED is
created. The FIPP.CREATED event triggers a new journal entry
approval workflow.</span><span style="font-size: 12pt;"> <span> </span></span></div>
<div style="margin: 0in 0in 0pt;"><span style="font-size: 11pt; font-family: Arial;"><font size="3"><font face="Times New Roman">
</font></font><span><span>* Check if Document is parked for the first time or changed</span><br> <span>if</span> i_funcl <span>eq</span> <span>'I'</span>.<br><br><span>* Check document is parked with certain tcodes to kick off workflow</span><br>
<span>if</span> t_vbkpf-tcode <span>eq</span> <span>'FV50'</span><br> <span>or</span> t_vbkpf-tcode <span>eq</span> <span>'FB50'</span><br> <span>or</span> t_vbkpf-tcode <span>eq</span> <span>'FB50L'</span><br>
<span>or</span> t_vbkpf-tcode <span>eq</span> <span>'FB01'</span><br> <span>or</span> t_vbkpf-tcode <span>eq</span> <span>'FB01L'</span><br> <span>or</span> t_vbkpf-tcode <span>eq</span> <span>'FB05'</span>.<br>
<br><span>* Check if document number is filled</span><br> <span>if</span> wf_id-bukrs <span>ne</span> space <span>and</span> wf_id-gjahr <span>ne</span> space<br> <span>and</span> wf_id-belnr <span>ne</span> space.<br>
<br> <span>call</span> <span>function</span> <span>'SWE_EVENT_CREATE_FOR_UPD_TASK'</span><br> <span>exporting</span><br> <span>event</span> = <span>'CREATED'</span><br>
objtype = <span>'FIPP'</span><br> objkey = wf_objkey<br> <span>tables</span><br> event_container = container_instanz.<br><br> <span>endif</span>.<br>
<span>endif</span>.</span><font size="3" face="Times New Roman">
</font></span></div>
<div style="margin: 0in 0in 0pt;"><span style="font-size: 11pt; font-family: Arial;"><font size="2" color="#0000ff"></font> </span></div>
<div><span style="font-size: 12pt;"><span></span></span><span style="font-size: 12pt;"><span></span></span><span style="font-size: 12pt;"><span><font size="2" color="#0000ff" face="Arial"></font></span></span> </div>
<div align="left">
<p style="margin: 0in 0in 0pt;" align="left"><span style="font-size: 10pt; font-family: Arial;">Regards</span></p>
<p style="margin: 0in 0in 0pt;"><span style="font-size: 10pt; font-family: Arial;"> </span></p>
<p style="margin: 0in 0in 0pt;"><span style="font-size: 10pt; font-family: Arial;">Margaret
Schumacher</span></p>
<p style="margin: 0in 0in 0pt;">
</p><p style="margin: 0in 0in 0pt;"><font size="2" color="#0000ff" face="Arial"></font><br></p></div>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font size="2" face="Tahoma"><b>From:</b> Nat 4 Govender
[mailto:<a href="mailto:ngovender4@toyota.co.za" target="_blank">ngovender4@toyota.co.za</a>] <br><b>Sent:</b> Wednesday, October 22, 2008
4:57 AM<div class="Ih2E3d"><br><b>To:</b> SAP Workflow Users' Group<br></div><b>Cc:</b> SAP Workflow
Users' Group<br><b>Subject:</b> Re: Issue with Park document release
workflow<br></font><br></div><div><div></div><div class="Wj3C7c">
<div></div><font size="2" face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif">
<div>Hi Ibrahim,</div>
<div> </div>
<div>Prior to these changes could you see 'Post' option in FBV0 or FBV2 to post
the document manually?</div>
<div> </div>
<div>If no then check with your authorisation department.</div>
<div> </div>
<div> </div>
<div>If yes then get the system to automatically released the document and this
will allow the user to post manually or viw workflow.</div>
<div> </div>
<div>Thanks </div>
<div>Nat Govender<br></div>
<div><br>
<div><br></div><font color="#990099">-----<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> wrote:
-----<br><br></font>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">To:
"SAP Workflow Users' Group" <<a href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a>><br>From: "Ibrahim Khan"
<<a href="mailto:ikhansap@gmail.com" target="_blank">ikhansap@gmail.com</a>><br>Sent by: <a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a><br>Date:
10/22/2008 04:11AM<br>Subject: Issue with Park document release
workflow<br><br>Hi Friends, <br> I am using a custom workflow for
Invoice approval. For triggering the standard FIPP.CREATED event i have done
the following customising in SPRO: <br><br>1. SPRO -> FI -> AR & AP
-> Business Transactions -> Outgoing inv/credit -> Carry out or check
settings for doc parking <br>(or transaction O7L2). <br> <br>2. Define
your Workflow Variants for Preliminary Posting Release (Workflow you will use
to 'Release' the FI for Posting) (tx OBWA). <br> <br>3. Assign your
Workflow variants to the company codes for which it will apply (tx OBWJ).
<br> <br><br>But after doing the above settings i am not able to see the
'Post' option in FBV0 or FBV2 to post the document manually. I am able to see
this only after setting the released flag. But the user wants both option to
post it manually as well as through workflow. How to achieve this. Please
advice. <br><font size="2" face="Default Monospace,Courier New,Courier,monospace">_______________________________________________<br>SAP-WUG mailing
list<br><a href="mailto:SAP-WUG@mit.edu" target="_blank">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></font></blockquote>
<br></div></font><br>
<hr style="width: 100%; height: 2px;">
<p><small>This message is a privileged and private communication and may be
read,copied and used only by the intended recipient(s). If you are not an
intended recipient, please let us know by return email. Please then delete the
message and do not disclose its contents to any person. Neither the sender nor
Toyota South Africa Motors accepts any liability whatsoever as a result of the
further dissemination of this message. Whilst all reasonable steps are taken to
avoid corruption of data or information, we do not accept any liability should
such corruption occur. </small></p></div></div></div>
<br>_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="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>
<br></blockquote></div><br>