ENCODE_RELSHP_NODE_ID SAP Method Builds NodeID for BUPA node Relationship
Below is documentation, parameters and attributes of ABAP Method ENCODE_RELSHP_NODE_ID within SAP class /BOFU/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 /BOFU/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_RELSHP_NODE_ID can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ENCODE_RELSHP_NODE_ID
.| Name | Type | Data Type | Description | Default Value |
| IV_PARTNER1_GUID | Importing | TYPE BU_PARTNER_GUID | Business Partner GUID (1) | |
| IV_PARTNER2_GUID | Importing | TYPE BU_PARTNER_GUID | Business Partner GUID (2) | |
| IV_RELDIR | Importing | TYPE /BOFU/BUP_RELDIR | ||
| IV_RELTYP | Importing | TYPE BU_RELTYP | Business Partner Relationship Category | |
| IV_VALIDTO | Importing | TYPE CHAR8 | Validity Date (Valid To) | |
| EV_RELSHP_NODE_ID | Exporting | TYPE /BOFU/BO_NODE_ID | Node ID |
Exceptions of Method ENCODE_RELSHP_NODE_ID
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /BOFU/CL_BUPA_ENCODE.
DATA: lv_EV_RELSHP_NODE_ID TYPE /BOFU/BO_NODE_ID,
lv_IV_PARTNER1_GUID TYPE BU_PARTNER_GUID,
lv_IV_PARTNER2_GUID TYPE BU_PARTNER_GUID,
lv_IV_RELDIR TYPE /BOFU/BUP_RELDIR,
lv_IV_RELTYP TYPE BU_RELTYP,
lv_IV_VALIDTO TYPE CHAR8,
lv_other TYPE c.
CALL METHOD lo_class=>ENCODE_RELSHP_NODE_ID(
EXPORTING
IV_PARTNER1_GUID = lv_IV_PARTNER1_GUID
IV_PARTNER2_GUID = lv_IV_PARTNER2_GUID
IV_RELDIR = lv_IV_RELDIR
IV_RELTYP = lv_IV_RELTYP
IV_VALIDTO = lv_IV_VALIDTO
IMPORTING
EV_RELSHP_NODE_ID = lv_EV_RELSHP_NODE_ID ).
Links to Related Class(s)
/BOFU/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects