![](https://blogs.sap.com/wp-content/uploads/2021/11/1-15.png)
Displaying Standard Multiple ALV’s in a SAP ABAP Report SAP Blogs
The SAP Persistence Service consists of global classes and interfaces. The upper four interfaces are shared between all persistent classes, and the lower three classes are specific, and automatically generated for each Persistent Class that we create. The ZCL_OS_SCARR is our Persistent Class that we
![](https://discoveringabap.files.wordpress.com/2021/09/class-1.7-1.jpg)
Object Oriented ABAP [2] Working with ABAP Class Discovering ABAP
Persistent class ABAP Program stays in the local ABAP memory for the session only till the runtime of that program. This data lives only as long as its context - that is, as long as its associated procedure (for local procedure data); its object (for attributes of classes); or its program (for global program data).
![](https://gocoding.org/wp-content/uploads/2019/03/ABAP-Friend-Class-Example-1-1024x623.png)
Friend Class in SAP ABAP Go Coding
Persistent Classes To use the Persistence Service for objects, the classes of these objects must have been created as persistent classes in Class Builder. The term persistent class does not imply that a class is persistent (every class is persistent as a template for objects).
![](https://help.sap.com/doc/saphelp_snc700_ehp04/7.0.4/en-US/f6/50c544393b45de8bf261b5a97ff5d6/loio237a5d02cd234a658b318be7c67d6e22_HiRes.png)
Changing Syntax Colors at ABAP Keyword Level
Creating a Persistent Class (SAP Library - ABAP Workbench Tools) Relevancy Factor: 20.0. You need to use the prefix CL_ (or a corresponding naming convention in the customer namespace) for Persistent Class es. The auxiliary classes use the same convention.
![](https://blogs.sap.com/wp-content/uploads/2014/01/amdp_class_388200.png)
Implement and consume your first ABAP Managed Database Procedure on HANA SAP Blogs
The Persistence Service lets the ABAP programmer work with relational database data in an object-oriented way. So we're talking here about an [ORM| http://en.wikipedia.org/wiki/Object-relational_mapping] framework.
![](https://www.researchgate.net/profile/Timo-Seuranen/publication/221203375/figure/fig1/AS:670700218114051@1536918801091/A-part-of-the-persistent-class-diagram-of-the-safety-case-base.png)
A part of the persistent class diagram of the safety casebase. Download Scientific Diagram
The description of an object - that is, the class - occurs persistently as a piece of source code, but its attributes exist only as long as the object. However, an object in ABAP Objects is transient in principle.
![](https://gocoding.org/wp-content/uploads/2018/06/Local-Classes-in-ABAP-768x528.png)
Local Classes in ABAP Go Coding
Figure 1 Creating the Persistent Class Persistent classes are like normal classes and are created using the class builder (se24). The only difference while creating a persistent class is the tick mark Persistent Class, which identifies the class as a persistent class.
![](https://blogs.sap.com/wp-content/uploads/2012/04/1___persistent_objects___class_diag_94264.jpg)
ABAP Persistent Object Services Demystified SAP Blogs
persistent class Special class whose attributes are associated with database tables using object-relational mapping. Can be created using Mapping Assistant in Class Builder. The objects of persistent classes are managed by object services . persistent class
![](https://2.bp.blogspot.com/-3FynBcZStjM/WU37qTCzRXI/AAAAAAAAAvA/fof9_ymrVgUXaLaQg-rXlHuHuqe6EWtywCLcBGAs/s1600/d11.png)
Step by Step Tutorial on Creating class in SAP ABAP Class Builder(SE24)
The agent class manages the persistent objects at runtime. The medhods of the agent class can be mostly redefined. Besides of them, the agent class can be extended with new attributes, methodes etc. More details to the Object Services under ABAP - Object Services Standard BAPIs
![](https://i.ytimg.com/vi/5bRRLbQOiNU/maxresdefault.jpg)
SAP ABAP tutorial Classes (Lesson 6) YouTube
CL_persistent The class CL_persistent is a class created as a persistent class using Class Builder. The objects of this class are managed by the persistence service. These objects are known as managed objects (note that a managed object does not necessarily have to be a persistent object).
![](https://3.bp.blogspot.com/-XX_HYVRGJDg/VJZ0rzTkE5I/AAAAAAAAOA8/2qYANaEyqpE/s1600/1.png)
TECHSAP OO ABAP Exception classes [All about Using CX_STATIC_CHECK]
1 Here is a dynamic solution, query_data is the result returned from the call to get_persistent_by_query ( ). In the end the data will be stored in structured table