cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Commit work in exit Workflow

LuisFV96
Explorer
0 Kudos
243

Good morning, I'm currently implementing an exit in a user decision. It originates from a program using the cl_swf_evt_event=>raise method.
Part of my goal in the exit is to have some data saved in a Z global table using the INSERT VALUE statement, but when I insert it, the data isn't saved, and I think it's because there isn't a commit work immediately after that statement. However, I understand that SAP doesn't recommends against implementing commit work in exits or badis. I've tried using a function module in the update task but haven't achieved my goal.
Could someone help me?

Commit work after trigger workflow.

LuisFV96_0-1750599722938.png

Insert value in method after created event.

LuisFV96_1-1750599727996.png

Call FM in update task.

LuisFV96_2-1750599731824.png

 

 

Accepted Solutions (0)

Answers (0)