on 10-07-2009 1:22 PM
hai experts,
i created a subtype of BUS2012 and added a custom event which exports ekpo tablei delgated the object,
i want to check wether event is triggering or not
i have written a code in whicih i have used 'SWE_EVENT_CREATE function moudle to trigger the event i am filling the ekpo paramter , but when i check in the event trace i am unable to see the triggered event , even though funciton module is executign properly am i missing something , i am haiving doubt that i should instantantiate the object and then call this FM
please suggest if any thign wrong
m.a
Hi,
Did you wrote statement COMMIT WORK after the function module??
If not then workflow will not trigger.
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do one thing, place COMMIT WORK in the code. Activate the event in the workflow.
Then goto transaction SWU0 - Simulate Event. Pass the key fields to the event and check the result. If every thing is correct at your end then this will return your workflow number saying atleast 1 receiver found .
If you don't get result then goto business object check whether the object is properly delegated or not. And set status of the event released.
Then check the workflow.
Please test it and let me know if still it is not working.
Prashant
Hi
you go to tcode -SWUE and give your business object name and event name. if objectkey is there give it and
click on the create event button.
now u can check whether any entry came in the swels log.
thanks and regards
P.Pramod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.