Fonction SAP BAPI_BANK_SAVEREPLICA - Duplicate Individual Banks (ALE)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BANK_ADDRESS BAPI1011_ADDRESS u 228 Bank Address Data
BANK_CTRY BAPI1011_KEY-BANK_CTRY C 3 Bank Country Key
BANK_DETAIL BAPI1011_DETAIL u 28 Bank Detail Data
BANK_KEY BAPI1011_KEY-BANK_KEY C 15 Bank Key

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Code

Functionality
Using this method you can duplicate individual banks.

Notes
If the other address from Central Address Management (CAM) also exisitsfor a bank, this needs to be duplicated first.
When you duplicate the address, the system writes a connection betweenthe address and the owner object in temporary table ADOWNERREF. Thesystem reads this connection when the bank is distributed and writesthe corresponding address number ADRNR in table BNKA.
If the address is not distributed before the bank, meaning thereis no suitable entry in table ADOWNERREF, this conncetion will be lostin the target system.

Description
INCLUDE BAPI_TABLE

Value range
Type ID Number Message
E ,, BF00 227 No authorization to change bank data
E BF00 228 No authorization to create bank data
E BF00 202 Country & is not included
E BF00 007 No banks exist for country &
Other possible messages
It is also possible that messages not listed here appear from otherfunction modules or programs:

  • Messages regarding the central address management.
  • Description
    This structure contains the address data of the bank.
    Field POST_BANK is only relevant for the country of Switzerland andcontains the account number at a Post Office Bank.

    Description
    For information regarding the significance of the bank country, referto the corresponding data element documentation: Bankcountry.
    This entry is mandatory.

    Description
    This structure contains the administrative data of a bank.

    Description
    For information regarding the significance of the bank key, refer tothe corresponding data element documentation: Bank key
    This entry is mandatory.