INFOTYPE 0001 UPDATION

I HAVE ENHANCED INFOTYPE 0001. NOW I WANT TO UPDATE THOSE FIELDS. IS THERE ANY BAPI which will update the infotype 001.
please help me.

Hi umesh,
1. There is on FM
   HR_INFOTYPE_OPERATION
2. But its not RFC Enabled (as u want)
3. U can make another Z FM (RFC Enabled )
   and use this FM inside it.
regards,
amit m.

Similar Messages

  • Cost center (KOSTL) is not updating in HR master table for infotype 0001

    Hi ABAP gurus,
    We have one interface where we are posting the HR master data using the IDOC (IDOC_INPUT_HRMD) into SAP.
    While updating cost center, We have one issue regarding infotype 0001.
    It is working fine for all the fields except: KOSTL, ORGEH, STELL.  Surprisingly the created IDOC contains the value in these fields but it is not getting updated in master table PA0001. I have tryied inserting the value manually and it is working fine and tried with BDC Programming and no issues. Only we have this issue while we want to use the IDOC. This is mandatory in our interface.
    While debugging the IDOC function module I found that one condition is there for these three fields.
    CHECK NOT inte IS INITIAL. where inte value is being fetched from table t77s0 based on
    GRPID = PLOGI
    SEMID = ORGA
    In this condition I see no value for this combination and hence it is not getting further. I am not sure how this condition does exist for only these three fields and not for others.
    Can any please provide the reasona and solution for this.
    Appreciate the help in advance.
    Thanks,
    Jitender

    Dear Mohan,
    Try assigning your cost center to position it will default both your org unit and cost center.
    Cheers!

  • Using FM HR_INFOTYPE_OPERATION to update infotype 0001.

    We're using FM HR_INFOTYPE_OPERATION to update the infotype 0001 (Organisation). We basically have the Cost center field grayed out on the entry screen so can not update it via BDC, which the cirrent method that we use to create new employees, based on data passed in from a third party system. When then attempt to update the employee record (using Copy) and the FM mentioned.
    We first get the details of the infotype using FM HR_INFOTYPE_GETDETAIL, and this work perfectly, returning all the information required. We the update the structure returned by the RECORD parameter and then use the FM HR_INFOTYPE_OPERATION, like so:
        call function 'HR_INFOTYPE_OPERATION'      
          exporting                                
             infty         =  '0001'               
             number        =  gs_p0001-pernr  
             SUBTYPE       =                       
             OBJECTID      =                       
             lockindicator = 'X'                   
             validityend   = '99991231'            
             validitybegin = gs_p0001-einda   
             RECORDNUMBER  = '001'                 
             record        = gs_p0001             
             operation     = 'COP'   
             nocommit      = 'X'             
       importing                           
        return        = gt_bapireturn1   
        key           = gs_bapipakey     
    exceptions                          
        others        = 1.            
    However, we receiving an error in the gt_bapireturn1 itab basically giving the error PG 184. When I look up the error it basically says that to update this info type we need an exclusive lock, which I would have thought exists when using the LOCKINDICATOR parameter. The previous FM ( HR_INFOTYPE_GETDETAILS) returns blank against the SPRPS fileld (Lock indicator) when reading the infotype data, so it's not previously locked or anything.
    We're using version 4.0b, which I know is pretty old, but surely this update should work.
    Has anyone encountered this problem before, and, do you think I should be able to update this field even though it's grayed out on the screen ?.
    Jason
    Edited by: Jason Stratham on Mar 16, 2010 11:41 AM

    I read that I should be using the enqueue and dequeue FM's despite the LOCKINDICATOR parameter.
    This I have now done, but am now receiving an error PG 428 'A complex application error has occurred', but I'm none the wiser in knowing why this error has occurred. Has anyone encountered this error before?.
    I'm beginning to feel that despite being told that I can use the HT_INFOTYPE_OPERATION  function module it may well purely imitate the front screen processing, which does not allow us to change the cost center value. Is there any way that this might be done. We're on version 4.0b, and I'm sure that in later version there might be a BAPI that almost directly updates it. I guess there's no such method for 4.0b?.
    Jason
    Edited by: Jason Stratham on Mar 16, 2010 12:06 PM

  • Updating InfoType 0001 in ABAP

    Our parent company is passing different begin and end dates from Infotype 0001 to our HR system. In our system an employee would have a start date of 3/1/2005 but our parent company has the same employee in there system as a start date of 1/1/2008. I was looking at using user exit EXIT_SAPLRHA0_003 to capture these and add the parent companies dates into our Infotype 0001 so that there feed doesnt overwrite our original dates. I have attempted to use HR_INFOTYPE_OPERATION with no luck. Any one have a possible way to update InfoType 0001 without using a BDC?

    What exactly is the issue? In any case HR_INFOTYPE_OPERATION in turn calls HR_MAINTAIN_MASTERDATA so you might end up with the same issue with either function call.
    ~Suresh

  • Not able to update organizations units in an infotype 0001

    Iam unable to update organizational units, positions through lsmw in an infotype 0001 if i do manually it is updating in 1infotype.
    Iam trying to run reports rhinteoo still not able to figure it out
    experts share your experience on this

    Ran LSMW Record created successfully for position
    If I see in organizational Assignment Infotype The record is not displaying
    As per your email Iam trying reports to display organizational units for the positions
    RHINTE10
    Done Livrun
    Next step RHINTE20
    My position is not in the list that is 600450
    Executed RHINTE30 I wonder how do we come to know personnel number when we are recording positions and organizational units. Still i checked personnel number in organizational assignment infotype and executed but it is displaying No batch input folder created . Yes we didnt create any batch input for personnel  numbers we created batch input for positions and org units.
    I believe we need to run first two records
    After running above reports i checked in an organizational assignment Infotype . Still data is not updating what would be the cause please let me know

  • [MRS] Conflict in Infotype 0001 between A and S object type

    Hi,
    We use SAP MRS on top of our HR box. (sorry, I am not a SAP MRS expert so bear with me please....)
    As we activated PA-PD integration, whenever a Work Center (otype A) is assigned to an employee (otype P), it updates the Infotype 0001 accordingly (PLANS and OTYPE field) while also inserting a new entry into T528B and T528T tables.
    This is consistent with what the RHINTE30 program does (look at the $plste [S] and Work Center [A]):
    But, the employee is also assigned to a position (otype S)! It makes much more sense to have Position filled in the Infotype 0001 rather than Work Center!!
    Thus, our first approach would be to deactivate PA-PD integration for Work Center (otype A) and only leave it active for Position (otype S).
    Thanks in advance for your help.
    Best regards,
    Guillaume

    Guillaume,
    Has your issue ever been solved?
    Kind regards,
    Lieselot

  • ALE Message type HRMD_A Infotype 0001 is incorrect using PROOF flag = X

    Hi
    We have an issue using HRMD_A for Infotype 0001 with the PROOF flag swithed on. Using the PROOF flag triggers a call of HR_MAINTAIN_MASTERDATA instead of a direct write to db tables. However sometimes the update of Infotype 1 is incomplete and records are lost. The data goes through a transformation in the inbound BAdi, here I have checked the sequence is still correct. But when the data is written to Infotype 1 it seems to overwrite the last entries.
    If anyone has any experience with this, I would be very interested for any input.
    Thanks in advance
    Sonny

    Hi Sandip
    Thx for your response. If I understand you correctly you suggest I use the HR_INFOTYPE_OPERATION. This could be an alternative, but I would prefer to understand the reason behind the error.
    HR_INFOTYPE_OPERATION actually calls HR_MAINTAIN_MASTERDATA, so this FM might not solve the issue, but it does give the option for updating one record at a time.
    Sonny

  • OM infotypes not updated with relatioship.

    Hi Experts,
    I made one LSMW to upload info types 0000 (Actions) and 0001 (Org Assignment) using batch input recording method and successfully updated PA infotypes and verified OM info types 1001 (Relationships) for those positions (S) which I assigned new holders (P).
    But OM not got updated and is not showing the holder in those positions which I executed action.
    Can any tell me why it has not updated OM.
    With regards,
    Chandrasekhar
    Edited by: chandra sekhar on Mar 7, 2009 12:22 PM

    means
    run the RHINTE Reports once
    before check all the records exists or not
    u2022     RHINTE00 - Transfer PA Records To PD Positions. In another world, it creates the HRP1001 between P to S in the OM side of the world. When you view a record via IT0001, you see this person holds the position, however via HRP1001, that relationship isnu2019t so.
    u2022     RHINTE10 - Generates the required relevant tables. (T513 - Jobs, T513S - Jobs, T528B - Positions, T528T - Work Center, T527X - Org Unit
    u2022     RHINTE20 - checks for all objects for integration between PA and OM. This is a big one and will take awhile to run. What it does is look at table T513/T513T - Jobs, T528/T528T - Position, and T528X - Org Unit. It will then compare it against the HRPxxxx table to find missing objects. If there are any missing objects, it will create the record.
    u2022     RHINTE30 - Transfer OM to PA. This will create infotype 0001. If the conversion strategy is to have SAP auto inherit factor to kick in for IT0001, often time jobs and org unit are missing via IT0001 during the inital conversion load. RHINTE30 will find the relationship and push it through IT0001.
    Edited by: Sikindar on Mar 7, 2009 12:34 PM

  • Supervisor name in infotype 0001

    Hi Friends,
    One of my new requirement is show the name supervisor  beside supervisor field in Infotype 0001.This name is based on what ever the employee number is updated in supervisor field.So can any one update the possible to solve this requirement.
    Thanks,
    arjun

    Hello Arjun,
    To fulfill your requirement you need to modify the screen and add the field next to supervisor field.
    Generally modifying SAP standard screens are not recommended. But still we can do that. You need to add a field next to the SUPERVISOR.
    Regards,
    Kiran I

  • Jobs are not in F4 entry in infotype 0001

    Hi all,
    When i am doing F4 in 0001 infotype, all jobs list in infotype 0001 are not comming but all jobs are in table T513
    how can these jobs will come through F4
    regards
    rj

    HI
    SM30, T77S0.
    PLOGI     PRELU     BTCI     Integration: PA update online or batch

  • Infotype 1 update failed

    Hi experts,
    tryin to update Infotype 0001. Sname and Ename fields are not there into PA30 screen of Infotype 0001, But they are present in Pa0001 and p0001 structure.now calling the "HR_INFOTYPE_OPERATION"  Fm And tryin to upload those sname and ename firlds . , But its not updateing. What are the reasons behind that ? Any idea? IS it not possible to upload those fields which are not into the screen ?
    Thanks,
    Jo

    I dont think that you can update SNAME and ENAME like this, because these fields get populated by SAP using VORNA and NACHN from infotype 2.
    If they are not visible or updated then you or functional person can find something in configuration to fix it. Here is a possible route in IMG to look for a change.
    Personnel Management -> Personnel Administration -> Personal Data -> Name Format.

  • PPOME infotype 0001 relation

    When I change the position by PPOM / PPOME for single Person, is not updated infotype 0001, Organizational Assignment, I see it by PA20.
    Although into the table T77S0 is set:
    PLOGI            ORGA                   X     Integration Switch: Organizational Assignment
    PLOGI            PLOGI                  02     Integration Plan Version / Active Plan Version
    The version 02 is active.
    What is missing ?
    Any assistance would be greatly appreciated.
    Thanks.
    Best regards.
    Eric

    Hi Eric,
    >PPOME is Transaction code in OM to maintain structure and IT 0001 is a Infotype in Personnel Administration.
    >There is no direct relationship but, when you maintain Position which is a integration point between OM & PA, it has a direct relationship to both the modules if the integration is active.
    >This issue is because the change what you made in OM is not updated in PA, this is a common issue and as other members already suggested you need to check the integration switches and run reports (RHINTE00, RHINTE10, RHINTE20, RHINTE30) to update the database both in OM & PA.
    Regards
    Chandrashekar

  • Additional field in Infotype 0001

    I manage to add an additional field in the infotype 0001 in Dev client. I have a bit concern when to apply it in the production client.
    Do you have any experience to share on this?

    hi
    test in development server later test in testing server later send it to production server
    nothing to worry
    all the best

  • Query on reading infotype 0001 using the macro rp-provide from last p0001

    Dear Friends,
            I have a question rgarding relating the infotype 0001 when we are using in the program the logical database PNP.
    iam using rp-provide-from-last p0001 space sydatum sydatum
            if pnp-sw-found eq 1.
            append p0001 into i_p0001.
            endif.
    iam getting a problem in production , in the selection screen iam passing for emloyee subgroup with multiple values option.
    i have passed E,H,S  -> where E means Executive , H means hourly and S means salaried employee...
    one particular scneario is iam having an employee whose
    employee subgroup is C (contactor) and on the selection screen if am passing this personnel no and on the selection screen iam only having in the multiple selection option only E,H,S but not C so this record should  should fail but it is getting success and appending to internal table i_p0001
    which is wrong
    , i mean to say the macro is getting success
    rp-provide-from-last p0001 space sydatum sydatum
    this employee .
    my question is will the macro will not check on the selection screen the employee gropu which we have passed and should i exclusively check
    if p0001-persk in pnppersk ?? or please let me knwo how to check this wrong employee not getting appended to my internal table.
    please let me know
    regards
    madhuri

    Hi Madhuri
      The macro rp-provide-from-last p0001 will not fetch data from the database, it simply extracts the last record from the available internal table P0001[]  for the time frame provided(as 3rd and 4th parameters). You can check the definition of the macro from the database table TRMAC, it simply uses the LOOP....ENDLOOP and IF conditions to arrive at the last record and populates the fields pnp-sw-found, pnp-sw-tabix.
        And coming to your problem, please check all the IT0001 records of the EE concerned, it can happen that the EE is attached to different employee subgroups in different time frames and hence the LDB is fetching all the available records of the EE (even if the employee subgroup is not among the one's selected in  the selection screen). If this is the case, I reckon, u've to perform manual check before appending to the internal table.
    Note:  The macro  rp-provide-from-last p0001 space sydatum sydatum will only fetch the valid IT0001record as on date - sy-datum

  • How to Enable Cost Center Field in Infotype 0001

    Dear all my Friends,
    Can anybody please tell me that how to Enable Cost Center Field in Infotype 0001, actually the problem is while hiring the employee the field itself disable and not allowing me to put any CC on that field but which should be enable while hiring or if we intend to change in future through PA30 and after that i thought i can do in Infotype 0027 also but in infotype 27 the field called Master Cost Center field is still disabled which will reflect in 0001 or Vice Versa.
    So friends pls tell me where my configuration is wrong or how will i get enable that field in 0001 infotype so that i calculated the cost of that employee.
    Waiting for ur Reply friends,
    Thanks,
    Prashant.

    Dear Rajesh,
    Thanx for ur Solution and i got the answer, actually i m maintaining through OM and u gave me the exact solution .
    Gr8 job dear. Thanx allot once again
    Thanks,
    Prashant.

Maybe you are looking for