Fonction SAP BKK_RFC_BANKACCNT_GET_BALANCE - RFC: List of Account Balances for the Partner

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ACEXT BKK42-ACNUM_EXT C 35 X Account Number for Current Account
I_BANKL BANKL C 15 X Bank Key
I_BANKS BANKS C 3 'DE' X Bank Country
I_MEDIUM BKK_MEDIUM C 4 X Medium
I_PARTNER BKK45-PARTNER C 10 X Business Partner Number
I_ROLLE BKK45-RLTYP C 6 X BDT: Object Part

Paramètre Reférence Type Long. Description
E_RETURN IBKK_MISC-RC C 2 Return Code for Payment Transaction Interface

Paramètre Reférence Long. Facultatif Description
E_TAB_ACNT IBKKACNTBAL 168 Transfer Structure: Account Balance to RFC

Functionality
The function module reads the accounts for a business partner for whichthat partner has been entered in the roles Account Holder andAuthorized Drawer, and returns the balance and subject tofinal payment balance. It is possible for you to specify a role withrestrictions (only account holder, authorized drawer, and
account maintenance officer are possible). This means that the systemonly reads the accounts where the business partner has been entered inthe specified role. The system only reads activate accounts, apart fromthe Account Maintenance Officer role. If the specified role isAccount Maintenance Officer, the system reads the accounts of allstatuses. In this case, the status is also output, but otherwise this isnot the case.
You can restrict the selection by specifying bank country and/or bankkey.
The business partner is identifiable by its number.
Other identification methods are an account with bank country, bank key,and external account number. The system determines the business partnernumber for the account holder, then all the active accounts are readwhere the business partner is an account holder or authorized drawer.
The business partner number always takes priority in the identification.The system only uses the second option if there is no business partnernumber that it can use.
You can also restrict the selection by specifying a medium. If you do so
, the system checks the product to see if the medium is at leastpermitted for one transaction type. The system also checks the accountto see if you have set a lock for this medium.
The system checks the authorization for displaying account data for theselected accounts.

Description
Fehlercode:
00 = No error
01 = No enough import parameters
02 = Specify bank area and/or account
03 = Medium specified that does not exist
04 = Medium not allowed in product or on account
05 = Role specified that is not permitted (only account holder,authorized drawer, account maintenance officer permitted)
06 = Partner and role specified, but no account for the partner in therole
99 = No authorization for accessing data

Description
Transfer structure of the account balances and subject to finalpayment balances in account currency.

  • BANKL,,Bank key

  • BANKS,,Bank country

  • ACEXT,,Account number

  • ACTEXT,,Account description

  • PRODUKT,,Product description on the account

  • STATUS,,Extended account status (display for account maintenance
  • officers only)
    • ACUR,, Account currency

    • BALANCE,, Account balance

    • COLBAL,,Subject to final payment balance