Functionality You can use this method to create a locked Family/Related Person>record (0021). 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 thedatabase. One user creates a locked record using the REQUEST method.The other user unlocks or 'activates' this record using the APPROVEmethod.Notes Messages are transferred to the RETURN parameter. The relevantparameter documentation contains the return values and their meanings. 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 onthe ENQUEUE method, read the documentation on the function moduleBAPI_EMPLOYEE_ENQUEUE. For more information on the APPROVE method, read the documentation onthe function module BAPI_FAMILY_APPROVE.Description For information on the personnel number, read the relevant data elementdocumentation: Personnel number>.Description For information on the lock indicator for the HR master record, readthe relevant data element documentation: Lock indicatorfor HR master record>.Description For information on the object identification, read the relevant dataelement documentation: Object identification>.Description For information on the number of an infotype record with the same key,read the relevant data element documentation: Number ofinfotype record with same key>.Description Method return code Value range In case of an error, this structure contains the following information:
- Message type (TYPE> field)
- Message code (CODE> field)
- Message text (MESSAGE> field)
If the operation is successful, this structure contains the initialvalue.Description For information on the subtype, read the relevant data elementdocumentation: Subtype>.Description For information on the academic title, read the relevant data elementdocumentation: Title>.Description For information on the aristocratic title, read the relevant dataelement documentation: Title>.Description For information on the birth date, read the relevant data elementdocumentation: Date of birth>.Description For information on the personnel number, read the relevant data elementdocumentation: Personnel number>.Description For information on the gender key, read the relevant data elementdocumentation: Gender key>.Description For information on the type of family record, read the relevant dataelement documentation: Family member>.Description For information on the nationality, read the relevant data elementdocumentation: Nationality>.Description For information on the second nationality, read the relevant dataelement documentation: Second nationality>.Description For information on the third nationality, read the relevant dataelement documentation: Third nationality>.Description For information on COMMIT control, read the relevant data elementdocumentation: COMMIT control at BAPI interface>.Description For information on the name affix, read the relevant data elementdocumentation: Name affix>.Description For information on the state of birth, read the relevant data elementdocumentation: State>.Description For information on the name affix, read the relevant data elementdocumentation: Name affix>.
|