SAP ISP_ADDRESSFILE_CREATE Function Module for Triggers Creation of an Address List (Online, Batch)
ISP_ADDRESSFILE_CREATE is a standard isp addressfile create 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 Creation 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 isp addressfile create FM, simply by entering the name ISP_ADDRESSFILE_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: JJWM
Program Name: SAPLJJWM
Main Program: SAPLJJWM
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISP_ADDRESSFILE_CREATE 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 'ISP_ADDRESSFILE_CREATE'"Triggers Creation of an Address List (Online, Batch).
EXPORTING
* FADR_LIST_NUMBER_RANGE = ADR_LIST_NUMBER_RANGE "
* FTARGET_TABLE = 'INDX' "
* FVARIANTE = ' ' "Name of Selection Variant
* FVBELN = ' ' "Sales Activity No.
* FVKORG = ' ' "
* FVTWEG = ' ' "
PS_TJ180 = "Initial Values of Transaction in IS-M
* FADR_LIST_OBJECT = ADR_LIST_OBJECT "Number Range Object
* FJOBCOUNT = ' ' "
* FJOBNAME = ' ' "
* FJOBPREFIX = JOBPREFIX "
* FLISTNR = ' ' "Number of the address list
* FMODUS = 'D' "
* FREPORT = 'RVSELADR' "
* FSPART = ' ' "
IMPORTING
FJOBCOUNT = "
FJOBNAME = "
FLISTNR = "Number of the 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_SAPLJJWM_001 IS-M/AM: User Exit in KOMKBJH_FILL
IMPORTING Parameters details for ISP_ADDRESSFILE_CREATE
FADR_LIST_NUMBER_RANGE -
Data type: INRI-NRRANGENRDefault: ADR_LIST_NUMBER_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FTARGET_TABLE -
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 No.
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)
PS_TJ180 - Initial Values of Transaction in IS-M
Data type: TJ180Optional: No
Call by Reference: Yes
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 -
Data type: TBTCO-JOBCOUNTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FJOBNAME -
Data type: TBTCO-JOBNAMEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FJOBPREFIX -
Data type:Default: JOBPREFIX
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLISTNR - Number of the address list
Data type: VBKA-VBELNDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FMODUS -
Data type:Default: 'D'
Optional: Yes
Call by Reference: No ( called with pass by value option)
FREPORT -
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 ISP_ADDRESSFILE_CREATE
FJOBCOUNT -
Data type: TBTCO-JOBCOUNTOptional: No
Call by Reference: No ( called with pass by value option)
FJOBNAME -
Data type: TBTCO-JOBNAMEOptional: No
Call by Reference: No ( called with pass by value option)
FLISTNR - Number of the 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 ISP_ADDRESSFILE_CREATE 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_ps_tj180 | TYPE TJ180, " | |||
| 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 'ISP_ADDRESSFILE_CREATE' "Triggers Creation 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 | |
| PS_TJ180 | = lv_ps_tj180 | |
| 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 | ||
| . " ISP_ADDRESSFILE_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM ISP_ADDRESSFILE_CREATE
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 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