Skip to Content
Feb 14, 2020 at 07:17 AM

How to find GUID/OID of a persistent object



I am creating and storing a persistent class object.

I use the agent class ZCA_* method CREATE_PERSISTENT to do this.

Once i fill in the necessary data and execute COMMIT WORK, the data is saved to the DB table.

But how do i get the GUID of the object i just created inside my program? I currently have access to ZCL* and ZCA* objects.

I need this GUID, so i can store this for reference in another table. Saying that a for this particular transactions, this object has been generated. So, i can retrieve and process/display it later.