SAP ADDR_EXTRACT_FOR_DUPL_INDEX Function Module for
ADDR_EXTRACT_FOR_DUPL_INDEX is a standard addr extract for dupl index SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for addr extract for dupl index FM, simply by entering the name ADDR_EXTRACT_FOR_DUPL_INDEX into the relevant SAP transaction such as SE37 or SE38.
Function Group: SZAS
Program Name: SAPLSZAS
Main Program: SAPLSZAS
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ADDR_EXTRACT_FOR_DUPL_INDEX pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'ADDR_EXTRACT_FOR_DUPL_INDEX'".
EXPORTING
INDEX_POOL = "
* PACKAGE_SIZE = 10000 "
* PROGRAM_VERSION = 1 "
IMPORTING
ADDRESS_FIELD_LIST = "
ADDRESS_OBJECT_LIST = "
LAST_PACKAGE = "
EXCEPTIONS
PARAMETER_ERROR = 1 INTERNAL_ERROR = 2
IMPORTING Parameters details for ADDR_EXTRACT_FOR_DUPL_INDEX
INDEX_POOL -
Data type: ADINDXPOOLOptional: No
Call by Reference: No ( called with pass by value option)
PACKAGE_SIZE -
Data type: IDefault: 10000
Optional: Yes
Call by Reference: No ( called with pass by value option)
PROGRAM_VERSION -
Data type: IDefault: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ADDR_EXTRACT_FOR_DUPL_INDEX
ADDRESS_FIELD_LIST -
Data type: ADDATALISTOptional: No
Call by Reference: Yes
ADDRESS_OBJECT_LIST -
Data type: ADOBJLISTOptional: No
Call by Reference: Yes
LAST_PACKAGE -
Data type: T_BOOLEOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
PARAMETER_ERROR - Incorrect parameter values
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR - Serious internal error (MESSAGE A...)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ADDR_EXTRACT_FOR_DUPL_INDEX Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_index_pool | TYPE ADINDXPOOL, " | |||
| lv_parameter_error | TYPE ADINDXPOOL, " | |||
| lv_address_field_list | TYPE ADDATALIST, " | |||
| lv_package_size | TYPE I, " 10000 | |||
| lv_internal_error | TYPE I, " | |||
| lv_address_object_list | TYPE ADOBJLIST, " | |||
| lv_last_package | TYPE T_BOOLE, " | |||
| lv_program_version | TYPE I. " 1 |
|   CALL FUNCTION 'ADDR_EXTRACT_FOR_DUPL_INDEX' " |
| EXPORTING | ||
| INDEX_POOL | = lv_index_pool | |
| PACKAGE_SIZE | = lv_package_size | |
| PROGRAM_VERSION | = lv_program_version | |
| IMPORTING | ||
| ADDRESS_FIELD_LIST | = lv_address_field_list | |
| ADDRESS_OBJECT_LIST | = lv_address_object_list | |
| LAST_PACKAGE | = lv_last_package | |
| EXCEPTIONS | ||
| PARAMETER_ERROR = 1 | ||
| INTERNAL_ERROR = 2 | ||
| . " ADDR_EXTRACT_FOR_DUPL_INDEX | ||
ABAP code using 7.40 inline data declarations to call FM ADDR_EXTRACT_FOR_DUPL_INDEX
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_package_size) | = 10000. | |||
| DATA(ld_program_version) | = 1. | |||
Search for further information about these or an SAP related objects