Fonction SAP BAPI_EMPLOYEE_GET_PW_REG - Read entry for employee password

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
NUMBER BAPIEMPL-PERNR N 8 Personnel number

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN u 452 Structure for return code

Paramètre Reférence Long. Facultatif Description
STATUSINFO BAPIUSW01 87 Table of status information

Functionality
You can use this method to read status information for an employee fromthe table BAPIUSW01.

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

Description
Method return code

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 operation is successful, this structure contains the initialvalue.

        Description
        For information on the personnel number, read the relevant data elementdocumentation: Personnel number.

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

        • MANDANT

        • Dictionary data type: CLNT (field length 3)
          • OBJTYPE

          • Dictionary data type: CHAR (field length 10)
            • OBJID

            • Dictionary data type: CHAR (field length 16)
              • PASSWORD

              • Dictionary data type: RAW (field length 16)
                • CODEVERS

                • Dictionary data type: CHAR (field length 1)
                  • SERVICE

                  • Dictionary data type: INT1 (field length 3)
                    • STATE

                    • Dictionary data type: CHAR (field length 1)
                      • UIDDATE

                      • Dictionary data type: DATS (field length 8)
                        • VALIDTO

                        • Dictionary data type: DATS (field length 8)
                          • LCNT

                          • Dictionary data type: INT1 (field length 3)
                            • LDATE

                            • Dictionary data type: DATS (field length 8)
                              • LTIME

                              • Dictionary data type: TIMS (field length 6)
                                • UPDPASS

                                • Dictionary data type: DATS (field length 8)