03-16-2007 10:44 AM
Hi,
can anybody give an example of when I might want to use a transient object in the persistent services?
Cheers
Andrew
03-16-2007 2:07 PM
Hello Andrew,
Generally ABAP programs work with data and objects that are valid at
runtime. They are transient i.e. temporary and disappear when program ends.
To store this data permanently and independently of the program context,
it must be stored in the database. Persistent Services in ABAP Objects can be used to write the current values of objects defined as persistent to associated transparent tables. Later these values can be retrieved from the tables. In this way an object oriented database management system can be simulated.
Regards
Indrajit.
03-19-2007 9:31 AM
Thanks Indrajit for your reply. I think you didn;t read my question carefully enough. Persistent services in ABAP provides the ability to work with both persistent and purely transient objects. I asked about an example of using purely transient objects in the persistent services.