sapdev logo background
sapdev logo sapdev logo
Comments

SAP CL SYSTEM UUID documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

System Class for UUIDs
The methods of the class CL_SYSTEM_UUID
create UUIDs in different formats, such as 16-character byte-like UUIDs , 22-character character-like UUIDs with uppercase and lowercase letters, and 32-character character-like UUIDs in hexadecimal. They also make it possible to convert the UUIDs from one type to another.

Example
Creating a 32-character UUID .
DATA: system_uuid TYPE REF TO if_system_uuid,
uuid TYPE sysuuid_c32.

system_uuid = cl_uuid_factory=>create_system_uuid( ).

TRY.
uuid = system_uuid->create_uuid_c32( ).
CATCH cx_uuid_error.
...
ENDTRY.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




CL_SQL_STATEMENT
CMAX_CMIN_FUNCTIONS




comments powered by Disqus