RETRIEVE_ADDRESS_2 SAP Method Read Addresses of technical Type 2
Below is documentation, parameters and attributes of ABAP Method RETRIEVE_ADDRESS_2 within SAP class /BOFU/IF_ADDR_RETRIEVE. 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_RETRIEVE 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 RETRIEVE_ADDRESS_2 can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method RETRIEVE_ADDRESS_2
.| Name | Type | Data Type | Description | Default Value |
| IT_ADDR2_SEL | Importing | TYPE /BOFU/ADDRT_ADDR2_SEL | Selection Parameters for Multiple Addresses | |
| IV_FILL_BUFFER | Importing | TYPE ABAP_BOOL | Fill address buffers? | |
| IV_SKIP_NOTES | Importing | TYPE ABAP_BOOL | Do not load remarks (e.g. skip during save)? | |
| ET_ADDRESS_WITH_KEY | Exporting | TYPE /BOFU/ADDRT_ADDRESS_WITH_KEY | Table of address data with alternate key |
Exceptions of Method RETRIEVE_ADDRESS_2
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /BOFU/IF_ADDR_RETRIEVE.
DATA: lv_ET_ADDRESS_WITH_KEY TYPE /BOFU/ADDRT_ADDRESS_WITH_KEY,
lv_IT_ADDR2_SEL TYPE /BOFU/ADDRT_ADDR2_SEL,
lv_IV_FILL_BUFFER TYPE ABAP_BOOL,
lv_IV_SKIP_NOTES TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD lo_class=>RETRIEVE_ADDRESS_2(
EXPORTING
IT_ADDR2_SEL = lv_IT_ADDR2_SEL
IV_FILL_BUFFER = lv_IV_FILL_BUFFER
IV_SKIP_NOTES = lv_IV_SKIP_NOTES
IMPORTING
ET_ADDRESS_WITH_KEY = lv_ET_ADDRESS_WITH_KEY ).
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