ENCODE_ORG_REL_NODE_ID SAP Method Builds NodeID for BUPA node ORGANIZATION_REL
Below is documentation, parameters and attributes of ABAP Method ENCODE_ORG_REL_NODE_ID within SAP class /SCMTMS/CL_BUPA_ENCODE. 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/CL_BUPA_ENCODE 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 ENCODE_ORG_REL_NODE_ID can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ENCODE_ORG_REL_NODE_ID
.| Name | Type | Data Type | Description | Default Value |
| IV_ORG_ID | Importing | TYPE OBJEKTID | Internal Organizational Unit ID | |
| IV_PARTNER_GUID | Importing | TYPE BU_PARTNER_GUID | Business Partner GUID | |
| IV_PARVW | Importing | TYPE /SCMB/PARVW | Partner Function | |
| IV_PARZA | Importing | TYPE /SCMB/PARZA | Partner Counter | |
| IV_SPART | Importing | TYPE /SAPAPO/LOC_SPART | Location: Division | |
| IV_VTWEG | Importing | TYPE /SAPAPO/LOC_VTWEG | Location: Distribution Channel | |
| EV_ORGREL_NODE_ID | Exporting | TYPE /SCMTMS/BO_NODE_ID | ORGANIZATION_REL node ID |
Exceptions of Method ENCODE_ORG_REL_NODE_ID
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMTMS/CL_BUPA_ENCODE.
DATA: lv_EV_ORGREL_NODE_ID TYPE /SCMTMS/BO_NODE_ID,
lv_IV_ORG_ID TYPE OBJEKTID,
lv_IV_PARTNER_GUID TYPE BU_PARTNER_GUID,
lv_IV_PARVW TYPE /SCMB/PARVW,
lv_IV_PARZA TYPE /SCMB/PARZA,
lv_IV_SPART TYPE /SAPAPO/LOC_SPART,
lv_IV_VTWEG TYPE /SAPAPO/LOC_VTWEG,
lv_other TYPE c.
CALL METHOD lo_class=>ENCODE_ORG_REL_NODE_ID(
EXPORTING
IV_ORG_ID = lv_IV_ORG_ID
IV_PARTNER_GUID = lv_IV_PARTNER_GUID
IV_PARVW = lv_IV_PARVW
IV_PARZA = lv_IV_PARZA
IV_SPART = lv_IV_SPART
IV_VTWEG = lv_IV_VTWEG
IMPORTING
EV_ORGREL_NODE_ID = lv_EV_ORGREL_NODE_ID ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects