Fonction SAP BAPI_BANKDETAILNL_APPROVE - Unlock Bank Details

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EMPLOYEENUMBER BAPIP0009-PERNR N 8 Personnel Number
LOCKINDICATOR BAPIP0009-SPRPS C 1 Lock Indicator for HR Master Record
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X COMMIT Control at BAPI Interface
OBJECTID BAPIP0009-OBJPS C 2 Object Identification
RECORDNUMBER BAPIP0009-SEQNR N 3 Number of Infotype Record
SUBTYPE BAPIP0009-SUBTY C 4 Subtype
VALIDITYBEGIN BAPIP0009-BEGDA D 8 Valid From Date
VALIDITYEND BAPIP0009-ENDDA D 8 Valid To Date

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN1 u 470 Structure for Return Parameter

Functionality
This method can be used to unlock a data record for infotype BankDetails (0009).
Together with the REQUEST method this can be used to realize the doubleverification principle. According to this principle at least two usersare involved in saving an active data record to the database. One ofthe users involved creates a locked infotype record using the REQUESTmethod. The other user unlocks, i.e. activates the data record usingthe APPROVE method.

Notes
Messages are returned in the RETURN parameter. This parameterdocumentation contains the return values and their meanings.
The key fields used by the method are described under the parameters.
This method can only be used if the ENQUEUE method is called first forthe business object EMPLOYEE. You will find further details onthe ENQUEUE method in the fuction module documentationBAPI_EMPLOYEE_ENQUEUE.
You will find furhter details on the REQUEST method in the functionmodule documentation BAPI_BANKDETAIL_REQUEST.

Description
Return Code of Method

Value range
In case of error, the structure may contain the following information:

  • Message Type (field TYPE)

  • Message Code (field CODE)

  • Message Text (field MESSAGE)

  • If there are not errors, the field string is initial.

    Description
    You will find details on the meaning of Personnel Number in therelevant data element Documentation: Personnel Number
    .

    Description
    You will find details on the meaning of Lock Indicator for HR MasterRecord in the relevant data element documentation: LockIndicator for HR Master Record.

    Description
    You will find details on the meaning of COMMIT Control in the relevantdata element documentation: COMMIT Control at BAPIInterface.

    Description
    You will find details on the meaning of Objekt Identification in therelevant data element documentation: Object Identification
    .

    Description
    You will find details on the meaning of Number of Infotype Record withSame Key in the relevant data element documenation: Numberof Infotype Record with Same Key.

    Description
    You will find details on the meaning of Subtype in the relevant dataelement documentation: Subtype.