on 09-24-2008 7:07 PM
Hi Gurus
In the custom leave request workflow , we need to pass a field WBS element from an event to workflow container . I created a parameter 'WBS_ele' in the event which actually triggers workflow but it is not passing any value to workflow container . I passed value to the triggering event through 'swc_set_element ' macro i used syntax swc_set_element event_container 'WBS_ELE' WBS_ELE.
It has value in the program but not passing in the workflow . I have also done binding of event variable to the workflow container
Seems that I am going some where wrong . May be in the business object , workflow or in the triggering program
Please suggest where I am going wrong
Rocky,
If you are manually triggerring the WF through the event using SAP_WAPI_CREATE_EVENT or SWE_CREATE_EVENT, then you have to pass the WBS element value in the container element of the FM.
If your WF is getting triggerred by a SAP generated event, then you need to pass '_EVT_OBJECT' with the main business object of the WF also the WBS element in the binding.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.