ENCODE_CPWADR_NODE_ID SAP Method Builds NodeID for BUPA node RelationshipContactPersonWPADR









Below is documentation, parameters and attributes of ABAP Method ENCODE_CPWADR_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_CPWADR_NODE_ID can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method ENCODE_CPWADR_NODE_ID

.

NameTypeData TypeDescriptionDefault Value
IV_ADDRNUMBERImportingTYPE
AD_ADDRNUM
IV_PARTNER1_GUIDImportingTYPE
BU_PARTNER_GUID
Business Partner GUID (1)
IV_PARTNER2_GUIDImportingTYPE
BU_PARTNER_GUID
Business Partner GUID (2)
IV_RELDIRImportingTYPE
/BOFU/BUP_RELDIR
IV_RELTYPImportingTYPE
BU_RELTYP
Business Partner Relationship Category
IV_VALIDTOImportingTYPE
CHAR8
Character field, 8 characters long
EV_CPWADR_NODE_IDExportingTYPE
/BOFU/BO_NODE_ID
Node ID



Exceptions of Method ENCODE_CPWADR_NODE_ID

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /BOFU/CL_BUPA_ENCODE.
DATA: lv_EV_CPWADR_NODE_ID TYPE /BOFU/BO_NODE_ID,
lv_IV_ADDRNUMBER TYPE AD_ADDRNUM,
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_CPWADR_NODE_ID(
EXPORTING
IV_ADDRNUMBER = lv_IV_ADDRNUMBER
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_CPWADR_NODE_ID = lv_EV_CPWADR_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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!