09-18-2008 11:13 AM
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
09-18-2008 11:22 AM
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.
09-18-2008 11:22 AM
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.