Business Object an Event to trigger workflow in VF01 (create)
Florin Wach
florin.wach at gmx.net
Thu Feb 7 06:50:26 EST 2013
Hello Enrique,
I would suggest to try first using the event creation by change documents, transaction SWEC on change doc.type VBRK, mode = INSERT, event = ZVBRK.Created (subtype of VBRK including.Created event) or system-wide delegation and then using VBRK.Created.
If there's no CDoc written I would suggest to go closer to the SD interface instead of the underlying interface to Accounting. So the function module RV_INVOICE_DOCUMENT_ADD could be implicitly enhanced at the very end with an SWE_EVENT_CREATE_IN_UPD_TASK using the field xvbrk-vbeln.
With the very best wishes,
Florin
-------- Original-Nachricht --------
> Datum: Wed, 6 Feb 2013 10:30:48 -0800 (PST)
> Von: ENRIQUE NUNEZ A <enrique_nunez_a at yahoo.com>
> An: "sap-wug at mit.edu" <sap-wug at mit.edu>
> Betreff: Business Object an Event to trigger workflow in VF01 (create)
> Hi all
>
> We need to trigger a workflow when document was created in txn VF01,
>
> no event was trigeered in trace when i create document in Vf01
>
> i saw the object VBKR but its not have event to create, the solution that
> i think is:
>
> create a subtype for the BO and also a custom event. Then make use of the
> SAP User-exit: ZXVVFU08 (EXIT_SAPLV60B_008) to trigger the workflow for
> VF01 by executing the function module SWE_EVENT_CREATE.
>
>
> Any other idea or tip would be appreciated,
>
> reggards
> Enrique Nunez.
More information about the SAP-WUG
mailing list