Functionality You can use this method to unlock a W4/W5 record (infotype 0210). It enables you to implement the "double verification principle" inconjunction with the REQUEST method. According to this principle, atleast two users must take part in writing an active record to thedatabase. One user creates a locked record using the REQUEST method.The other user unlocks or 'activates' this record using the APPROVEmethod. 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. Further information For more information on the ENQUEUE method, read the documentation onthe function module BAPI_EMPLOYEE_ENQUEUE. For more information on the REQUEST method, read the documentation onthe function module BAPI_FAMILY_REQUEST. Description INCLUDE BAPI_TABLE Value range Authorization messages> Type,,ID,,Code,,Message> E,,PG,,185,,No read authorization for record. 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_KEYFIELDDescription For information on the definition of commit control at BAPI interface,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 |