Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SCREEN ENABLE AND DISABLE

Hi,

I have a selction screen as below,

parameter : r_c1 RADIOBUTTON GROUP id1 DEFAULT 'X'.

parameter : p_fpath1 TYPE rlgrap-filename.

parameter : r_c2 RADIOBUTTON GROUP id1 DEFAULT 'X'.

parameter : p_fpath2 TYPE rlgrap-filename.

parameter : r_c2 RADIOBUTTON GROUP id1 DEFAULT 'X'.

parameter : p_fpath2 TYPE rlgrap-filename.

Using the above selection screen

when i prees the r_c1 the p_fpath2 ,p_fpath3 should be hide and only p_fpath1 should be visible

and if i press the r_c2 the p_fpath1 ,p_fpath3 should be hide and only p_fpath2 should be visible

and if i press the r_c3 the p_fpath1 ,p_fpath2 should be hide and only p_fpath3 should be visible.

So how to do this using the LOOP AT SCREEN AND ENLOOP.

IF anybody have any idea pls solve this.

Thanks,

Deesanth

Tags:
replied

loop at screen.

if rb_c1 = 'X'.

if screen-group1 = 'SC2'.

screen-active = '0'.

endif.

elseif rb_c2 = 'X'.

if screen-group1 = 'SC1'.

screen-active = '0'.

endif.

endif.

modify screen.

endloop.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question