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 administration and NetWeaver administration

PRO+

Content

Find more PRO+ content and other member only offers, here.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close