SAP CL_PERS_SERVICE OO Class - Central personalization service class
CL_PERS_SERVICE is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_PERS_SERVICE including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Method list of CL_PERS_SERVICE SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
| Method Name | Description | Visability |
| CHECK_PERS_KEY | Personalization key check | Public |
| CALL METHOD cl_pers_service=>CHECK_PERS_KEY...more details | ||
| CLASS_CONSTRUCTOR | CLASS_CONSTRUCTOR | Public |
| CALL METHOD cl_pers_service=>CLASS_CONSTRUCTOR...more details | ||
| CLEAR_INSTANCES | Clear Instance List | Public |
| CALL METHOD cl_pers_service=>CLEAR_INSTANCES...more details | ||
| DELETE_ALL_OBJECTS | Delete all data of a personalization object | Public |
| CALL METHOD cl_pers_service=>DELETE_ALL_OBJECTS...more details | ||
| DELETE_DATA_ROLE | Delete role personalization data | Public |
| CALL METHOD cl_pers_service=>DELETE_DATA_ROLE...more details | ||
| DELETE_DATA_SYSTEM | Delete system personalization data | Public |
| CALL METHOD cl_pers_service=>DELETE_DATA_SYSTEM...more details | ||
|
| ||
| DELETE_DATA_USER | Delete personalization data | Public |
| CALL METHOD cl_pers_service=>DELETE_DATA_USER...more details | ||
| GET_ACCESS_CLASS | Get access class | Private |
| CALL METHOD cl_pers_service=>GET_ACCESS_CLASS...more details | ||
| GET_DATA | Get personalization data | Public |
| CALL METHOD cl_pers_service=>GET_DATA...more details | ||
| GET_DATA_ROLE | Get role personalization data | Public |
| CALL METHOD cl_pers_service=>GET_DATA_ROLE...more details | ||
| GET_DATA_SYSTEM | Get system personalization data | Public |
| CALL METHOD cl_pers_service=>GET_DATA_SYSTEM...more details | ||
| GET_DISTRIBUTION_DATA | Get data for distribution | Public |
| CALL METHOD cl_pers_service=>GET_DISTRIBUTION_DATA...more details | ||
| GET_OBJECT | Get personalization object | Public |
| CALL METHOD cl_pers_service=>GET_OBJECT...more details | ||
| GET_OBJECT_ROLE | Get role personalization object | Public |
| CALL METHOD cl_pers_service=>GET_OBJECT_ROLE...more details | ||
| GET_OBJECT_SYSTEM | Get system personalization object | Public |
| CALL METHOD cl_pers_service=>GET_OBJECT_SYSTEM...more details | ||
| ROLE_COPY | Copy role personalization data | Public |
| CALL METHOD cl_pers_service=>ROLE_COPY...more details | ||
| ROLE_DELETE | Delete all data of a role | Public |
| CALL METHOD cl_pers_service=>ROLE_DELETE...more details | ||
| ROLE_DIALOG | Call role dialog | Public |
| CALL METHOD cl_pers_service=>ROLE_DIALOG...more details | ||
| ROLE_RENAME | Rename roles | Public |
| CALL METHOD cl_pers_service=>ROLE_RENAME...more details | ||
| ROLE_TRANSPORT | Transport all data of a role | Public |
| CALL METHOD cl_pers_service=>ROLE_TRANSPORT...more details | ||
| SAVE_BUFFER | Save buffered data | Public |
| CALL METHOD cl_pers_service=>SAVE_BUFFER...more details | ||
| SET_DATA | Set personalization data | Public |
| CALL METHOD cl_pers_service=>SET_DATA...more details | ||
| SET_DATA_ROLE | Set role personalization data | Public |
| CALL METHOD cl_pers_service=>SET_DATA_ROLE...more details | ||
| SET_DATA_SYSTEM | Set system personalization data | Public |
| CALL METHOD cl_pers_service=>SET_DATA_SYSTEM...more details | ||
| SET_DISTRIBUTION_DATA | Set data after distribution | Public |
| CALL METHOD cl_pers_service=>SET_DISTRIBUTION_DATA...more details | ||
| SYSTEM_DIALOG | Call system dialog | Public |
| CALL METHOD cl_pers_service=>SYSTEM_DIALOG...more details | ||
| SYSTEM_TRANSPORT | Transport all system data | Public |
| CALL METHOD cl_pers_service=>SYSTEM_TRANSPORT...more details | ||
| USER_COPY | Copy user personalization data | Public |
| CALL METHOD cl_pers_service=>USER_COPY...more details | ||
| USER_DELETE | Delete all data of a user | Public |
| CALL METHOD cl_pers_service=>USER_DELETE...more details | ||
| USER_DIALOG | Call user dialog | Public |
| CALL METHOD cl_pers_service=>USER_DIALOG...more details | ||
| USER_RENAME | Rename users | Public |
| CALL METHOD cl_pers_service=>USER_RENAME...more details | ||
CL_PERS_SERVICE attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
| Name | Level | Description | Initial Value | Type | Visability |
| ACCESS_CLASS_LIST | Static Attribute | List of registration data | LIKE T_INSTANCE_LIST | Private | |
| C_DEFAULT_CLASS | Constant | Class name | 'CL_PERS_DEFAULT_ACCESS' | LIKE SEOCLSNAME | Private |
| C_FALSE | Constant | False | SPACE | LIKE CHAR1 | Private |
| C_PERS_TYPE_ROLE | Constant | Role personalization type | 'A' | LIKE SPERS_TYPE | Public |
| C_PERS_TYPE_SYSTEM | Constant | System personalization type | 'S' | LIKE SPERS_TYPE | Public |
| C_PERS_TYPE_USER | Constant | User personalization type | 'U' | LIKE SPERS_TYPE | Public |
| C_TRUE | Constant | True | 'X' | LIKE CHAR1 | Private |
| DEL_OBJECT_LIST | Static Attribute | List of objects to be deleted | LIKE T_PERS_OBJECT_LIST | Private | |
| OBJ_DEFAULT_ACCESS | Static Attribute | Reference to standard repository | LIKE CL_PERS_DEFAULT_ACCESS | Private | |
| ROLE_CHANGED | Static Attribute | User data changed | SPACE | LIKE CHAR1 | Public |
| SYSTEM_CHANGED | Static Attribute | System data changed | SPACE | LIKE CHAR1 | Public |
| USER_CHANGED | Static Attribute | Role data changed | SPACE | LIKE CHAR1 | Public |
Events of Class CL_PERS_SERVICE
Events are created within your class using special event handler methods. These must be registered at runtime for the event and can then be triggered using the ABAP syntax: RAISE EVENT EXPOTING... AGR_COPIED - Role copiedCALL_DIALOG_USER - Dialog call
SAVE_CHANGES - Save all buffered data
USER_COPIED - User copied
CL_PERS_SERVICE types
T_CLASS_INSTANCE -T_INSTANCE -
T_INSTANCE_LIST -
T_PERS_OBJECT -
T_PERS_OBJECT_LIST -
Links to Related Class(s)
CL_PERS_...Full list of available SAP object classes
Search for further information about these or an SAP related objects