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

PO error message problem

Former Member
0 Likes
835

Hi Experts,

Usign the userexit 'EXIT_SAPMM06E_012' doing the validations at the time of purchase order creation LIKE checking the each poitem material classifications widthif no width populating the error message.

But the problem is :getting the error message in header level.

I need to populate the error message in item level.

for example for one purchase order we have the two items for the second item material we dont have the width . for that material I need to display error message (me21n)

Please suggest me how we can do this.

Regards,

Sam.

5 REPLIES 5
Read only

Former Member
0 Likes
789

Hi,

Why dont you use a custom error message "<error message> for item &EBELP&".

Regards,

Sandeep

Read only

Former Member
0 Likes
789

Hi,

are you using the macro mmpur_message for displaying the errors in the list..

Also check for all the macros in the include MM_MESSAGES_MAC..

Thanks,

Naren

Read only

Former Member
0 Likes
789

Hi Sam,

Try to find the Exit/ BAdI's for the respective transaction and put the check there only.

Thanks,

Chidanand

Read only

Former Member
0 Likes
789

This message was moderated.

Read only

Former Member
0 Likes
789

Hi sam,

Please check the SAP Note 310154 - ME21N/ME51N: Customer-specific check, generating error log

Best regards,

Christian