Issue with Park document release workflow

Ibrahim Khan ikhansap at gmail.com
Wed Oct 22 23:46:28 EDT 2008


Hi Schumacher,
   Thanks a lot for your nice explanation. I have used the BTE 2213 to
trigger the event.

Regards,
Ibrahim Khan

2008/10/22 Schumacher, Margaret <mschumacher at teleflexmedical.com>

>  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 'X' 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.
>
> Business Transaction Event Interface 1140.  During the creation and
> maintenance of Journal Entries this interface will be used to restrict the
> POST button.  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.
>     if sy-tcode = 'FV50'
>   or sy-tcode = 'FB50'
>   or sy-tcode = 'FB50L'
>   or ( sy-tcode = 'FBB1'  and sy-binpt = ' ' and sy-calld = ' ' )
>   or ( sy-tcode = 'FB01'  and sy-binpt = ' ' and sy-calld = ' ' )
>   or ( sy-tcode = 'FB01L' and sy-binpt = ' ' and sy-calld = ' ' )
>   or ( sy-tcode = 'FB05'  and sy-binpt = ' ' and sy-calld = ' ' ).
>     t_exctab-okcod = 'BU'.         "Post Button ok code to exclude
>     append t_exctab.
>   endif. *
> *
> 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,  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.
>   * Check if Document is parked for the first time or changed
>   if i_funcl eq 'I'.
>
> *   Check document is parked with certain tcodes to kick off workflow
>     if t_vbkpf-tcode eq 'FV50'
>     or t_vbkpf-tcode eq 'FB50'
>     or t_vbkpf-tcode eq 'FB50L'
>     or t_vbkpf-tcode eq 'FB01'
>     or t_vbkpf-tcode eq 'FB01L'
>     or t_vbkpf-tcode eq 'FB05'.
>
> *     Check if document number is filled
>       if wf_id-bukrs ne space and wf_id-gjahr ne space
>         and wf_id-belnr ne space.
>
>         call function 'SWE_EVENT_CREATE_FOR_UPD_TASK'
>           exporting
>             event           = 'CREATED'
>             objtype         = 'FIPP'
>             objkey          = wf_objkey
>           tables
>             event_container = container_instanz.
>
>       endif.
>     endif.
>
>
>
> Regards
>
>
>
> Margaret Schumacher
>
>
>  ------------------------------
> *From:* Nat 4 Govender [mailto:ngovender4 at toyota.co.za]
> *Sent:* Wednesday, October 22, 2008 4:57 AM
> *To:* SAP Workflow Users' Group
> *Cc:* SAP Workflow Users' Group
> *Subject:* Re: Issue with Park document release workflow
>
>  Hi Ibrahim,
>
> Prior to these changes could you see 'Post' option in FBV0 or FBV2 to post
> the document manually?
>
> If no then check with your authorisation department.
>
>
> If yes then get the system to automatically released the document and this
> will allow the user to post manually or viw workflow.
>
> Thanks
> Nat Govender
>
>
> -----sap-wug-bounces at mit.edu wrote: -----
>
> To: "SAP Workflow Users' Group" <SAP-WUG at mit.edu>
> From: "Ibrahim Khan" <ikhansap at gmail.com>
> Sent by: sap-wug-bounces at mit.edu
> Date: 10/22/2008 04:11AM
> Subject: Issue with Park document release workflow
>
> Hi Friends,
>   I am using a custom workflow for Invoice approval. For triggering the
> standard FIPP.CREATED event i have done the following customising in SPRO:
>
> 1. SPRO -> FI -> AR & AP -> Business Transactions -> Outgoing inv/credit ->
> Carry out or check settings for doc parking
> (or transaction O7L2).
>
> 2. Define your Workflow Variants for Preliminary Posting Release (Workflow
> you will use to 'Release' the FI for Posting) (tx OBWA).
>
> 3. Assign your Workflow variants to the company codes for which it will
> apply (tx OBWJ).
>
>
> 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.
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
>
> ------------------------------
>
> 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.
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20081023/f8acea0d/attachment.htm


More information about the SAP-WUG mailing list