Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Creation of notification

abdulazeez12
Active Contributor
0 Kudos

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

5 REPLIES 5

peter_atkin
Active Contributor
0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

Solved on my own

0 Kudos

How?