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.
Showing results for 
Search instead for 
Did you mean: 

Exit for Purchase Order ME21N

Former Member
0 Kudos


i want to save some information in my Z Table while creating a new PO, how can i do this while saving a PO, in which Exit shud i write my code i have tried the user exits available for PO, but not able to solve the problem,

can anybody help me out.

abhishek suppal


Active Contributor
0 Kudos

Try using the BADI 'ME_PROCESS_PO_CUST' or the enhancement MM06E005 (Function module EXIT_SAPMM06E_006).

Use transaction SE18 to see the BADI and SE19 to implement.

CMOD for implementing the enhancement.



Message was edited by: Vinod C

Former Member
0 Kudos


1/go to CMOD

2/implement enhancement MM06E005

3/use EXIT_SAPMM06E_013 to get to PO number at the end of creating th Purchase Order.

If you have a problem let me know.


0 Kudos

dear joseph

in the exit EXIT_SAPMM06E_013 i cud not find the components of the material in which table will i get the components of the line items while making a sub-contractiong PO. basically i want to put a check that USER cannot be allowed to enter duplicate components for all the line items.

abhishek suppal