Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

HOW TO TRANSFER DATA FROM CHAR TYPE TO NON CHAR TYPE

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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...

Former Member
0 Kudos

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.