Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Show an information message

former_member384574
Active Participant
0 Kudos

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

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

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.

1 REPLY 1

former_member188685
Active Contributor
0 Kudos

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.