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 TRANSFER TO APPLICATION SERVER

Former Member
0 Likes
626

Hai SDNs,

I have a requirement to send data to application server. to send that i need to convert table field ( which is integer format ) to character format. please help me how to convert integer to character format.

5 REPLIES 5
Read only

Former Member
0 Likes
595

hi Aravind,

do this way ...

 data : v_i type i,
          v_char type c.

     v_char = v_i.

write : v_char.

Regards,

Santosh

Read only

0 Likes
595

Hai santosh,

I tried as you suggested. My requirement is to convert INT4 length 10 into CHAR format.In my case i am retrieving the data directly from database table(INT field). here i have assigned the field like this

c_1(10) type c.

c_1 = it_qals-ANZSN.

here my table field is it_qals-ANZSN.

Regards,

aravind.

Read only

0 Likes
595

Hi Arvind,

Try using

WRITE  it_qals-ANZSN TO C_1 

Hope this helps.

Cheers

VJ

Read only

0 Likes
595

now what is your problem did you get any error message or value is not transfer properly?

let us know.

regards

shiba dutta

Read only

Former Member
0 Likes
595

Hi Arvind,

Declare a char field assign integer value to char field & pass it. If it won't work do it as string insted of char field.

Ashven