Fonction SAP BAPI_W4W5INFOUS_DELETE - Employee W4/W5 Information: Delete Record

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EMPLOYEENUMBER BAPIP0210-EMPLOYEENO N 8 Personnel number
LOCKINDICATOR BAPIP0210-LOCKINDIC C 1 Lock indicator
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X Commit control at BAPI interface
OBJECTID BAPIP0210-OBJECTID C 2 Object ID
RECORDNUMBER BAPIP0210-RECORDNR N 3 Record number
SUBTYPE BAPIP0210-SUBTYPE C 4 Subtype
VALIDITYBEGIN BAPIP0210-VALIDBEGIN D 8 From
VALIDITYEND BAPIP0210-VALIDEND D 8 To

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN1 u 470 Return messages

Functionality
You can use this method to delete W4/W5 records for US employees(infotype 0210).

Notes
INCLUDE BAPI_RET
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 on theENQUEUE method, read the documentation on the function moduleBAPI_EMPLOYEE_ENQUEUE.

Description
INCLUDE BAPI_TABLE

Value range
Messages on data input
Type,,ID,,Code,,Message
E,,PA,,017,,Applicant number not yet assigned.
E,,PG,,001,,Personnel number not yet assigned.
E,,PG,,009,,No data stored for record in selected period.
E,,PG,,184,,The employee/applicant is not yet locked.
E,,PG,,429,,Not possible to specify a view indicator for
,,,,,,applicant.
E,,PG,,430,,The employee is assigned to a different view
,,,,,,indicator.
E,,RP,,060,,The personnel number(s) could not be locked.
Other types of messages
Type,,ID,,Code,,Message
A,,PN,,018,,Cannot determine database table of the infotype.
E,,PG,,428,,A complex application error has occurred.
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD

Description
For more information on the definition of commit control at BAPIinterface, see the corresponding data element documentation:Commit control at BAPI interface.
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD