GET_PARTY_RCO_FOR_ROLES SAP Method Get business documents party role codes for party roles
Below is documentation, parameters and attributes of ABAP Method GET_PARTY_RCO_FOR_ROLES 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_PARTY_RCO_FOR_ROLES can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_PARTY_RCO_FOR_ROLES
.| Name | Type | Data Type | Description | Default Value |
| IT_PARTY_ROLE | Importing | TYPE BUP_T_ROLE | Business Partner Role | |
| 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_PARTY_RCO_FOR_ROLES
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 TYPE BUP_T_ROLE,
lv_other TYPE c.
CALL METHOD lo_class=>GET_PARTY_RCO_FOR_ROLES(
EXPORTING
IT_PARTY_ROLE = lv_IT_PARTY_ROLE
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