UPLOAD SAP Method Roles Upload









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

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_PFCG_ROLE 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 UPLOAD can also be found below:

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


Parameters of Method UPLOAD

.

NameTypeData TypeDescriptionDefault Value
IT_AGR_1250ImportingTYPE
TT_AGR_1250
Authorization data for the activity group
IT_AGR_1251ImportingTYPE
TT_AGR_1251
Authorization data for the activity group
IT_AGR_1252ImportingTYPE
TT_AGR_1252
Organizational elements for authorizations
IT_AGR_FLAGSImportingTYPE
SUID_TT_AGR_FLAGS
Table Type: Attributes of a Role
IT_PFCG_ROLEImportingTYPE
IF_PFCG_ROLE=>TT_PFCG_ROLE
Table Type: Role
EO_MSG_BUFFERExportingTYPE REF TO
IF_SPCG_MSG_BUFFER
Roles API - Message Class
ET_NODE_ROOTExportingTYPE
IF_PFCG_ROLE=>NODE_TT_ROOT
Table Type: Root Node
ET_PFCG_ROLE_NOT_AUTHORIZEDExportingTYPE
IF_PFCG_ROLE=>TT_PFCG_ROLE
Table Type: Role
ET_PFCG_ROLE_NOT_EXISTExportingTYPE
IF_PFCG_ROLE=>TT_PFCG_ROLE
Table Type: Role
ET_PFCG_ROLE_NOT_LOCKEDExportingTYPE
IF_PFCG_ROLE=>TT_PFCG_ROLE
Table Type: Role
ET_PFCG_ROLE_NOT_RECORDEDExportingTYPE
IF_PFCG_ROLE=>TT_PFCG_ROLE
Table Type: Role



Exceptions of Method UPLOAD

CX_PFCG_ROLE - Roles API - Exception Class

Example ABAP coding


DATA: lv_EO_MSG_BUFFER TYPE IF_SPCG_MSG_BUFFER,
lv_ET_NODE_ROOT TYPE IF_PFCG_ROLE=>NODE_TT_ROOT,
lv_ET_PFCG_ROLE_NOT_AUTHORIZED TYPE IF_PFCG_ROLE=>TT_PFCG_ROLE,
lv_ET_PFCG_ROLE_NOT_EXIST TYPE IF_PFCG_ROLE=>TT_PFCG_ROLE,
lv_ET_PFCG_ROLE_NOT_LOCKED TYPE IF_PFCG_ROLE=>TT_PFCG_ROLE,
lv_ET_PFCG_ROLE_NOT_RECORDED TYPE IF_PFCG_ROLE=>TT_PFCG_ROLE,
lv_IT_AGR_1250 TYPE TT_AGR_1250,
lv_IT_AGR_1251 TYPE TT_AGR_1251,
lv_IT_AGR_1252 TYPE TT_AGR_1252,
lv_IT_AGR_FLAGS TYPE SUID_TT_AGR_FLAGS,
lv_IT_PFCG_ROLE TYPE IF_PFCG_ROLE=>TT_PFCG_ROLE,
lv_other TYPE c.

CALL METHOD CL_PFCG_ROLE=>UPLOAD(
EXPORTING
IT_AGR_1250 = lv_IT_AGR_1250
IT_AGR_1251 = lv_IT_AGR_1251
IT_AGR_1252 = lv_IT_AGR_1252
IT_AGR_FLAGS = lv_IT_AGR_FLAGS
IT_PFCG_ROLE = lv_IT_PFCG_ROLE
IMPORTING
EO_MSG_BUFFER = lv_EO_MSG_BUFFER
ET_NODE_ROOT = lv_ET_NODE_ROOT
ET_PFCG_ROLE_NOT_AUTHORIZED = lv_ET_PFCG_ROLE_NOT_AUTHORIZED
ET_PFCG_ROLE_NOT_EXIST = lv_ET_PFCG_ROLE_NOT_EXIST
ET_PFCG_ROLE_NOT_LOCKED = lv_ET_PFCG_ROLE_NOT_LOCKED
ET_PFCG_ROLE_NOT_RECORDED = lv_ET_PFCG_ROLE_NOT_RECORDED ).

Links to Related Class(s)

CL_PFCG_...
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!