Skip to Content
author's profile photo Former Member
Former Member

WF in background

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

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 11, 2003 at 09:45 AM

    Define and trigger the event to start the workflow.

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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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