Application Development and Automation 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: 
Read only

ABAP Object - Persistent Services - Transient Objects

AndrewBarnard
Contributor
0 Likes
457

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
Read only

Former Member
0 Likes
337

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.

Read only

0 Likes
337

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.