Skip to Content
0
Former Member
Jan 18, 2008 at 04:55 PM

Screen Modifications

16 Views

Hi Experts,

I am facing a problem with selection-screen.

I my selection-screen there is a check box. When this check box is checked an other parameter will be appeared on the screen. But when this check box is unselected this parameter is not disappearing on the screen.

I have used the below code in my program in event AT SELECTION-SCREEN OUTPUT

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(33) TEXT-M00 . "Local Language

PARAMETERS : P_LOCALL AS CHECKBOX.

SELECTION-SCREEN END OF LINE.

SELECT-OPTIONS:

S_N_TEXT FOR TSADVT-NATION_TEX NO INTERVALS OBLIGATORY MODIF ID LNG.

AT SELECTION-SCREEN OUTPUT.

IF NOT P_LOCALL IS INITIAL.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = C_LNG.

SCREEN-INVISIBLE = C_N_0.

SCREEN-INPUT = C_N_1.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ELSE.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = C_LNG.

SCREEN-INVISIBLE = C_N_1.

SCREEN-INPUT = C_N_0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDIF.

Can any tell me how to resolve the problem.