Fonction SAP BAPI_FAMILYJP_REQUEST - Family Japan: Create locked record

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ALLOWANCE BAPIP0148-ALLOWANCE C 1 X Family allowance
CHILDTYPE BAPIP0148-CHILDTYPE C 2 X Child type
DATEOFBIRTH BAPIP0021-FGBDT D 8 X Date of birth
DEATH BAPIP0148-DEATH C 1 X Death in taxation
DEPENDENT BAPIP0148-DEPENDENT C 1 X Dependent in taxation
EMPLOYEENUMBER BAPIP0021-PERNR N 8 Personnel number
FIRSTNAME BAPIP0148-FIRSTNAME C 40 X First name
FIRSTNAMEKATAKANA BAPIP0148-FIRSTNAMEKANA C 40 X First name (Katakana)
FIRSTNAMEROMAJI BAPIP0021-FAVOR C 40 X First name (Romaji)
GENDER BAPIP0021-FASEX C 1 X Gender
HANDICAP BAPIP0148-HANDICAP C 1 X Handicapped family member in taxation
INSURANCE BAPIP0148-INSURANCE C 1 X Health insurance in taxation
LANDOFBIRTH BAPIP0021-FGBLD C 3 X Country of birth
LASTNAME BAPIP0148-LASTNAME C 40 X Last name
LASTNAMEKATAKANA BAPIP0148-LASTNAMEKANA C 40 X Last name (Katakana)
LASTNAMEROMAJI BAPIP0021-FANAM C 40 X Last name (Romaji)
LIVEWITH BAPIP0148-LIVEWITH C 1 X Family member living with in taxation
MEMBERTYPE BAPIP0021-FAMSA C 4 Type of family record
NAMEFORMAT BAPIP0148-NAMEFORMAT N 2 X Name format
NATIONALITY BAPIP0021-FANAT C 3 X Nationality
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X COMMIT control at BAPI interface
NONRESIDENCE BAPIP0148-NONRESIDENCE C 1 X Non-residence in taxation
PLACEOFBIRTH BAPIP0021-FGBOT C 40 X Birthplace
REASON BAPIP0148-REASON C 2 X Reason for changing record
STATEOFBIRTH BAPIP0021-FGDEP C 3 X State
THEOLD BAPIP0148-THEOLD C 1 X Old family member in taxation
VALIDITYBEGIN BAPIP0021-BEGDA D 8 Valid from date
VALIDITYEND BAPIP0021-ENDDA D 8 Valid to date
YEA BAPIP0148-YEA C 1 X Year End Adjustment

Paramètre Reférence Type Long. Description
EMPLOYEENUMBER BAPIP0021-PERNR N 8 Personnel number
LOCKINDICATOR BAPIP0021-SPRPS C 1 Lock indicator for HR master record
OBJECTID BAPIP0021-OBJPS C 2 Object identification
RECORDNUMBER BAPIP0021-SEQNR N 3 Number of infotype record
RETURN BAPIRETURN1 u 470 Structure for return code
SUBTYPE BAPIP0021-SUBTY C 4 Subtype
VALIDITYBEGIN BAPIP0021-BEGDA D 8 Valid from date
VALIDITYEND BAPIP0021-ENDDA D 8 Valid to date

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

Description
Method return code

Description
For information on the subtype, read the relevant data elementdocumentation: Subtype

Description
For information on the family allowance, read the relevant data elementdocumentation: Family allowance indicator

Description
For information on the relationship, read the relevant data elementdocumentation:
Relationship with employee

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

Default

Description
For information on the death indicator for tax purposes, see therelevant data element documentation: Death indicator

Description
For information on the dependent, read the relevant data elementdocumentation: Dependent

Description
For information on the personnel number, read the relevant data elementdocumentation: Personnel number

Description
For information on the first name in Katakana, read the relevant dataelement documentation:
First name in Katakana

Description
For information on the gender key, see the corresponding data elementdocumentation: Gender key.

Description
For information on handicapped family members, read the relevant dataelement documentation: Deduction for handicapped

Description
For information on dependents for health insurance purposes, read therelevant data element documentation: Dependent(Health insurance)

Description
For information on the last name in Katakana, read the relevant datadatelement documentation:
Last name in Katakana

Description
For information on the deduction for live-in dependent relatives, readthe relevant data element documentation: Deductionfor live-in dependent

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

Description
For information on the name format, see the relevant data elementdocumentation: Name format

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 non-residence indicator, see the relevant dataelement documentation: Non-residence indicator

Description
For information on the reason, read the relevant data elementdocumentation: Reason for changing master data

Description
For information on the prefecture, read the relevant data elementdocumentation: State

Description
For information on elderly family members eligible for a tax deduction,read the relevant data element documentation:Deduction for age group

Description
For information on dependents for year-end allowance purposes, read therelevant data element documentation: Year-endallowance indicator