SAP SDCAS_ADDRESS_LIST_CREATE_INIT Function Module for Triggers the building of an address list (online, batch)
SDCAS_ADDRESS_LIST_CREATE_INIT is a standard sdcas address list create init SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Triggers the building of an address list (online, batch) processing and below is the pattern details for this FM, 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 sdcas address list create init FM, simply by entering the name SDCAS_ADDRESS_LIST_CREATE_INIT into the relevant SAP transaction such as SE37 or SE38.
Function Group: V43M
Program Name: SAPLV43M
Main Program: SAPLV43M
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SDCAS_ADDRESS_LIST_CREATE_INIT 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 'SDCAS_ADDRESS_LIST_CREATE_INIT'"Triggers the building of an address list (online, batch).
EXPORTING
* FADR_LIST_NUMBER_RANGE = ADR_LIST_NUMBER_RANGE "Number range number
* FTARGET_TABLE = 'INDX' "Data base where addresses are stored
* FVARIANTE = ' ' "Name of selection variant
* FVBELN = ' ' "Sales activity number
* FVKORG = ' ' "
* FVTWEG = ' ' "
* FI_VERSION = "
* FADR_LIST_OBJECT = ADR_LIST_OBJECT "Number range object
* FJOBCOUNT = ' ' "ID number of batch job
* FJOBNAME = ' ' "Name of batch job that creates address list
* FJOBPREFIX = JOBPREFIX "Prefix of job (Char10)
* FLISTNR = ' ' "Number of address list
* FMODUS = 'D' "Dialog or batch processing
* FREPORT = 'RVSELADR' "Name of address selection reports
* FSPART = ' ' "
IMPORTING
FJOBCOUNT = "ID number of batch job
FJOBNAME = "Name of batch job that creates address list
FLISTNR = "Number of address list
FRETCODE = "Return code
EXCEPTIONS
JOB_NOT_EXIST = 1 REPORT_NOT_FOUND = 2 VARIANT_NOT_FOUND = 3
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLV43M_007 User Exit to Supply LIS Data
IMPORTING Parameters details for SDCAS_ADDRESS_LIST_CREATE_INIT
FADR_LIST_NUMBER_RANGE - Number range number
Data type: INRI-NRRANGENRDefault: ADR_LIST_NUMBER_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FTARGET_TABLE - Data base where addresses are stored
Data type: DIP02-TABNAMEDefault: 'INDX'
Optional: Yes
Call by Reference: No ( called with pass by value option)
FVARIANTE - Name of selection variant
Data type: RVARC-VARIANTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FVBELN - Sales activity number
Data type: VBKA-VBELNDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FVKORG -
Data type: TVKO-VKORGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FVTWEG -
Data type: TVKOV-VTWEGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FI_VERSION -
Data type: SADLSTADM-VERSIONOptional: Yes
Call by Reference: No ( called with pass by value option)
FADR_LIST_OBJECT - Number range object
Data type: INRI-OBJECTDefault: ADR_LIST_OBJECT
Optional: Yes
Call by Reference: No ( called with pass by value option)
FJOBCOUNT - ID number of batch job
Data type: TBTCO-JOBCOUNTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FJOBNAME - Name of batch job that creates address list
Data type: TBTCO-JOBNAMEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FJOBPREFIX - Prefix of job (Char10)
Data type:Default: JOBPREFIX
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLISTNR - Number of address list
Data type: VBKA-VBELNDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FMODUS - Dialog or batch processing
Data type:Default: 'D'
Optional: Yes
Call by Reference: No ( called with pass by value option)
FREPORT - Name of address selection reports
Data type: SY-REPIDDefault: 'RVSELADR'
Optional: Yes
Call by Reference: No ( called with pass by value option)
FSPART -
Data type: TVTA-SPARTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for SDCAS_ADDRESS_LIST_CREATE_INIT
FJOBCOUNT - ID number of batch job
Data type: TBTCO-JOBCOUNTOptional: No
Call by Reference: No ( called with pass by value option)
FJOBNAME - Name of batch job that creates address list
Data type: TBTCO-JOBNAMEOptional: No
Call by Reference: No ( called with pass by value option)
FLISTNR - Number of address list
Data type: VBKA-VBELNOptional: No
Call by Reference: No ( called with pass by value option)
FRETCODE - Return code
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
JOB_NOT_EXIST - Job does not exist
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
REPORT_NOT_FOUND - Report does not exist
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
VARIANT_NOT_FOUND - Variant does not exist
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SDCAS_ADDRESS_LIST_CREATE_INIT 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_fjobcount | TYPE TBTCO-JOBCOUNT, " | |||
| lv_job_not_exist | TYPE TBTCO, " | |||
| lv_fadr_list_number_range | TYPE INRI-NRRANGENR, " ADR_LIST_NUMBER_RANGE | |||
| lv_ftarget_table | TYPE DIP02-TABNAME, " 'INDX' | |||
| lv_fvariante | TYPE RVARC-VARIANT, " SPACE | |||
| lv_fvbeln | TYPE VBKA-VBELN, " SPACE | |||
| lv_fvkorg | TYPE TVKO-VKORG, " SPACE | |||
| lv_fvtweg | TYPE TVKOV-VTWEG, " SPACE | |||
| lv_fi_version | TYPE SADLSTADM-VERSION, " | |||
| lv_fjobname | TYPE TBTCO-JOBNAME, " | |||
| lv_fadr_list_object | TYPE INRI-OBJECT, " ADR_LIST_OBJECT | |||
| lv_report_not_found | TYPE INRI, " | |||
| lv_flistnr | TYPE VBKA-VBELN, " | |||
| lv_fjobcount | TYPE TBTCO-JOBCOUNT, " SPACE | |||
| lv_variant_not_found | TYPE TBTCO, " | |||
| lv_fjobname | TYPE TBTCO-JOBNAME, " SPACE | |||
| lv_fretcode | TYPE SY-SUBRC, " | |||
| lv_fjobprefix | TYPE SY, " JOBPREFIX | |||
| lv_flistnr | TYPE VBKA-VBELN, " SPACE | |||
| lv_fmodus | TYPE VBKA, " 'D' | |||
| lv_freport | TYPE SY-REPID, " 'RVSELADR' | |||
| lv_fspart | TYPE TVTA-SPART. " SPACE |
|   CALL FUNCTION 'SDCAS_ADDRESS_LIST_CREATE_INIT' "Triggers the building of an address list (online, batch) |
| EXPORTING | ||
| FADR_LIST_NUMBER_RANGE | = lv_fadr_list_number_range | |
| FTARGET_TABLE | = lv_ftarget_table | |
| FVARIANTE | = lv_fvariante | |
| FVBELN | = lv_fvbeln | |
| FVKORG | = lv_fvkorg | |
| FVTWEG | = lv_fvtweg | |
| FI_VERSION | = lv_fi_version | |
| FADR_LIST_OBJECT | = lv_fadr_list_object | |
| FJOBCOUNT | = lv_fjobcount | |
| FJOBNAME | = lv_fjobname | |
| FJOBPREFIX | = lv_fjobprefix | |
| FLISTNR | = lv_flistnr | |
| FMODUS | = lv_fmodus | |
| FREPORT | = lv_freport | |
| FSPART | = lv_fspart | |
| IMPORTING | ||
| FJOBCOUNT | = lv_fjobcount | |
| FJOBNAME | = lv_fjobname | |
| FLISTNR | = lv_flistnr | |
| FRETCODE | = lv_fretcode | |
| EXCEPTIONS | ||
| JOB_NOT_EXIST = 1 | ||
| REPORT_NOT_FOUND = 2 | ||
| VARIANT_NOT_FOUND = 3 | ||
| . " SDCAS_ADDRESS_LIST_CREATE_INIT | ||
ABAP code using 7.40 inline data declarations to call FM SDCAS_ADDRESS_LIST_CREATE_INIT
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.| "SELECT single JOBCOUNT FROM TBTCO INTO @DATA(ld_fjobcount). | ||||
| "SELECT single NRRANGENR FROM INRI INTO @DATA(ld_fadr_list_number_range). | ||||
| DATA(ld_fadr_list_number_range) | = ADR_LIST_NUMBER_RANGE. | |||
| "SELECT single TABNAME FROM DIP02 INTO @DATA(ld_ftarget_table). | ||||
| DATA(ld_ftarget_table) | = 'INDX'. | |||
| "SELECT single VARIANT FROM RVARC INTO @DATA(ld_fvariante). | ||||
| DATA(ld_fvariante) | = ' '. | |||
| "SELECT single VBELN FROM VBKA INTO @DATA(ld_fvbeln). | ||||
| DATA(ld_fvbeln) | = ' '. | |||
| "SELECT single VKORG FROM TVKO INTO @DATA(ld_fvkorg). | ||||
| DATA(ld_fvkorg) | = ' '. | |||
| "SELECT single VTWEG FROM TVKOV INTO @DATA(ld_fvtweg). | ||||
| DATA(ld_fvtweg) | = ' '. | |||
| "SELECT single VERSION FROM SADLSTADM INTO @DATA(ld_fi_version). | ||||
| "SELECT single JOBNAME FROM TBTCO INTO @DATA(ld_fjobname). | ||||
| "SELECT single OBJECT FROM INRI INTO @DATA(ld_fadr_list_object). | ||||
| DATA(ld_fadr_list_object) | = ADR_LIST_OBJECT. | |||
| "SELECT single VBELN FROM VBKA INTO @DATA(ld_flistnr). | ||||
| "SELECT single JOBCOUNT FROM TBTCO INTO @DATA(ld_fjobcount). | ||||
| DATA(ld_fjobcount) | = ' '. | |||
| "SELECT single JOBNAME FROM TBTCO INTO @DATA(ld_fjobname). | ||||
| DATA(ld_fjobname) | = ' '. | |||
| "SELECT single SUBRC FROM SY INTO @DATA(ld_fretcode). | ||||
| DATA(ld_fjobprefix) | = JOBPREFIX. | |||
| "SELECT single VBELN FROM VBKA INTO @DATA(ld_flistnr). | ||||
| DATA(ld_flistnr) | = ' '. | |||
| DATA(ld_fmodus) | = 'D'. | |||
| "SELECT single REPID FROM SY INTO @DATA(ld_freport). | ||||
| DATA(ld_freport) | = 'RVSELADR'. | |||
| "SELECT single SPART FROM TVTA INTO @DATA(ld_fspart). | ||||
| DATA(ld_fspart) | = ' '. | |||
Search for further information about these or an SAP related objects