Fonction SAP BAPI_FAMILYGB_GETDETAIL - Read family

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
ACADEMICTITLE BAPIP0021-TITEL C 15 Title
ARISTOCRATICTITLE BAPIP0021-FNMZU C 15 Title
DATEOFBIRTH BAPIP0021-FGBDT D 8 Date of birth
FIRSTNAME BAPIP0021-FAVOR C 40 First name
FULLNAME BAPIP0021-FCNAM C 80 Full employee name
GENDER BAPIP0021-FASEX C 1 Gender key
INITIALS BAPIP0021-FINIT C 10 Employee's initials
LANDOFBIRTH BAPIP0021-FGBLD C 3 Country of birth
LASTNAME BAPIP0021-FANAM C 40 Last name
MAIDENNAME BAPIP0021-FGBNA C 40 Name at birth
MEMBEREMPLOYER BAPIP0021-EGAGA C 8 Employer of family member
MEMBERREFNUMBER BAPIP0021-ERBNR C 12 Reference personnel number of family member
MEMBERTYPE BAPIP0021-FAMSA C 4 Type of family record
NAMEOFGENDER BAPIP0021-NAMEOFGESCH C 60 Sex
NAMEOFLANDOFBIRTH BAPIP0021-NAMEOFGBLND C 15 Birth place description
NAMEOFMEMBERTYPE BAPIP0021-NAMEOFFAMSA C 40 Family record type description
NAMEOFNATIONALITY BAPIP0021-NAMEOFNATIO C 15 Nationality text
NAMEOFNATIONALITY2 BAPIP0021-NAMEOFNATI2 C 15 Second nationality description
NAMEOFNATIONALITY3 BAPIP0021-NAMEOFNATI3 C 15 Third nationality description
NAMEOFSTATEOFBIRTH BAPIP0021-NAMEOFGBDEP C 20 Name of federal state
NAME_FORMAT_INDICATOR BAPIP0021-FKNZN N 2 Reference personnel number of family member
NATIONALITY BAPIP0021-FANAT C 3 Nationality
NATIONALITY2 BAPIP0021-FANA2 C 3 Second nationality
NATIONALITY3 BAPIP0021-FANA3 C 3 Third nationality
PLACEOFBIRTH BAPIP0021-FGBOT C 40 Birthplace
RETURN BAPIRETURN1 u 470 Structure for return code
SECONDNAME BAPIP0021-FNAC2 C 40 Second name
SECONDSURNAMEPREFIX BAPIP0021-FVRS2 C 15 Name affix
STATEOFBIRTH BAPIP0021-FGDEP C 3 State
SURNAMEPREFIX BAPIP0021-FVRSW C 15 Name affix

Functionality
You can use this method to read a Family/Related Person (0021)record.

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.