Fonction SAP BAPI_EMPPERSID_CREATE - Create Personal-ID

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
APPLICATIONDATE BAPIP0185-TIMES D 8 X Application date
APPLICATIONSTATUS BAPIP0185-ASTAT C 1 X Application status
DOCISSUENUMBER BAPIP0185-DOCN1 C 20 X Document isuing number
ICNUMBER BAPIP0185-ICNUM C 30 X Identity Number
ICTYPE BAPIP0185-ICTYP C 2 X Type of identification (IC type)
IDCOUNTRY BAPIP0185-IDCOT C 3 X Country of ID
IDEXPIRYDATE BAPIP0185-EXPID D 8 X ID expiry date
IDISSUEDCOUNTRY BAPIP0185-ISCOT C 3 X Country of issue
IDISSUEDPLACE BAPIP0185-ISSPL C 30 X Place of issue of Identification
INDICATORCONSCHKOVERRIDE BAPIP0185-OVCHK C 1 X Indicator for overriding consistency check
INEMPLOYEENUMBER BAPIP0185-EMPLOYEENO N 8 Personnel number
INVALIDITYBEGIN BAPIP0185-VALIDBEGIN D 8 Valid from date
INVALIDITYEND BAPIP0185-VALIDEND D 8 Valid to date
ISSUINGAUTHORITY BAPIP0185-AUTH1 C 30 X Issuing authority
LENGTHOFMULTIPLEVISA BAPIP0185-DATEN P 2 X Valid length of multiple visa
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X COMMIT control at BAPI interface
OLDICNUMBER BAPIP0185-ICOLD C 20 X Old IC number
PERSONALIDISSUEDT BAPIP0185-FPDAT D 8 X Date of issue for personal ID
REJECTREASON BAPIP0185-REJEC C 20 X Reject reason
SINGLEMULTIPLE BAPIP0185-AKIND C 1 X Single/multiple
TIMEUNITFORNEXTPAYMENT BAPIP0185-DATEU C 3 X Time unit for determining next payment
USEDFROMDATE BAPIP0185-USEFR D 8 X Used from -date
USEDTODATE BAPIP0185-USETO D 8 X Used to -date

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

Functionality
You can use this method to create a Personal-ID record (0185).

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. For more information onthe ENQUEUE method, read the documentation on the function moduleBAPI_EMPLOYEE_ENQUEUE.

Description
For information on the meaning of the personnel number, see the relevantdocumentation for the data element: Personnel Number.

Description
For information on the meaning of the lock indicator for the HR masterdata record, see the relevant documentation for the data element:Lock Indicator for HR Master Data Record.

Description
For information on the meaning of the object identification, see therelevant documentation for the data element: ObjectIdentification.

Description
For information on the meaning of the number of an infotype record withthe same key, see the relevant documentation for the data element:Number of Infotype Record with Same Key.

Description
Return code of the method

Value range
If an error occurs, the structure contains the following information:

  • Message type (TYPE field)

  • Message code (CODE field)

  • Message text (MESSAGE field)

  • If the method is successful, the structure is initial.

    Description
    For information on the meaning of the subtype, see the relevantdocumentation for the data element: Subtype.
    INCLUDE VALIDITYBEGIN OBJECT DOKU ID TX
    INCLUDE VALIDITYEND OBJECT DOKU ID TX
    INCLUDE APPLICATIONDATE OBJECT DOKU ID TX
    INCLUDE APPLICATIONSTATUS OBJECT DOKU ID TX
    INCLUDE DOCISSUENUMBER OBJECT DOKU ID TX
    INCLUDE ICNUMBER OBJECT DOKU ID TX
    INCLUDE ICTYPE OBJECT DOKU ID TX
    INCLUDE IDCOUNTRY OBJECT DOKU ID TX
    INCLUDE IDEXPIRYDATE OBJECT DOKU ID TX
    INCLUDE IDISSUEDCOUNTRY OBJECT DOKU ID TX
    INCLUDE IDISSUEDPLACE OBJECT DOKU ID TX
    INCLUDE INDICATORCONSCHKOVERRIDE OBJECT DOKU ID TX
    INCLUDE EMPLOYEENUMBER OBJECT DOKU ID TX
    INCLUDE VALIDITYBEGIN OBJECT DOKU ID TX
    INCLUDE VALIDITYEND OBJECT DOKU ID TX
    INCLUDE ISSUINGAUTHORITY OBJECT DOKU ID TX
    INCLUDE LENGTHOFMULTIPLEVISA OBJECT DOKU ID TX

    Description
    For information on the meaning of the COMMIT control, see the relevantdocumentation for the data element: COMMIT control atBAPI interface.
    INCLUDE OLDICNUMBER OBJECT DOKU ID TX
    INCLUDE PERSONALIDISSUEDT OBJECT DOKU ID TX
    INCLUDE REJECTREASON OBJECT DOKU ID TX
    INCLUDE SINGLEMULTIPLE OBJECT DOKU ID TX
    INCLUDE TIMEUNITFORNEXTPAYMENT OBJECT DOKU ID TX
    INCLUDE USEDFROMDATE OBJECT DOKU ID TX
    INCLUDE USEDTODATE OBJECT DOKU ID TX