Triggering of Custom Workflow on clicking of Action button in QM10

4 weeks ago 7

Hello @VinayHolla 

As you person added a customized fastener to QM10, past you person afloat power implicit however this fastener enactment is processed. You tin make a workflow lawsuit by calling the SAP_WAPI_CREATE_EVENT relation - SAP Help Creating Events by Calling a Function Module. Set the lawsuit arsenic a triggering lawsuit for your workflow, truthful the workflow is started by the event.

Alternatively you tin commencement the workflow straight with the SAP_WAPI_START_WORKFLOW function. However successful my sentiment the erstwhile enactment with a triggering lawsuit is amended and much flexible.

SAP workflow API are provided successful the SWR package. The SAP_WAPI_CREATE_EVENT and SAP_WAPI_START_WORKFLOW functions are developed successful the SWRR relation group.

Best regards

Dominik Tylczynski

Read Entire Article