|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Persistent Objects: Using GUID Object Identity
By Abdul Hakim, Satyam Computer Services Ltd
Store the attributes of the Objects persistently in the database.
Persistent Object has a unique identity with which it can be accessed. There are
2 types of Object identity
For Persistent Objects using Business key Identity please
check my previous article, “Persistent
Objects: Using Business Key identity”
This article will focus only on Persistent Object using GUID.
Step: 1 ->
Create a database table
This table should contain a key field of type OS_GUID.
Step: 2 ->Create
a Persistent Class
Go to Class Builder (tcode SE24)
Give persistent class name for eg ZCL_PERSIST_02 and hit the
the next screen select the class type as Persistent Class and then hit Save
Step: 3 ->
Persistent Mapping or Mapping
the table name. For eg ZSTUDENT02 and hit the enter button
fields appear in the lower half of the tool screen.
Click the table field
Press the upward arrow button
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards