Problem in updation of 2011 infotype(TEVEN)

Hi Gurus,
I had an issue in updating the record in TEVEN table,the approach what im following now is  using function module HR_TMW_DB_UPDATE_TEVENT  to delete the record (it's not deleting the record in table it just setting the flag of STOKZ to 'X') and after that im inserting the record with 'HR_INFOTYPE_OPERATION'.Here im successfully deleteing the old one and inserting the new record.The problem is  PDSNR field is incrementing
when i try to insert the record  with 'HR_INFOTYPE_OPERATION' but i just want to update the old record instead deleting the old one and updating the new one.I dont want to unnecessarily  increase records in TEVEN whenever im updating records in TEVEN.
Please help me with this issue
Thanks,
Hemz

hi volker,
Manually am able to update that field UNPSI.
I have checked the table pa0584 manually updated value is found in the table.
But the value which i have inserted using the FM created an empty record with the field UNSPI having 0 value.
I have given all the fields into the record as same as when it is update dmanually.
I dnt knw why the value is not updating.
  p0584_2-pernr = wd_comp_controller->gv_pernr.
  p0584_2-infty = '0584'.
  p0584_2-subty = '0002'.
  p0584_2-begda = '20100401'.
  p0584_2-endda = '20110331'.
   p0584_2-OBJPS = '01'.
   p0584_2-SPRPS = 'X'.
  p0584_2-seqnr = '01'.
  p0584_2-UNSPI = ls_actual_details-other_income.
  p0584_2-INTYP = '0002'.
  p0584_2-WAEHI = 'INR'.
  p0584_2-AEDTM = sy-datum.
  p0584_2-UNAME = sy-uname.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
  EXPORTING
    infty                  = '0584'
    number                 = wd_comp_controller->gv_pernr
   SUBTYPE                = '0002'
  OBJECTID               =  p0584_2-OBJPS
  LOCKINDICATOR          =  p0584_2-SPRPS
   VALIDITYEND            = p0584_2-endda
   VALIDITYBEGIN          = p0584_2-begda
   RECORDNUMBER           = '01'
    record                 = p0584_2
    operation              = 'INS' "lv_op_type
   TCLAS                  = 'A'
   DIALOG_MODE            = '0'
  NOCOMMIT               =
  VIEW_IDENTIFIER        =
  SECONDARY_RECORD       =
IMPORTING
   RETURN                 = return_584_2
   KEY                    = key.
Pls give some solutions
Thanks
Nalla B

Similar Messages

  • Problem in updating Data for infotype P0009 through BADI

    Hi,
    we are facing a problem while trying to update value of Date field for infotype P0009 through PA30.
    we have tried to update by using BADI hrpad00infty, we are providing value in new_innnn structure of method
    AFTER_INPUT, but the value is not getting updated for that PARNR.
    Can anyone help me regarding the same?

    Hi
    HRPAD00INFTY BADI methods don't allow to modify any values of the current record being processed, but there's a possible wworkaround accessing memory fields using field-symbols:
    method IF_EX_HRPAD00INFTY~AFTER_INPUT.
      FIELD-SYMBOLS: <fs> type p0009.
      assign ('(MP000900)P0009') TO <FS>.
    if sy-subrc eq 0. 
      <FS>-YOURFIELD = YOUR_VALUE.
    endif.
    endmethod.

  • Bapi or function mudule to insert or update enteries in Infotype 2011.

    Hello Experts,
    I am working on travel request workflow where I need to feel attendance for employee for those travel days journey.
    For that I need to use Infotype 2011( Table TEVEN).
    Anyone please tell me the Function module name or BAPI name to update attendance with input as employee number and trip begin date and starting date?,  or suggest me with other possibility if any there.

    Hi,
    The link you send me out of that I think below can help me, Can you please tell me the possible entries in HR_TMW_DB_UPDATE_TEVENT function module if I want to update the table for subtype 0001 and giving employee number with trip start date and end date as I am trying to use the same but my record is not getting update.
    CALL FUNCTION 'NUMBER_GET_NEXT'
    EXPORTING
    nr_range_nr = '01'
    object = 'PD_SEQ_NR'
    quantity = '00000000000000000001'
    IMPORTING
    number = lw_nextnr
    quantity = lw_qty
    returncode = lw_return
    EXCEPTIONS "#EC
    CALL FUNCTION 'HR_TMW_DB_UPDATE_TEVENT'
    TABLES
    del_teven = p_del_teven
    ins_teven = p_ins_teven
    del_teven_more = t_del_teven_more
    ins_teven_more = t_ins_teven_more
    EXCEPTIONS
    insert_failed = 1
    update_failed = 2
    OTHERS = 3.

  • Microsoft Office 2011 no longer opens because "there is a problem" after updating mountain lion when the app store said there was an update available this morning. Reinstalling did not work. What's the problem?

    Microsoft Office 2011 no longer opens because "there is a problem" after updating mountain lion when the app store said there was an update available this morning. Reinstalling did not work. What's the problem?

    Has your problem been solved by the updates??
    Have a similar problem. This MacBook opened all MS Office programs in Dec2012 but no longer does in Feb2013. Went to Microsoft/mac/downloads but none of the three updates would run citing a problem "version of software needed to run this update was not found on this volume".
    MacBook: 7.1, Intel Core 2 Duo, 2.4 GHz
    Microsoft Office 2011:  version 14.2.3
    Mountain Lion: 10.8.2 (12C60)

  • Hi guys i have a problem related updating icloud desktop.while updating it shows (error code :A12E5).I have macbook air mid 2011..plz sort this out

    hi guys i have a problem related updating icloud desktop.while updating it shows (error code :A12E5).I have macbook air mid 2011..plz sort this out

    olliemilne wrote:
    - I've tried holding a bunch of different keys when starting up (cmd+R etc.) but again, nothing.
    You could try booting the MBP using the OPTION+COMMAND+R keys and see if it will connect to the Apple servers.  This would allow you to install the original OSX .  I have my doubts though.
    - I've tried something crazy suggested in another thread; leaving the Macbook partially opening and shaking it, which supposedly does something to the "sudden motion sensor".
    The Sudden Motion Sensor is applicable for conventional Hard Drives, not the SSD that is in a MBA.  Doing that will serve no useful purpose.
    You have exhausted all reasonable options and will just have to have the MBA evaluated at the genius bar.
    Ciao.

  • To upload the time data from a remote server into R/3 2011 infotype

    hi all,
          i have been given a task to upload the time data of the employees into the 2011 infotype from a remote time recording server, can this problem be solved with the help of a rfc which will run on that remote server, please guide me how to approach this problem.
    thanks & regards,
    santosh.

    Hi Santosh,
    You can use ALE for this. The message type is HRSM_D for upload of time data.
    Reward if useful.
    Regards,
    Senthil

  • Problem: Flash update on Mac OS 10.411

    A few days ago I was prompted to update Flash Player (youtube videos had suddenly stopped playing on the old version I had) and went ahead and did it. I go through the installation process and as far as I can tell nothing goes wrong. But I still can't watch videos online and the same message is always displayed "you need to update Flash, etc."
    I have Mac OS 10.411 which I guess is 64-bit. I have Safari 4.1.3. I can't update Safari any further with the current OS. I can't download newer versions of Chrome or Firefox.
    What I've done so far x 10:
    -run the uninstaller
    -run the installer  ["Flash Player 10.3 for Mac OSX 10.4-10.5 (Intel)" on the installation page]
    -checked http://www.adobe.com/software/flash/about
    to test if any older versions are still installed on the computer. Just says "missing plug-in", so I guess not.
    I see under system preferences that version 10.3.183.10 is installed, which is the newest version the site gives me.
    Thanks for looking at my question. Anyone know what to do?

    We both have Tiger installled otherwise known as  os 10.4.11, as well I have safari 4.1.3  and flash  10.1 , I believe flash 10.3 will not work with OS 10.4.11 (its for a higher version of lion or leopard or something)
    Make sure box in preferences advanced tab "show Develop menu in menu bar" is checked as I mentioned before and then do a 10.1 flash download in that order, I think I read  flash 10.3 is too high for safari 4.1.3 and Flash 11 is definitely too advanced for Tiger,  as well Tiger can not run Firefox or Chrome as a browser, thus the need to get a version of flash that works on your OS Safari version ..hope this [email protected],   FYI: You should google the error message that pops up in quotes along with your os version for good search results of any issue.
    Date: Tue, 29 Nov 2011 03:50:49 -0700
    From: [email protected]
    To: [email protected]
    Subject: Problem: Flash update on Mac OS 10.411
        Re: Problem: Flash update on Mac OS 10.411
        created by buchisells in Installing Flash Player - View the full discussion
    I have the same problem!
    I also have mac osx 10.4.11(intel) and was asked to upgrade to the latest flash player...but when I did, suddenly couldn't load/watch any videos.
    Tried the same things you did, to no avail (uninstalled and installed flash player 10.3 over and over, and still nothing)..it's as if i didn't install it when I did.
    And because of my os version, can't avail of the archived flash players on this site 
    Help please!
    I tried fixing my Safari preferences but still doesn't work.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4051913#4051913
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4051913#4051913. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Installing Flash Player by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Facing problem while updating IInfotype 0009-bank details through workflow

    Dear SAP Gurus,
    I am facing a problem while updating Infotype 0009 through workflow which is integrdated with portal.
    Scenario:
    Employee logins to portal and changes his/her bank details like payee name, bank key, account number, postal code and city of bank, bank name etc.
    Once he submits the request, my workflow is triggered through SAP_WAPI_START_WORKFLOW which is called from portal and goes through various approval steps and finally reaches the step where the container elements are finally to be updated in IT0009.
    Field bank account number (BANKN), which is part of table PA0009 are easily updates using the FM HR_INFOTYPE_OPERATION by first enqueuing the employee number and after the update dequeuing it.
    However fields like payee name (EMFTX) bank key (BANKL) , bank name(BANKA -structure BNKA_BF-this is automatically fetched based on bank key) and postal code(BKPLZ) and city of bank (BKORT) are from structure Q0009 (on the infotype 9 screen level) and from table BNKA (at table level). The problem is that these are not getting updated by HR_INFOTYPE_OPERATION as they are not the part of infotype 9.
    Can anyone help me to understand how can these fields be updated ?
    Quick help will be highly appreciated.

    Hi Spantaleoni,
    Thanks for your quick response.
    Well actually the table BNKA is a master table for the bank information and we must not create entries in it or update the table programatically,  rather we should  use the available data in it.
    Now say employee currently has bank as A and he wants to change it as B which is available in BNKA then he will just select the bank B from search help provided in portal which again comes from table BNKA only. Employee then submits the info and it must get updated in the infotype PA0009.
    As far as think, this should be done on screen level of infotype PA0009 as I have already mentioned that certain fields are coming from structure Q0009 and they cannot be updated on PA0009 table level.
    I am just looking for way through which I can update the screen of infotype PA0009 of employee through workflow.
    Regards

  • After the most recent Thunderbolt update my 2011 iMac keeps hung in the loading screen!

    After the most recent Thunderbolt update my 2011 iMac keeps hung in the loading screen! I've tried restarting it a few times without success. Any help? Thanks!

    I had the same problem. Try this. Launch FaceTime. Click the toggle to turn it off; or Command-K. Quit. Do a restart, you shouldn't get the popup. You could then turn FaceTime back on if you wish. Either way, the popup should be gone from then on.

  • Problem in updating final payment flow in Trasantion.

    Hi Guys,
    I always appreciat your help.
    I got this matter that Original  'Final Payment Pmnt-date ' is 2011.07.01
    But my user want it updated to today ==> 2011.06.29 for some reasons.
    User already posted the scheduled items doc right before 2011.06.29 in cash flow,
    so it seems look like i can't update 2011.07.01 ==> 2011.06.29.
    ( Error message i got is : "End of term is before end of calculation period of posted flow" )
    I've tried all the way with this error message but failed.
    Is There any reason or any way to relocate the Final Payment pmnt-date on today????
    Help me...

    i make reply on my own.
    2011.07.01 updated to 2011.06.29.
    The problem was occured becuase, we edited amount field on 2011.07.01 ( left pen mark)
    that didn't allrow reschedule.
    So, we undo that field and removed the pen mark.

  • Updating Office 2011 on Mavericks

    I'm opening Microsoft Word (read; Office 2011 for Mac) for the first time after installing my new Macbook Pro Retina 13". However, if I check for an update there will be one. After I update it, there is another update.
    Why don't I get the latest update right away? Is there any way I can enter my current version number and get updates for the next x-updates?
    I've updated 6 times already, and it's going to bug me because I have to do the same on another MacBook.

    Microsoft has major and minor updates. Major updates include all previous updates, minor updates only have what is new since the most recent update. Their
    downloads website has all of the updates, both major and minor, that have been released for Office. The most recent Office update is the top of the list. As of this writing (Feb 2014), the
    most current version is 14.3.9. Its
    knowledge base article says that it only requires that you have version 14.1.0 installed, which would require you to do two updates (but not more than that). Sometimes, I've seen it not get the update order right if you haven't rebooted your machine between
    updates, although I've usually not found that to be a requirement. I've also seen people run into problems on updating if their license key is a pirated one, but I'm sure you're not doing that. :) So, for your other MacBook, you should only need to do two
    updates if you're installing 14.0.0: 14.1, and 14.3.9.

  • Updates Publisher 2011 + SCCM 2012 - no signing certificate every time (Bug?)

    Hello everybody,
    I got a strange problem with the System Center Updates Publisher 2011 which I want to use with SCCM 2012 (SP1).
    Some weeks ago I was able to enable the publishing on the update server (SCUP + SCCM + WSUS are the same machine), to create a self signed certificate and to astablish the connection to the WSUS server.
    Some weeks later the SCUP seems to "forgot" the certificate and the option "Enable publishing to an update server" is disabled.
    If I try to reactivate this option then I can not create a new self signed certificate anymore.
    I get always the "... test connection succeeded. However, no signing certificate was detected ..." dialog.
    I also can not choose the existing certificate (.pfx) file ("No certificate information available").
    Is this a bug?
    Can I deinstall the SCUP completely and create a new certificate again?

    Did you open SCUP as administrator? But Yes, you can reinstall SCUP and create another cert or use the existing cert.
    Kent Agerlund | My blogs: blog.coretech.dk/kea and
    SCUG.dk/ | Twitter:
    @Agerlund | Linkedin: Kent Agerlund |
    Mastering ConfigMgr 2012 The Fundamentals

  • Problems with Microsoft Word 2011

    Hello,
    So, I'm having a slight problem with Microsoft Word 2011. Yes, I realize this isn't exactly Apple related, but I was wondering if it had to do with a compatibility issue with Lion.
    I'm running version 10.7.3, and I've found that when I try and change my language in Microsoft Word to English (Canada) - also have tried English (Britain) - and neither of them have changed successfully. My system language is also Canadian English, but none of these options seem to stop my Microsoft Word from trying to correct Canadian English spelling.
    If anyone knows if there has been updates to Microsoft Word for this issue, please let me know. I thought it would be worth a shot asking here, as I could find nothing anywhere else.

    You may also want to search/ask in the forums run by the make of this app to deal with its problems:
    http://answers.microsoft.com/en-us/mac/forum/macword

  • Should I update my 2011 iMac?

    Should I update my 2011 iMac from Mac OS X 10.6.6 to 10.6.8? it of course would be a combined update. Will it give me any problems?

    How to Install OS X Updates Successfully
    A. Repair the Hard Drive and Permissions:
    Boot from your current OS X Installer disc. After the installer loads select your language and click on the Continue button. Then select Disk Utility from the Installer menu (Utilities menu for Tiger and later.) 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 click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now restart normally.  
    If DU reports errors it cannot fix, then you will need Disk Warrior (4.0 for Tiger) and/or TechTool Pro (4.5.2 for Tiger) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    B. Make a Bootable Backup Using Restore Option of Disk Utility:
    Open Disk Utility from the Utilities folder.
    Select the destination volume from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the destination volume from the left side list and drag it to the Destination entry field.
    Select the source volume from the left side list and drag it to the Source entry field.
    Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.
    C. Important: Please read before installing:
    If you have a FireWire hard drive connected, disconnect it before installing the update unless you will boot from this drive and install the update on it. Reconnect it and turn it back on after installation is complete and you've restarted. 
    You may experience unexpected results if you have installed third-party system software modifications, or if you have modified the operating system through other means. (This does not apply to normal application software installation.) 
    The installation process should not be interrupted. If a power outage or other interruption occurs during installation, use the standalone installer (see below) from Apple Downloads to update.  While the installation is in progress do not use the computer. 
    D. Download and install update(s) if updating: 
    Use Software Update, or
    Download standalone updater(s).
    E. To upgrade from an earlier major version:
    Purchase the requisite installer package (Snow Leopard for example.)
    Boot from the installer DVD.
    Choose the install option:
    None required for Snow Leopard.
    Archive and Install for versions prior to Snow Leopard.
    Updates should not be a problem.

  • Updating Microsoft 2011 Software

    I can not update Miscrosoft 2011 because I keep being told to close "Microsoft Database Daemon & SyncServiceAgent"   The machine won't close them automatically and I can't find these programs on my computer.  Can someone tell me where these programs are so I can close them?
    Thanks,
    Deb

    Ralph,  I saw another person with the same problem.  I went into utilities and forced the two apps to quit.  Had to go online to retrieve the s/w updates but it did the trick.  Thanks for responding so quickly.

Maybe you are looking for