Sapass

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



Index

EmployeeFamilyJP

EmployeeFamilyJP


The business object Employee Family/related person- JP is
information supplied by an employee to the employer about the employee's family and related person data.

This information is used to represent static information and dependent
information for the employee's family and related person data.


Structure


Employee Family/related person- JP consists of several pieces of information including the type of family member (spouse, child,
guardian. related person) and the family data itself.


  • Family member's name (first name, last name)

  • Family member's birth data (date of birth, place of birth, nationality).

  • Family member's dependency status (dependent (tax), deduction for age
    group (fam. members), deduction for handicapped family member etc).

  • 11-Dec-2005


    Methods

    Available Methods


    • Approve : Unlock family details [ BAPI_FAMILY_APPROVE ]
    • Change : Change family data [ BAPI_FAMILYJP_CHANGE ]
    • Create : Create family data [ BAPI_FAMILYJP_CREATE ]
    • Createsuccessor : Create subsequent family record [ BAPI_FAMILYJP_CREATESUCCESSOR ]
    • Delete : Delete family data [ BAPI_FAMILY_DELETE ]
    • Delimit : Delimit family record [ BAPI_FAMILY_DELIMIT ]
    • Getdetail : Display family data [ BAPI_FAMILYJP_GETDETAIL ]
    • Getdetailedlist : Getdetailedlist [ BAPI_FAMILYJP_GETDETAILEDLIST ]
    • Getlist : Read instances [ BAPI_FAMILY_GETLIST ]
    • Request : Create locked family record [ BAPI_FAMILYJP_REQUEST ]
    • Simulatecreation : Simulation: Create family [ BAPI_FAMILYJP_SIMULATECREATION ]

    11-Dec-2005


    Approve

    Approve


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

    It enables you to implement the "double verification principle" inconjunction with the REQUEST 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 REQUEST method, read the documentation on the function module BAPI_FAMILY_REQUEST.


    11-Dec-2005


    Change

    Change


    You can use this method to change a Family/Related Person record (0021 & 0148) for an employee in Japan.

    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.

    Further Information

    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 & 0148) for an employee in Japan.

    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.

    Further Information

    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 Family/Related Person record (0021 and 0148) for an employee in Japan.

    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.

    Further Information

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

    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 Family/related person infotype (0021).

    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 this 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 Family/Related Person record (0021 & 0148) for an employee in Japan.

    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


    You can use this method to read Family/Related Person records (0021 & 0148) for an employee in Japan.

    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


    Getlist

    Getlist


    You can use this method to read the keys (instances) of Family/ Related Person records (0021) 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


    Request

    Request


    You can use this method to create a locked Family/Related Person record (0021 and 0148) for an employee in Japan.

    It enables you to implement the "double verification principle" inconjunction with the APPROVE method. According to this principle, at
    least two users must take part in writing an active record to thedatabase. 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 relevant
    parameter 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.


    Further Information

    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 create a locked Family/Related Person record (0021 and 0148) for an employee in Japan.

    It enables you to implement the "double verification principle" inconjunction with the APPROVE method. According to this principle, at
    least two users must take part in writing an active record to thedatabase. 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 relevant
    parameter 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.


    Further Information

    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