Modify Screen as per the selection Screen
We can modify screen as per the selection screen FORM f_modify_screen . * IF p_calim IS NOT INITIAL. * LOOP AT SCREEN. * IF screen-group1 EQ 'M1'. * screen-active = '0'. * screen-input = '0'. * MODIFY SCREEN. * ENDIF. * ENDLOOP. * ENDIF. *IF sy-ucomm EQ 'ONLI'. LOOP AT SCREEN. IF screen-group1 = 'M1'. IF p_calim = 'X'. screen-active = '0'. ELSE. screen-active = '1'. ENDIF. MODIFY SCREEN. ENDIF. ENDLOOP. *ENDIF. LOOP AT SCREEN. IF screen-group1 = 'M2'. IF P_Recept = 'X'. screen-active = '0'. ELSE. screen-active = '1'. ENDIF. MODIFY SCREEN. ENDIF. ENDLOOP. ENDFORM. SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001. select-OPTIONS: s_BUKRS FOR bsid-bukrs NO-EXTENSION NO INTERVALS OBLIGATORY, s_KUNNR F...