BAPI_ISUPARTNER_GETLIST is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BAPI_ISUPARTNER_GETLIST into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
EBPBAPIS
Released Date:
22.07.2003
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_ISUPARTNER_GETLIST' "BAPI: generates list of business partners
* EXPORTING
* addrfind = " bapiisuadrfd Address fields for which search is carried out
* bankfind = " bapiisubkfd Bank data for which search is carried out
* maxrows = " bapibppara-maxrows Maximum number of business partners to be selected
* tel_number = " bapibppara-tel_number
* tel_country = " bapibppara-tel_country
* tel_country_iso = " bapibppara-tel_country_iso
IMPORTING
intmaxrowsreached = " bapibppara-maxrowsr Internal overflow
return = " bapiret2 Return in case of error
count = " bapibppara-maxcount Number of business partners
* TABLES
* tlist = " bapiisubpd List of Business Partners
* tpartner = " bapiisuranges Selection option: partner number
* tname1 = " bapiisuranges Selection option: NAME1
* tname2 = " bapiisuranges Selection option: NAME2
* ttelnrlong = " bapiisuranges Selection option: telephone number
* tsocsecure = " bapiisuranges Selection option: social security number
* tdrlicense = " bapiisuranges Selection option: driver's license number
* twelfare = " bapiisuranges Selection option: welfare office
. " BAPI_ISUPARTNER_GETLIST
The ABAP code below is a full code listing to execute function module BAPI_ISUPARTNER_GETLIST including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_intmaxrowsreached | TYPE BAPIBPPARA-MAXROWSR , |
| ld_return | TYPE BAPIRET2 , |
| ld_count | TYPE BAPIBPPARA-MAXCOUNT , |
| it_tlist | TYPE STANDARD TABLE OF BAPIISUBPD,"TABLES PARAM |
| wa_tlist | LIKE LINE OF it_tlist , |
| it_tpartner | TYPE STANDARD TABLE OF BAPIISURANGES,"TABLES PARAM |
| wa_tpartner | LIKE LINE OF it_tpartner , |
| it_tname1 | TYPE STANDARD TABLE OF BAPIISURANGES,"TABLES PARAM |
| wa_tname1 | LIKE LINE OF it_tname1 , |
| it_tname2 | TYPE STANDARD TABLE OF BAPIISURANGES,"TABLES PARAM |
| wa_tname2 | LIKE LINE OF it_tname2 , |
| it_ttelnrlong | TYPE STANDARD TABLE OF BAPIISURANGES,"TABLES PARAM |
| wa_ttelnrlong | LIKE LINE OF it_ttelnrlong , |
| it_tsocsecure | TYPE STANDARD TABLE OF BAPIISURANGES,"TABLES PARAM |
| wa_tsocsecure | LIKE LINE OF it_tsocsecure , |
| it_tdrlicense | TYPE STANDARD TABLE OF BAPIISURANGES,"TABLES PARAM |
| wa_tdrlicense | LIKE LINE OF it_tdrlicense , |
| it_twelfare | TYPE STANDARD TABLE OF BAPIISURANGES,"TABLES PARAM |
| wa_twelfare | LIKE LINE OF it_twelfare . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_intmaxrowsreached | TYPE BAPIBPPARA-MAXROWSR , |
| ld_addrfind | TYPE BAPIISUADRFD , |
| it_tlist | TYPE STANDARD TABLE OF BAPIISUBPD , |
| wa_tlist | LIKE LINE OF it_tlist, |
| ld_return | TYPE BAPIRET2 , |
| ld_bankfind | TYPE BAPIISUBKFD , |
| it_tpartner | TYPE STANDARD TABLE OF BAPIISURANGES , |
| wa_tpartner | LIKE LINE OF it_tpartner, |
| ld_count | TYPE BAPIBPPARA-MAXCOUNT , |
| ld_maxrows | TYPE BAPIBPPARA-MAXROWS , |
| it_tname1 | TYPE STANDARD TABLE OF BAPIISURANGES , |
| wa_tname1 | LIKE LINE OF it_tname1, |
| ld_tel_number | TYPE BAPIBPPARA-TEL_NUMBER , |
| it_tname2 | TYPE STANDARD TABLE OF BAPIISURANGES , |
| wa_tname2 | LIKE LINE OF it_tname2, |
| ld_tel_country | TYPE BAPIBPPARA-TEL_COUNTRY , |
| it_ttelnrlong | TYPE STANDARD TABLE OF BAPIISURANGES , |
| wa_ttelnrlong | LIKE LINE OF it_ttelnrlong, |
| ld_tel_country_iso | TYPE BAPIBPPARA-TEL_COUNTRY_ISO , |
| it_tsocsecure | TYPE STANDARD TABLE OF BAPIISURANGES , |
| wa_tsocsecure | LIKE LINE OF it_tsocsecure, |
| it_tdrlicense | TYPE STANDARD TABLE OF BAPIISURANGES , |
| wa_tdrlicense | LIKE LINE OF it_tdrlicense, |
| it_twelfare | TYPE STANDARD TABLE OF BAPIISURANGES , |
| wa_twelfare | LIKE LINE OF it_twelfare. |
A list of the business partners that meet the selection criteria is
returned, along with their data.
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BAPI_ISUPARTNER_GETLIST or its description.
BAPI_ISUPARTNER_GETLIST - BAPI: generates list of business partners BAPI_ISUPARTNER_GETDETAIL - BAPI for Displaying a Business Partner BAPI_ISUPARTNER_CREATEFROMDATA - BAPI for Creating a Business Partner BAPI_ISUPARTNER_CHANGE - BAPI for Changing Business Partner BAPI_ISUMO_EXT_CREATEFROMDATA - BAPI for Move-Out Creation BAPI_ISUMOVEOUT_CREATEFROMDATA - IS-U: BAPI for Move-Out Creation