Skip to Content

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

Show an information message

Hi to everybody!!

I need to show a message before my program is executed. How can I do this? I have to tell the user that the file must have one structure.

Thanks a lot,

Regards,

Rebeca

Former Member
Former Member replied

Just check this..

REPORT  ZTEST_MESSAGE_00.

data: sflight type sflight.


start-of-selection.

select * from sflight
into sflight
up to 1 rows.
endselect.
if sy-subrc eq 0.
 message 'Records are there' type 'I'.
endif.

end-of-selection.

write: sflight-carrid.

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