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
replied

Hello Steve,

You can use function module

GUID_CREATE

It allows you to generate GUID16, GUID22 or GUID32.

Regards,

Michael

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