Fonction SAP BAPI_FAMILYTW_REQUEST - Family Taiwan: Create locked record

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CHINESENAME BAPIP0021TW-CHINESENAME C 60 X Chinese name
COUNTYCODE BAPIP0021TW-COUNTYCODE C 3 X County code
DATEOFBIRTH BAPIP0021TW-DATEOFBIRTH D 8 X Date of birth
DISABILITYLEVEL BAPIP0021TW-DISABILITYLEV C 1 X Disability grade
EMPLOYEENUMBER BAPIP0021TW-EMPLOYEENO N 8 Personnel number
FIRSTNAME BAPIP0021TW-FIRSTNAME C 40 X First name
GENDER BAPIP0021TW-GENDER C 1 X Gender
IDCHECK BAPIP0021TW-IDCHECK C 1 X ID number check error flag
IDNUMBER BAPIP0021TW-IDNUMBER C 10 X ID number
LANDOFCOUNTRY BAPIP0021TW-COUNTRY C 3 X Land of country
LASTNAME BAPIP0021TW-LASTNAME C 40 X Last name
MEMBERTYPE BAPIP0021TW-MEMBERTYPE C 4 Type of family record
NAMEFORMATIND BAPIP0021TW-NAMEFORMATIND N 2 X Name Format Indicator for Employee in a List
NAMEINPASSPORT BAPIP0021TW-NAMEINPASSPORT C 80 X Complete Name
NATIONALITY BAPIP0021TW-NATIONALITY C 3 X Nationality
NEIGHBORHOOD BAPIP0021TW-NEIGHBOR C 4 X Neighborhood
NHIEXEMPT BAPIP0021TW-NHIEXEMPT C 1 X NHI exempt by law
NHIEXEMPTREASON BAPIP0021TW-EXEMPTREASON C 2 X Reason for exemption
NHIFORFAMILY BAPIP0021TW-NHIFORFAMILY C 1 X NHI for family member
NHISTATUS BAPIP0021TW-NHISTATUS C 2 X NHI status
NHISTATUSREASON BAPIP0021TW-NHISTREASON C 2 X NHI status reason
NHIVALIDDATE BAPIP0021TW-NHIVALIDDATE D 8 X NHI contribution from
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X COMMIT control at BAPI interface
PLACEOFBIRTH BAPIP0021TW-PLACEOFBIRTH C 40 X Place of birth
REGION BAPIP0021TW-REGION C 3 X Region (State, Province, County)
RELATIONSHIP BAPIP0021TW-RELATIONSHIP C 1 X Relationship to employee
STREETANDHOUSE BAPIP0021TW-STREET C 60 X Street and house number
TELEPHONENO BAPIP0021TW-TELEPHONENO C 14 X telephone number
TOWN BAPIP0021TW-TOWN C 10 X Town
VALIDITYBEGIN BAPIP0021TW-VALIDBEGIN D 8 Valid from date
VALIDITYEND BAPIP0021TW-VALIDEND D 8 Valid to date
VILLAGE BAPIP0021TW-VILLAGE C 10 X Village
ZIPCODE BAPIP0021TW-ZIPCODE C 10 X Zipcode for Taiwna

Paramètre Reférence Type Long. Description
EMPLOYEENUMBER BAPIP0021TW-EMPLOYEENO N 8 Personnel number
LOCKINDICATOR BAPIP0021TW-LOCKINDIC C 1 Lock indicator for HR master record
OBJECTID BAPIP0021TW-OBJECTID C 2 Object identification
RECORDNUMBER BAPIP0021TW-RECORDNR N 3 Number of infotype record
RETURN BAPIRETURN1 u 470 Structure for return code
SUBTYPE BAPIP0021TW-SUBTYPE C 4 Subtype
VALIDITYBEGIN BAPIP0021TW-VALIDBEGIN D 8 Valid from date
VALIDITYEND BAPIP0021TW-VALIDEND D 8 Valid to date

Functionality
You can use this method to create a locked Family/Related Person record(0021 and 0352) for an employee in Taiwan.
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.

Further information
For more information on the ENQUEUE method, read the documentation onthe function module BAPI_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 data record,read the data element documentation: Lock indicator

Description
For information on the object identification, read the relevant dataelement documentation: Object identification
This field is only available to the subtype where the OBJRQ field ismarked in table T591A.

Description
For information on the infotype record number for the same key, readthe relevant data element documentation: Number ofinfotype record for same key
INCLUDE RETURN1 OBJECT DOKU ID TX

Description
For information on the subtype, read the relevant data elementdocumentation: Subtype
INCLUDE VALIDITYBEGIN OBJECT DOKU ID TX
INCLUDE VALIDITYEND OBJECT DOKU ID TX
INCLUDE CHINESENAME OBJECT DOKU ID TX
INCLUDE COUNTY OBJECT DOKU ID TX

Description
For more information on the definition of date of birth, see thecorresponding data element documentation:Date of birth

Default
INCLUDE DISABILITYLEVEL OBJECT DOKU ID TX

Description
For information on the personnel number, read the relevant data elementdocumentation: Personnel number
INCLUDE FIRSTNAME OBJECT DOKU ID TX
INCLUDE GENDER OBJECT DOKU ID TX
INCLUDE IDCHECK OBJECT DOKU ID TX
INCLUDE IDNUMBER OBJECT DOKU ID TX
INCLUDE COUNTRY OBJECT DOKU ID TX
INCLUDE LASTNAME OBJECT DOKU ID TX

Description
For information on the type of family member record, read the relevantdata element documentation: Type of family member record

INCLUDE NAMEFORMATIND OBJECT DOKU ID TX
INCLUDE NAMEINPASSPORT OBJECT DOKU ID TX
INCLUDE NATIONALITY OBJECT DOKU ID TX
INCLUDE NEIGHBORHOOD OBJECT DOKU ID TX
INCLUDE NHIEXEMPT OBJECT DOKU ID TX
INCLUDE NHIEXEMPTREASON OBJECT DOKU ID TX
INCLUDE NHIFORFAMILY OBJECT DOKU ID TX
INCLUDE NHISTATUS OBJECT DOKU ID TX
INCLUDE NHISTATUSREASON OBJECT DOKU ID TX
INCLUDE NHIVALIDDATE OBJECT DOKU ID TX

Description
For information on COMMIT control, read the relevant data elementdocumentation: COMMIT control at BAPI interface
INCLUDE PLACEOFBIRTH OBJECT DOKU ID TX
INCLUDE STATE OBJECT DOKU ID TX
INCLUDE RELATIONSHIP OBJECT DOKU ID TX
INCLUDE STREETANDHOUSENO OBJECT DOKU ID TX
INCLUDE TELEPHONENUMBER OBJECT DOKU ID TX
INCLUDE TOWN OBJECT DOKU ID TX
INCLUDE VALIDITYBEGIN OBJECT DOKU ID TX
INCLUDE VALIDITYEND OBJECT DOKU ID TX
INCLUDE VILLAGE OBJECT DOKU ID TX
INCLUDE POSTALCODE OBJECT DOKU ID TX