Fonction SAP BAPI_EMPLOYEET_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
VALIDITYBEGIN BAPIPAKEY-VALIDBEGIN D 8 Key field for object EmployeeT

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
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 personnel number, read the relevant data elementdocumentation: Personnel number.

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

        Description
        This method can be called for two different objects, namely forEmployeeAbstract(BUS1065) and EmployeeT(Employee). The key fields ofthese two methods differ; EmployeeT has an additional key field for thestart date.
        For technical reasons, the date is an import parameter of this method.The function is not influenced by the parameter.

        • 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)