how to bind an event to a function？
I'm try to create a function when the production order released event trigged save the order number to a Z table automaticaly.
I create an event in tcode SWO1,the event can be trig when I release the production order
is there any funciton that I can bind a event to a Z FUNCTION that I can process the Function to save the order number to a Z table
when this Event trigged ？
thanks very much
Rick Bakker replied
I'm not sure I understand but you can create a workflow that is started by your event.
In that workflow you then put a step that executes a task that calls a method (which you create in SWO1) to write the order number to a Z table. It doesn'thave to be a function.