We sometimes face situations where we need an ID for uniquely identifying our objects. SAP had provided a function...
module for the same. We can use the function module SYSTEM_UUID_C_CREATE for generating a world wide unique ID. (Yes, this is a worldwide unique ID. No other person can get the same ID even if two people execute the same function module, at the same time.)
Here is the sample code for the same.
REPORT GUID .
data: unique_id like sys_uid.
CALL FUNCTION 'SYSTEM_UUID_C_CREATE'
UUID = unique_id.
write : unique_id.