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

messages using macro

Former Member
0 Likes
1,215

Hi All,

I am doing some validation based on line items of user exit for PO creation (ME21N) and PO creation (ME22N) and wanted to show warning messages for each line item .

With macro its working fine messages are getting triggered but displayed message only for the first line items.

my question is how to append the messages in message where it displays all the messages for all line items.

Regards

Sagar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
874

Hi,

My understanding is you want to have message in the window where all message generated for PO are displayed together. For this you can check the standard way of generating the message in SAP program and copy the same routine in your exit

3 REPLIES 3
Read only

Former Member
0 Likes
875

Hi,

My understanding is you want to have message in the window where all message generated for PO are displayed together. For this you can check the standard way of generating the message in SAP program and copy the same routine in your exit

Read only

0 Likes
874

Hi Anurag,

Thanks for your reply n what you understand is correct but I want to know that code to append the message.

now I am putting messages just like

macro name ' ' ' ' ' '.

here in this way they display the message but not all the messages means only for first line item.

Please do tell me the that standard way of appending message.

Thanks

Sagar

Read only

Former Member
0 Likes
874

Hi Sagar,

If you code your validations in ME_PROCESS_PO_CUST badi's "Check" method than it will provide your all the messages on check button in ME21n,ME22n or ME23n.

Regards,

Neel Thakkar.