SET_HOST_REFERENCE SAP Method of class /BOFU/IF_ADDR_HOST_REFERENCE









Below is documentation, parameters and attributes of ABAP Method SET_HOST_REFERENCE within SAP class /BOFU/IF_ADDR_HOST_REFERENCE. 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/IF_ADDR_HOST_REFERENCE 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 SET_HOST_REFERENCE can also be found below:

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


Parameters of Method SET_HOST_REFERENCE

.

NameTypeData TypeDescriptionDefault Value
IS_ASSOCIATIONImportingTYPE
/BOBF/S_CONFRO_ASSOC
Delegation association including the address ID field
IS_BOImportingTYPE
/BOBF/S_CONFRO_OBJ
Configuration: Version-Dependent Root Node
IS_SOURCE_NODEImportingTYPE
/BOBF/S_CONFRO_NODE
Address carrier node
IS_TARGET_NODEImportingTYPE
/BOBF/S_CONFRO_NODE
Delegation node pointing to the address
ES_HOSTING_BO_NODEExportingTYPE
/BOFU/S_NODE
Node
EV_HOST_OBJECT_NODE_TYPEExportingTYPE
/BOBF/OBJECT_NODE_TYPE_CODE
Proxy Data Element (generated)
EV_HOST_OBJECT_TYPEExportingTYPE
/BOBF/OBJECT_TYPE_CODE
Proxy Data Element (generated)
CV_GROUP_CODEChangingTYPE
/BOFU/CPX_ADDRESS_GRP_CD_CT
Per Default 'LOC1'
CV_TYPE_CODEChangingTYPE
/BOFU/CPX_ADDRESS_TYPE_CODE
Per Default '1' - organisation address



Exceptions of Method SET_HOST_REFERENCE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /BOFU/IF_ADDR_HOST_REFERENCE.
DATA: lv_CV_GROUP_CODE TYPE /BOFU/CPX_ADDRESS_GRP_CD_CT,
lv_CV_TYPE_CODE TYPE /BOFU/CPX_ADDRESS_TYPE_CODE,
lv_ES_HOSTING_BO_NODE TYPE /BOFU/S_NODE,
lv_EV_HOST_OBJECT_NODE_TYPE TYPE /BOBF/OBJECT_NODE_TYPE_CODE,
lv_EV_HOST_OBJECT_TYPE TYPE /BOBF/OBJECT_TYPE_CODE,
lv_IS_ASSOCIATION TYPE /BOBF/S_CONFRO_ASSOC,
lv_IS_BO TYPE /BOBF/S_CONFRO_OBJ,
lv_IS_SOURCE_NODE TYPE /BOBF/S_CONFRO_NODE,
lv_IS_TARGET_NODE TYPE /BOBF/S_CONFRO_NODE,
lv_other TYPE c.

CALL METHOD lo_class=>SET_HOST_REFERENCE(
EXPORTING
IS_ASSOCIATION = lv_IS_ASSOCIATION
IS_BO = lv_IS_BO
IS_SOURCE_NODE = lv_IS_SOURCE_NODE
IS_TARGET_NODE = lv_IS_TARGET_NODE
IMPORTING
ES_HOSTING_BO_NODE = lv_ES_HOSTING_BO_NODE
EV_HOST_OBJECT_NODE_TYPE = lv_EV_HOST_OBJECT_NODE_TYPE
EV_HOST_OBJECT_TYPE = lv_EV_HOST_OBJECT_TYPE
CHANGING
CV_GROUP_CODE = lv_CV_GROUP_CODE
CV_TYPE_CODE = lv_CV_TYPE_CODE ).

Links to Related Class(s)

/BOFU/IF...
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!