Application Development 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: 

Data conversion

Former Member
0 Kudos

Hi guys,

I am faced with a problem I can not resolve easily.

We have a table with raw content (TYPE LRAW). This data is supposed to be single byte, but somehow the data stored in this field is double byte. So if my text was just '6162' (hex) then it is stored as '61006200'.

Do any of you know any code to easily get me back the single byte data? I need to convert it to type string and show it on the screen.

Thanks and regards,

Ankan

2 REPLIES 2

Former Member
0 Kudos

Try the below FM

STPU1_HEX_TO_CHAR

0 Kudos

That FM is not present in SAPCRM...