Skip to Content
0

In Badi want to invoke the workflow and BO 2017

Sep 28, 2017 at 05:32 AM

31

avatar image
Former Member

In BAdi MB_DOCUMENT_BADI~MB_DOCUMENT_BEFORE_UPDATE

need to invoke the workflow for goods Issue . which event or fm module need to mention in the BADI. I am passing the FM

CALL FUNCTION 'SWE_EVENT_CREATE_FOR_UPD_TASK'
EXPORTING
objtype = 'zmkpf'
objkey = objkey
event = 'zmkpf'
* creator = ' '
* start_with_delay = ' '
* take_workitem_requester = ' '
TABLES
event_container = event_container
EXCEPTIONS
objtype_not_found = 1.

Please Help me . I am new to workflow

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Stéphane Bailleul Sep 28, 2017 at 04:41 PM
0

Hi

My advice would be to always use the SAP_WAPI* function

Here SAP_WAPI_CREATE_EVENT_EXTENDED is the one I would use.

Cheers

Stephane

Share
10 |10000 characters needed characters left characters exceeded