Fonction SAP BAPI_BANKDETAILCREATESUCCESSOR - Create subsequent bank details record

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ACCOUNTNO BAPIP0009-BANKN C 18 X Bank account number
BANKCOUNTRY BAPIP0009-BANKS C 3 X Country key of bank
BANKKEY BAPIP0009-BANKL C 15 X Bank Key
BANKREFERENCE BAPIP0009-BANK_REF C 20 X Reference specifications for bank details
BANKTYPE BAPIP0009-BNKSA C 4 X Type of Bank Details Record
CHECKDIGIT BAPIP0009-BANKP C 2 X Check digit for bank/account numbers
CONTROLKEY BAPIP0009-BKONT C 2 X Bank Control Key
CURRENCY BAPIP0009-WAERS C 5 X Currency Key
DEBIT BAPIP0009-DEBIT C 1 X Automatic Debit Authorization Indicator
EMPLOYEENUMBER BAPIP0009-PERNR N 8 Personnel number
IBAN BAPIP0009-IBAN C 34 X IBAN (International Bank Account Number)
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X COMMIT control at BAPI interface
PAYEE BAPIP0009-EMFTX C 40 X Recipient text
PAYEECITY BAPIP0009-BKORT C 25 X City
PAYEEPOSTALCODECITY BAPIP0009-BKPLZ C 10 X Postal code
PAYEEREGION BAPIP0009-REGION C 3 X Region (State, Province, County)
PAYEESTREET BAPIP0009-STREET C 30 X House Number and Street
PAYMENTMETHOD BAPIP0009-ZLSCH C 1 X Payment method
PURPOSE BAPIP0009-ZWECK C 40 X Purpose of bank transfers
STANDARDPERCENT BAPIP0009-ANZHL P 3 X Standard percentage
STANDARDVALUE BAPIP0009-BETRG P 7 X Standard value
STANDARDVALUECURR BAPICURR-BAPICURR P 12 X Currency Amount of BAPI Interfaces
TIMEUNIT BAPIP0009-ZEINH C 3 X Time/measurement unit
VALIDITYBEGIN BAPIP0009-BEGDA D 8 Valid from date
VALIDITYEND BAPIP0009-ENDDA D 8 Valid To Date

Paramètre Reférence Type Long. Description
EMPLOYEENUMBER BAPIP0009-PERNR N 8 Personnel number
LOCKINDICATOR BAPIP0009-SPRPS C 1 Lock indicator for HR master record
OBJECTID BAPIP0009-OBJPS C 2 Object ID
RECORDNUMBER BAPIP0009-SEQNR N 3 Number of Infotype Record
RETURN BAPIRETURN1 u 470 Structure for return code
SUBTYPE BAPIP0009-SUBTY C 4 Subtype
VALIDITYBEGIN BAPIP0009-BEGDA D 8 Valid from date
VALIDITYEND BAPIP0009-ENDDA D 8 Valid To Date

Functionality
You can use this method to create a subsequent Bank Detailsrecord (0009).
Example:
An employee wants his pay to be transferred to a bank account that hehas just opened as of 01/01/1997.
You can use the CREATESUCCESSOR method to create a subsequent BankDetails record (0009) for the new bank account on 01/01/1997. Thesubsequent record contains the data of the previous record, only thenew account number has to entered in Bank account field.
The previous record is delimited on 12/31/1996.

Notes
Messages are transferred to the RETURN parameter. The relevantparameter documentation contains the return values and their meanings.
The key fields used by the method are described in the parameterdocumentation.
You can use this method only if you have called the ENQUEUE method ofthe business object EMPLOYEE beforehand. For more information onthe ENQUEUE method, read the documentation on the function moduleBAPI_EMPLOYEE_ENQUEUE.

Description
For information on the personnel number, read the relevant data elementdocumentation: Personnel number.

Description
For information on the lock indicator for the HR master record, readthe relevant data element documentation: Lock indicatorfor HR master record.

Description
For information on the object identification, read the relevant dataelement documentation: Object identification.

Description
For information on the number of an infotype record with the same key,read the relevant data element documentation: Number ofinfotype record with same key.

Description
Method return code

Value range
In case of an error, this structure contains the following information:

  • Message type (TYPE field)

  • Message code (CODE field)

  • Message text (MESSAGE field)

  • If the operation is successful, this structure contains the initialvalue.

    Description
    For information on the subtype, read the relevant data elementdocumentation: Subtype.

    Description
    For information on the bank account number, read the relevant dataelement documentation: Bank account number.

    Description
    For information on the country key of the bank, read the relevant dataelement documentation: Bank country key.

    Description
    For information on the bank key, read the relevant data elementdocumentation: Bank key.

    Description
    Reference specification for bank details.
    Additional specification for bank details of recipient.
    In some countries, the bank details of a business partner (such as banknumber, bank account number, name of account holder) must be extendedby additional specifications so that certain methods of payment can beused. These additional specifications are stored here.
    This parameter corresponds to the BKREF field in infotype 0009 (BankDetails).

    Description
    For information on the type of bank details record, read the relevantdata element documentation: Bank details type.

    Description
    For information on the check digit for the bank code/account, read therelevant data element documentation: Check digit for bankcode/account.

    Description
    For information on the bank control key, read the relevant data elementdocumentation: Bank control key.

    Description
    For information on the currency key, read the relevant data elementdocumentation: Currency key.

    Description
    You can find information on the meaning of the automatic debitauthorization indicator in the corresponding data element documentation:Automatic Debit Authorization Indicator.

    Description
    For information on the personnel number, read the relevant data elementdocumentation: Personnel number.

    Description
    For information on COMMIT control, read the relevant data elementdocumentation: COMMIT control at BAPI interface.

    Description
    Region (federal state, state, province, county)
    Forms part of the address in certain countries. Each meaning iscountry-specific.
    This parameter corresponds to the STATE field in infotype 0009 (BankDetails).

    Description
    Street and house number of the recipient.
    This parameter corresponds to the STRAS field in infotype 0009 (BankDetails).

    Description
    For information on the payment method, read the relevant data elementdocumentation: Payment method.

    Description
    For information on the purpose of a bank transfer, read the relevantdata element documentation: Purpose of bank transfers.

    Description
    For information on the standard percentage, read the relevant dataelement documentation: Standard percentage.

    Description
    For information on the standard value, read the relevant data elementdocumentation: Standard value.

    Description
    For information on the unit of time or measurement, read the relevantdata element documentation: Unit of time/measurement.

1266571IBAN/SEPA in HCM (international part)