cancel
Showing results for 
Search instead for 
Did you mean: 

Start workflow from FQevent

ricky_shaw
Contributor
0 Kudos

Hi Experts, Can anyone please help how to create a workflow from an FQevent/FM? after this for each FQevent, the workflow should be started passing some values from event. Also i please tell me how to pass values to the object field and command field. Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

ivor_martin
Active Contributor
0 Kudos

Hi,

Perhaps you could explore the Function Module SAP_WAPI_CREATE_EVENT  to pass parameters to it, depending on your requirement.

I hope this helps.

Regards,

Ivor

ricky_shaw
Contributor
0 Kudos

Hi Ivor,

Can't i create a workflow using SWDD(tcode) and call it using FM :SAP_WAPI_START_WORKFLOW?

ivor_martin
Active Contributor
0 Kudos

Hi,

Give it a try.

Regards,

Ivor

paul_bakker2
Active Contributor
0 Kudos

Please don't - you should use SAP_WAPI_CREATE_EVENT instead (see the link below, item 6).

Tip: When calling this FM from an 'fqevent', you should always set COMMIT_WORK = ' '.

cheers

Paul

http://scn.sap.com/community/bpm/business-workflow/blog/2013/02/07/the-top-10-mistakes-made-by-workf...