SAP ISP_ADDRESS_SELECT_BY_NAME1 Function Module for IS-M: Determine All Addresses for Name, Street, City,...









ISP_ADDRESS_SELECT_BY_NAME1 is a standard isp address select by name1 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-M: Determine All Addresses for Name, Street, City,... 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 address select by name1 FM, simply by entering the name ISP_ADDRESS_SELECT_BY_NAME1 into the relevant SAP transaction such as SE37 or SE38.

Function Group: JSS1
Program Name: SAPLJSS1
Main Program: SAPLJSS1
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISP_ADDRESS_SELECT_BY_NAME1 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_ADDRESS_SELECT_BY_NAME1'"IS-M: Determine All Addresses for Name, Street, City,...
EXPORTING
KPL_SUCHE = "
SEARCHDATA = "Table with Selection Parameters
* XSHIPORDERS = ' ' "
* XHOUSEHOLD = ' ' "Checkbox Field
* XADMANAGEMENT = 'X' "

IMPORTING
ANZAHL_SAETZE = "

TABLES
ADRESSTABN = "

EXCEPTIONS
ADDRESS_NOT_FOUND = 1 CIP_CODE_NOT_UNIQUE = 2 NAME_OR_SORTL_MISSING = 3 TOWN_MISSING = 4 MORE_THAN_51_SAETZE = 5 NO_WILDCARD_POSSIBLE = 6
.




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_SAPLJSS1_001 IS-M/SD: DB Optimization
EXIT_SAPLJSS1_010 Find Street Using Short Text from Street File

IMPORTING Parameters details for ISP_ADDRESS_SELECT_BY_NAME1

KPL_SUCHE -

Data type: RJ45B-KPL_SUCHE
Optional: No
Call by Reference: No ( called with pass by value option)

SEARCHDATA - Table with Selection Parameters

Data type: RJGSADR_SEARCHDATA
Optional: No
Call by Reference: No ( called with pass by value option)

XSHIPORDERS -

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

XHOUSEHOLD - Checkbox Field

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

XADMANAGEMENT -

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ISP_ADDRESS_SELECT_BY_NAME1

ANZAHL_SAETZE -

Data type: TJY00-ANZ_SAETZE
Optional: No
Call by Reference: Yes

TABLES Parameters details for ISP_ADDRESS_SELECT_BY_NAME1

ADRESSTABN -

Data type: JG002_ADRESSTAB_TAB
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

ADDRESS_NOT_FOUND -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

CIP_CODE_NOT_UNIQUE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NAME_OR_SORTL_MISSING -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

TOWN_MISSING -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

MORE_THAN_51_SAETZE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NO_WILDCARD_POSSIBLE -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISP_ADDRESS_SELECT_BY_NAME1 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_kpl_suche  TYPE RJ45B-KPL_SUCHE, "   
lt_adresstabn  TYPE STANDARD TABLE OF JG002_ADRESSTAB_TAB, "   
lv_anzahl_saetze  TYPE TJY00-ANZ_SAETZE, "   
lv_address_not_found  TYPE TJY00, "   
lv_searchdata  TYPE RJGSADR_SEARCHDATA, "   
lv_cip_code_not_unique  TYPE RJGSADR_SEARCHDATA, "   
lv_xshiporders  TYPE XFELD, "   SPACE
lv_name_or_sortl_missing  TYPE XFELD, "   
lv_xhousehold  TYPE XFELD, "   SPACE
lv_town_missing  TYPE XFELD, "   
lv_xadmanagement  TYPE XFELD, "   'X'
lv_more_than_51_saetze  TYPE XFELD, "   
lv_no_wildcard_possible  TYPE XFELD. "   

  CALL FUNCTION 'ISP_ADDRESS_SELECT_BY_NAME1'  "IS-M: Determine All Addresses for Name, Street, City,...
    EXPORTING
         KPL_SUCHE = lv_kpl_suche
         SEARCHDATA = lv_searchdata
         XSHIPORDERS = lv_xshiporders
         XHOUSEHOLD = lv_xhousehold
         XADMANAGEMENT = lv_xadmanagement
    IMPORTING
         ANZAHL_SAETZE = lv_anzahl_saetze
    TABLES
         ADRESSTABN = lt_adresstabn
    EXCEPTIONS
        ADDRESS_NOT_FOUND = 1
        CIP_CODE_NOT_UNIQUE = 2
        NAME_OR_SORTL_MISSING = 3
        TOWN_MISSING = 4
        MORE_THAN_51_SAETZE = 5
        NO_WILDCARD_POSSIBLE = 6
. " ISP_ADDRESS_SELECT_BY_NAME1




ABAP code using 7.40 inline data declarations to call FM ISP_ADDRESS_SELECT_BY_NAME1

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 KPL_SUCHE FROM RJ45B INTO @DATA(ld_kpl_suche).
 
 
"SELECT single ANZ_SAETZE FROM TJY00 INTO @DATA(ld_anzahl_saetze).
 
 
 
 
DATA(ld_xshiporders) = ' '.
 
 
DATA(ld_xhousehold) = ' '.
 
 
DATA(ld_xadmanagement) = 'X'.
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!