02-01-2007 2:16 PM
HI EXPORTS,
THIS IS SASIDHAR, I HAD UPLOADED DATA FROM FLAT FILE INTO DYNAMICAL INTERNAL TABLE NAME <T_UPLOAD>. THIS INTERNAL TABLE FIELDS ARE CONVERTED INTO CHAR TYPE FIELDS. NOW I HAVE TO TRANSFER THIS DATA INTO ANOTHER INTERNAL TABLE <DYN_TABLE> WHICH CONTAINS BOTH CHARACTER AND NON CHARACTER FIELDS. PLEASE ANY ONE GUIDE ME REGARDING THIS ISSUE.
THANKS AND REGARDS
SASIDHAR.V
02-01-2007 2:27 PM
move data from itab-field to itab1-field....u can move char type to any type...
but the properties are set accordingly...say u have currecny field and if u move data it will be 234.00 decimals are taken as such...
02-01-2007 2:33 PM
there is no specific CASTING operation in ABAP, so just do following:
non-char-field = char-field.
as long as it is possible ABAP does implicit casting and you dont have to care about anything.