‎2006 Mar 02 7:55 AM
Hello experts,
Since I can't test my code in development server because of lack of data I was wondering if my code below would work. What I want to do is to loop at internal table
it_mseg_mara where it's BWART is not equal to the range that I have declared? So meaning to say that I do not want to include bwarts that has a value of 702, 708, 712, 718 so it will not be passed to internal table t_ztm0019.Please feel free to give other suggestions. Thanks guys and take care!
‎2006 Mar 02 7:59 AM
hi Viray ,
I,ve tested that code was given in the previous post with different values..
it will work ..
the sign in Range shud be 'E'for excluding..
and option 'EQ'..
loop at it_mara_mseg where BWART in range.
move it_mara_mseg to t_ztm0019.
append t_ztm0019.
endloop.
regards
satesh
‎2006 Mar 02 7:59 AM
hi Viray ,
I,ve tested that code was given in the previous post with different values..
it will work ..
the sign in Range shud be 'E'for excluding..
and option 'EQ'..
loop at it_mara_mseg where BWART in range.
move it_mara_mseg to t_ztm0019.
append t_ztm0019.
endloop.
regards
satesh
‎2006 Mar 02 8:00 AM
Hi viray,
LOOP AT it_mseg_mara WHERE NOT ( bwart EQ 702 OR
bwart EQ 708 OR
bwart EQ 712 OR
bwart EQ 718 ).
ENDLOOP.