Application Development and Automation 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: 
Read only

data type conversion from char to quan.

Former Member
0 Likes
838

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
Read only

Former Member
0 Likes
774

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

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
Read only

Former Member
0 Likes
774

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.

Read only

Former Member
0 Likes
775

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

Read only

Former Member
0 Likes
774

Hi ,

U can use of concept FIELD SYMBOL ..

Thanks

shambhu

Read only

Former Member
0 Likes
774

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