Fonction SAP BAPI_BKK_ACCNT_GET_LIST - Read Account List for Business Partner

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ACCOUNTHOLDER BAPI_IBKK_PARA_ACCNT_LIST-ACCOUNT_HOLDER C 1 X Indicator: Account Holder
AUTHORIZEDDRAWER BAPI_IBKK_PARA_ACCNT_LIST-AUTHORIZED_DRAWER C 1 X Indicator: Authorized Drawer
BANKAREA BAPI_IBKK_ACCNT_IDENTIF-BANKAREA C 4 X Bank Area
LANGUAGE BAPI_IBKK_ACCNT_COMM_PARAM-LANGUAGE C 1 X Language Key
LANGUAGEISO BAPI_IBKK_ACCNT_COMM_PARAM-LANGUAGE_ISO C 2 X Language according to ISO 639
PARTNER BAPI_IBKK_PARA_ACCNT_LIST-PARTNER C 10 Business Partner Account Holder
PROCESSEXTENSION BAPI_IBKK_ACCNT_COMM_PARAM-PROCESS_EXTENSION C 1 X Indicator, Extension IN/OUT

Paramètre Reférence Long. Facultatif Description
ACCOUNT_LIST BAPI_IBKK_ACCNT_LIST 376 X Business Partner Account List
EXTENSIONIN BAPIPAREX 990 X
EXTENSIONOUT BAPIPAREX 990 X
RETURN BAPIRET2 548 X

Functionality
Use this method to retrieve a list of all the accounts that a businesspartner holds in any of the following roles:

  • Account holder

  • Authorized drawer

  • Both account holder and authorized drawer

  • The method also transfers the following information:
    • Account details such as the balance, the status, and the currency of the
    • account.
      • Errors that occurred during the processing. Errors are logged in the
      • return parameter (RETURN).
        Note: This method does not update the database.
        To retrieve the list of accounts, it is mandatory to specify a value inthe Business Partner Account Holder (PARTNER) import parameter. Torestrict the account list based on the business partner roles, seteither the ACCOUNTHOLDER indicator or the AUTHORIZEDDRAWER indicator.
        Note: You can also set both the indicators.
        The following table shows the business partner roles for which theaccount list is generated based on the settings in the indicatorsACCOUNTHOLDER and AUTHORIZEDDRAWER:
        Account Holder,, Authorized Drawer,, Business Partner Roles for WhichAccount List is Generated:
        Selected,, Not Selected,, Account holder
        Selected,, Selected,, Both account holder and authorized drawer
        Not Selected,, Selected,, Authorized drawer
        Not Selected,, Not Selected,, Either account holder or authorized drawer
        Additionally, you can transfer a value for either of the importparameters Language Key (LANGUAGE) or ISO Language Key (LANGUAGEISO).
        INCLUDE BAPI_BKK_LANGUAGE

        Notes
        This method works with buffering. This means that other change methodsof instances created or changed by this method can be executed in thesame Logical Unit of Work (LUW).
        Customer Enhancements
        INCLUDE BAPI_CUST1
        INCLUDE BAPI_CUST_INOUT
        INCLUDE BAPI_CUST2
        INCLUDE BAPI_CUST_ENH_FURTHER_INFO
        Return Messages
        INCLUDE BAPI_RET

        Description
        Set this indicator to list accounts that the business partner holds inthe Account Holder role.
        To list only those accounts where the business partner is both theaccount holder and an authorized drawer, set the Authorized Drawer(AUTHORIZEDDRAWER) indicator also. If you do not set either of theseindicators, the system transfers all accounts where the business partneris either the account holder or the authorized drawer.

        Description
        Set this indicator to list accounts that the business partner holds inthe Authorized Drawer role.
        To list only those accounts where the business partner is both theaccount holder and an authorized drawer, set the Account Holder(ACCOUNTHOLDER) indicator also. If you do not set either of theseindicators, the system transfers all accounts where the business partneris either the account holder or the authorized drawer.

        Description
        This parameter transfers the bank area for anaccount and is a mandatory value. The system returns an error message ifyou transfer an invalid value.

        Value range
        The value range for this parameter corresponds to the values that youdefine in the IMG activity Define BankArea.

        Description
        This parameter determines the language in which the descriptive textsand notes are transferred.

        Value range
        You can specify the language in either of the parameters Language Key(LANGUAGE) or ISO Language Key (LANGUAGE_ISO).
        INCLUDE BAPI_BKK_LANGUAGE

        Description
        This parameter determines the language in which the additional texts andnotes are transferred.
        Note: This parameter is used only if you have not selected theLanguage Key (LANGUAGE) parameter.

        Value range
        You can transfer the language in either of the parameters Language Keyor ISO Language Key (LANGUAGE_ISO).
        INCLUDE BAPI_BKK_LANGUAGE

        Description
        This parameter transfers the unique identifier of the business partnerfor whom the account list is to be displayed. The business partner mustbe valid on the current system date.

        Description
        This parameter specifies whether the details entered by the customers ina Business Add-In of this method, must be retrieved.
        You will find information on the meaning of the parameter in thedocumentation for the data element Execute Extension(s)(BAdI).

        Value range
        ' ' (no value)
        This value means that the customer enhancements are not executed.
        'X'
        This value means that the customer enhancements are executed.

        Description
        This parameter contains a list of accounts belonging to the businesspartner that match the selection criteria.
        INCLUDE BAPI_DATAELEMENT
        INCLUDE BAPI_EXTIN
        INCLUDE BAPI_EXTOUT
        INCLUDE BAPI_TABLE

        Value range
        Messages for Value Checks
        Type ID,, Message Number,, Messages
        1E,, 049,, Enter a business partner
        1E,, 065,, Business partner & does not exist; check your entry
        1P,, 114,, No bank area was found for bank country '&1' and bank key '2'
        1E,, 073,, Account & does not exist
        1BKKBAPI,, 004,, &1 accounts are not delivered due to authority issues
        Additional Messages
        Type ID,, Message Number,, Messages
        1BKKBAPI,, 101,, BAPI call failed
        1BKKBAPI,, 218,, Message protocol could not be opened
        1BKKBAPI,, 213,, Internal Error &1 occured during generating directinput data
        1BKKBAPI,, 008,, Activity &1 for object &2 is not maintained
        1BKKBAPI,, 012,, Instance of BADI definition &1 could not be created
        1BKKBAPI,, 013,, Error on opening instance of object type &1. Externalreference &2 &3