Hello all,
Am trying to get the selection screen such a way like ' By selecting the first radio button 'second radio button block' should be disable mode and first 'radio button block' should be enabled And if suppose i select secound Radio button '2nd radio button block' should be enabled and 'first radio button block' should be Disabled" the Blocks contains some select-option parameters .
I tried the below code but not getting exact one. please HELP ME ON BELOW.
REPORT Z_ST.
TABLES:KNA1,LFA1.
DATA:V TYPE C VALUE '1'.
parameter:cust radiobutton group g1 .
selection-screen:begin of block B1 WITH FRAME TITLE TEXT-004.
SELECT-OPTIONS:S_CUST FOR KNA1-KUNNR MODIF ID G1.
SELECTION-SCREEN END OF BLOCK B1.
parameter:vend radiobutton group g1.
selection-screen:begin of block B2 WITH FRAME TITLE TEXT-003.
SELECT-OPTIONS:S_VEND FOR LFA1-LIFNR MODIF ID G2.
SELECTION-SCREEN END OF BLOCK B2.
START-OF-SELECTION.
AT SELECTION-SCREEN OUTPUT.
*IF V EQ 1.
IF CUST EQ 'X'.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'G2'.
SCREEN-ACTIVE = '0'.
MODIFY SCREEN.
ELSE.
SCREEN-ACTIVE = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'G1'.
SCREEN-INPUT = '1'.
MODIFY SCREEN.
ELSE.
SCREEN-ACTIVE = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
*ENDIF.
THANKS IN ADVANCE