Skip to Content

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

Error message with variable

Is it possible to include a variable in message box?

For example, i have a variable v_name and i want to include it in my error message.

MESSAGE i001.

Tags:
Former Member
replied

Hi Enrique,

Offcourse you can add your message in the message box only thing is you nedd to create a Message id with the below format.

001      &  Not Found in the Database.

in your statement you have to write:

Message I001 v_variable.

Then automatically the '&' will be replaced by V_Variable. and you will get the output as.

989898 Not Found in the Database.

Thanks,

Chidanand

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