Sapass

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



Index

EmployeePersDataMY

EmployeePersDataMY


The business object Employee Personal Data - MY refers to
personal information supplied by an employee to the employer.



Structure


Employee Personal Data - MY consists of personal information related to the employee.


11-Dec-2005


Methods

Available Methods


  • Change : Change personal data [ BAPI_PERSDATAMY_CHANGE ]
  • Create : Create personal data [ BAPI_PERSDATAMY_CREATE ]
  • CreateSuccessor : Create subs.personal data record [ BAPI_PERSDATAMY_CREATESUCCESOR ]
  • Getdetail : Read personal data [ BAPI_PERSDATAMY_GETDETAIL ]
  • Getdetaillist : Read instances with data [ BAPI_PERSDATAMY_GETDETAILLIST ]
  • SimulateCreation : Simulation: Create personal data [ BAPI_PERSDATAMY_SIMULATECREATN ]

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


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


Getdetaillist

Getdetaillist


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


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