SAP BAPI_ISUPARTNER_GETLIST Function Module for BAPI: generates list of business partners
BAPI_ISUPARTNER_GETLIST is a standard bapi isupartner getlist SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for BAPI: generates list of business partners 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 bapi isupartner getlist FM, simply by entering the name BAPI_ISUPARTNER_GETLIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: EBPBAPIS
Program Name: SAPLEBPBAPIS
Main Program: SAPLEBPBAPIS
Appliation area: E
Release date: 22-Jul-2003
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_ISUPARTNER_GETLIST 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 'BAPI_ISUPARTNER_GETLIST'"BAPI: generates list of business partners.
EXPORTING
* ADDRFIND = "Address fields for which search is carried out
* BANKFIND = "Bank data for which search is carried out
* MAXROWS = "Maximum number of business partners to be selected
* TEL_NUMBER = "
* TEL_COUNTRY = "
* TEL_COUNTRY_ISO = "
IMPORTING
INTMAXROWSREACHED = "Internal overflow
RETURN = "Return in case of error
COUNT = "Number of business partners
TABLES
* TLIST = "List of Business Partners
* TPARTNER = "Selection option: partner number
* TNAME1 = "Selection option: NAME1
* TNAME2 = "Selection option: NAME2
* TTELNRLONG = "Selection option: telephone number
* TSOCSECURE = "Selection option: social security number
* TDRLICENSE = "Selection option: driver's license number
* TWELFARE = "Selection option: welfare office
IMPORTING Parameters details for BAPI_ISUPARTNER_GETLIST
ADDRFIND - Address fields for which search is carried out
Data type: BAPIISUADRFDOptional: Yes
Call by Reference: No ( called with pass by value option)
BANKFIND - Bank data for which search is carried out
Data type: BAPIISUBKFDOptional: Yes
Call by Reference: No ( called with pass by value option)
MAXROWS - Maximum number of business partners to be selected
Data type: BAPIBPPARA-MAXROWSOptional: Yes
Call by Reference: No ( called with pass by value option)
TEL_NUMBER -
Data type: BAPIBPPARA-TEL_NUMBEROptional: Yes
Call by Reference: No ( called with pass by value option)
TEL_COUNTRY -
Data type: BAPIBPPARA-TEL_COUNTRYOptional: Yes
Call by Reference: No ( called with pass by value option)
TEL_COUNTRY_ISO -
Data type: BAPIBPPARA-TEL_COUNTRY_ISOOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BAPI_ISUPARTNER_GETLIST
INTMAXROWSREACHED - Internal overflow
Data type: BAPIBPPARA-MAXROWSROptional: No
Call by Reference: No ( called with pass by value option)
RETURN - Return in case of error
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
COUNT - Number of business partners
Data type: BAPIBPPARA-MAXCOUNTOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BAPI_ISUPARTNER_GETLIST
TLIST - List of Business Partners
Data type: BAPIISUBPDOptional: Yes
Call by Reference: No ( called with pass by value option)
TPARTNER - Selection option: partner number
Data type: BAPIISURANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TNAME1 - Selection option: NAME1
Data type: BAPIISURANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TNAME2 - Selection option: NAME2
Data type: BAPIISURANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TTELNRLONG - Selection option: telephone number
Data type: BAPIISURANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TSOCSECURE - Selection option: social security number
Data type: BAPIISURANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TDRLICENSE - Selection option: driver's license number
Data type: BAPIISURANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TWELFARE - Selection option: welfare office
Data type: BAPIISURANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BAPI_ISUPARTNER_GETLIST 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: | ||||
| lt_tlist | TYPE STANDARD TABLE OF BAPIISUBPD, " | |||
| lv_addrfind | TYPE BAPIISUADRFD, " | |||
| lv_intmaxrowsreached | TYPE BAPIBPPARA-MAXROWSR, " | |||
| lv_return | TYPE BAPIRET2, " | |||
| lv_bankfind | TYPE BAPIISUBKFD, " | |||
| lt_tpartner | TYPE STANDARD TABLE OF BAPIISURANGES, " | |||
| lv_count | TYPE BAPIBPPARA-MAXCOUNT, " | |||
| lt_tname1 | TYPE STANDARD TABLE OF BAPIISURANGES, " | |||
| lv_maxrows | TYPE BAPIBPPARA-MAXROWS, " | |||
| lt_tname2 | TYPE STANDARD TABLE OF BAPIISURANGES, " | |||
| lv_tel_number | TYPE BAPIBPPARA-TEL_NUMBER, " | |||
| lt_ttelnrlong | TYPE STANDARD TABLE OF BAPIISURANGES, " | |||
| lv_tel_country | TYPE BAPIBPPARA-TEL_COUNTRY, " | |||
| lt_tsocsecure | TYPE STANDARD TABLE OF BAPIISURANGES, " | |||
| lv_tel_country_iso | TYPE BAPIBPPARA-TEL_COUNTRY_ISO, " | |||
| lt_tdrlicense | TYPE STANDARD TABLE OF BAPIISURANGES, " | |||
| lt_twelfare | TYPE STANDARD TABLE OF BAPIISURANGES. " |
|   CALL FUNCTION 'BAPI_ISUPARTNER_GETLIST' "BAPI: generates list of business partners |
| EXPORTING | ||
| ADDRFIND | = lv_addrfind | |
| BANKFIND | = lv_bankfind | |
| MAXROWS | = lv_maxrows | |
| TEL_NUMBER | = lv_tel_number | |
| TEL_COUNTRY | = lv_tel_country | |
| TEL_COUNTRY_ISO | = lv_tel_country_iso | |
| IMPORTING | ||
| INTMAXROWSREACHED | = lv_intmaxrowsreached | |
| RETURN | = lv_return | |
| COUNT | = lv_count | |
| TABLES | ||
| TLIST | = lt_tlist | |
| TPARTNER | = lt_tpartner | |
| TNAME1 | = lt_tname1 | |
| TNAME2 | = lt_tname2 | |
| TTELNRLONG | = lt_ttelnrlong | |
| TSOCSECURE | = lt_tsocsecure | |
| TDRLICENSE | = lt_tdrlicense | |
| TWELFARE | = lt_twelfare | |
| . " BAPI_ISUPARTNER_GETLIST | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_ISUPARTNER_GETLIST
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 MAXROWSR FROM BAPIBPPARA INTO @DATA(ld_intmaxrowsreached). | ||||
| "SELECT single MAXCOUNT FROM BAPIBPPARA INTO @DATA(ld_count). | ||||
| "SELECT single MAXROWS FROM BAPIBPPARA INTO @DATA(ld_maxrows). | ||||
| "SELECT single TEL_NUMBER FROM BAPIBPPARA INTO @DATA(ld_tel_number). | ||||
| "SELECT single TEL_COUNTRY FROM BAPIBPPARA INTO @DATA(ld_tel_country). | ||||
| "SELECT single TEL_COUNTRY_ISO FROM BAPIBPPARA INTO @DATA(ld_tel_country_iso). | ||||
Search for further information about these or an SAP related objects