Update new records and delete old record? Urgent

Iam updating some records from internal table to Data base table.
Please suggest me
INSERT DBTable FROM TABLE itab.     
UPDATE DBTable FROM  itab.
Delete existing records.
  DELETE  DBTable FROM TABLE itab_old.
Please suggest me

Got you..
Iam colecting some records to internal table from Data base table
based on year and month.
Then changing the date and months in interenla table
then inserrting this modified records of internal table into datta base table.
Finaly delete the old records with old dates.
Here is the suggestion..This is a logic and not the exact code..
DATA: ITAB TYPE STANDARD TABLE OF ZTABLE WITH HEADER LINE.
DATA: ITAB_OLD TYPE STANDARD TABLE OF ZTABLE WITH HEADER LINE.
SELECT * FROM ZTABLE
       INTO TABLE ITAB.
ITAB_OLD = ITAB.
ITAB-NEW_DATE = SY-DATUM.
MODIFY ITAB TRANPORTING NEW_DATE WHERE KEY_FIELD = 'DS'.
Deletion part.
DELETE ZTABLE FROM TABLE ITAB_OLD.
Insertion part
INSERT ZTABLE FROM TABLE ITAB.
Thanks,
Naren

Similar Messages

  • I had the icloud account changed on the iPad (have added new ID and deleted old one). However when updating/downloading , it still asks for password to the previous account...?

    I’m giving my ipad to my sister and I had the icloud account changed. I have added new ID and deleted the old one. However when updating and downloading apps, it still asks for password to the previous account. Does anyone know how to fix this? Thanks very much!

    Maybe you should set it up as new device again:
    How to back up your data and set up as a new device
    Apps are tied to the Apple ID they were bought with and can not be shared with other devices that have a different Apple ID.

  • How do I create a new account and delete old one.

    I want to stop current account and start a new one.

    Go to Settings>iCloud and turn all data that is syncing with iCloud (contacts, calendars, etc.) to Off.  When prompted choose to keep the data on the iPhone.  After everything is turned off, scroll to the bottom and tap Delete Account.  Next, set up a new iCloud account using a different Apple ID and turn iCloud data syncing for contacts, etc. back to On.  When prompted, choose Merge.  This will upload the data to this new account.
    This will not move your photo stream, however.  If you have photos in photo stream that you haven't backed up anywhere else you will need to save these before deleting the account.  If your computer is syncing with your iCloud account, your can photo stream photos directly to your computer.  If not, open your photo stream album on your iPhone in the thumbnail view, tap Edit, tap all the photos to select them, tap the share arrow button, then tap Save to Camera Roll.  Once in the camera roll you can import them to your computer.

  • How do I create a new user, move my old files etc over, and delete old user

    This is why I think I need to.
    My computer got hit by lightening, and I may have created a new user account through netinfo rather than system preferences /accounts/+user. Mail used to open twice, but no longer. Now, Safari askes me for my keychain password twice, Spotlight can't find a folder on the computer when the search is restricted to folder and computer, though the folder is there and easyfind finds it, and when System Preferences/Spotlight/Privacy has the hard drive icon added, then deleted, Spotlight still does not find anything. (Yes, everything is backed up, on CD, DVD, and online.) Microsoft Tec Support says
    "Here is a summary of the key points of the case for your records.
    When you contacted us on August 8, you had requested assistance with Microsoft Office 2004, as your installation of the updates was unable to find the correct version of the software to update. After creating a New MAC User, we identified the issue to be with a corrupt MAC User account, and not a Microsoft issue. "
    I believe Microsoft. So, creating a new user was easy.
    But copying files uses up too much hard drive (movies, music), and may miss keychains, preferences, mail, address book, and documents. Since Spotlight no longer works, who knows what is happening. (Yes, I've repaired persmissions, and disk repair. No change). I'm using up my hard drive trying to move files to the new user. If I share files, or put them into a public folder, then delete the old user, will I still have the old user's files in the new user's account? It is not clear to me what I should be trying to do in order to create a new user, move my old files etc over, and delete old user. Thanks.
    My responses will be slow, because I have to drive to town to use the internet. I've ordered a new airport which may take care of that problem. SO be patient.

    Hey -
    I need to do the EXACT same thing, but have no idea how. Has anyone out there done this?
    My situation is a tad different..this is a new Mac (and I'm a brand new Mac user). Tons of querks occur under my original account (videos won't run, Safari won't support certain plug-ins). I spent 6 hours on the phone w/ 4 different Apple Reps and nobody could fix it. A rep finally looked at my MacBook Pro in person today. He created a new account just to see if that would work and under that new account, everything works perfectly fine (no querks, can view video). He tried switching a million settings in my original account to no avail.
    He said to create a new account (as he did) and move my files over to the new account and then go back to the original and delete it. How do you do this?! I can't figure it out! I've got a new account created, but of course it just has the default folders in it w/ the little red icons next to them! Thanks in advance!

  • I just updated to iOS7 and an old appleid popped up.  My old password is not recognized so I can't delete the account or turn off find my iphone.  The old appleid is linked to an email I don't have anymore, and answers to my security ?'s aren't recognized

    I just updated to iOS7 and an old appleid popped up.  My old password is not recognized so I can't delete the account or turn off find my iphone.  The old appleid is linked to an email I don't have anymore, and answers to my security ?'s aren't recognized.  Is there any way I can reset my account to my new appleid?  This has happened to every iphone and ipad in my family that has updated to iOS7. 

    Hi mabaker2,
    Welcome to the Support Communities!
    The article below may be able to help you with this issue.
    Click on the link to see more details and screenshots. 
    iCloud: "Incorrect Apple ID or Password" alert when setting up iCloud after upgrading to iOS 7
    http://support.apple.com/kb/TS5207
    Cheers,
    - Judy

  • Attempted to install AirPort Utility 6.0 on my new mac mini. Install failed and now the previous version 5.5.3 won't open. I downloaded and tried to instal 6.0 without software update, which failed, and my old 5.5.3 AirPort Utility still won't open? Help.

    Now the previous version won't open. I downloaded and tried to instal 6.0 without software update, which failed, and my old 5.5.3 Airport Utility still won't open.
    iTunes no longer recognizes my airport express.
    Error Message:
    None of the selected updates could be installed.
    An unexpected error occurred.
    Can't delete Airport Utility and reinstal from scratch as it is, “AirPort Utility” can’t be modified or deleted because it’s required by Mac OS X.
    Any sugestions?

    I reinstalled AirPort 5.5.3 which worked, but the app still won't launch but iTunes now recognizes my AirPort Express, I just hope I don't want to change its settings.

  • Urchased a new desktop pc and I want to move itunes and all files including IPAD apps to my new computer and delete off my old one.  What is the best way to do this?

    I just purchased a new desktop PC and want to move Itunes and all my Ipad Apps to new computer, and delete off my old computer.  What is the best way to do this?

    Hi,
    See Here for Transferring your iTunes Library
    http://support.apple.com/kb/HT4527
    Make sure Everything is working to your satisfaction Before Deleting anything from your old computer...
    Cheers,

  • TS2565 when updated to 9.1.7 from 9. I need new serial and the old serial number doesn't work. How can i solve this?

    when updated to 9.1.7 from 9. I need new serial and the old serial number doesn't work. How can i solve this?

    There was no new serial needed to update from Logic 9 to 9.1.7
    If your Logic 9 was an upgrade from Logic 8 it may be asking you for your original Logic 8 Full serial first and then your Logic 9 Upgrade serial...
    Otherwise, it's best to call Apple directly and get them to help you...

  • My Outlook 2011 is synchronising and deleting old emails not on my ISP's database. How to I stop synchronisation, and only download new emails?

    My Outlook 2011 is synchronising with an IMAP account and deleting old emails not on my ISP's database. How to I stop synchronisation, and only download new emails?

    The "LocalAccount" is "On My Mac" and doesn't correspond to an account on a mail server. That all I can tell you from the information provided.

  • HT4972 I have a new computer and a old iphone 4 that hasn't been updated in a long time. I logged into itunes on  my new computer and plugged in my phone and there is no option to sync. ;( suggestions?

    I have a new computer and a old iphone 4 that hasn't been updated in a long time. I logged into itunes on  my new computer and plugged in my phone and there is no option to sync. ;( suggestions?

    The ipod is not a backup device.  The music sync is one way - computer to ipod.  the exception is itunes purchases.  Without syncing:  File>Transfer Purchases
    Copy everything from your old computer, or your backup copy of your old comptuer, to your new one.

  • Help please.connected my current iphone to i tunes it syncd old contacts from previous job to new phone and deleted all my new ones,

    Help please.
    Connected my current iphone to i tunes. it syncd old contacts from previous job and previous phone to new phone and deleted all my new ones. tried to do back up from earlier restore in i tunes but there only seem to be back ups from my old phone not the new one prior to its first sync...

    thanks for your reply and input but, Im not sure if it was former or latter that I did, however I do know that I named this latest i phone differently and would have been OK with and expected expected old contacts to be added to the new ones I have recently added directly onto the new phone since I have had it rather than just the old one. I did try the undue/ unsync  but this just seemed to remove all the old backed up ones just added leaving contacts empty? Clearly its my error, but what can be done to restore setting back to time before I connected today?  earlier reset points on itunes show as 2 years ago and relate to old phone. 

  • Urgent -Create  RFC for update the database and delete from the database

    Hi Guy's,
    Please help me how  to create the RFC for update to databse and delete from database(step-by-step) procedure.
    Thanks and Regards,
    Sai.

    Hi,
    Please go through the following link,
    reward if helps.
    [RFC Step By Step|https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=39728]
    regards,
    mahantesh

  • I just updated my IPod and my old youtube wasent there. How do I get my old youtube back on my updated IPod?

    I just updated my IPod and my old youtube wasent on. How do i get my old youtube back on my new updated IPod?. PLEASE.. THANKS

    If you updated from iOS 4 or iOS 5 to iOS 6 you have to download the YouTube app from the App store. With iOS 6 it no longer comes with the iOS.

  • I have one playlist on iphone4. how can i add new playlist without deleting old one. i do not have old playlist in itunes any more.

    I have one playlist on iphone4. how can i add new playlist without deleting old one. i do not have old playlist in itunes any more.When i try to sync iphone with itunes it says that this action will remove my old playlist and all songs.

    "it says that this action will remove my old playlist and all songs."
    Are you connecting to a different iTunes library than you normally connect to?  That will erase the songs and playlists since the iPhone can't be connected to multiple libraries even if it is in manual sync mode.
    If you no longer have access to the original library that your iPhone calls 'home', then the only way to save the playlist (and the songs on your iPhone) would be to use a 3rd party application to extract your iPhone contents to this new iTunes library you're trying to connect to.

  • I want rsync only download new files and keep old files

    I install Arch i686 in home and in home I do not have internet connection , so at work I download all packages I need with this command
    rsync -avrt --bwlimit=58 rsync://mirror.datacenter.by/arch//extra/os/any/ /home/ddd/i686/
    and move them to home and then copy them to
    /var/cache/pacman/arch
    and install packages with pacman
    after two days , I run this command
    rsync -avrt --bwlimit=58 rsync://mirror.datacenter.by/arch//extra/os/any/ /home/ddd/i686/
    and I see rsync get last packages again and use many Bandwidth
    how I tell rsync only download new files and keep old files

    rsync manpage says the following:
    -u, --update                skip files that are newer on the receiver
          --inplace               update destination files in-place
          --append                append data onto shorter files
          --append-verify         --append w/old data in file checksum
    I guess you need to add -u flag.
    Reading manpages is the highest virtue in GNU/Linux.

  • HT1203 I recently got a new iMac and did the set up THEN I took it to the store to have them download my data from my old crashed iMac to my new iMac. Now I have 2 logins: my new one and the old one.Is it possible to move my iTunes and iPhoto to the new l

    I recently got a new iMac and did the set up THEN I took it to the store to have my backup data loaded onto my new iMac from my old crashed iMac. Now I have 2 login accounts on my new iMac. The old one has my iTunes and iPhoto libraries and my new login is empty. Is it possible to move the libraries and the other data to my new login and delete the old one?

    I've done something a little different but have the same problem, sort of.  I had been with AT&T for years and had iphones but I switched to VZ wireless quite a while back and got a droid.  I just switched back and got the iphone 4S and was downloading apps from the phone having forgot I already had an iTunes account so I created another one. 
    After doing the above (which I'm not sure where to even start) is it possible to get all of the songs from my old account loaded onto my new phone (I haven't even attempted it yet because I don't know where to start)?

Maybe you are looking for

  • How to send image as a part of body with java mail

    How to send image (.GIF) file in mail body & not as an attachement using java mail API

  • Color correction applied to multiple clips

    When using FCPX, is there a way to apply a color adjustments to all the fragments of the same clip? Or is there a way to batch edit clips without actually having to do all your color correction before editing?

  • Operand value exceeds system limits in sdo_aggr_mbr

    Hi-- i'm trying to get the MBR of a fairly large geometry (1429 vertices) and run into a strange problem: when i: select sdo_aggr_mbr(shape) from FEEDER_LINES_SDO where subname = 'OCEANO'; i get what i expect: SDO_GEOMETRY(2003, 82212, NULL, SDO_ELEM

  • APEX with HL7

    Hi actually i don't know if i am in right place but i'm trying anyway. I am working on HIS System which is developed by Apex, The problem is, i want to send message to RIS System by HL7 messages , for example i want to send message to RIS system cont

  • Using Filemaker with Adobe Illustrator for Book Project

    Hi All, I have a database of musical works contained inside a Filemaker Pro database - it's a mixture of images and text. I'd like to make a book with the content and was hoping to use a template within Adobe illustrator and pull the data in dynamica