Application Development 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: 

checking

Former Member
0 Kudos

hi all,

i created an internal table with 3 fields (stage1 ,stage2, stage3). now i want to check in which stage the data is there and then i want to print the which stage contains the data:

suppose if stage1 field contains 'D' material stage2 contains 'C' mateial and stage3 contains 'E' material.

now i wan to check in which feild data is there and what type of data is there and then i wan to print .

2 REPLIES 2

Former Member
0 Kudos

hi

good

you can use the loop statement to know which field contain which data and using that particular field name you can access that particular field value

thanks

mrutyun^

former_member188827
Active Contributor
0 Kudos

hi,

loop through the internal table n use if statements to check watever u want.

loop at itab.

if itab-stage1 = 'D'.

.....

endif.

if itab-stage2 = 'E'.

....

endif.

endloop.