
0050569a-1453-1ed5-b9cb-7e54178c13f0
). In the SAP business partner table, the business partner GUID is however stored in RAW16 format (e.g. 0050569A14531ED5B9CB7E54178C13F0
).CL_SOAP_WSRMB_HELPER
which can assist us when doing the conversion." Convert UUID from hyphened representation into RAW16
" given
CONSTANTS uuid_raw_exp TYPE sysuuid_x VALUE '0050569A14531ED5B9CB7E54178C13F0'.
CONSTANTS uuid_hyphened TYPE string VALUE '0050569a-1453-1ed5-b9cb-7e54178c13f0'.
" when
DATA(uuid_raw_act) = cl_soap_wsrmb_helper=>convert_uuid_hyphened_to_raw( uuid_hyphened ).
" then
cl_abap_unit_assert=>assert_equals( act = uuid_raw_act
exp = uuid_raw_exp ).
" Convert UUID from RAW16 into hyphened representation
" given
CONSTANTS uuid_hyphened_exp TYPE string VALUE '0050569a-1453-1ed5-b9cb-7e54178c13f0'.
CONSTANTS uuid_raw TYPE sysuuid_x VALUE '0050569A14531ED5B9CB7E54178C13F0'.
" when
DATA(uuid_hyphened_act) = cl_soap_wsrmb_helper=>convert_uuid_raw_to_hyphened( uuid_raw ).
" then
cl_abap_unit_assert=>assert_equals( act = uuid_hyphened_act
exp = uuid_hyphened_exp ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |