Sapass

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



Index

EmployeePersonalData

EmployeePersonalData


Definition


The Employee personal data international business object
contains the personal data used to identify an employee.


Use


Information about the personal data is stored in the Personal Data infotype (0002) in Personnel Administration.


The following data, for example, can be stored there:


  • Last name

  • Birth name

  • First name

  • Known as

  • Birth date

  • Birthplace

  • ...

  • Integration


    The inherited business object is Employee personal data (abstract).


    11-Dec-2005


    Methods

    Available Methods


    • Change : Change personal data [ BAPI_PERSDATA_CHANGE ]
    • Create : Create personal data [ BAPI_PERSDATA_CREATE ]
    • Createsuccessor : Create subs.personal data record [ BAPI_PERSDATA_CREATESUCCESSOR ]
    • Delete : Delete personal data [ BAPI_PERSDATA_DELETE ]
    • Delimit : Delimit personal data validity period [ BAPI_PERSDATA_DELIMIT ]
    • Getdetail : Read personal data [ BAPI_PERSDATA_GETDETAIL ]
    • Getdetailedlist : Read instances with data [ BAPI_PERSDATA_GETDETAILEDLIST ]
    • Getlist : Read instances [ BAPI_PERSDATA_GETLIST ]
    • Simulatecreation : Simulation: Create personal data [ BAPI_PERSDATA_SIMULATECREATION ]

    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 infotype Personal Data (0002), which fall withinthe 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