MAP_PARVW2PTRO_CODE SAP Method Map partner function into party role code
Below is documentation, parameters and attributes of ABAP Method MAP_PARVW2PTRO_CODE within SAP class /SCMB/IF_BPTMCIF_PARVW_MAP. 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 /SCMB/IF_BPTMCIF_PARVW_MAP 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 MAP_PARVW2PTRO_CODE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method MAP_PARVW2PTRO_CODE
.| Name | Type | Data Type | Description | Default Value |
| IS_CIF_PARTNER_REL | Importing | TYPE /SAPAPO/CIFLOCBPPARTNERDATA | CIF: Organization dependent partner functions | |
| IT_BPMAP | Importing | TYPE /SAPAPO/CIF_BPMAP_TAB | Table type for /SAPAPO/CIF_BPMAP | |
| IV_LOGSYS | Importing | TYPE LOGSYS | Logical system | |
| IV_ORG_FUNCTION | Importing | TYPE /SCMB/ORG_FUNC_CODE | Organizational Unit Function | |
| CV_REL_PARTY | Changing | TYPE /SCMB/REL_PARTNER | Related Business Partner | |
| CV_ROLE_CODE | Changing | TYPE /SCMB/PARTY_ROLE_CODE | Party Role Code |
Exceptions of Method MAP_PARVW2PTRO_CODE
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMB/IF_BPTMCIF_PARVW_MAP.
DATA: lv_CV_REL_PARTY TYPE /SCMB/REL_PARTNER,
lv_CV_ROLE_CODE TYPE /SCMB/PARTY_ROLE_CODE,
lv_IS_CIF_PARTNER_REL TYPE /SAPAPO/CIFLOCBPPARTNERDATA,
lv_IT_BPMAP TYPE /SAPAPO/CIF_BPMAP_TAB,
lv_IV_LOGSYS TYPE LOGSYS,
lv_IV_ORG_FUNCTION TYPE /SCMB/ORG_FUNC_CODE,
lv_other TYPE c.
CALL METHOD lo_class=>MAP_PARVW2PTRO_CODE(
EXPORTING
IS_CIF_PARTNER_REL = lv_IS_CIF_PARTNER_REL
IT_BPMAP = lv_IT_BPMAP
IV_LOGSYS = lv_IV_LOGSYS
IV_ORG_FUNCTION = lv_IV_ORG_FUNCTION
CHANGING
CV_REL_PARTY = lv_CV_REL_PARTY
CV_ROLE_CODE = lv_CV_ROLE_CODE ).
Links to Related Class(s)
/SCMB/IF...Full list of available SAP object classes
Search for further information about these or an SAP related objects