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: 

data type conversion from char to quan.

Former Member
0 Kudos

Hi Experts ,

I HAVE TWO VARIABLES OF DIFFERENT DATA TYPES li_stko-base_quan(CHAR17) AND li_bomhdr-bmeng(QUAN13 ).

now I want to populate the values li_stko-base_quan = li_bomhdr-bmeng. how I can do this . Plz tell me how I can do this data type conversion .

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello,

As li_stko-base_quan is of char type, you can directly assign it or you can Use MOVE statement to move the contents of li_bomhdr-bmeng into li_stko-base_quan.

Thanks,

Sowmya arni

4 REPLIES 4

Former Member
0 Kudos

Hi,

This conversion will not create problem as char will accept quan data type.you can directly use

li_stko-base_quan(CHAR17) = li_bomhdr-bmeng(QUAN13 ). This will work.

Former Member
0 Kudos

Hello,

As li_stko-base_quan is of char type, you can directly assign it or you can Use MOVE statement to move the contents of li_bomhdr-bmeng into li_stko-base_quan.

Thanks,

Sowmya arni

Former Member
0 Kudos

Hi ,

U can use of concept FIELD SYMBOL ..

Thanks

shambhu

Former Member
0 Kudos

Do not post duplicate threads. Kindly close any one of them.