Ansicht
Dokumentation

BAPI_BANKACCT_GET_ROOTACCOUNTS - BAPI: Determination of Root Accounts for a Hierarchy

BAPI_BANKACCT_GET_ROOTACCOUNTS - BAPI: Determination of Root Accounts for a Hierarchy

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The function module (BAPI) finds the root accounts in account hierarchies according to the transferred parameters.

The following applies to the import parameters:

  1. The bank country and bank key are optional. If they are transferred (either both or none), the selection is restricted to the bank area found.
  2. The hierarchy category is a required entry. This shows the hierarchy category for which the selection is to be made.
  3. The key date is a required entry. All the hierarchies that are valid on this date are selected.

As a result, the system displays a table of all the root accounts found. The same structure is used as in the function module BAPI_BANKACCT_GET_HIERARCHY. The entries for the higher-level accounts are not used.

You need to use the function module BAPI_BANKACCT_GET_HIERARCHY for finding accounts in the individual hierarchies.

Further information

If errors occur, the following return codes are provided:

  • '1' Bank area could not be found
  • '2' No data found for specified parameters
  • '9' Incorrect parameters transferred, or system error.




Parameters

CT_HIERARCHY
E_RETURN
I_BANKKEY
I_COUNTRY
I_DATE
I_HTYPE

Exceptions

Function Group

FBKB

ABAP Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 1695 Date: 20240523 Time: 094122     sap01-206 ( 26 ms )