Problem solve Get help with specific problems with your technologies, process and projects.

Generating a worldwide unique ID

How to create a unique ID for identifying objects.

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.

start-of-selection.

clear unique_id.

CALL FUNCTION 'SYSTEM_UUID_C_CREATE'
IMPORTING
UUID = unique_id.

write : unique_id.

This was last published in June 2004

Dig Deeper on SAP Basis

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchHRSoftware

Close