1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
REPORT ZEDU_MANDATORY_FIELD. PARAMETERS: p_field1 TYPE char10. PARAMETERS: p_field2 TYPE char10. PARAMETERS: p_check AS CHECKBOX USER-COMMAND USR. AT SELECTION-SCREEN OUTPUT. LOOP AT SCREEN. IF screen-name = 'P_FIELD1'. IF p_check = 'X'. screen-required = 1. ELSE. screen-required = 0. ENDIF. ENDIF. MODIFY SCREEN. ENDLOOP. START-OF-SELECTION. WRITE 'GOOD'. |