Help ! OM Infotype Update Error

We were trying to update the OM infotype using the RH_UPDATE_INFTY function module. But we are getting an exceptional error - 'ERROR DURING UPDATE'. Please help us on this.
The process which we used is.. Select the existing infotype record (IT 1029) and make modifications in some of the fields and pass the updated record to the FM.

Hi Radha,
Instead of  going for RH_UPDATE_INFTY, you can go for the function module HR_INFOTYPE_OPERATION.
Before using this function module you need to LOCK using ENQUEUE_EPPRELE, so that no other person cannot make any changes to that infotype.
After the changes, you must UNLOCK the infotype using DEQUEUE_EPPRELE.
Sample:
CALL FUNCTION 'ENQUEUE_EPPRELE'
EXPORTING
pernr = wa_hrrecord-pernr
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
IF sy-subrc EQ 0.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = '0015'
NUMBER = P0015-PERNR
SUBTYPE = P0015-SUBTY
OBJECTID = P0015-OBJPS
LOCKINDICATOR = P0015-SPRPS
VALIDITYEND = P0015-ENDDA
VALIDITYBEGIN = P0015-BEGDA
RECORDNUMBER = P0015-SEQNR
RECORD = P0015
OPERATION = 'INS'
TCLAS = 'A'
DIALOG_MODE = '0'
IMPORTING
RETURN = RETURN
KEY = KEY.
CALL FUNCTION 'DEQUEUE_EPPRELE'
EXPORTING
pernr = wa_hrrecord-pernr.
ENDIF.
ENDLOOP.
Regards,
Chandra Sekhar

