on 05-08-2020 12:34 PM
I have created a change document event. When I test the event via SWUE, the event gets triggered and all the logic is executed.
However if the event is triggered from the program that actually creates the change document, the event gets triggered, but the logic is not executed.
I call BI_EVENT_HANDLER_STATIC~ON_EVENT and from there I call a static method in a class to execute the logic. In this method I submit a report with selection screen table via a job. In the end of the method I do a COMMIT WORK AND WAIT.
Obviously it has something to do with LUW's / Dialog /Background etc. Does anyone have a good tip?
tx
Petra
I fixed the problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Have you set up the change document and event link in transaction SWEC ?
This shall trigger the event for the business object (class or BOR) and then if you have a workflow as receiver for this event it shall start.
If not then using SWEL/SWELS shall allow you to see if your event is triggered or if there is an issue with your receiver (workflow)
Cheers
Stephane
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.