Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

WF in background

Former Member
0 Kudos

Hi

I need to execute the Workflow in background using RFC. I will be passing all the data from through RFC. Please suggest me some method for the same. I saw some FM which says it used to execute WF in background but dont have complete understanding of the same. Please suggest some solution for the same.

Regards

Ajay

2 REPLIES 2

Former Member
0 Kudos

Define and trigger the event to start the workflow.

Even better way is to use the function module (SW* ) to start the WF

0 Kudos

Hi

Thanks a lot for the response. I have tried SW* . There is one FM which ask for debug mode and execute in background parameters but not able to figure out how will it work. It uses some table parameters like container of WF, Binding parameters. the FM name is SWW_WI_WITHOUT_WLC_EXECUTE and there are some other FM also like SWW_WW_STATUS_CHANGE_S_NEW which is internally used by this FM. I thought of using one transaction SWK1 also which takes the WI id and execute the Work Item. If I can execute this transaction in background, it may solve the purpose but I am not able to capture the parameter for user decesion screen, it does not apear when i try to record the transaction using SHDB. Please give your openion on the same

Regards

Ajay