Similar Messages

  • Help with installing update error 0x80004005(-2147467259)

    Hi,
    We deployed a task sequence to all our servers and many of them are failing with the error "Error: 0x80004005(-2147467259)" I am not sure what this error means? Also is the a sccm log I can check for more details on this? TIA

    Start with the WUAHandler.log on the client. For a complete list of software update related log files see:
    http://technet.microsoft.com/en-us/library/hh427342.aspx#BKMK_SU_NAPLog
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Help please itunes update error

    now when i try to install on my iphone the latest iphone software i get an error (9) what i have to do ?

    This solved my question !
    Thanks a lot joerg.waldner
    Greets from Paris
    joerg.waldner wrote:
    Hi, I downloaded it direct from http://www.apple.com/itunes/download/ and it was no problem!
    Greets from Austria!

  • HCM process & Forms - Need logic to handle the Error's when Infotype Update

    Hi Experts,
    Currently im working with HCM process and forms workflow's. I have ten HCM workflow's and everything is working fine.
    Now the issue is, at the time of save, if there is any error like infotype lock or any other Master data error's, then the standard task responsible for save the data, returns the Status as Error.
    Already the approval process for the request is carried out, and it can not be make it again. So I need to save the data without re execution of the process or without re-approval.
    I searched in standard workflow also. There is no option to handle the Infotype update Error's.
    So can any one give me some hint about this? Without the re-initiation i need to save the data's.
    Thanks for your time and Suggestions.

    If you are using the framework to update specific infotypes and they are locked for "no apparent" reason you'll want to open an SAP message.  I would highly discourage you from going down the path of calling that FM, from within workflow no less.  Workflow in the framework was not intended to do such operations, this is supposed to be handled in the decoupled infotype framework (through configuration)... not to mention you won't be using the dec. infty framework by calling that function.
    While I've had to do this before, it was because of a limitation in the framework not something as trivial as a locked infotype.  Who knows, it might actually be locked for a legitimate reason?
    Andy

  • Windows Update Error Code 80072F8F! I Did All The Steps And Will Not Fix Please HELP?

    No one seems they can not help me fix this error code I did many things and not one person has really
    helped me, I have a question at another forum but all they do is just ask me questions tell me steps to fix this but nothing worked at all, This happened on 8/30/2014 and ever since no one can help me fix this at all....I have no money to pay for the fix...I
    am on very very low limited disability income, No credit cards nothing. I need help now I paid a lot of money for my Windows 7 Ultimate and now since 8/30/2014 I got that error code no one has helped me....PLEASE help me please....And I am not sure where to
    go for help here thank you. I have done many things but nothing is fixing this issue. please help...And yes I did the clock and clock keeps perfect time, doing that clock did not fix this error code at all...

    Hi Angelsims,
    First I also want to get more information from you to help us to troubleshhot:
    1.Did this error occur on a single update or multiple updates? please also post the update name in issue.
    2.Please also post the steps you have followed to fix this issue.
    In addition, please try to use the general steps to troubleshoot the windows update issue, and refer to the steps below:
    The following outlines how to stop services pertaining to Windows Update, rename system folders, register related DLL files, and then restart the previously mentioned services. This troubleshooting generally applies to all Windows Update related issues.
     Stopping services pertaining to Windows Update
    1.     Click Start, click All Programs, click Accessories, right-click Command Prompt, and select Run as Administrator.
    2.     If you receive a notification from User Account Control simply click Continue.
    3.     At the command prompt, type the following, commands and then press ENTER after each command.
            net stop wuauserv
            net stop bits
            net stop cryptsvc
     Please do not close the Command Prompt window.
     Renaming folders pertaining to Windows Update
    1.     At the command prompt, type the following commands, and then press Enter after each command:
    2.     ren %systemroot%\System32\Catroot2 Catroot2.old
    3.     ren %systemroot%\SoftwareDistribution SoftwareDistribution.old
    4.     Please do not close the Command Prompt window.
     Registering DLL’s pertaining to Windows Update
    1.     Please copy and paste the following text into a new Notepad document, and save the file as WindowsUpdate.BAT
    2.     If saved correctly the icon will change from a Notepad file to BAT file which has two blue cogs as its     icon.
                                           -or-
    3.     You can manually type each command at the command prompt:
             regsvr32 c:\windows\system32\vbscript.dll /s
             regsvr32 c:\windows\system32\mshtml.dll /s
             regsvr32 c:\windows\system32\msjava.dll /s
             regsvr32 c:\windows\system32\jscript.dll /s
             regsvr32 c:\windows\system32\msxml.dll /s
             regsvr32 c:\windows\system32\actxprxy.dll /s
             regsvr32 c:\windows\system32\shdocvw.dll /s
             regsvr32 wuapi.dll /s
             regsvr32 wuaueng1.dll /s
             regsvr32 wuaueng.dll /s
            regsvr32 wucltui.dll /s
             regsvr32 wups2.dll /s
             regsvr32 wups.dll /s
             regsvr32 wuweb.dll /s
             regsvr32 Softpub.dll /s
            regsvr32 Mssip32.dll /s
             regsvr32 Initpki.dll /s
             regsvr32 softpub.dll /s
             regsvr32 wintrust.dll /s
             regsvr32 initpki.dll /s
            regsvr32 dssenh.dll /s
            regsvr32 rsaenh.dll /s
             regsvr32 gpkcsp.dll /s
             regsvr32 sccbase.dll /s
             regsvr32 slbcsp.dll /s
             regsvr32 cryptdlg.dll /s
             regsvr32 Urlmon.dll /s
             regsvr32 Shdocvw.dll /s
             regsvr32 Msjava.dll /s
             regsvr32 Actxprxy.dll /s
             regsvr32 Oleaut32.dll /s
            regsvr32 Mshtml.dll /s
             regsvr32 msxml.dll /s
             regsvr32 msxml2.dll /s
             regsvr32 msxml3.dll /s
             regsvr32 Browseui.dll /s
             regsvr32 shell32.dll /s
             regsvr32 wuapi.dll /s
             regsvr32 wuaueng.dll /s
             regsvr32 wuaueng1.dll /s
             regsvr32 wucltui.dll /s
             regsvr32 wups.dll /s
             regsvr32 wuweb.dll /s
             regsvr32 jscript.dll /s
             regsvr32 atl.dll /s
             regsvr32 Mssip32.dll /s 
     Restarting services pertaining to Windows Update
    1.     Click Start, click All Programs, click Accessories, right-click Command Prompt, and select Run as Administrator.
    2.     If you receive a notification from User Account Control simply click Continue.
    3.     At the command prompt, type the following, commands and then
    press ENTER after each command.
            net start wuauserv
            net start bits
            net start cryptsvc
             exit
    Please try the steps above, if the step failed, please post the error or failure information.
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang       

  • While updating my iphone 3gs i always get a message that an error occured downloading iOS 5.1.1. plz help me, while updating my iphone 3gs i always get a message that an error occured downloading iOS 5.1.1. plz help me

    while updating my iphone 3gs i always get a message that an error occured downloading iOS 5.1.1. plz help me, while updating my iphone 3gs i always get a message that an error occured downloading iOS 5.1.1. plz help me

    We dont know yet if he is doing it from the phone itself!
    If you do from the phone try from iTunes and vice versa.

  • WINDOWS UPDATE ERROR, SERVICE ERROR, ETC. PLEASE HELP!!

    Problems Found:
    Some security settings are missing or have been changed. 
    Service registration is missing or corrupt
    Windows Update Error 0x80070057(2014-07-16-T-03_16_19P)
    Problems installing recent updates 
    I have literally tried everything I can and its just getting even more upsetting :(
    Im running an ASUS w/ Windows 8.1 and cannot find the solution for the following....
    It seems to me, like I have never gotten any updates that I need... only download it gives me is the windows defender update. I've tried resetting the windows update did a health scan no bad sectors. 
    PLEASE HELP!

    Problems Found:
    Some security settings are missing or have been changed. 
    Service registration is missing or corrupt
    Windows Update Error 0x80070057(2014-07-16-T-03_16_19P)
    Problems installing recent updates 
    I have literally tried everything I can and its just getting even more upsetting :(
    Im running an ASUS w/ Windows 8.1 and cannot find the solution for the following....
    It seems to me, like I have never gotten any updates that I need... only download it gives me is the windows defender update. I've tried resetting the windows update did a health scan no bad sectors. 
    PLEASE HELP!

  • Windows update error code 8e5e0147 help!

    I get the error code 8e5e0147 from windows update while trying to do 8 different updates. ive tried doing different things to fix this that I find online but nothing has help, can someone please help fix this?

    Please review this previous post:
    Cannot install some Windows updates, error code 8e5e0147
    Carey Frisch

  • Apps tab of Creative Cloud desktop helper constantly displays "Download error. press retry or contact customer support". I've quit CC desktop helper, restarted computer, checked network settings, relogged in. Cannot download any new apps or updates. HELP

    Apps tab of Creative Cloud desktop helper constantly displays "Download error. press retry or contact customer support". As well as reloading, I've also quit CC desktop helper, restarted computer, checked network settings, relogged in. Cannot download any new apps or updates. please help.
    System: Mac OSX 10.9.4. 3.4ghz intel core i7, 8gb ram

    Hello,
    Adobe has brought these new links in this matter:
    Troubleshoot Creative Cloud download and install issues and
    App doesn’t open; progress wheel spins continually
    Please have a look there. If necessary and for further questions click through http://helpx.adobe.com/contact.html and if "open" please use chat, I had the best experiences. I quote from Preran: The chat button is activated as soon as there is an agent available to help.
    Good luck!
    Hans-Günter

  • I'am getting an update error when am trying to upgrade to newer version (4.3.2)..the error message content shows that i tunes could not back up the i pod,because the back up was corrupt or not compatible with ipod..can anyone help me out to fix this issue

    I'am getting an update error when am trying to upgrade to newer version (4.3.2)..the error message content shows that i tunes could not back up the i pod,because the back up was corrupt or not compatible with ipod..can anyone help me out to fix this issue

    Hi,
    Try here:  http://support.apple.com/kb/HT1808. 
    Hope this helps! 
    ---likeabird---

  • Please help me tp update my iPhone 5, because after updating to ios 7 I can no longer update and restore my phone? it always error

    please help me to update and restore my iphone 5? beacause after updating to iOS 7, i can no longer updater and restore my phone. it always comes in error

    I'm having the identical problem on my iPhone 4 after upgrading to IOS 7--no ability to update apps or download new apps.  Here is what Apple tech support emailed to me:
    I understand that you are unable to download or update applications after updating iOS7 on your iTunes. I know you must be eager to get this resolved and I will be happy to help you today.
    ... to help you better with this issue I would request you to please try this steps given below to resolve your issue.
    Please follow this steps:
    1) Double tap the home button
    2) Hold down on an icon
    3) Tap the red "X" on iTunes, and the App Store.
    4) Tap Settings > Store > Tap your Apple ID, and choose sign out
    5) Tap Settings
    6) Tap General
    7) Tap Reset
    8) Tap Network Settings
    Once it has been closed with multi-tasking, and you have rebooted the device in the network settings reset, please sign in, and try again. 
      Howevr, if you are facing the same issue than for this issue, you may need to call our AppleCare technical support team. A technical Advisor will be able to tell you about Apple's complimentary and fee-based support. The technical Advisor can also assist you in determining what option might be most helpful to you in this case.
    Mildly amusing that the instructions for force-closing a program are the IOS 6 instructions, which do not work on IOS 7. 
    Otherwise I'm having a little success with this.  Some apps (not all) are updating. It seems that a few more apps update each time I go through the process (close everything, sign out, and either reset or reboot, then go to the app store, sign in and try to update all).  So far it has been a very lengthy, iterative process. 

  • Please i am unable to restore my ipad due to error 3194.The restore process stalls when it gets to the point where the firmwarwe is being updated.error message 3194 comes up.please help me

    please i am unable to restore my ipad due to error 3194.The restore process stalls when it gets to the point where the firmwarwe is being updated.error message 3194 comes up.please help me

    http://support.apple.com/kb/TS3694#error3194 
    Unable to contact the iOS software update server gs.apple.com

  • Help! Installing updates an error occurred now my MacBook Pro will not restart. "Unable to find driver for this platform"

    Help! Installing updates an error occurred now my MacBook Pro will not restart. "Unable to find driver for this platform"

    Did you try more than once? If so:
    Reinstall Lion, Mountain Lion, or Mavericks without erasing drive
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
    Reinstall Mountain Lion or Mavericks
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it is three times faster than wireless.

  • Infotype 9008, Update Error

    Hi all,
      Can any one let me know why ia m getting this error ..
      'Infotype 9008, Update Error'
    Thanks in advance.

    Hi April King,
       I am using the statement 
    CALL TRANSACTION 'PA30' USING tb_bdcdata UPDATE 'S'
      MODE 'N' . "MESSAGES INTO tb_itab.
    Can you please let me know what is the problem ... ??
    thank you

  • IPhone 4 Updating Error (Pls Help)

    When I click on update in itunes to update my iphone 4 it promt me an error message.
    Could someone pls help me thanks.
    Error Message: An unknown error Occured (-23)
    p.s. I had updated my ipad2 with no problems but I am unable to update my iphone 4.

    Waited for a few days then I uninstalled and reinstalled itunes on my laptop and it's work... No more error msg popping out and the updating went smoothly .
    p.s. Yuppie finally able to updated my iphone to iOS5.. 

Maybe you are looking for

  • Strategy to load STXH and STXL to BI

    Hi Experts, What is the strategy to load table stxh and stxl to BI? What is your recommendation? I need the long free text from PO and PR item from ecc to bi. I can get the text from function module read_text. create custom extractor in ECC :  read s

  • Why can't I "save as a word or excel online" within the PDF document

    I can go online and convert a PDF to word but I can't do it within the PDF document. When I first purchase ExportPDF a few weeks ago I was able to do this, now I can't. I get an error that states "File failed to be converted with Adobe ExportPDF". Pl

  • Older MacBook connects to guest netowrk, but not main

    I recently set up a home network with the newest model Airport Extreme. I've set it up with a home network, as well as a guest network. It has been working flawlessly, with one exception. My older MacBook (3yrs old, white) had been connecting to my m

  • Where Can I find and download GOOGLE READER for NO...

    Hi Dear Friends, Do you know Where Can I find and download GOOGLE READER for NOKIA E72? Thank you

  • SQl engine service account in different trusted domain from server?

    Is it possible to use an SQL service account from a different, but still trusted, domain than the one to which the server is joined?  If so, are there any nonstandard configuration settings I need to use? I've got this setup running, but when I try t