×

[PR]この広告は3ヶ月以上更新がないため表示されています。
ホームページを更新後24時間以内に表示されなくなります。




Sapass

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



Index

EmployeeFamilyHK

EmployeeFamilyHK


The business object Employee Family/Related Person - HK contains
details about an employee's family members and persons related to an employee.


Information about the family members and related persons is stored in the Family/Related Person infotype (0021).


More than one family member and related person can be assigned to an employee.


Structure


Employee Family/Related Person - HK contains the following
pieces of information about the family member or related person:


  • Type of family member/related person (for example, Spouse, Child, Legal Guardian and Related Persons)

  • Name (first name, last name)

  • Birth data (date of birth, place of birth, nationality)

  • Additional data (educational as well as occupational information)

  • 11-Dec-2005


    Methods

    Available Methods


    • Approve : Unlock family [ BAPI_FAMILY_APPROVE ]
    • Change : Family Hong Kong: Change record [ BAPI_FAMILYHK_CHANGE ]
    • Create : Family Hong Kong: Create record [ BAPI_FAMILYHK_CREATE ]
    • CreateSuccessor : Family Hong Kong: Create succeeding record [ BAPI_FAMILYHK_CREATESUCCESSOR ]
    • Delete : Delete Family [ BAPI_FAMILY_DELETE ]
    • GetDetail : Family Hong Kong: Read record [ BAPI_FAMILYHK_GETDETAIL ]
    • GetDetailedList : Family Hong Kong: Read instances with record [ BAPI_FAMILYHK_GETDETAILEDLIST ]
    • GetList : Read Instances [ BAPI_FAMILY_GETLIST ]
    • Request : Family Hong Kong: Create locked record [ BAPI_FAMILYHK_REQUEST ]
    • SimulateCreation : Family Hong Kong: Simulate Create record [ BAPI_FAMILYHK_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 & 0344) for an employee in Hong kong.

    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 & 0344) for an employee in Hong Kong.

    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 0344) for an employee in Hong kong.

    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 & 0344) for an employee in Hong Kong.

    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 & 0344) for an employee.

    Notes

    Messages are returned in 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 0344) for an employee in Hong Kong.

    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 0344) for an employee in Hong kong.

    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