Fonction SAP BAPI_BANKACCT_GET_LIST - BAPI: List of Accounts for a Business Partner

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_BANKKEY IBKKBAPI-BANKL C 15 X Bank Key
I_COUNTRY IBKKBAPI-BANKS C 3 X Bank Country Key
I_PARTNER IBKKBAPTBU-PARTNER C 10 Business Partner
I_XHOLDER IBKKBAPIAC-XHOLDER C 1 X Inidcator: In the Role of Account Holder
I_XLEGITIM IBKKBAPIAC-XLEGITIM C 1 X Indicator: In the Role of Authorized Drawer

Paramètre Reférence Type Long. Description
E_RC IBKK_MISC-RC2 C 2 Return Code 99 = No Authorization

Paramètre Reférence Long. Facultatif Description
T_ACCOUNT IBKKBAPTAC 100 Data Structure for Account Numbers

Functionality
This function module (BAPI) determines the accounts for a businesspartner according to the parameters transferred.
The following applies for the import parameters:
Business partner
is a required field that clearly and unmistakably identifies thebusiness partner in the system.
Country key of the bank and bank key
are optional. Selection can be restricted to these fields.
Indicator: In the role of account holder
optional. Only include business partners in the role of account holder.
Indicator: In the role of authorized drawer
optional. Only include business partners in the role of authorizeddrawer.
As a result, you receive a table with the current accounts.

Further information
In the case of error, the following return codes are reported:

  • 0: no errors

  • 3: invalid import parameters

  • 4: system error

  • 99: no authorization
  • Further information
    Bank Key

    Further information
    Bank Country

    Further information
    Business Partner

    Description
    Return value of function module.

    Value range
    0: No errors
    3: Invalid import parameters
    4: System error
    99: No authorization.