Below is the code snippet to display error message, in report after selection of data.
Normal type 'E' report prevent user to back to original selection screen.
IF ta_report[] IS NOT INITIAL.
PERFORM display_report.
ELSE.
MESSAGE s000(zfi01) WITH 'Data Does Not Exists' DISPLAY LIKE 'E'.
LEAVE LIST-PROCESSING.
ENDIF.
Normal type 'E' report prevent user to back to original selection screen.
IF ta_report[] IS NOT INITIAL.
PERFORM display_report.
ELSE.
MESSAGE s000(zfi01) WITH 'Data Does Not Exists' DISPLAY LIKE 'E'.
LEAVE LIST-PROCESSING.
ENDIF.
No comments:
Post a Comment