Skip to Content
0
Former Member
Nov 04, 2014 at 01:12 PM

Hiding Fields on Selection Screen by RB input

23 Views

Hi,

I did search the forum and google, tried various codes, none worked.

I need to hide p_fifom when the user selects the precept radio button.

This is how my selection screen is layed out at the moment:

SELECTION-SCREEN BEGIN OF BLOCK main WITH FRAME.


PARAMETERS: p_fifom TYPE v_my02-method OBLIGATORY MODIF ID fif,
p_plant TYPE v_my03-myfky OBLIGATORY MATCHCODE OBJECT sh_t001w_exts.


SELECT-OPTIONS:

s_matnr FOR mara-matnr MATCHCODE OBJECT s_mat1.

PARAMETERS: p_fifo RADIOBUTTON GROUP rad1 USER-COMMAND rad DEFAULT 'X',
p_recpt RADIOBUTTON GROUP rad1.

SELECTION-SCREEN END OF BLOCK main.


AT SELECTION-SCREEN OUTPUT.

IF p_recpt = 'X'.
LOOP AT SCREEN.
IF screen-name = 'FIF'.
screen-active = '0'.
screen-input = '0'.
screen-output = '0'.
screen-invisible = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.

PLEASE HELP!

Thank you guys,

Daniel.