‎2006 May 25 9:18 AM
Dear friends..
would you like give me a suggestion on select stament with value checking..
well my problem is
if table but0is which has one field called istype that has lenth of 4 CHAR in that istype column i have number stored in 0001 and 00001 in lenth of 4 and 5..
0001 = rbcode and 00001= f50code.. how i classify in two seprate column of internal table from the same data base table column... please give me suggestion or code, or article. to carry out this task.
thanking you,,
regards,
naim
‎2006 May 25 9:22 AM
1)data:begin of itab occurs 0.
istype
....
...
rest field...
....
...
istype1 type n.----> 2nd field for istype
end of itab.
2)select
field into internal table itab.
3)loop at itab.
itab-istype1 = itab-istype.
modify itab.
endloop.
‎2006 May 25 9:22 AM
1)data:begin of itab occurs 0.
istype
....
...
rest field...
....
...
istype1 type n.----> 2nd field for istype
end of itab.
2)select
field into internal table itab.
3)loop at itab.
itab-istype1 = itab-istype.
modify itab.
endloop.
‎2006 May 25 9:30 AM
istype1 type n.----> field for istype
select the field in the internal table
loop at itab.
t_tab-istype1 = itab-istype1.
modify t_tab.
endloop.
reward points if it helps
gunjan