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: 

Error Validation In PO Creation

Former Member
0 Kudos

Hi Gurus,

I'm trying to create a PO in transaction ME21N. There are no validation on vendor and company code mapping, error message should occur. This error should come up upon PO creation since the vendor is not created for company code. How can I do this and in what user exit will I include my code? Your help is much highly appreciated! Thanks in advance!

4 REPLIES 4

former_member342013
Contributor
0 Kudos

hi

after entering all the information in the PO just go for check option in the top...

if there are any errors it displays....

if vendor not created in Company code it has to display the error msg...

otherwise u cant create PO

Regards

Smitha

shishupalreddy
Active Contributor
0 Kudos

Hello,

If Vendor is not created for the given Company code then PO Creation will give you error message , I think no need to write any explicit validations .

regards

Former Member
0 Kudos

Yes, supposedly an error message will pop up. How can I do this? What code I'll be adding and in what user exit of ME21N? Thanks!

Former Member
0 Kudos

Hello,

How can I create a customized error message for this?