Skip to Content

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

Display a message in abap

hi experts,

when i'm trying to print a message using following code

IF SY-SUBRC EQ 0.

PERFORM PRINT_DATA.

else.

message I999(YH01) with 'No data exists for chosen selection'.

ENDIF.

I'm getting the message like "I:YH01:999 No data exists for chosen selection"

how can i only display the "No data exists for chosen selection" message? without "I:YH01:999"

Thanks.

Former Member
Not what you were looking for? View more on this topic or Ask a question