07-13-2007 8:43 AM
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 .
07-13-2007 10:17 AM
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^
07-13-2007 10:19 AM
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.