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

Extract values from data type RAW

Former Member
0 Likes
2,280

Hi,

I am having requirement where i need to extract the data from AUSP table and filed is partner_guid  which is declared as RAW(16)in CRM environment. I need to get the values from that filed to char(40) format. How I can able to extract data from this filed.

Thanks you in advance

Rajeev

2 REPLIES 2
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,147

Try obsolete FM GUID_CONVERT or better Class CL_SYSTEM_UUID (*)

Regards,

Raymond

(*)  935047 - Creating and using GUIDs (UUIDs)

Read only

ptrck
Explorer
0 Likes
1,147

Hi Rajeev,

try this:

FIELD-SYMBOLS <l_fs_to_raw> TYPE ANY.

DATA lv_char16 TYPE  CHAR16.

ASSIGN lv_char16 TO <l_fs_to_raw> CASTING TYPE ('GUID_16').

MOVE partner_guid TO <l_fs_to_raw>.


Or try the FM BANK_API_PP_UT_RAW16_TO_CHAR16

Regards

Patrick