2008 Dec 23 8:44 AM
Hi All
My requirement is - An order is changed using IW32 tcde and upon saving a user exit or BADI should invoke tcode IW41 and creates a notification for the order's operations that are selected. I want to know which user exit or BADI can be used in this case. Also, when SAVE button is pressed, I want to open a custom screen which will have the details of order operations which the user can modify and these details are saved to the z table. Let me know how this can be done.
Thanks
M A
2008 Dec 23 9:07 AM
M A,
IW41 is to create a confirmation document (not notification, which is IW21)??
You can use IWO10009 (at order save) to get the operation details from ABAP memory.
PeteA
2008 Dec 23 9:52 AM
Thanks a lot Pete
I am sorry. It is confirmation that needs to be done, and not NOTIFICATION.
How can I get the details from ABAP memory using that exit. Can you explain a bit more.
Secondly, upon saving IW32, how can we confirm the operations using IW41? I am getting an error that the order is locked by me. How to overcome this?
Thanks again
M A
2008 Dec 23 6:18 PM
MA,
Probably the best way is to kick-off a synchronous Workflow task which calls a function module. This FM can collect the data and create the necessary BDC's for the confirmation documents (IW41)
Alternatively, try a PERFORM XXXX ON COMMIT.
PeteA
2009 Jan 15 5:42 AM
2009 Jan 15 10:43 AM