Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to create a GUID in code

Is there anyway to create a new GUID in ABAP? Simplying create a data object of type OS_GUID creates an initialized (empty, or all-zeros) GUID.

Many thanks.

Former Member

Hello Steve,

You can use function module


It allows you to generate GUID16, GUID22 or GUID32.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question