Application Development and Automation 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: 
Read only

PO user exit after SAVE and before COMMIT

Former Member
0 Likes
1,021

Hello All,

I added a custom subscreen to PO header to create document attachments.So, when a docuemnt is attached thru ME21N and save PO, I need to get the PO number which is created and attach the document to that PO before committing the transaction. So, I need to capture the PO number in the user exit/BADI.

Looked at some user exits but no use. Can somebody pls tell me which user exit/ BADI to use?

Thanks,

Chandni

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
768

Hi,

Check the user exit..EXIT_SAPMM06E_013

In which the Po number is available in the parameter I_EKKO-EBELN..

Thanks,

Naren

Hi,

Check the user exit..EXIT_SAPMM06E_013

In which the Po number is available in the parameter I_EKKO-EBELN..

Thanks,

Naren

3 REPLIES 3
Read only

Former Member
0 Likes
769

Hi,

Check the user exit..EXIT_SAPMM06E_013

In which the Po number is available in the parameter I_EKKO-EBELN..

Thanks,

Naren

Read only

0 Likes
768

Thank you Naren....thanks much

Chandni

Read only

0 Likes
768

Hi Naren,

I am looking for user exit...where i can get PO number when created.

your answer helped me.

Thanks much...

With Ever Smile & Regards,

Madhu!!