Functionality You can use this method to create a Personal Data> record (0002).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.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 form-of-address key, read the relevant dataelement documentation: Form-of-address key>.Description For information on the gender key, read the relevant data elementdocumentation: Gender key>.Description For information on the personal ID number, read the relevant dataelement documentation: ID number>.Description For information on the name by which an employee is known, read therelevant data element documentation: Known as>.Description For information on the language key, read the relevant data elementdocumentation: Language>.Description For information on the nationality, read the relevant data elementdocumentation: Nationality>.Description For information on COMMIT control, read the relevant data elementdocumentation: COMMIT control at BAPI interface>.Description For information on the religious denomination key, read the relevantdata element documentation: Religion>.Description For information on the second nationality, read the relevant dataelement documentation: Second nationality>.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>.Description For information on the third nationality, read the relevant dataelement documentation: Third nationality>.Description The 'UPDATE_ONLY_GBDAT' flag enables you to control whether theP0002-GBDAT field should be filled with parameter DATEOFBIRTH or whetherthe P0002-GBPAS field should also be filled. If the date of birth according to passport (P0002-GBPAS) and the date ofbirth (P0002-GBDAT) is used in a country version of infotype 2, bothfields should be filled using parameter DATEOFBIRTH. If, however, only the P0002-GBDAT field (date of birth) is used, onlythis field should be filled using parameter DATEOFBIRTH. Value range The following values can take the 'UPDATE_ONLY_GBDAT' flag:
- Space: P0002-GBDAT and P0002-GBPAS are filled using parameter
DATEOFBIRTH.
- 'X': Only P0002-GBDAT is filled using parameter DATEOFBIRTH.
|