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: 

How to Validate Newly Added Fields for ME22n and ME23n

Former Member
0 Kudos

Hi Experts,

I have added 2 fields at the item level of PO Change and display(ME22n and ME23n). I used the BADIs ME_GUI_PO_CUST and ME_PROCESS_PO_CUST and got that displayed.

I got a new tab at Item level and my fields are displayed there.

My problem is how to populate or validate the values into that fields now. The validations have to be done per each item. I would like to have some sample code.

Useful answers are surely rewarded.

Thnks in Adv.

Bhupal

2 REPLIES 2

Former Member
0 Kudos

You can use EXIT_SAPMM06E_012 to validate line item fields at the time of save prepare and EXIT_SAPMM06E_016 to validate at the time of line item entry.

Reply back if you need more information.

0 Kudos

Thank U Sudha.

But How can i do the same with BADIs??

Reply soon.

Thnx in advance

Bhupal