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

Validate MATNR in ME21n and Me22n

Former Member
0 Kudos
1,032

Hi Experts,

In tcodes : ME21n and ME22n, i need to validate MATNR field while entering it at the item level.

When i do not know a MATNR, i will enter an OLD material#(BISMT) in place of MATNR, i need to validate it against MARA table and get the respective MATNR and fill it at PO line item.

I am unable to find a suitable BADI or Exit to do this.

Please tell me how do i do this?

Thanks

Dan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Kudos
932

Dan - You can try using (impementing) the BADI : ME_PROCESS_PO_CUST.

5 REPLIES 5
Read only

Former Member
0 Kudos
933

Dan - You can try using (impementing) the BADI : ME_PROCESS_PO_CUST.

Read only

Peranandam
Contributor
0 Kudos
932

you can write code any one of below specifed customer exit.

EXIT_SAPMM06E_012

EXIT_SAPMM06E_017

create project and assign exit MM06E005 in the project.

Regards,

Peranandam

Read only

Former Member
0 Kudos
932

Thanks All.

I used the BADI

Read only

0 Kudos
868

Puedes ayudarme con qué método o cómo lograste realizarlo ?

Read only

0 Kudos
839

Not sure that a "former' member will answer nowadays...

(You could try PROCESS_ITEM, GET_DATA and update MATNR from EMATN before SET_DATA ?)