Fonction SAP BAPI_BANK_CHANGE - Change Bank

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BANKCOUNTRY BAPI1011_KEY-BANK_CTRY C 3 Bank Country Key
BANKKEY BAPI1011_KEY-BANK_KEY C 15 Bank Key
BANK_ADDRESS BAPI1011_ADDRESS u 228 Bank Address Data
BANK_ADDRESS1 BAPIADDR1 u 1574 X Address Data (BAS)
BANK_ADDRESS1X BAPIADDR1X u 70 X X Bar for Address Data (BAS)
BANK_ADDRESSX BAPI1011_ADDRESSX u 11 X Bar for Address Data
BANK_DETAIL BAPI1011_DETAIL u 28 X Bank Detail Data
BANK_DETAILX BAPI1011_DETAILX u 3 X X Detail Data Bar

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

Functionality
Using this method you can change bank data.

Notes
The system checks the following authorization object with activity 02(change):

  • F_BNKA_MAN,,Banks: General maintenance
  • authorizationtransfer
    You transfer the bank country, the bank key and the bank data that isto be changed. You transfer the bank data that is to be changed usingreference structure bars (tick boxes) in which the fields that are tobe changed are selected.
    Bank address from the Central address management (CAM)
    Along with the bank you can also change the other address from thecentral address management,(CAM) provided you make an entry in theoptional parameter BankAddress1 and select the change-relevantfields in parameter BankAddress1x.
    If there is no other address from the CAM for the existing bank,(address number ADDR_NO is blank), with this method you can create anew address. Prerequisite for this is that you enter the attributes forthe address (structure BankAddress1). Note that the COUNTRYfield in structure BankAddress1 is a required field. In thiscase the system ignores the selection-relevant fields in structureBankAddress1 and you need make no entries here.
    Retunr messages
    INCLUDE BAPI_RET

    Description
    INCLUDE BAPI_TABLE

    Value range
    Type ID Number Message
    E BF00 227 No authorization to change bank data
    E BF00 202 Country & not included
    E BF00 211 Bank & & does not exist
    Other possible messages
    Messages from other function modules or programs could appear that arenot listed here in detail:

    • Messages concerning the central address management

    • Messages concerning the ALE settings
    • Description
      INCLUDE BAPI_KEYFIELD
      An entry here is mandatory.

      Description
      INCLUDE BAPI_KEYFIELD

      Description
      This structure contains the address data fields of a bank that arerelevant for changes.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Description
      This structure contains the changed other address data of a bank.
      If the other address for a bank does not exist yet, the system createsit. In this case you will need to enter a country in the COUNTRY fieldof structure BankAddress1.
      Transfer of this structure is optional.
      INCLUDE BAPI_DATAELEMENT

      Description
      With this structure you specify which fields from parameterBankAddress1 are to be affected by changes.

      Value range
      'X'
      This value means that the corresponding field in structure BankAddress1contains a changed value.
      ' ' (no value)
      No value means that the corresponding field in structure BankAddress1is to remain unchanged.

      Description
      With this structure you specify which fields from parameter BankAddressare to be affected by changes.

      Value range
      'X'
      This value means that the corresponding field in structure BankAddresscontains a changed value.
      ' ' (no value)
      No value means that the corresponding field in structure BankAddress isto remain unchanged.

      Description
      This structure contains the changed administrative data of a bank.
      Fields CREAT_DATE and CREATOR cannot be changed, so entries here arenot taken into consideration.
      Transfer of this structure is optional.
      INCLUDE BAPI_DATAELEMENT

      Description
      With this structure you specify which fields from parameter BankDetailare to be affected by changes.

      Value range
      'X'
      This value means that the corresponding field in structure BankDetailcontains a changed value.
      ' ' (no value)
      No value means that the corresponding field in structure BankDetail isto remain unchanged.