Cancel a delete

Dear members,
If I delete a record, and if the commit fails (so the record is not deleted in the database), I'd like the deleted record to "come back".
I'd like to avoid querying the block again.
Is there a way to cancel the delete at Forms level ?
Thanks.

There is no way to get back the record that has been deleted only on the client side without requerying.
When a commit fails, there could be all sorts of half-done processing. Just adjusting your block's view to restore the deleted record (or records) would not be a very good idea.
When a form fails with a situation like that, it is better to issue a rollback (which automatically clears the form), and re-query everything. That way the user has a clear picture of the current state of the data.

Similar Messages

  • HT204053 How can I have an Apple ID canceled or deleted?

    I have 2 Apple ID's and would like to remove one of them. How can I have an Apple ID canceled or deleted?

    Welcome to the Apple Community.
    You can't.
    Just delete the account from your device and don't use it.

  • Cancel or delete app store purchase

    I accidently purchased iMovies, hit 'Pause', but under Purchases' it only has Resume as an option. I can't Hide or Cancel or Delete, etc...As far as I can determine it will stay in Resume forever? Help please, thanks

    Hey there uquackmeup,
    It sounds like you would like to cancel a paused download in the Mac App store. Check out this info from the article named:
    Mac App Store: Buy, download, and install apps
    http://support.apple.com/kb/PH11493
    To cancel a download in App Store, in the toolbar, click Purchases, find the app in the list, hold down the Option key, and then click Cancel.
    Thank you for using Apple Support Communities.
    Quack Quack,
    Sterling

  • HT5731 how can I cancel or delete a movie i downloaded to my iPhone?  The file is too large and it is hung up during the download process

    How can I cancel or delete a movie I tried to download to my iPhone?  The file is too large and iTunes is hung up during the process of downloading.  I've tried to swipe from right to left but that doesn't produce a delete button....

    Slide your finger across the videos' listing in your iPhone Videos App and tap the red "Delete" button that appears.

  • Cancel a delete action in a trigger

    Hi,
    I would like to know the best way to cancel a delete in a trigger, I want to instead change a Field called Active to 'N'
    My application is built on views that exclude records with this flag set to 'N'
    I have found the IF DELETING ('id') THEN syntax which should be fine to capture the delete, but what is the best way to then cancel the delete?
    Thanks in advance
    cl3ft

    Hi,
    I don't think you can cancel the delete action in the trigger if you want to perform another action afterwards. You can cancel the delete action by raising an exception (e.g. with RAISE_APPLICATION_ERROR(-20001,'No delete allowed') ;)
    To cancel the delete action and perform an action afterwards I would suggest to create a view on the table containing all columns. On that view, you can define an INSTEAD OF DELETE trigger. In this trigger, simply update the column and do not perform any delete action. This should do the job for you.
    Regards
    Stephan

  • Cancel document deletion  process (tr. va42)

    Hello all,
    Iu2019m trying to  cancel the deletion process of a document ( tr. va 42) in  in a particular case.
    Iu2019ve  tried  to use MV45AFZZ include programs FORM USEREXIT_SAVE_DOCUMENT and USEREXIT_DELETE_DOCUMENT  u2013 I check  all necessary condition but I donu2019t know how to disallow
    to delete document  - massage with type u201CEu201D is  Illegal message.
    How and in what user-exit can I cancel document deletion  process?
    Thanks,
    Tatiana

    Hi!
    Is it suitable for you to use this construction in userexit_delete_document:
    ... some conditions checking..
    message 'U cannot delete this document' type 'W'.
    clear sy-ucomm.
    leave to screen sy-dynnr.

  • How can an invoices be canceled or deleted?

    HI
    How can an invoices be canceled or deleted?

    Hi raj
    You cannot delete an invoice but you can cancel the invoice
    use t.code - VF11 to cancel the invoice
    Reagds
    Srinath

  • My daughter gave me her old iPhone 3G. I started loading my info in before hitting the "reset" option.  It is now trying to sync her address book to mine on the old phone.  The reminder screen gives no options for cancel or delete.  Please advise.

    My daughter gave me her old iPhone 3G.  I started loading my own info before doing a complete "Reset".  My iMac at home now give me a message that it is time to Sync 432 Contacts.  They happen to be my daughters contacts. The window has no Cancel or Delete option.  How do I get rid of or stop the Sync other than let it go and then start deleting them?  Help!  Ron

    or... put your photos in "My Pictures" in My Documents, and viola, itunes syncs it to the iphone. only one sentence needed =/
    maybe im missing your point here, the long paragraph is mindboggling

  • Using iPad mail program I have a draft of an email. I attempted to "cancel" and "delete draft" but it is still on my screen even after shutting down and restarting. How do I exit so that I can use other mail functions?

    Using iPad mail program I have a draft of an email. I have attempted to "cancel" this and "delete draft" but the email stays on my screen. How can I exit this so that I can use other email functions?

    Try closing the Mail app completely and see if it works properly when you re-open the app : from the home screen (i.e. not with the Mail app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work also do a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Urgent! Cancel or delete an WI in other Fork's leg

    Friends,
    Now, I need to find a better way to do a Cancel/Reexecute process.
    I'm developing in 46C and I've got some Sub-wf's in sequence... Receive's Protocol -> MIGO -> MIRO, that are called in this sequence in the Super-WF.
    This flow has to be preparated to document's cancel. For example: Inside MIRO Sub-wf, I have a dialog task to execute MIRO, and it is in a fork leg. In the other Fork's leg, I have got a Wait for event task, that wait for MIGO's Cancel.
    In this moment, I want to call MIGO again, in this second leg, and kill the other MIRO's WI that in this same moment is in its workplace.
    But how can I delete it ? It's in another Fork's leg, to process the MIRO...
    Anybody there has any flow sugestion ? Because I can't delete the other WI by Process control task.
    Thanks.
    Message was edited by: Glauco Kubrusly

    I've already did the first solution. How? I put a fork with 2 legs. On the lef leg, I have the MIRO's task, and on the right leg I have an Wait for step task that listen to a MIGO Cancel event, and follow calling MIGO again and then the MIRO, in sequence.
    But, if the right leg is started, I have to kill the MIRO in the left leg, because it isn't the best way taken the WI in the user's inbox even following the right leg. It can be deceptive to the MIRO's user that will try to execute it without a MIGO's document.
    I've already tryied to use events on the right leg (MIGO have been Canceled), after MIGO and MIRO, trying to eliminate the left leg task, but it didn't work, even I puting this event as atermination event in the MIRO on the left leg.
    Anybody can help me ?

  • Grace Period before Cancelling and Deleting Email Accounts

    I recently change my phone provider to a VoIP phone, but did not cancel my DSL service.  However, once the porting of my phone number occured, Verizon "suspended " account completely.  I have not access to my email, and according to the agent I spoke with today, the account is inaccessable and has been completely deleted.  I can't sign up for "my domain" as one needed to do this before the number porting.
    REALLY?
    With no notice or information, all of our contacts are lost and nothing can be done?  Does Verizon think that punishment of customers who try other products is the best way to get them back.
    As someone pointed out on this forum, "account suspended" clearly means that the account exists somewhere, and all the data surely wasn't deleted.  But the agent I spoke with says it's gone for good.
    Is this how you want to conduct business Verizon?  Is this how you want me to feel after years of using your service?

    Your issue has been escalated to a Verizon agent. Before the agent can begin assisting you, they will need to collect further information from you.Please go to your profile page for the forum, and look in the middle, right at the top where you will find an area titled "My Support Cases". You can reach your profile page by clicking on your name beside your post, or at the top left of this page underneath the title of the board.
    Under “My Support Cases” you will find a link to the private board where you and the agent may exchange information. This should be checked on a frequent basis as the agent may be waiting for information from you before they can proceed with any actions. To ensure you know when they have responded to you, at the top of your support case there is a drop down menu for support case options. Open that and choose "subscribe".
    Please keep all correspondence regarding your issue in the private support portal.

  • Cancel or delete partially downloaded rental movie on iPad... how?

    I have a partially downloaded rental movie on my iPad in iTunes which I would like to cancel.
    I have searched high and low, and it seems the only way I can do this is to connect to a computer which is not possible for me at this time. I was wondering if anybody had any other ideas on how I can achieve this?
    Here are things I have already tried:
    - In the downloading section of iTunes, swiping left to write and selecting the delete button. Swiping does nothing, no delete button appears.
    - in Settings, General, Usage, Movies, choosing Edit and deleting... The movie doesn't appear in this section
    If anybody can help, please do?
    - Ta, Krista.

    I know i am replying to an old thread but thought someone else might find this useful. I paused the partial download, then wrote an email to Apple via the support link for iTunes store requesting that the download be removed from the queue explaining why ( in my case because i purchased HD instead of SD) and about 1 hour later received an email from Apple saying they cancelled my download and even offered me a refund. Not bad service I say.

  • Rebate - Cancelling or deleting accruals

    Hi All,
    We have created rebate agreement. For 10 invocies rebate accrual is calculated (say 200 $). 
    Now business decides on 30th of month not to pass the rebate discounts to customer due to some issue.
    Now how we can reverse the accruals with out creating a credit memo.
    Babs

    Hi
    In the Change rebate agreement screen, enter the number of the rebate agreement that you want to settle or determine the number by using the matchcodes.
    Press ENTER.
    Select Agreement -->Delete.
    The system prompts you to confirm the deletion of the rebate agreement.
    Press ENTER to delete the rebate agreement.
    If you want to cancel the final settlement ,set the condition amount to 0

  • Cancel or delete shopping process

    Hello !!
    We want to cancel shopping process from SRM Purchaser Order to Shooping Cart and we don´t know any proccedure or method in order to do it.
    We have two cases.
    case 1: To Delete or to Cancel proccess keeping the shopping cart.
    In this case delete or lock quotation supply, quotation and purchaser order and keep the shopping cart.
    case 2: To Delete or to Cancel all asociated document
    In this case delete or lock the shopping cart, quotation supply, quotation and purchaser order.
    Please, We need some help from you!
    Thank you very much.
    Best Regards.

    Hi Victoria,
    Can you kindly check thread
    Re: Shopping cart Status
    Also, if you have the following documents
    SC>SOCO> BID Invitation --> Quot --> PO
    You can reatain or delete the cart by first deleting the subsequent document. In the above case, you have to delete the PO , then delete the quote, bid invitation and the SC would be valid in SOCO.You can try out for different cases.
    The rule of thumb is that you shouldnt have a follow-on document for a follow-on document.
    SC--> PO..deletion of SC possible
    SC--> BID INV --> Quot --> PO  SC deletion not possible.
    thanks,
    Ashwin
    Do reward points for useful suggestions

  • How do I cancel and delete a video that I do not wish to download after it has started?

    For some reason it will not let me delete the videos I have stopped downloading on my iPad. When I go to click edit to delete them it will not allow me to do so; not user friendly. I hope Apple is working on fixing this problem, because I think many would see it as a problem, more of an annoyance, that you can't delete the video.

    How to Solve the Problem of An iPad App Download Stuck on “Waiting”
    http://ipadacademy.com/2012/06/how-to-solve-the-problem-of-an-ipad-app-download- stuck-on-waiting
    How To Get Rid Of Your iPad App Download Frozen Problem
    http://www.sidelineapple.com/how-to-get-rid-of-your-ipad-app-download-frozen-pro blem-and-not-lose-years-of-your-life-video/
    iTunes: How to resume interrupted iTunes Store downloads
    http://support.apple.com/kb/ht1725
    Another thing to try - Turn the iPad Off & then back ON.
    If that doesn't work:
    •  Log out of your iTunes store account.  Go to Settings > Store > Sign Out Then press the Home button.
    • Then press and hold the Home and Sleep buttons simultaneously and don't release them when it brings up the Turn Off screen; keep holding them until the Apple logo appears.
    • After restart, the Waiting should be gone.
     Cheers, Tom

Maybe you are looking for