Fonction SAP BKK_ACCNT_STAT_GET_INFO_HIER - BCA: Provide IC Hierarchy Data For Bank Statement

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ACNUM_INT BKK_ACCNT C 10 Internal Account Number for Current Account
I_BKKRS BKK_BKKRS C 4 Bank Area
I_BKST_FROM BKK_FPSTDT D 8 Posting Date of Oldest Posted Document on Statement
I_BKST_TO BKK_LPSTDT D 8 Posting Date of Last Posted Document on Statement

Paramètre Reférence Type Long. Description
E_RC SYST-SUBRC I 4 Return Code

Paramètre Reférence Long. Facultatif Description
E_T_HIERINFOS IBKKBKSTHY 115 Hierarchy Information for Account

Functionality
BCA: Provide Interest Compensation Hierarchy Data for Bank Statement
This function module is used for the bank statement for accounts in aninterest compensation hierarchy.
If this account was balanced since the last bank statement run, thenadditional information is provided on the bank statement.
This information refers to the position of the account in the hierarchy.

  • The bank area, account number, and account holder name of all
  • subaccounts in the relevant hierarchy are found for the bank statementof a root account (in the interest compensation hierarchy).
    • The bank area, account number, and account holder name of the root
    • account in the relevant hierarchy are found for the bank statement of asubaccount (in the interest compensation hierarchy).
      The transfer structure is used to provide the above and the account datafor the account:
      • Bank account relationship number (TREENR)

      • Date from which valid (DATE_FROM)

      • BP Account holder (BUPA_NO)
      • Example
        Example of call:
        CALL FUNCTION 'BKK_ACCNT_STAT_GET_INFO_HIER'
        EXPORTING
        I_BKKRS ,,= ,,L_WA-HEADER_INT-BKKRS
        I_ACNUM_INT ,,= ,,L_WA-HEADER_INT-ACNUM_INT
        I_BKST_FROM ,,= ,,L_WA-HEADER_INT-FDATEPOST
        I_BKST_TO ,,= ,,L_WA-HEADER_INT-SDATEPOSTH
        IMPORTING
        E_RC ,,= ,,L_RC
        TABLES
        E_T_HIERINFOS ,,= ,,L_BKSTDATA-TAB_HIER.