Fonction SAP BAPI_PERSDATANL_GETDETAIL - Read Personal Data

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EMPLOYEENUMBER BAPIP0002-PERNR N 8 Personnel Number
LOCKINDICATOR BAPIP0002-SPRPS C 1 Lock Indicator for HR Master Record
OBJECTID BAPIP0002-OBJPS C 2 Object Identification
RECORDNUMBER BAPIP0002-SEQNR N 3 Number of Infotype Record
SUBTYPE BAPIP0002-SUBTY C 4 Subtype
VALIDITYBEGIN BAPIP0002-BEGDA D 8 Valid From Date
VALIDITYEND BAPIP0002-ENDDA D 8 Valid To Date

Paramètre Reférence Type Long. Description
ACADEMICGRADE BAPIP0002-TITEL C 15 Title
ARISTROCRATICTITLE BAPIP0002-NAMZU C 15 Other Title
BIRTHPLACE BAPIP0002-GBORT C 40 Birthplace
COUNTRYOFBIRTH BAPIP0002-GBLND C 3 Country of Birth
DATEOFBIRTH BAPIP0002-GBDAT D 8 Date of Birth
FIRSTNAME BAPIP0002-VORNA C 40 First Name (by which one is generally known)
FORMOFADDRESS BAPIP0002-ANRED C 1 Form of Address Key
FULLNAME BAPIP0002-CNAME C 80 Full Name Employee
GENDER BAPIP0002-GESCH C 1 Gender Key
IDNUMBER BAPIP0002-PERID C 20 Personnel ID Number
INITIALS BAPIP0002-INITS C 10 Employee's Initials
KNOWNAS BAPIP0002-RUFNM C 40 Known As
LANGUAGE BAPIP0002-SPRSL C 1 Language Key
LANGUAGE_ISO BAPIP0002-SPRSL_ISO C 2 Language According to ISO 639
LASTNAME BAPIP0002-NACHN C 40 Last Name
MARITALSTATUS BAPIP0002-FAMST C 1 Marital Status Key
MARITALSTATUSSINCE BAPIP0002-FAMDT D 8 Valid From Date of Current Marital Status
MIDDLENAME BAPIP0002-MIDNM C 40 Middle Name
NAMEATBIRTH BAPIP0002-NAME2 C 40 Name at Birth
NAMEOFCOUNTRYOFBIRTH BAPIP0002-NAMEOFGBLND C 15 Name of Country of Birth
NAMEOFFORMOFADDRESS BAPIP0002-NAMEOFANRED C 15 Name of Form of Address
NAMEOFGENDER BAPIP0002-NAMEOFGESCH C 60 Name of Gender
NAMEOFLANGUAGE BAPIP0002-NAMEOFSPRSL C 16 Name of Language
NAMEOFMARITALSTATUS BAPIP0002-NAMEOFFAMST C 6 Name of Marital Status
NAMEOFNATIONALITY BAPIP0002-NAMEOFNATIO C 15 Name of Nationality
NAMEOFRELIGION BAPIP0002-NAMEOFKONFE C 25 Name of Religion
NAMEOFSECONDNATIONALITY BAPIP0002-NAMEOFNATI2 C 15 Name of Second Nationality
NAMEOFSTATEOFBIRTH BAPIP0002-NAMEOFGBDEP C 20 Name of Federal State of Birth
NAMEOFTHIRDNATIONALITY BAPIP0002-NAMEOFNATI3 C 15 Name of Third Nationality
NATIONALITY BAPIP0002-NATIO C 3 Nationality
NUMBEROFCHILDREN BAPIP0002-ANZKD N 3 Number of Children
RELIGION BAPIP0002-KONFE C 2 Religious Denomination Key
RETURN BAPIRETURN1 u 470 Structure for Return Parameter
SECONDACADGRADE BAPIP0002-TITL2 C 15 Second Title
SECONDNAME BAPIP0002-NACH2 C 40 Second Name
SECONDNAMEPREFIX BAPIP0002-VORS2 C 15 Second Name Prefix
SECONDNATIONALITY BAPIP0002-NATI2 C 3 Second Nationality
STATEOFBIRTH BAPIP0002-GBDEP C 3 Federal State
SURNAMEPREFIX BAPIP0002-VORSW C 15 Name Prefix
THIRDNATIONALITY BAPIP0002-NATI3 C 3 Third Nationality

Functionality
This method can be used to read the data record for infotypePersonal Data
(0002).

Notes
Messages are returned in the RETURN parameter. This paramaterdocumentation contains the return values and their meanings.
The key fields used by the method are described under the parameters.

Description
You will find details on the meaning of Title in the relevant dataelement documentation: Title.

Description
You will find details on the meaning of Other Title in the relevantdata element documentation: Other Title .

Description
You will find details on the meaning of Date of Birth in the relevantdata element documentation: Date of Birth .

Description
You will find details on the meaning of Form of Address Key in therelevant data element documentation: Form of Address Key.

Description
You will find details on the meaning of Gender Key in the relevant dataelement documentation: Gender Key.

Description
You will find details on the meaning of Personal ID Number in therelevant data element documentation: Personal ID Number
.

Description
You will find details on the meaning of Known As in the relevant dataelement documentation: Known As.

Description
You will find details on the meaning of Language Key in the relevantdata element documentation: Language Key.

Description
You will find details on the meaning of Nationality in the relevantdata element documentation: Nationality.

Description
You will find details on the meaning of Religious Denomination Key inthe relevant data element documentation: ReligiousDenomination Key.

Description
Return Code of Method

Value range
In case of error, the structure may contain the following information:

  • Message Type (field TYPE)

  • Message Code (field CODE)

  • Message Text (field MESSAGE)

  • In case of error, the field string is initial.

    Description
    You will find details on the meaning of Second Nationality in therelevant data element documentation: Second Nationality
    .

    Description
    You will find details on the meaning of State in the relevant dataelement documentation: State.

    Description
    You will find details on the meaning of Name Prefix in the relevantdata element documentation: Name Prefix.

    Description
    You will find details on the meaning of Third Nationality in therelevant data element documentation: Third Nationality.

    Description
    You will find details on the meaning of Personnel Number in therelevant data element documentation: Personnel Number
    .

    Description
    You will find details on the meaning of Lock Indicator for HR MasterRecord in the relevant data element documentation: LockIndicator for HR Master Record.

    Description
    You will find details on the meaning of Object Identification in therelevant data element documentation: Object Identification
    .

    Description
    You will find details on the meaning of Number of Infotype Record withSame Key in the data element documentation: Number ofInfotype Record with Same Key.

    Description
    You will find details on the meaning of Subtype in the relevant dataelement documentation: Subtype.