Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>EmployeeAbstract



Index

EmployeeAbstract

EmployeeAbstract


Definition


The business object Employee is a person who contributes or has
contributed to the creation of goods and services within the
enterprise. As a rule, this occurs on the basis of a work contract or a contract for services.


Use


The employee constitutes the main focus of interest for the majority of
human resource subareas (personnel administration, time management,
payroll, etc.). All business processes within these areas relate to the employee.


11-Dec-2005


Methods

Available Methods


  • ChangePassword : Change password [ BAPI_EMPLOYEE_CHANGEPASSWORD ]
  • CheckPassword : Check password [ BAPI_EMPLOYEE_CHECKPASSWORD ]
  • CreatePassword : Create password [ BAPI_EMPLOYEE_CREATE_PW_REG ]
  • DeletePassword : Delete password [ BAPI_EMPLOYEE_DELETE_PW_REG ]
  • Dequeue : Unlock employees [ BAPI_EMPLOYEE_DEQUEUE ]
  • Enqueue : Lock employees [ BAPI_EMPLOYEE_ENQUEUE ]
  • ExistenceCheck : Existence check [ BAPI_EMPLOYEE_CHECKEXISTENCE ]
  • Find : Find [ BAPI_EMPLOYEE_CHECKEXISTENCE ]
  • FindWithoutDialog : Find (w/o dialog) [ BAPI_EMPLOYEE_CHECKEXISTENCE ]
  • GetList : Find personnel numbers for specified search criteria [ BAPI_EMPLOYEE_GETDATA ]
  • GetPassword : Get password [ BAPI_EMPLOYEE_GET_PW_REG ]
  • InitPassword : Initial password [ BAPI_EMPLOYEE_INITPASSWORD ]

11-Dec-2005


ChangePassword

ChangePassword


You can use this method to change an employee's password. The coded password is stored in the central table BAPIUSW01.

Notes

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


11-Dec-2005


CheckPassword

CheckPassword


You can use this method to check an employee's password. The coded password is stored in the central table BAPIUSW01.

Notes

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


11-Dec-2005


CreatePassword

CreatePassword


By using this method, an entry for an employee is created in the table BAPIUSW01. A password is not generated for the employee.

Notes

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


Further Information

FB 'BAPI_EMPLOYEE_INITPASSWORD'


11-Dec-2005


DeletePassword

DeletePassword


By using this method, you can delete the entry for an employee from the table BAPIUSW01.

Notes

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


11-Dec-2005


Dequeue

Dequeue


You can use the DEQUEUE method to unlock an employee so that the records stored for this person can be accessed.

If an employee is locked using the ENQUEUE method, the user who set thelock can access this employee's records. Other users are denied access to these records.


The DEQUEUE method removes the lock.

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 parameter documentation.


For more information on the ENQUEUE method, read the documentation on the function module BAPI_EMPLOYEE_ENQUEUE.


11-Dec-2005


Enqueue

Enqueue


You can use this method to lock an employee so that the records stored for this person cannot be accessed.

When an employee is locked, only the user who has set the lock canaccess the records for this employee. Other users are denied access.

Only when an employee is locked for other users, can his/her records be
maintained (created, changed, deleted, copied) by the person who has set the lock.

Example:

An employee's address must be changed.

  • The employee is locked using the ENQUEUE method.
  • The following methods of the Addresses infotype (0006) are then called in the order given:

  • GETLIST: overview of all existing infotype records
  • GETDETAIL: selection of the required infotype record
  • CHANGE: maintenance of the selected infotype record

  • Finally, the employee is unlocked using the DEQUEUE method.
  • Notes

    Messages are transferred to the RETURN parameter. The relevantparameter documentation contains the return values and their meanings.

    For more information on the DEQUEUE method, read the documentation on the function module BAPI_EMPLOYEE_DEQUEUE.


    11-Dec-2005


    ExistenceCheck

    ExistenceCheck


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

    Notes

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


    11-Dec-2005


    Find

    Find


    No document is available


    11-Dec-2005


    FindWithoutDialog

    FindWithoutDialog


    No document is available


    11-Dec-2005


    GetList

    GetList


    This method provides data on the employees that fulfil the specifiedsearch criteria (information such as: Organizational assignment,personal data, internal control, communication, document from optical archive).

    The system only displays those employees that fulfil the selection criteria.


    If you do not enter any restriction conditions, then the selection will not take place.

    Notes

    You can use feature AROBJ to control which document type is read from the optical archive.

    The import parameters for selection per organizational units, jobs and positions (ORG_SEARK, JOB_SEARK
    , POS_SEARK) are only supported if integration between PA and PD is active. If theintegration is not active, then the relevant return code will inform you of this.

    The import parameters FNAMK, LNAMK, FNAMR, LNAMR
    are only of relevance for Japan.

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


    11-Dec-2005


    GetPassword

    GetPassword


    You can use this method to read status information for an employee from the table BAPIUSW01.

    Notes

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


    11-Dec-2005


    InitPassword

    InitPassword


    You can use this method to initialize a password for an employee. Aninitial password is returned. The password is stored in the central table BAPIUSW01 in encrypted form.

    Notes

    Messages are given in the parameter RETURN. The parameter
    documentation contains the return codes and their meanings.


    11-Dec-2005