‎2008 Nov 05 8:31 AM
hai abapers ,
ex : rseg
once write select qurie from rseg of fields.( ex. belnr , wrbtr , bprme).
at the pass of final internal table, these one of fields based on different types of condition.
my quaiery is ?
one internal table write multiple read statements based on different conditions is possible or not ?
if possible ,
please explain.
‎2008 Nov 05 8:34 AM
Hi Raj,
I am not able to understand your requirement. I think you want to know whether you want to read one internal table multiple times or not.
If this is the case then offcourse you can read the internal table multiple times...
Thanks,
Chidanand
‎2008 Nov 05 8:36 AM
Yes it is possible.....
read table itab with belnr eq 'XXXXXX'.
read table itab with wrbtr eq 'XXXXXX'.
with this you can process your internal table with any condition you want........
thanks
saurabh
‎2008 Nov 05 8:38 AM
Hi,
It is possible since for each condition type your KEY object chnages so according to your condition type you can write read statements considering the syntax wise.
Cheers!!
VEnk@