Sapass

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



Index

EmployeeFamilyMY

EmployeeFamilyMY


The business object Family - MY refers to information
supplied by an employee to the employer about the employee's family.



Structure


Family - MY consists of information related to employee's spouse, children and other relatives.


11-Dec-2005


Methods

Available Methods


  • Change : Change Family [ BAPI_FAMILYMY_CHANGE ]
  • Create : Create Family [ BAPI_FAMILYMY_CREATE ]
  • Createsuccessor : Create subsequent family record [ BAPI_FAMILYMY_CREATESUCCESSOR ]
  • Getdetail : Read family [ BAPI_FAMILYMY_GETDETAIL ]
  • Getdetailedlist : Read instances with data [ BAPI_FAMILYMY_GETDETAILEDLIST ]
  • Request : Create locked family record [ BAPI_FAMILYMY_REQUEST ]
  • Simulatecreation : Simulation: Create family [ BAPI_FAMILYMY_SIMULATECREATION ]

11-Dec-2005


Change

Change


You can use this method to change a Family/Related Person record (0021 & 0213).

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 Family/Related Person record (0021 & 0213).

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 Family/Related Person record (0021 & 0213).

Example:

An employee's husband has just received his Ph.D. A Family/ Related Person record (0021 & 0213) already exists for the period from 01/01/1990 to 12/31/1999.


You can use the CREATESUCCESSOR method to create a subsequent Family/Related Person record. The subsequent record contains the data of the previous record, only the husband's new title still has tobe entered in the Title 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 Family/Related Person record (0021 & 0213).

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


Using this method, the data records of the Family/Related Personinfotype (0021 & 0213) that come within the given time interval can be read.

Notes

Messages are returned to the RETURN parameter. In this parameterdocumentation you will find the return values and their definitions.


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


11-Dec-2005


Request

Request


You can use this method to create a locked Family/Related Person record (0021 & 0213).

It enables you to implement the "double verification principle" inconjunction with the APPROVE method. According to this principle, atleast two users must take part in writing an active record to the
database. One user creates a locked record using the REQUEST method.The other user unlocks or 'activates' this record using the APPROVE method.

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.


For more information on the APPROVE method, read the documentation on the function module BAPI_FAMILY_APPROVE.


11-Dec-2005


Simulatecreation

Simulatecreation


You can use this method to simulate creation of a Family/Related Person record (0021 & 0213).

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