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

flag

Former Member
0 Likes
467

hai i have to use a flag in internal table and i have to loop on internal table based on flag velu how it is can u pls help any one pls

3 REPLIES 3
Read only

Former Member
0 Likes
448

HI

take the value of flag in a variable and write

Do N times.

endo.

or

loop at itab.

{do your operations}

......

if flag <= sy-tabix.

exit.

endif.

endloop.

reward if helpful

vivekanand

Read only

Former Member
0 Likes
448

Loop at itab where flag EQ 'X'

<< do what ever u want>>

endllop.

Read only

Former Member
0 Likes
448

hi

if u want to get the data based on some flag value

loop at itab where flag = <'X'or space>

write ..................

endloop.

or

loop at itab.

if itab-flag = 'X'.

<actions>

else.

<actions>

endif.

endloop.