‎2009 Jul 23 10:40 AM
Hi All,
Can anyone tell me how to convert raw(1022) data type into char ,
is there any Function Module exists for this?
we are working on SRM system.
please hlep us.
Regards
-
Channappa
‎2009 Jul 23 10:43 AM
try this FM
RSAB_CONVERT_RAW_TO_CHAR
or better if you use this
RRXWS_RAW_TO_CHAR
Edited by: soumya prakash mishra on Jul 23, 2009 11:43 AM
‎2009 Jul 23 10:46 AM
‎2009 Jul 23 10:48 AM
‎2009 Jul 23 11:19 AM
Hi All ,
thanks for your reply ,
but i tried all the fm 's which you are given , but those are not working for my requirement ,
input :SDOK_SDATX( Data Type RAW Length 1022 )
output:SO_TEXT255 (Data Type CHAR Length 255)
please help me ,if you guys have any code regarding this let me know.
Regards
-
Channappa
‎2009 Jul 23 11:29 AM
try this
data: rs type string value '7*c:\v87878jhjkhjh'.
data: char(100) type c.
write rs to char.
write:/ char.
‎2009 Jul 23 11:39 AM
Hi
Chk this class
CL_RSZ_WWW_DB_INTERFACE. Use this methodCONVERT_RAW_TO_CHAR
Try this one too.
Class:CL_GUID_SERVICES Method :CONVERT_RAW16_TO_CHAR
Regards,
Lakshman.
‎2009 Jul 23 12:07 PM
Hi Lakshman,
thanks a lot for your reply but the method is not taking the parameters which i need to give.
so please any other fm?
Regards
-
Channappa
‎2009 Jul 23 11:35 AM
‎2009 Jul 24 7:13 AM
‎2011 Dec 08 4:26 AM
Hi channappa,
could you please let me know how did u solve this issue. i am also facing same problem,although i tried all the replays but i could not get successes.
thanks & regards,
kusuma.