Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding LOOP At SCREEN

Former Member
0 Likes
416

Hello Gurus,

I have a requirement like this ,

My report will have a output starting with a check box.

i want to read all those selected check box records into another internal table, how can i do this ..

Plz help ASAP.

Thanks,

Suresh

3 REPLIES 3
Read only

abdulazeez12
Active Contributor
0 Likes
395

Use At Line selection

and read each and every line...if the line starts with 'X', that means the checkbox is selected, then this record can be passed into another internal table..

Read only

Former Member
0 Likes
395

PARAMETER: p_fname TYPE c as check box MODIF ID md1,

for all check boxes assign MODIF ID md1

LOOP AT SCREEN.

IF screen-group1 EQ c_md1.

move screen-name to itab-name.

assign <FS> to itab-name.

itab-value = <FS>.

append itab .

clear itab.

endif.

ENDLOOP.

Read only

Former Member
0 Likes
395

Hi,

Suresh

I think u have a filed of size one of type c

in u r internal table as u allowing check box to place so tht will be filled with X when ever u checked it it gets filled with X

so write u r loop at screen accordingly

PLZZZZZZZZZZZ REWARD IF USEFUL.