Functionality You can use this method to create family/related-person records for SGemployees (infotypes 0021/0412). 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 of the business object EMPLOYEE beforehand. For more informationon the ENQUEUE method, read the documentation on the function moduleBAPI_EMPLOYEE_ENQUEUE. INCLUDE EMPLOYEENUMBER OBJECT DOKU ID TX INCLUDE LOCKINDICATOR OBJECT DOKU ID TX INCLUDE OBJECTID OBJECT DOKU ID TX INCLUDE RECORDNUMBER OBJECT DOKU ID TXDescription 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 SUBTYPE OBJECT DOKU ID TX INCLUDE VALIDITYBEGIN OBJECT DOKU ID TX INCLUDE VALIDITYEND OBJECT DOKU ID TX INCLUDE SCNDADDRESSLINE OBJECT DOKU ID TXDescription Child Birth Certificate Number Description Child Type - Own Child or Adopted Child Value range 00 - Own Child 01 - Adopted Child Description City Description Confinement Number INCLUDE COUNTRYCODE OBJECT DOKU ID TX Description For more information on the definition of date of birth, see thecorresponding data element documentation: Date of birth >. INCLUDE DESIGNATION OBJECT DOKU ID TX INCLUDE EMPLOYEENUMBER OBJECT DOKU ID TX INCLUDE SCNDADDRESSLINE OBJECT DOKU ID TX INCLUDE CITY OBJECT DOKU ID TX INCLUDE EMPLOYERNAME OBJECT DOKU ID TX INCLUDE POSTALCODE OBJECT DOKU ID TX INCLUDE STREETANDHOUSENO OBJECT DOKU ID TX INCLUDE EMPLOYMENTSTATUS OBJECT DOKU ID TX INCLUDE ETHNICORIGIN OBJECT DOKU ID TXDescription First name Description Gender key Description For more information on the definition of ID number, see thecorresponding data element documentation: ID number>.Description Last name INCLUDE LOCKINDICATOR OBJECT DOKU ID TX Description Last name at birth INCLUDE OBJECTID OBJECT DOKU ID TX Description For more information on the definition of type of family record, seethe corresponding data element documentation: Type offamily record>. INCLUDE NAMEOFCOUNTRY OBJECT DOKU ID TXDescription The field indicates the person's nationality. Description For more information on the definition of COMMIT control at BAPIinterface, see the corresponding data element documentation:COMMIT control at BAPI interface>.Description Telephone number Description For more information on the definition of postal code, see thecorresponding data element documentation: Postal code>. INCLUDE RESIDENCYTYPE OBJECT DOKU ID TX INCLUDE SCHOOLNAME OBJECT DOKU ID TX INCLUDE STREETANDHOUSENO OBJECT DOKU ID TX INCLUDE TAXID OBJECT DOKU ID TX INCLUDE VALIDITYBEGIN OBJECT DOKU ID TX INCLUDE VALIDITYEND OBJECT DOKU ID TX |