‎2009 Jun 08 4:42 AM
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!
‎2009 Jun 08 4:52 AM
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
‎2009 Jun 08 5:33 AM
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
‎2009 Jun 08 5:42 AM
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!
‎2009 Jun 08 8:22 AM