You can use this method to create locked family/related-person records for SG employees (infotypes 0021/0412).
It enables you to implement the "double verification principle" inconjunction with the APPROVE method. According to this principle, atleast two users must take part in writing an active record to the database. One user creates a locked record using the
REQUEST method. The other user unlocks or 'activates' this record using the APPROVE method.
Messages are returned in the parameter return. The parameterdocumentation shows the return codes and their meanings.
The key fields used by the method are described in the parameter documentation.
You can use this method only if you have called the ENQUEUEmethod of the business object EMPLOYEE beforehand. For more informationon the ENQUEUE method, read the documentation on the function module BAPI_EMPLOYEE_ENQUEUE.
For more information on the APPROVE method, read the documentation on the function module BAPI_FAMILY_APPROVE.