Fonction SAP BAPI_BANK_CREATE - Create Bank

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BANK_ADDRESS BAPI1011_ADDRESS u 228 Bank Address Data
BANK_ADDRESS1 BAPIADDR1 u 1574 X Other Address Data of the Bank (BAS)
BANK_CTRY BAPI1011_KEY-BANK_CTRY C 3 Bank Country
BANK_FORMATTING BAPI1011_DETAIL-FORMATTING C 3 X Format of file with bank data
BANK_KEY BAPI1011_KEY-BANK_KEY C 15 X Bank Key
BANK_METHOD BAPI1011_DETAIL-METHOD C 4 X Check digit calculation method
I_XUPDATE XFELD C 1 'X' X Update in Update Task

Paramètre Reférence Type Long. Description
BANKCOUNTRY BAPI1011_KEY-BANK_CTRY C 3 Bank Country Key
BANKKEY BAPI1011_KEY-BANK_KEY C 15 Bank Key
RETURN BAPIRET2 u 548 Returns

Functionality
Using this method you can create banks.

Notes
The system checks the following authorization object with activity 01(create):

  • F_BNKA_MAN,,Banks: General maintenance
  • authorization.
    The system compares the field entries with the Customizing settingsmade in the IMG activityDefine countries
    in section General settings.
    Transfer
    You transfer the bank country, the bank key and the bank data. Transferof the bank key is optional, provided internal number assignment isdefined for the country BANK_CTRY in Customizing in the IMG activityDefine countries in the sectionGeneral settings. If the bank key is defined as bankidentification number (in Customizing underSet country-specific checks
    ), the bank identification number field in table BNKA isautomatically filled with the value of the bank key.
    Bank address from central address management(CAM)
    Along with the bank, you can also create the other address from centraladdress managment (CAM), provided the optional structureBankAdress1 is transferred. If you wish to create the otheraddress for a bank, note that the COUNTRY field in structureBankAdress1 is a required field.
    Return messages
    INCLUDE BAPI_RET

    Description
    The key parameter bank country is supplied to the user in this field ifthe bank is created successfully.

    Description
    The bank key is supplied to the user in this field if the bank iscreated successfully.

    Value range

    Description
    INCLUDE BAPI_TABLE

    Value range
    Type ID Number Message
    E BF00 228 No authorization to create bank data
    E BF00 202 Country & is not included
    E BF00 206 Specify bank key
    E BF00 215 Bank & & already exists
    E AR 148 Do not specify a bank key
    Other possible messages
    It is possible that other messages not listed here appear from otherfunction modules or programs:

    • Messages regarding format checks

    • Messages regarding the Central Address Management

    • Messages regarding the ALEL settings
    • Default

      Description
      This structure contains the address data of the bank.
      Field BANK_NO is automatically filled with the value of parameterBankKey when you create the bank, provided the bank key is defined asbank identification number in the IMG stepDefine countries in the sectionGeneral settings.
      Field POST_BANK is only relevant for the country of Switzerland andcontains the account number for a Post Office Bank.

      Description
      This structure contains the other address data of the bank.
      If you wish to create the other address data for the bank, note thatthe COUNTRY field is a required field.
      Transfer of this structure is optional.

      Value range

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

      Description
      For information regarding the significance of the parameter, refer tothe corresponding data element documentation: Format ofa file with bank data.
      This entry is optional.

      Description
      For information regarding the significance of the bank key, refer tothe corresponding data element documentation: Bank key.
      Transfer of the bank key is optional, provided internal numberassignment is defined for country BANK_CTRY in Customizing in the IMGactivity Define countries in thesection General settings.

      Description
      This parameter is only relevant for the country of Germany. Forinformation regarding the significance of the parameter, refer to thecorresponding data element documentation: Check digitcalculation method.
      This entry is optional.