COLLECT_ADDRESS_REFERENCE SAP Method Collect address reference to adapt them in one call
Below is documentation, parameters and attributes of ABAP Method COLLECT_ADDRESS_REFERENCE within SAP class /SCMTMS/CL_ADDR_HELPER. 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_ADDR_HELPER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method COLLECT_ADDRESS_REFERENCE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method COLLECT_ADDRESS_REFERENCE
.| Name | Type | Data Type | Description | Default Value |
| IV_ADDRESS_ID_NEW | Importing | TYPE /BOFU/ADDRESS_ID | Current image version of ADDRESS_ID | |
| IV_ADDRESS_ID_OLD | Importing | TYPE /BOFU/ADDRESS_ID | Before image version of ADDRESS_ID | |
| IV_ADDR_DO_PREFIX | Importing | TYPE /BOFU/ADDR_DO_PREFIX | Dependent Object Prefix of the Address Host | |
| IV_BO_KEY | Importing | TYPE /BOBF/OBM_BO_KEY | Business Object | |
| IV_KEY | Importing | TYPE /BOBF/CONF_KEY | Instance Key | |
| IV_NODE_KEY | Importing | TYPE /BOBF/OBM_NODE_KEY | Node |
Exceptions of Method COLLECT_ADDRESS_REFERENCE
/BOFU/CX_ADDRESS - Exception for Dependend Object AddressExample ABAP coding
DATA: lv_IV_ADDRESS_ID_NEW TYPE /BOFU/ADDRESS_ID,
lv_IV_ADDRESS_ID_OLD TYPE /BOFU/ADDRESS_ID,
lv_IV_ADDR_DO_PREFIX TYPE /BOFU/ADDR_DO_PREFIX,
lv_IV_BO_KEY TYPE /BOBF/OBM_BO_KEY,
lv_IV_KEY TYPE /BOBF/CONF_KEY,
lv_IV_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_ADDR_HELPER=>COLLECT_ADDRESS_REFERENCE(
EXPORTING
IV_ADDRESS_ID_NEW = lv_IV_ADDRESS_ID_NEW
IV_ADDRESS_ID_OLD = lv_IV_ADDRESS_ID_OLD
IV_ADDR_DO_PREFIX = lv_IV_ADDR_DO_PREFIX
IV_BO_KEY = lv_IV_BO_KEY
IV_KEY = lv_IV_KEY
IV_NODE_KEY = lv_IV_NODE_KEY ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects