SAP Function BAPI_EMPLOYEE_CHECKEXISTENCE - Check employee existence

Parameter Reference Type Length Default Optional Text
NUMBER BAPIEMPL-PERNR N 8 Personnel number

Parameter Reference Type Length Text
RETURN BAPIRETURN u 452 Structure for return code

Functionality
You can use this method to determine whether a personnel number existsin the employee master records.

Notes
Messages are returned in the parameter RETURN. This parameterdocumentation contains the return codes and their meanings.

Description
Return code for the method

Value range
In case of an error, this structure contains the following information:

  • Message type (TYPE field dictionary data type: CHAR (field
  • length 1)
    • Message code (CODE field) dictionary data type: CHAR (field
    • length 5)
      • Message text (MESSAGE field), dictionary data type: CHAR (field
      • length 220)
        If the action is successful, the structure is set to the initial value.

        Description
        For information on the meaning of the personnel number, refer to therelevant data element documentation: Personnel number

        Value range
        Dictionary data type: NUMC (field length 8)