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: 

PO error message problem

Former Member
0 Kudos

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

former_member226234
Contributor
0 Kudos

Hi,

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

Regards,

Sandeep

Former Member
0 Kudos

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

former_member598013
Active Contributor
0 Kudos

Hi Sam,

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

Thanks,

Chidanand

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi sam,

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

Best regards,

Christian