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

Function module to Convert Raw data type into Char

Former Member
0 Likes
9,173

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

10 REPLIES 10
Read only

Former Member
0 Likes
4,147

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

Read only

Former Member
0 Likes
4,147

Hi,

Try this FM

RRXWS_RAW_TO_CHAR

Regards,

Vijay

Read only

Former Member
0 Likes
4,147

Check the Function module

RS_SCRP_FIELDS_RAW_TO_CHAR

RS_SCRP_HEADER_RAW_TO_CHAR

RSAB_CONVERT_RAW_TO_CHAR

RRXWS_RAW_TO_CHAR

Please refer link,

Thanks & Regards,

ShreeMohan

Edited by: ShreeMohan Pugalia on Jul 23, 2009 11:54 AM

Read only

0 Likes
4,147

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

Read only

0 Likes
4,147

try this

data: rs type string value '7*c:\v87878jhjkhjh'.

data: char(100) type c.

write rs to char.

write:/ char.

Read only

0 Likes
4,147

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.

Read only

0 Likes
4,147

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

Read only

Former Member
0 Likes
4,147

Hi,

Refer this link.

regards,

pravin

Read only

Former Member
0 Likes
4,147

thanks a lot for your replies

Read only

0 Likes
4,147

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.