Fonction SAP BAPI_PERSDATANL_DELETE - Delete Personal Data

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EMPLOYEENUMBER BAPIP0002-PERNR N 8 Personnel Number
LOCKINDICATOR BAPIP0002-SPRPS C 1 Lock Indicator for HR Master Record
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X COMMIT Control at BAPI Interface
OBJECTID BAPIP0002-OBJPS C 2 Object Identification
RECORDNUMBER BAPIP0002-SEQNR N 3 Number of Infotype Record
SUBTYPE BAPIP0002-SUBTY C 4 Subtype
VALIDITYBEGIN BAPIP0002-BEGDA D 8 Valid From Date
VALIDITYEND BAPIP0002-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 delete a data record from infotypePersonal Data (0002).

Notes
Messages are returned in the RETURN parameter. The paramaterdocumentation 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 furhter details onthe ENQUEUE method in the function module documentationBAPI_EMPLOYEE_ENQUEUE.

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 no 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 Object 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 documentation:Number of Infotype Record with Same Key.

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