Uploading data to OM infotypes

Hi,
Can anyone pls let me know what is the best method to upload data into infotyp hrp1051 its an OM infotype.
AS per my search i understood PA infotype can be uploaded with HR_MAINTAIN_MASTERDATA.
Here my doubt is Can OM infotypes also be updated using this FM or we need to go for BDC,LSMW.
Thanks.

HI Salini
There are various FMs available for this purpose..
If u directly insert, update or modify record in OM Infotpye Tables then some related table might not be updated..
So use FMs..
RH_COPY_INFTY
RH_CUT_INFTY
RH_DELETE_INFTY
RH_INSERT_INFTY
RH_INVERT_RELA_INFTY
RH_UPDATE_INFTY
For IT 1001
RH_CUT_INFTY_1001_EXT
RH_CUT_INFTY_1001_EXT_GENERIC
RH_DELETE_INFTY_1001_EXT
RH_DEL_INFTY_1001_EXT_GENERIC
RH_INSERT_INFTY_1001_EXT
RH_UPDATE_INFTY_1001_EXT
RH_BASE_READ_INFTY_1001
RH_READ_INFTY_1001
RH_READ_INFTY_1001_EXT
RH_READ_INFTY_1001_EXT_ONLY
Hope this helps.
Harsh

Similar Messages

  • How to upload data for custom infotype

    Hi  Friends
    Can we use HR_INFOTYPE_OPERATIONS   FM  for custom infotype too  or is there other way or other Standard FM to upload data for custom infotype  starting with 9000..etc.
    Points will be there for sure.
    Thanks
    Meeta & Roopa

    Thanks for quick response.
    my qns is can we use Standard FM like HR_INFOTYPE_OPERATIONS  for custom infotype too ?
    in my requirment  input will come from portal form and in background  Java Wd is going to use these FM  but i have this big  doubt can we use these standard FM for  uploading data in custom infotype as well or else is there any other way.. but for sure we can't use BDC and LSMW in this requirement .
    Thanks Meeta & Roopa

  • Uploading data into Time Infotypes

    Dear All,
    I have a requirement wherein I need to upload data into time infotypes from an external source(file). The data is required to be uploaded into the relevant infotypes based on the content(attendance, absence etc.)
    Can you please suggest a generic way of uploading data into time infotypes.
    Thanks in advance,
    Sujit.

    Hi Sujit
    You can either create a BDC report to upload the data or use FM HR_INFOTYPE_OPERATION to upload the infotype in your report

  • Uploading data in standard infotype for many pernrs.

    how to upload data for many pernrs through a single fm in a standard infotype ????
    please help me...

    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
          EXPORTING
            INFTY                  = '2010'
            NUMBER                 = P2010-pernr "wa_ot_calc-pernr
            VALIDITYEND            = P2010-endda "wa_ot_calc-zotdate
            VALIDITYBEGIN          = P2010-begda "wa_ot_calc-zotdate
            RECORD                 = P2010
            OPERATION              = 'INS'
            DIALOG_MODE            = '0'
            NOCOMMIT               = 'X'
         IMPORTING
            RETURN                 = BAPISUBRC.
        IF SY-SUBRC <> 0 OR
           NOT BAPISUBRC IS INITIAL.
          MESSAGE ID  BAPISUBRC-ID
                TYPE  BAPISUBRC-TYPE
              NUMBER  BAPISUBRC-NUMBER
                WITH  BAPISUBRC-MESSAGE_V1
                      BAPISUBRC-MESSAGE_V2
                      BAPISUBRC-MESSAGE_V3
                      BAPISUBRC-MESSAGE_V4.
        ENDIF.
    i resolved the error im gettin for table declaration but now d fm is not executing properly
    after execution it gives error message : Enter a Quantity.
    i dont knw frm whr it is coming.........im passin d values to table as:
        MOVE wa_ot_calc-pernr TO P2010-pernr.
        MOVE '1006' TO P2010-subty.
        MOVE wa_ot_calc-zotdate TO P2010-endda.
        MOVE wa_ot_calc-zotdate TO P2010-begda.
        MOVE sy-datum TO P2010-aedtm.
        MOVE sy-uname TO P2010-uname.
        MOVE wa_ot_calc-not_hrs TO P2010-stdaz.
        MOVE '1006' TO P2010-lgart.
    is anythin wrong in this..?

  • How to upload data into an infotype?

    hi all,
       I have upload the data from an text file into infotye IT0169. for this i have to i have used HR_Maintain_Masterdata. Here im able to insert the data but not able to modify the existing records. how can i achieve this. does HR_Maintain_Masterdata not modify or update the existing records if no then is there any other FM?
    another issure is
    In case of insert i have fields like Pernr. begda, endda, subtype , BEN_PCT.
    after the function call all data gets inserted into the fileds of infotype except theBEN_PCT field.
    Can u please provide pointers on this too
    TIA

    hi
    You can modify data using HR_MAINTAIN_MASTERDATA
    Just check the below code. It might help.
    CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
    EXPORTING
    PERNR = NUMBER
    ACTIO = OPERATION
    TCLAS = TCLAS
    BEGDA = VALIDITYBEGIN
    ENDDA = VALIDITYEND
    OBJPS = OBJECTID
    SEQNR = RECORDNUMBER
    SPRPS = LOCKINDICATOR
    SUBTY = SUBTYPE
    WERKS = WERKS
    PERSG = PERSG
    PERSK = PERSK
    LUW_MODE = LUW_MODE
    DIALOG_MODE = DIALOG_MODE
    NO_EXISTENCE_CHECK = 'X'
    NO_ENQUEUE = 'X'
    IMPORTING
    RETURN1 = RETURN
    TABLES
    PROPOSED_VALUES = PROPOSED_VALUES
    MODIFIED_KEYS = MODIFIED_KEYS
    EXCEPTIONS
    OTHERS = 0.
    It has additional import parameters:
    WERKS = WERKS
    PERSG = PERSG
    PERSK = PERSK
    regards
    Nishant Malhotra

  • How to upload data into IT0000 using ABAP-HR program

    Hello,
    I'm required to upload data into multiple infotypes [IT000, 0001, 0002, etc] using single input text file. Can anyone able to guide me, how to upload data into IT0000 using ABAP program ?
    Thanks in advance.
    Regards
    Prabhakar.
    Message was edited by:
            Prabhakara Muthyal

    Example code for HR_MAINTAIN_MASTERDATA to COPY IT0002
    DATA: INT_0002_FINAL TYPE STANDARD TABLE OF PA0002 WITH HEADER LINE.
    DATA: VALUES        LIKE PPROP OCCURS 10 WITH HEADER LINE,
    RETURN        LIKE BAPIRETURN1,.
    LOOP AT INT_0002_FINAL.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-PERNR'.
          VALUES-FVAL  = INT_0002_FINAL-PERNR.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-BEGDA'.
          VALUES-FVAL  = INT_0002_FINAL-BEGDA.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-ENDDA'.
          VALUES-FVAL  = INT_0002_FINAL-ENDDA.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-nachn'.
          VALUES-FVAL  = INT_0002_FINAL-NACHN.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-gblnd'.
          VALUES-FVAL  = INT_0002_FINAL-GBLND.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-vorna'.
          VALUES-FVAL  = INT_0002_FINAL-VORNA.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-rufnm'.
          VALUES-FVAL  = INT_0002_FINAL-RUFNM.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-name2'.
          VALUES-FVAL  = INT_0002_FINAL-NAME2.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-inits'.
          VALUES-FVAL  = INT_0002_FINAL-INITS.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-famst'.
          VALUES-FVAL  = INT_0002_FINAL-FAMST.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-gbdat'.
          VALUES-FVAL  = INT_0002_FINAL-GBDAT.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-sprsl'.
          VALUES-FVAL  = INT_0002_FINAL-SPRSL.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-anzkd'.
          VALUES-FVAL  = INT_0002_FINAL-ANZKD.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-natio'.
          VALUES-FVAL  = INT_0002_FINAL-NATIO.
          APPEND VALUES.
    * maintain master data
          CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
            EXPORTING
              PERNR           = INT_0002_FINAL-PERNR
              ACTIO           = 'COP'
              BEGDA           = INT_0002_FINAL-BEGDA
    *         ENDDA           = INT_0002_FINAL-ENDDA
              SUBTY           = SPACE
              NO_ENQUEUE      = SPACE
              DIALOG_MODE        = '0'
              TCLAS              = 'A'
            IMPORTING
              RETURN1         = RETURN
            TABLES
              PROPOSED_VALUES = VALUES
    *         MODIFIED_KEYS   =
            EXCEPTIONS
              OTHERS          = 1.
          IF RETURN IS INITIAL.
            WRITE:/' Done....'.
          ELSE.
            WRITE:/   RETURN-ID, RETURN-TYPE, RETURN-NUMBER, RETURN-MESSAGE_V1, RETURN-MESSAGE_V2, RETURN-MESSAGE_V3, RETURN-MESSAGE_V4.
          ENDIF.
          CLEAR VALUES.
          REFRESH VALUES.
        ENDLOOP.

  • Uploading data in infotype 0024

    Hi all,
    I want to upload datain infotype 0024 - qualifications tab. Now the issue here is that this infotype contains a table control in which the data is not getting stored in infotype 0024 but some place else instead.
    Please suggest how to tackel the situation using bdc.
    Thanks
    Ribhu

    Ofcourse i need more information - please read this:
    Well please go to  pa30 and try to create a record in Infotype 0024.
    There in the qualifications tab, you cant enter anything - u have to click on the create button below the table control to choose languages - various check boxes for languages.
    Now when I do recording - this step of choosing the languages do not comes up . moreover the fields in the tabstrip for qualification - they are not in the pa0024 table and are stored somewhere else. So even if i use hr_infotype_operation, it do not shows up the fields for qualifiactions tab - like language, profecincey level and dates for various languages.
    Please suggest if you know something.
    Infotype no 0045 is also a similar infotype where the data gets stored at some other place ..... I mean by any chance if u know how to upload data in IT0045, it would be a great help.
    thanks
    Ribhu

  • Problem while uploading data in infotype 2

    Hi All,
    I made BDC to upload required fields in infotype 2. I use text file to upload all the data.
    Currently i have only one record in text file for testing purpose. When i run the report in foreground for that record it goes to the pa30 screen which i have accessed recently. It means if i access pa30 for emp. code 123 then my bdc update the records for emp. code 123 and if i access emp. code 456 after that through pa30 then my program is updating records for emp. code 456.  Can you please tell me why it is happening.
    Thanks.

    Hi,
    In PA30, the field for PERNR on screen, gets default value as per last used PERNR.
    So, in BDC, we should make sure that the screen field is populated by our value from the file. Just check your bdc code, and make sure the field
    RP50G-PERNR
    gets the value from the file.
    Regards,
    Amit Mittal.

  • How to upload data in infotype 0025 (Appraisals)

    I want to make an upload program for infotype 0025 (Appraisals). The program will upload the data in 'Potentials' but I cannot make a recording work in it. Each time the system posts the data into next row and recording does not work since the line number is fixed in recording. There is no + sign to add a row at the top. Can someone please tell me a way to do this or if there is a Function Module that can upload data into infotype 0025.
    Thanks

    Dear Sohaib,
    This upload could not be performed by BDC recording. You will have to make use of around four Appraisal BAPI's to create an entry in Infotype 25(Appraisals). I had the same scenario of uploading appraisal data here at NBP(National Bank of Pakistan). Here is the link for the article i wrote,covering this topic in depth,along with the complete solution:
    http://scn.sap.com/docs/DOC-32084
    If you like this article,kindly flag it as a 'Correct Answer.
    Regards,
    Fahad

  • Uploading data in infotype-0586 and infotype-0587

    Dear Experts,
         Can i use the standard bapi HR_INFOTYPE_OPERATION for uploading data into infotype-0586( sec 80c deduction) and infotype-0587 (pf related).if so what are the parameters to be passed for the upload.
      Please inform if there are any other bapi for the upload process.
    regards,
    Aeroshil Nameirakpam

    Hi,
    yes you can use...HR_INFOTYPE_OPERATION for your purpose.
    in that you should pass....
    INFTY                - infotype number
    NUMBER           --pernr
    SUBTYPE          --subtype of infotype (if applicable)
    VALIDITYEND      -ENDDA
    VALIDITYBEGIN   -BEGDA
    but before you call this FM...make sure that you lock the employee for which you are updating the record and after this FM updates the record for that employee make sure you unlock the employee...
    to lock the pernr ...use FM....HR_EMPLOYEE_ENQUEUE
    and to unlock...use FM...  HR_EMPLOYEE_DEQUEUE
    in both of these FMs you just need to passs PERNR..
    summerizing this...first use...
    HR_EMPLOYEE_ENQUEUE
    then call...HR_INFOTYPE_OPERATION
    and then...
    HR_EMPLOYEE_DEQUEUE
    thats it!
    <b>Reward Points if answer was helpful,</b>
    Regards,
    Tejas

  • Data uploading in Subtypes of Infotypes ( LSMW )

    Hello Friends,
    I am creating LSMW for uploading data in Infotypes 006, 0021 and 0185.
    These Infotypes also includes different subtypes.
    1) Address(006)
        Subtypes : 1 (Permanent Address),   2 (Temporary Address)  and   4 (Emergency Address)
    All the subtypes have same technical field names and same table.
    --> So when I upload data in permanent Address, it is taking same address in temporary and emergency address too.
    2) Family member Details (0021)
         Subtypes : 12 (Mother) ,  11 (Father) and  1 (Spouse)
    --> All the subytpes have a field First name. Its technical name and table is also same for all the subtypes.
         So when I upload data for Mother(12), it takes same name for all the other subtypes.
    3) Personal IDs
         Subtype : 2 (PAN No.)  and   3 (Gratuity)
    So I am facing problem in uploading data in subtypes of Infotypes. Please suggest any solution.
    Thanks & Regards,
    Shivani
    Edited by: Shivaniphogat on Nov 14, 2011 11:25 AM

    In recording of Family Details, it is showing 3 different first names for mother, father and spouse under same technical name (FAVOR).
    But in 3rd step: Maintain source field, we can give a field technical name only once.
    In 5th step: Field mapping, we can do mapping only once because there is only one technical field against which we can map.
    I am facing the same problem for all the fields.

  • Any tool to upload data to Fast entry (pa42) infotype

    Hi all,
    is there any tool like LSMW to upload data for Fast entry actions infotype?
    Regards,

    Hi dear Kavitha,
    U can use S-CAT and BDC for that.
    BDC u can record at transaction code SHDB.
    Make a template for the same and uplaod.
    (ABAPer Help is required fopr BDC though its a small task if u understand the same)

  • Bapi - upload data for infotypes 0016 and 0019

    hello,
    Please let me know bapi to upload data for infotypes 0016 and 0019 as i am unable to find any bapi for this infotypes.
    Please use a more meaningful subject in future - I've edited it for you this time.
    Edited by: Matt on Nov 6, 2008 12:08 PM

    Hi Sunny,
    My suggestion is go txcode BAPI.
    After this in the left side of the window complete information on BAPIs will be available search out in Human resource you may get the BAPI, in the mean while some one may help you.
    Cheers!!
    VEnk@

  • Function Module Error In Uploading Data for Basic Pay Infotype

    Hi All,
    I'm trying to upload data into Basic Pay Infotype 0008 Using LSMW Subtype 0(Basic Contract). While we are trying to input values into ANSAL(Annual Salary) field directly using default wage type as 1000.
    We are gettting a error in function module RP_ANSAL_FROM_WAGETYPES.
    and eventhough we are inputting values into ANSAL field it is taking it as 0.00 by default .
    Kidly suggest me solution.
    Thanks,
    Vasanth

    Hi ..
    check this
    765785
    673372
    730976
    note 1032950
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8d/3e4ec2462a11d189000000e8323d3a/content.htm
    Message was edited by:
            hari kv

  • Query on uploading data into infotype

    Hi,
    I am in search of a method to upload data into infotypes  IT0001,HRP1001.
    I have serached and found we can do it using BDC,LSMW and through Hr_INOFYTPE_OPERATION--fm.
    But in my flat file am having pernr ,begda,endda and supervisor..
    Some of my searches said if i had a pernr in flat file its impossible to do with HR_INFOTYPE_OPERATION.
    CAN ANYONE PLS SUGGEST ME THE BEST WAY TO DO?
    Thanks

    Hi Salini
    Using BDC or LSMW might lead to some inconsistencies.
    Uploading of various infotype data depends upon its volume.
    There is a FM: HR_MAINTAIN_MASTERDATA through which you can upload the data. But this does for one record at a time. So the performance gets affected at times. Before calling this FM each time, clear the buffer using the FM:  'HR_PSBUFFER_INITIALIZE'. This will be of great help.
    Incase you want to upload all your data at once, you can use BAPI_HRMASTER_SAVE_REPL_MULT.
    Let me know incase you need any help in any of these.
    Regards
    Harsh

Maybe you are looking for

  • Noise after printing one document before proceeding to print another

    i am using printer C309a photosmart  and am able to print the document.However, between each printing, some noise come out of the printer sound like some where something is very tight. have checked there is no paper jam and each time document comes o

  • How to use Lightroom in general?

    Hi! I'm new to Lr. I've been using RawShooter for years. I'm trying to use Lr 3, but I keep getting frustrated: from RawShooter, I'm used to the following workflow: 1.) Point to the source directory 2.) Develop images 3.) Pick up developed images fro

  • Trouble installing Adobe Acrobat Pro 11.

    Recently purchased 10 (download) licenses for Adobe Acrobat Pro 11.  During the install, we're getting the following error - "Adobe Reader cannot open acrobat pro 11 because it is not either not a supported file or because the file has been damaged".

  • PSE 5 Organizer resize Media Player

    I use Adobe Photoshop Elements 5.0 with Premiere Elements 3.0 to organize and edit photos and videos. In the Organizer, each time I open a video in the catalog the player is too large - spans from the top blue bar down to UNDERNEATH the blue Toolbar.

  • UNC Share in Class Path

    We are in the process of migrating from CF 6.2 to CF8. In doing so we are going to a NAS share as to centralize our content across our 6 cf servers. We have a cfx that needs to write files to the folder in which it is installed so I need it to be loc