Skip to Content
0
Former Member
Dec 07, 2008 at 08:57 AM

How abap stat LOOP at Screen will work.

49 Views

Hi,

How Loop at Scree state will work while defining Radiobutton parameter in Selection-Screen in at selection-screen output event. Take an exp the below code and give some tips.

tables : sscrfields.

selection-screen comment /2(50) text-001 modif id sc1.

selection-screen skip 2.

selection-screen comment /10(50) ques1 .

parameters: rb1_1 radiobutton group q1gr user-command flag,

rb1_2 radiobutton group q1gr ,

rb1_3 radiobutton group q1gr ,

rb1_4 radiobutton group q1gr ,

rb1_5 radiobutton group q1gr ,

rb1_6 radiobutton group q1gr ,

rb1_7 radiobutton group q1gr ,

comment1(255) type c modif id abc.

at selection-screen output.

if rb1_7 eq 'X'.

loop at screen.

if screen-name = 'COMMENT1' .

screen-input = '0'.

screen-output = '1'.

modify screen.

endif.

endloop.

endif.

at selection-screen on radiobutton group q1gr.

-Regards