Wednesday, June 5, 2013

Display error message in report after Selection Screen

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(zfi01WITH  'Data Does Not Exists' DISPLAY LIKE 'E'.
    
LEAVE LIST-PROCESSING.
ENDIF.

No comments:

Post a Comment