Sapass

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



Index

EmployeeFamilyTW

EmployeeFamilyTW


Definition


The Employee Family/Related Person (TW) business object contains
details about family members and/or additional persons related to an employee.


This business object takes the specific country features of Taiwan into account.


Use


Information about the family members and related persons is stored in
the Family/Related Person infotype (0021/0352) in Personnel Administration. Several family members and related persons can be
assigned to an employee.


Structure


The business object contains several relationship types. The different
types are represented in the individual subtypes of the Family/Related
Person infotype (0021/0352). The following subtypes are delivered in the standard system:


  • Spouse

  • Divorced spouse

  • Child

  • Legal guardian

  • Testator

  • Guardian

  • Stepchild

  • Emergency contact

  • Related persons


  • 11-Dec-2005


    Methods

    Available Methods


    • Approve : Unlock family [ BAPI_FAMILY_APPROVE ]
    • Change : Change family [ BAPI_FAMILYTW_CHANGE ]
    • Create : Create family [ BAPI_FAMILYTW_CREATE ]
    • CreateSuccessor : CreateSuccessor [ BAPI_FAMILYTW_CREATESUCCESSOR ]
    • Delete : Delete Family [ BAPI_FAMILY_DELETE ]
    • GetDetail : GetDetail [ BAPI_FAMILYTW_GETDETAIL ]
    • GetDetailedList : GetDetailedList [ BAPI_FAMILYTW_GETDETAILEDLIST ]
    • GetList : Read Instances [ BAPI_FAMILY_GETLIST ]
    • Request : Request [ BAPI_FAMILYTW_REQUEST ]
    • SimulateCreation : SimulateCreation [ BAPI_FAMILYTW_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 & 0352) for an employee in Taiwan.

    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 & 0352) for an employee in Taiwan.

    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 0352) for an employee in Taiwan.

    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


    GetDetail

    GetDetail


    You can use this method to read a Family/Related Person record (0021 & 0352) for an employee in Taiwan.

    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 & 0352) for an employee in Taiwan.

    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 0352) for an employee in Taiwan.

    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 simulate the creation of Family/Related Person Records (0021 and 0352) for an employee in Taiwan.

    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 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