GUIDs or UUIDs can be created with the class cl_system_uuid.
try.
data(lv_uuid) = cl_system_uuid=>if_system_uuid_static~create_uuid_c22( ).
catch cx_uuid_error into data(lo_x).
message lo_x->get_text( ) type 'E'.
endtry.
The function module GUID_CREATE is no longer supported.
Subscribe to:
Post Comments (Atom)
SAP ABAP: Determine Timezone for Plant
DATA: lt_tzone TYPE STANDARD TABLE OF tznzone WITH DEFAULT KEY, l_tzone TYPE tznzone. " get time zone for plant ...
-
Sometimes the backend doesn't return the selected rows of an SALV. For my case get_metadata( ) was the solution: go_salv-> get_met...
-
GUIDs or UUIDs can be created with the class cl_system_uuid . try . data (lv_uuid) = cl_system_uuid => if_system_uuid_static...
-
AA PR-AUF(E) Prozessauftrag (eröffnet) AB PR-AUF(F) Prozessauftrag (freigegeben) AC FE...
" For raw16 guids
ReplyDeleteDATA l_uuid_x16 TYPE sysuuid_x16.
l_uuid_x16 = NEW cl_system_uuid( )->if_system_uuid~create_uuid_x16( ).