09-15-2011 2:07 PM
Hi Experts,
I am trying to dump or casting data from one internal table to another of different data types......
where i am using WRITE-TO statement....since i need to go through each and every field and i have huge data ..
it is killing my time........
-
can anybody suggest me any other statement which exactly acts as WRITE TO ..and where i can do this on a fly.....
Regards
sam
09-15-2011 2:23 PM
09-15-2011 2:30 PM
Hi,
thank you for your reply
My code is some thing like this:
write wa_vmctmp-counter TO wa_zvmctmp-temp1.
write wa_vmctmp-mem_alloc_local TO wa_zvmctmp-temp2.
temp1,temp2 are my required data types.......
Regards
sam
09-15-2011 2:42 PM
as i cant see you making use of additional options of the write statement i ask myself why you dont just use = or move instead of write to?
As you are using write to your target field has to be of type char anyway if i´m recalling that correctly, so i dont see a problem why a simple move or = wouldnt work.
at least give it a shot, you will pretty soon find out if that could be a solution.
09-15-2011 2:54 PM
hi Florian,
Thanks for your reply...
you expectation is correct.. i have to convert each and every field into CHAR type
I tried all other possibilities...(=,move corresponding,etc...)
but i am missing float values ........
any inputs really appreciated.......
regards
sam
09-15-2011 5:00 PM
10-14-2011 5:50 AM