Professional Documents
Culture Documents
Dialog Program
Dialog Program
IF SY-SUBRC NE 0.
MESSAGE 'ERROR' TYPE 'E'.
ENDIF.
when 'CANCEL'.
leave program.
when 'RESET'.
clear wa_details-name.
clear wa_details-age.
clear wa_details-code.
LEAVE TO SCREEN 100.
endcase.
endmodule.
" USER_COMMAND_0100 INPUT
*&---------------------------------------------------------------------*
*&
Module USER_COMMAND_0200 INPUT
*&---------------------------------------------------------------------*
*
text
*----------------------------------------------------------------------*
module USER_COMMAND_0200 input.
if sy-ucomm = 'BACK'.
endmodule.