Skip to Content
author's profile photo
Former Member

How to update an infotype using interface

Hi i want to make an inbound interface that accepts a file and update IT0014 for wage type 6000.

Please give some example interface.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Posted on Jul 23, 2007 at 10:31 AM

    Write a program to load the fle into an itab.. loop at the itab & call the function module HR_INFOTYPE_OPERATION inside this loop to update the infotype.

    ~Suresh

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Jul 23, 2007 at 10:44 AM

    Hello

    if you are uploading text files in foreground mode then you can use FM: GUI_UPLOAD to upload data in internal table. pass table of structure same as file structure.

    then within loop you can use HR_INFOTYPE_OPERATION to update IT-14.

    reward points if helpful

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Jul 23, 2007 at 11:32 AM

    Hi,

    If you are uplaoding the data from

    Presentation Server -Use FM 'GUI_UPLOAD'

    Application Server - OPEN DATASET,READ DATASET

    And get it into internal tabvle say itab.

    Loop at itab.

    Pass the record to FM -HR_INFOTYPE_OPERATION,

    Pass parameters

    infty = '0014'

    number = lemployeenumber

    validityend = End Date

    validitybegin = Begin Date

    record = itab(record -Structure p0014)

    operation = Operation (INS)

    Endloop.

    Regards,

    Manoj.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Manoj Kumar,

      Good its ok but for every updations in all infotypes from 0000 to 9999 for all fields in each infotype i need to update my customised table.

      what are the possibilities by ABAP Object or Dynamic selection or any other Wok flow .

      Please advice me with example.

      Thanks,

      Hari