Fonction SAP BAPI_FAMILYZA_GETDETAIL - Family US: Read Record

Paramètre Reférence Type Long. Valeur par déf. Facultatif 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
SUBTYPE BAPIP0021-SUBTY C 4 Subtype
VALIDITYBEGIN BAPIP0021-BEGDA D 8 Valid from date
VALIDITYEND BAPIP0021-ENDDA D 8 Valid to date

Paramètre Reférence Type Long. Description
CITY BAPIP0021US-CITY C 25 City
COBRA BAPIP0021US-COBRA C 1 COBRA indicator
COUNTRY BAPIP0021US-COUNTRY C 3 Country
DATEDISABLEARNED BAPIP0021US-DATEDISABLEARN D 8 Date employer learned of employee's disability
DATEOFBIRTH BAPIP0021-FGBDT D 8 Date of birth
DATEOFDISABILITY BAPIP0021US-DATEOFDISAB D 8 Date of disability
DATEOFSEPARATION BAPIP0021US-DATEOFSEP D 8 Legal separation date
DISABILITY BAPIP0021US-DISABILITY C 1 Disability indicator
FIRSTNAME BAPIP0021-FAVOR C 40 First name
GENDER BAPIP0021-FASEX C 1 Gender key
IDNUMBER BAPIP0021US-IDNUMBER C 20 ID number
LASTNAME BAPIP0021-FANAM C 40 Last name
MAIDENNAME BAPIP0021-FGBNA C 40 Name at birth
MARITALSTATTEXT BAPIP0021US-MARITALSTATTEXT C 6 Marital Status
MARITAL_STATUS BAPIP0021US-MARITAL_STATUS C 1 Marital Status Key
MEDICARE BAPIP0021US-MEDICARE C 1 Medicare indicator
MEMBERTYPE BAPIP0021-FAMSA C 4 Type of family record
NAMEOFCOUNTRY BAPIP0021US-NAMEOFCOUNTRY C 15 Name of country
NAMEOFGENDER BAPIP0021-NAMEOFGESCH C 60 Name of gender
NAMEOFMEMBERTYPE BAPIP0021-NAMEOFFAMSA C 40 Name of family member type
NAMEOFNATIONALITY BAPIP0021-NAMEOFNATIO C 15 Name of nationality
NAMEOFNATIONALITY2 BAPIP0021-NAMEOFNATI2 C 15 Name of second nationality
NAMEOFNATIONALITY3 BAPIP0021-NAMEOFNATI3 C 15 Name of third nationality
NAMEOFPHYSICIAN1 BAPIP0021US-NAMEOFPHYS1 C 30 Name of physician 1
NAMEOFPHYSICIAN2 BAPIP0021US-NAMEOFPHYS2 C 30 Name of physician 2
NAMEOFSTATE BAPIP0021US-NAMEOFSTATE C 20 Name of state
NATIONALITY BAPIP0021-FANAT C 3 Nationality
NATIONALITY2 BAPIP0021-FANA2 C 3 Second nationality
NATIONALITY3 BAPIP0021-FANA3 C 3 Third nationality
PHONENUMBER BAPIP0021US-PHONENUMBER C 14 Telephone number
PHYSICIANID1 BAPIP0021US-PHYSICIANID1 C 20 ID of physician1
PHYSICIANID2 BAPIP0021US-PHYSICIANID2 C 20 ID of physician2
POSTALCODE BAPIP0021US-POSTALCODE C 10 Postal code
REFPERSNO BAPIP0021US-REFPERSNO C 12 Reference personnel number
RETURN BAPIRETURN1 u 470 Return messages
SECONDADDRESSLINE BAPIP0021US-SECONDADDRLINE C 30 Second address line
SMOKER BAPIP0021US-SMOKER C 1 Smoker indicator
STATE BAPIP0021US-STATE C 3 State
STREETANDHOUSENO BAPIP0021US-STREETANDHOUSE C 30 Street and house number
STUDENT BAPIP0021US-STUDENT C 1 Student indicator

Functionality
You can use this method to read family/related-person records for USemployees (infotypes 0021/0106).

Notes
INCLUDE BAPI_RET
The key fields used by the method are described in the parameterdocumentation.

Description
City

Description
For more information on the definition of COBRA indicator, see thecorresponding data element documentation: COBRAindicator.

Description
For more information on the definition of country, see thecorresponding data element documentation: Country.

Description
Date employer learned of employee's disability

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

Description
Date disability began

Description
Legal separation date

Description
For more information on the definition of disability indicator, see thecorresponding data element documentation: Disabilityindicator.

Description
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

Description
Last name at birth

Description
Marital status

Description
Marital Status key

Description
For more information on the definition of Medicare indicator, see thecorresponding data element documentation: Medicareindicator.

Description
For more information on the definition of type of family record, seethe corresponding data element documentation: Type offamily record.

Description
Name of country

Description
Name of gender

Description
Name of family member type

Description
Name of nationality

Description
Name of second nationality

Description
Name of third nationality

Description
For more information on the definition of name of physician, see thecorresponding data element documentation: Name ofphysician.

Description
For more information on the definition of name of physician, see thecorresponding data element documentation: Name ofphysician.

Description
Name of state

Description
The field indicates the person's nationality.

Description
The field indicates the person's second nationality.

Description
The field indicates the person's third nationality.

Description
Telephone number

Description
For more information on the definition of physician ID, see thecorresponding data element documentation: PhysicianID.

Description
For more information on the definition of physician ID, see thecorresponding data element documentation: PhysicianID.

Description
For more information on the definition of postal code, see thecorresponding data element documentation: Postal code.

Description
For more information on the definition of reference personnel number,see the corresponding data element documentation:Reference personnel number of family member.

Description
INCLUDE BAPI_TABLE

Value range
Authorization messages
Type,,ID,,Code,,Message
E,,PG,,185,,No read authorization for record.
Messages on data input
Type,,ID,,Code,,Message
E,,PG,,009,,No data stored for record in selected period.

Description
Second address line

Description
For more information on the definition of smoker indicator, see thecorresponding data element documentation: Smokerindicator.

Description
For more information on the definition of state, see the correspondingdata element documentation: State.

Description
For more information on the definition of house number and street, seethe corresponding data element documentation: House numberand street.

Description
For more information on the definition of student indicator, see thecorresponding data element documentation: Studentindicator.
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD