Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Object - Persistent Services - Transient Objects

AB
Contributor
0 Kudos

Hi,

can anybody give an example of when I might want to use a transient object in the persistent services?

Cheers

Andrew

2 REPLIES 2

Former Member
0 Kudos

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.

0 Kudos

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.