OOPS ABAP: Persistence class
Persistence class: The purpose of persistence class is to perform data base operations like insert, update,delete. The persistence class name must start with CL. While creating the persistence class create, 2 helper class automatically.Those helper classes are CA and CB. CA is called as actor class or agent class and CB is called base class. Steps: Go to 'SE24' and enter the persistence class name starts with CL ( Eg: ZCL_PER_STU) . Click on create and enter short description and select radio button 'Persistence class'. Click on enter and some methods are automatically created. Click on 'GOTO' menu button and select 'Persistence representant'. Enter table name and press enter. Double click on field names and click on 'Set Attribute values' button. Click on save and back. Activate.(You will get the popup saying Actor class.press enter)(Actor calss ZCA_PER_STU and ZCB_PER_STU automatically created) Agent attribute of the Agent class: The s...