UPLOAD_SINGLE SAP Method Roles Upload
Below is documentation, parameters and attributes of ABAP Method UPLOAD_SINGLE 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 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_PFCG_ROLE into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method UPLOAD_SINGLE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method UPLOAD_SINGLE
.| Name | Type | Data Type | Description | Default Value |
| IT_AGR_1250 | Importing | TYPE TT_AGR_1250 | Authorization data for the activity group | |
| IT_AGR_1251 | Importing | TYPE TT_AGR_1251 | Authorization data for the activity group | |
| IT_AGR_1252 | Importing | TYPE TT_AGR_1252 | Organizational elements for authorizations | |
| IT_AGR_FLAGS | Importing | TYPE SUID_TT_AGR_FLAGS | Table Type: Attributes of a Role | |
| EO_MSG_BUFFER | Exporting | TYPE REF TO IF_SPCG_MSG_BUFFER | Roles API - Message Class | |
| EV_ERROR | Exporting | TYPE ABAP_BOOL |
Exceptions of Method UPLOAD_SINGLE
CX_PFCG_ROLE - Roles API - Exception ClassExample 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: lo_class TYPE REF TO CL_PFCG_ROLE.
DATA: lv_EO_MSG_BUFFER TYPE IF_SPCG_MSG_BUFFER,
lv_EV_ERROR TYPE ABAP_BOOL,
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_other TYPE c.
CALL METHOD lo_class=>UPLOAD_SINGLE(
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
IMPORTING
EO_MSG_BUFFER = lv_EO_MSG_BUFFER
EV_ERROR = lv_EV_ERROR ).
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