Skip to Content

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

Message Class

I have a message class Z1049493.

How will i include it in my program?

Can I have a sample code for calling the error message?

Tags:
Former Member
Former Member replied

Hi,

Here is an example:

Report ZTEST message-id Z1049493. " To include in program.

To raise messages:

Message E000 with text SOME_TEXT " For error

Message I000 with text SOME_TEXT " For Info

Message A000 with text SOME_TEXT " For Abbend

Alternative way is to raise like this,

Message E000(Z1049493).

Regards,

Pramod

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