‎2007 Jan 19 2:52 PM
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.
‎2007 Jan 19 2:55 PM
hi Aravind,
do this way ...
data : v_i type i,
v_char type c.
v_char = v_i.
write : v_char.Regards,
Santosh
‎2007 Jan 20 5:05 AM
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.
‎2007 Jan 20 5:25 AM
Hi Arvind,
Try using
WRITE it_qals-ANZSN TO C_1 Hope this helps.
Cheers
VJ
‎2007 Jan 20 5:29 AM
now what is your problem did you get any error message or value is not transfer properly?
let us know.
regards
shiba dutta
‎2007 Jan 19 2:58 PM
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