GET_ACCESS_CLASS SAP Method Get access class









Below is documentation, parameters and attributes of ABAP Method GET_ACCESS_CLASS within SAP class CL_PERS_ADMIN. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_PERS_ADMIN into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method GET_ACCESS_CLASS can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method GET_ACCESS_CLASS

.

NameTypeData TypeDescriptionDefault Value
P_GET_ALLImportingTYPE
CHAR1
Get all classes
P_PERS_KEYImportingTYPE
SPERS_KEY
Personalization object key
P_ACCESS_CLASSExportingTYPE REF TO
IF_PERS_EXTERNAL_TABLE
Individual access class



Exceptions of Method GET_ACCESS_CLASS

ACCESS_CLASS_DOES_NOT_EXIST - Access class does not exist

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lv_P_ACCESS_CLASS TYPE IF_PERS_EXTERNAL_TABLE,
lv_P_GET_ALL TYPE CHAR1,
lv_P_PERS_KEY TYPE SPERS_KEY,
lv_other TYPE c.

CALL METHOD CL_PERS_ADMIN=>GET_ACCESS_CLASS(
EXPORTING
P_GET_ALL = lv_P_GET_ALL
P_PERS_KEY = lv_P_PERS_KEY
IMPORTING
P_ACCESS_CLASS = lv_P_ACCESS_CLASS ).

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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!