Skip to Content
avatar image
Former Member

In Badi want to invoke the workflow and BO 2017

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 28, 2017 at 04:41 PM

    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

    Add comment
    10|10000 characters needed characters exceeded