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

How make validations before saving a Purchase Order ?

former_member425121
Participant
0 Likes
1,110

Hello

I try to make some validations to header data captured when creating/changing Purchase Orders (ME21N/ME22N), especially to Vendor Field.

Does somebody knows a User Exit wich allows me to do this ?

I need to release the development just tomorrow, so please help me !!

Thanks in advace.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
633

use enhancement

MM06E005 exit EXIT_SAPMM06E_013 to do the validation before save.

regards

gv

Hello

I try to make some validations to header data captured when creating/changing Purchase Orders (ME21N/ME22N), especially to Vendor Field.

Does somebody knows a User Exit wich allows me to do this ?

I need to release the development just tomorrow, so please help me !!

Thanks in advace.

2 REPLIES 2
Read only

Former Member
0 Likes
634

use enhancement

MM06E005 exit EXIT_SAPMM06E_013 to do the validation before save.

regards

gv

Read only

0 Likes
633

Thanks Venkat

I tried this enhancement, i made some tests and it is just what i need !!!

I tried with User Exit _012 but this doesn´t has the table with Partners Functions (wich i need to validate too), but User exit _013 has tables XEKPA/YEKPA with these Partner Functions, so it's just wath i was looking.

Thanks a lot !!

Frank