GET_ROLES_FOR_PARTY_RCO SAP Method Get party roles for business documents party role codes
Below is documentation, parameters and attributes of ABAP Method GET_ROLES_FOR_PARTY_RCO within SAP class /SCMTMS/IF_CUST_PA_RCO_PA_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 /SCMTMS/IF_CUST_PA_RCO_PA_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 GET_ROLES_FOR_PARTY_RCO can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_ROLES_FOR_PARTY_RCO
.| Name | Type | Data Type | Description | Default Value |
| IT_PARTY_ROLE_CODE | Importing | TYPE /SCMB/T_PARTY_ROLE_CODE | Party Role Codes | |
| IT_PARTY_ROLE_CODE | Importing | TYPE TDT_PARVW | Party Role Codes | |
| ET_PA_RCO_PA_ROLE | Exporting | TYPE /SCMTMS/CL_PARTNER_ROLE_HELPER=>TT_PA_ROL | Assignment Business Partner Role to Party RCO |
Exceptions of Method GET_ROLES_FOR_PARTY_RCO
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMTMS/IF_CUST_PA_RCO_PA_ROLE.
DATA: lv_ET_PA_RCO_PA_ROLE TYPE /SCMTMS/CL_PARTNER_ROLE_HELPER=>TT_PA_ROL,
lv_IT_PARTY_ROLE_CODE TYPE /SCMB/T_PARTY_ROLE_CODE,
lv_IT_PARTY_ROLE_CODE TYPE TDT_PARVW,
lv_other TYPE c.
CALL METHOD lo_class=>GET_ROLES_FOR_PARTY_RCO(
EXPORTING
IT_PARTY_ROLE_CODE = lv_IT_PARTY_ROLE_CODE
IT_PARTY_ROLE_CODE = lv_IT_PARTY_ROLE_CODE
IMPORTING
ET_PA_RCO_PA_ROLE = lv_ET_PA_RCO_PA_ROLE ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects