Skip to Content
author's profile photo Former Member
Former Member

Advantages of 'HR_INFOTYPE_OPERATION' Function Module In ABAP-HR

HI Experts,

What are the Advantages of 'HR_INFOTYPE_OPERATION' Function Module In ABAP-HR rather than BDC Both methods?

Thanks in Advance.

Naveen

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2007 at 07:19 AM

    Hi

    The function module 'HR_INFOTYPE_OPERATION' can be used to update,insert,modify,delete and change in the same function module.

    Codings are also very simple there by calling this FM in case of conversion program.

    Performance is also good when compared to session method.

    Speedy performance in conversion programming.

    The sample codings is given.

    CALL FUNCTION 'HR_INFOTYPE_OPERATION'

    EXPORTING

    INFTY = '0009'

    NUMBER = EMPLOYEENUMBER

    SUBTYPE = SUBTYPE

    OBJECTID = OBJECTID

    LOCKINDICATOR = LOCKINDICATOR

    VALIDITYEND = VALIDITYEND

    VALIDITYBEGIN = VALIDITYBEGIN

    RECORDNUMBER = RECORDNUMBER

    RECORD = P0009

    <b>OPERATION = CHANGE </b>

    NOCOMMIT = NOCOMMIT

    There by changing the operation field into "INSS","MOD","DEL" alone we can do conversion program easily.

    Then if no commit ='X' then it does't get updated in database so that it will be easy for us to check whther the fields get updated properly in database.

    If no commit = ' ' then the possible fields get updated in database.

    Thanks,

    Sakthi.

    * Rewards if usefull *

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.