Fonction SAP BAPI_PAR_EMPLOYEE_GET_PW_REG - Read entry for contact person's password

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
PARTNEREMPLOYEEID BAPI100601-CONT_PERS N 10 Contact person number

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN u 452 Structure for Return Parameters (Code, Text)

Paramètre Reférence Long. Facultatif Description
STATUSINFO BAPIUSWSTA 67 Table of status information

Functionality
Using this function module, you can read status information on acontact person from table BAPIUSW01.
Before calling the function module, you need to check the contactperson number. You can only call the function module if the contactperson number exists.

Example

Notes
The parameter RETURN gives notifications. You can find the returncodes and their meanings in this parameter documentation.

Further information
You can find further information in the documentation for the functionmodule Check contact person'snumber.

Value range
INCLUDE QM_TX_BAPI_RETURN OBJECT DOKU ID TX

Description
Unique number that identifies the Contactperson.

Value range
Dictionary data type: NUMC (field length 10 characters).

Description
This parameter provides status information on password administrationfor a specified contact person.

Value range
If you call this structure successfully, it contains the followinginformation:

  • User is valid until (field VALIDTO), dictionary data type: DATS (field
  • length 8 characters).
    • Last logon date (field LDATE), dictionary data type: DATS (field length
    • 8 characters).
      • Last logon time (field LTIME), dictionary data type: TIMS (field length
      • 6 characters).
        • Date of the last change of password (field UPDPASS), dictionary data
        • type: DATS (field length 8 characters).
          If an error occurs, the structure is empty.