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

Error Validation In PO Creation

Former Member
0 Likes
776

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
Read only

Former Member
0 Likes
695

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

Read only

shishupalreddy
Active Contributor
0 Likes
695

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

Read only

Former Member
0 Likes
695

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!

Read only

Former Member
0 Likes
695

Hello,

How can I create a customized error message for this?