Sapass

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



Index

EmployeePersDataHK

EmployeePersDataHK


The business object Employee Personal data - HK is information
supplied by an employee to the employer about the employee's personal data. This information is used to identify an employee.


Structure


Employee Personal data - HK consists of several pieces of information, including:


  • Employee's name (for example, first name, last name, initials and name at birth)

  • Employee's birth data (for example, date of birth, place of birth and nationality)

  • Employee's status (for example, gender, marital status)

  • 11-Dec-2005


    Methods

    Available Methods


    • Change : Change personal data [ BAPI_PERSDATAHK_CHANGE ]
    • Create : Create personal data [ BAPI_PERSDATAHK_CREATE ]
    • CreateSuccessor : Create subs.personal data record [ BAPI_PERSDATAHK_CREATSUCCESSOR ]
    • Delete : Delete personal data [ BAPI_PERSDATA_DELETE ]
    • Delimit : Delimit [ BAPI_PERSDATA_DELIMIT ]
    • GetDetail : Display personal data [ BAPI_PERSDATAHK_GETDETAIL ]
    • GetDetailedList : Read instances with data [ BAPI_PERSDATAHK_GEDETAILEDLIST ]
    • GetList : Read instances [ BAPI_PERSDATA_GETLIST ]
    • SimulateCreation : Simulation: Create personal data [ BAPI_PERSDATAHK_SIMULACREATION ]

    11-Dec-2005


    Change

    Change


    You can use this method to change a Personal Data record (0002).

    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.


    You can use this method only if you have called the ENQUEUE method of the business object EMPLOYEE beforehand. For more information on the ENQUEUE method, read the documentation on the function module BAPI_EMPLOYEE_ENQUEUE.


    11-Dec-2005


    Create

    Create


    You can use this method to create a Personal Data record (0002).

    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.


    You can use this method only if you have called the ENQUEUE method of the business object EMPLOYEE beforehand. For more information on the ENQUEUE method, read the documentation on the function module BAPI_EMPLOYEE_ENQUEUE.


    11-Dec-2005


    CreateSuccessor

    CreateSuccessor


    You can use this method to create a subsequent Personal Data record (0002).

    Example:

    An employee who, up till now was single, marries. The marital status in the Personal Data record (0002) for the validity period from 01/01/1990 to 12/31/1999 is 'single'.


    You can use the CREATESUCCESSOR method to create a subsequent Personal Data record. The subsequent record contains the data of the previous record, only 'married' still has to be entered in the Marital Status field.

    The previous record is delimited on the start date of the subsequent record.


    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.

    You can use this method only if you have called the ENQUEUE method of the business object EMPLOYEE
    beforehand. For more information on the ENQUEUE method, read the documentation on the function module BAPI_EMPLOYEE_ENQUEUE.


    11-Dec-2005


    Delete

    Delete


    You can use this method to delete a Personal Data record (0002).

    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.


    You can use this method only if you have called the ENQUEUE method of the business object EMPLOYEE beforehand. For more information on the ENQUEUE method, read the documentation on the function module BAPI_EMPLOYEE_ENQUEUE.


    11-Dec-2005


    Delimit

    Delimit


    You can use this method to chronologically delimit a data record for the Personal data infotype (0002).

    Notes

    Messages are returned in the RETURN parameter. The return codes and their meanings are found in this parameter documentation.


    The key fields used by the method are described under the parameters.

    This method can only be used if the ENQUEUE method of the EMPLOYEE business object has been called up first. For more information about the ENQUEUE method, see the documentation of the
    BAPI_EMPLOYEE_ENQUEUE function module.


    11-Dec-2005


    GetDetail

    GetDetail


    You can use this method to read a Personal Data record (0002).

    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.


    11-Dec-2005


    GetDetailedList

    GetDetailedList


    Data records in the Personal Data infotype (0002), which fallwithin the specified time interval, can be read using this method.

    Notes

    Messages are returned in the RETURN parameter. In the documentation forthis parameter, you will find the return code and its meaning.


    The key fields required for this method are described in the parameters.


    11-Dec-2005


    GetList

    GetList


    You can use this method to read the keys (instances) of Personal Data records (0002) which are within the specified time interval.

    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.


    11-Dec-2005


    SimulateCreation

    SimulateCreation


    You can use this method to simulate creation of a Personal Data record (0002).

    During the simulation all necessary consistency checks are performed, but the record is not written to the database.

    Notes

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

    The key fields used by the method are described in the parameter documentation.


    11-Dec-2005