BUILD_ADDRESS_REFERENCE SAP Method Create Address Reference
Below is documentation, parameters and attributes of ABAP Method BUILD_ADDRESS_REFERENCE within SAP class VMD_EI_API. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name VMD_EI_API 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 BUILD_ADDRESS_REFERENCE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method BUILD_ADDRESS_REFERENCE
.| Name | Type | Data Type | Description | Default Value |
| IV_ADDRESS_TYPE | Importing | TYPE CHAR1 | Address Type | |
| IV_KEY_CONTENT | Importing | TYPE CHAR79 | Key Contents | |
| IV_MASTER_FIELD | Importing | TYPE FIELDNAME | Field Name | |
| IV_MASTER_TAB | Importing | TYPE TABNAME | Table Name | |
| ES_REFERENCE | Exporting | TYPE ADDR_REF | Transfer Structure for the Use of Addresses |
Exceptions of Method BUILD_ADDRESS_REFERENCE
This method does not have any exceptionsExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lv_ES_REFERENCE TYPE ADDR_REF,
lv_IV_ADDRESS_TYPE TYPE CHAR1,
lv_IV_KEY_CONTENT TYPE CHAR79,
lv_IV_MASTER_FIELD TYPE FIELDNAME,
lv_IV_MASTER_TAB TYPE TABNAME,
lv_other TYPE c.
CALL METHOD VMD_EI_API=>BUILD_ADDRESS_REFERENCE(
EXPORTING
IV_ADDRESS_TYPE = lv_IV_ADDRESS_TYPE
IV_KEY_CONTENT = lv_IV_KEY_CONTENT
IV_MASTER_FIELD = lv_IV_MASTER_FIELD
IV_MASTER_TAB = lv_IV_MASTER_TAB
IMPORTING
ES_REFERENCE = lv_ES_REFERENCE ).
Links to Related Class(s)
VMD_EI_A...Full list of available SAP object classes
Search for further information about these or an SAP related objects