‎2007 Oct 25 8:17 PM
hi all,
i get a field with 15chars, i need to change it into 18 chars and then proceed with the other things.
could someone let meknow how i can do this?
thanks!
‎2007 Oct 25 8:21 PM
Hi,
Please try this.
DATA: FIELD1(15) TYPE C VALUE '1234567890ABCDE',
FIELD2(18) TYPE C.
MOVE FIELD1 TO FIELD2.
Regards,
Ferry Lianto
‎2007 Oct 25 8:21 PM
Hi,
Please try this.
DATA: FIELD1(15) TYPE C VALUE '1234567890ABCDE',
FIELD2(18) TYPE C.
MOVE FIELD1 TO FIELD2.
Regards,
Ferry Lianto
‎2007 Oct 25 8:31 PM
HI Ferry,
I have a field Equnr which is having either chars or 15 chars, so I have to convert it to 18chars.
Could you pls help me with this.
Thanks!
‎2007 Oct 25 8:23 PM
Hi,
I think you can do this way:
Declare a variable of type c length 18.Then from the field of 15 character length,move the value to the variable of 18 characters.
e.g.: lv_field1(18) tye c.
lv_field = value from 15 char field.
Hope it was useful.
Thanks,
Sandeep.
‎2007 Oct 25 8:35 PM
Hi,
Pass the value from the equnr field to any variable which is having a lenght of 18.
e.g.
data: lv_field(18) type c.
lv_field = equnr.
characters variables can accept values from all fields.Similarly character variables values can also be assigned to any field.
Hope it was useful.
Thanks,
Sandeep.
‎2007 Oct 25 8:38 PM
I need a function mdule which would convert any dec or imei to hex.
‎2007 Oct 25 8:41 PM