ADD_ADDRESS_REFERENCE SAP Method Add a where used reference to an address









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

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


Parameters of Method ADD_ADDRESS_REFERENCE

.

NameTypeData TypeDescriptionDefault Value
IS_ADDRESS_REFERENCEImportingTYPE
ADDR_REF
Transfer structure for the use of addresses
IV_ADDRESS_IDImportingTYPE
/BOFU/ADDR_NODE_ID
Node Id as in the ESA-model
IV_CHECK_IF_REF_EXISTSImportingTYPE
XFELD
Feld zum Ankreuzen
ET_CHANGE_NOTIFICATIONSExportingTYPE
/BOFU/ADDRT_CHANGE_NOTIFI
ET_ERRORExportingTYPE
/BOFU/ADDRT_ERROR
Error Table for class CL_ADDR_MAIN



Exceptions of Method ADD_ADDRESS_REFERENCE

ET_CHANGE_NOTIFICATIONSExportingTYPE
/BOFU/ADDRT_CHANGE_NOTIFIET_ERRORExportingTYPE
/BOFU/ADDRT_ERRORError Table for class CL_ADDR_MAINREFERENCE_EXISTS -

Example ABAP coding


DATA: lo_class TYPE REF TO /BOFU/CL_ADDR_MAIN_AP_FACADE.
DATA: lv_ET_CHANGE_NOTIFICATIONS TYPE /BOFU/ADDRT_CHANGE_NOTIFI,
lv_ET_ERROR TYPE /BOFU/ADDRT_ERROR,
lv_IS_ADDRESS_REFERENCE TYPE ADDR_REF,
lv_IV_ADDRESS_ID TYPE /BOFU/ADDR_NODE_ID,
lv_IV_CHECK_IF_REF_EXISTS TYPE XFELD,
lv_other TYPE c.

CALL METHOD lo_class=>ADD_ADDRESS_REFERENCE(
EXPORTING
IS_ADDRESS_REFERENCE = lv_IS_ADDRESS_REFERENCE
IV_ADDRESS_ID = lv_IV_ADDRESS_ID
IV_CHECK_IF_REF_EXISTS = lv_IV_CHECK_IF_REF_EXISTS
IMPORTING
ET_CHANGE_NOTIFICATIONS = lv_ET_CHANGE_NOTIFICATIONS
ET_ERROR = lv_ET_ERROR ).

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!