Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

MIRO Badi - warning message to be populated

Hi,

I'm using a Badi for Miro transaction:

Definition Name : INVOICE_UPDATE

Method: CHANGE_AT_SAVE

I need a warning message to populate in some specific condition. The problem is that when I code it as a warning message, no message gets populated by if I change it to an error, the error msg gets populated .

This is the code I used for the message:

MESSAGE W057(zdev) WITH l_aufnr .

I have even tried

MESSAGE W057(zdev) display like 'E' WITH l_aufnr .

can anyone help???

Thank you

Former Member
Former Member replied

Hi,

Just use as below.

MESSAGE 'Message in a Method' TYPE 'I' RAISING ERROR_WITH_MESSAGE.

Regards,

Raju.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question