cancel
Showing results for 
Search instead for 
Did you mean: 

FM to start a WF

Former Member
0 Kudos

Hi WFers,

Can you tell me when is best to use:

SWW_WI_START or SWW_WI_START_SIMPLE or SAP_WAPI_START_WORKFLOW? (this last one is for web/Portals isn't it)

Thanx

N.

Accepted Solutions (0)

Answers (1)

Answers (1)

pokrakam
Active Contributor
0 Kudos

Hi Nuno,

Use SAP_WAPI_START_WORKFLOW where possible.

SAP_WAPI* function modules are for customer use, the others are internal. (WAPI = Workflow API)

Use SWW_WI_START/SIMPLE if you have a specific reason why SAP_WAPI won't work.

Of course you should avoid using either and use events instead SAP_WAPI_CREATE_EVENT... that way it will use load balancing, you can restart failures, maintain start conditions in production and so on.

Cheers

Mike