Skip to Content
May 08, 2020 at 11:34 AM

Change Document event triggered, but logic not executed


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?