How to enforce a check before deleting a transaction

Hi,
We want to restrict the deletion of order based on status . Eg: When the status of the order is Inprocess , deletion should be aborted with error message.
Is there a BAdi to achieve this?
Thanks,
Shaik

Hi Shaik,
As of you cannot directly delete any Business Transaction. You can use the SAP Archiving to Achive and then delete the Transactions. You can have a look at the following link for the SAP Archiving for CRM
http://help.sap.com/saphelp_crm70/helpdata/en/e1/f5fc37a0ca3144e10000009b38f8cf/frameset.htm
For Archiving and then Deletion of Orders, have a look at the following link:
http://help.sap.com/saphelp_crm70/helpdata/en/e1/f5fc37a0ca3144e10000009b38f8cf/frameset.htm
This will give you a detailed information about the Activity of Carrying out the Data Archiving
http://help.sap.com/saphelp_crm70/helpdata/en/09/72f63ad65c3b5ce10000000a11402f/content.htm
For the Check and Delete Archiving Object,
http://help.sap.com/saphelp_crm70/helpdata/en/85/1cc041e01e6624e10000000a1550b0/frameset.htm
Hope this will help.
Thanks,
Samantak

Similar Messages

  • Checks before deleting data connection in Infopath 2010

    I have one form which has more than 80 fields and about  7 sections. This form was published to PROD before year back now client found some performance issues while opening/submitting form.
    I checked and found one retrieve data connection is culprit. Now i want to delete that connection and create different one, but before deleting it, i have to find out all the references of this connections i.e- check where any columns used in rules, default
    values or validations etc.
    It's difficult and time consuming task to check each and every field in the form. Is there any easy trick to do this?
    w: sandippatilblog.blogspot.com/

    Found the solution, here below are the check
    1: Run Rule Inspector, for this go to DATA-->Rule Inspector form toolbar
    2: Delete the connection and try to publish the form, if form contains any rules or default value corresponding to deleted connection then form will not get published. It will give prompt to check errors, for this check the form using design check and see
    errors, then find the references about the errors on the form.
    w: sandippatilblog.blogspot.com/

  • Check before deleting Payment Proposals ( F110 )

    Hi gurus,
    I have the following scenario:
    When the user runs F110 and creates a payment proposal we start a workflow for approbation of the payment.
    I have successfully found a badi to start the workflow, the problem arises when the same user that created the proposal goes erases it.
    I can't let him just delete the proposal in the middle of the approbation, so I'm trying to find an exit to check if the workflow is executing for the proposal at the moment of deletion.
    I've tried with BTEs but couldn't trigger any.
    The transaction has a big number of user exits but they are for sending and Idoc, downloading a file or checking something country related.
    Does anyone know what can I do to check something before the proposal deletion? I'm running out of options and I'm afraid the requirement is not feasible.

    In F110, display the payment proposal log. Shift+F7.
    in the heading line 'ob log overview for job'  you can see the job name.
    say  'F110-20110104-FR4NA -X'
    if it is F110-20110104-FR4NA -X / 05170400, you have to take the part before the slash that is F110-20110104-FR4NA -X
    Go to SM37, enter this in the job name. Enter * in the user id. Enter the date , on which payement run was done.
    Then execute. YOu will see, who has run the proposal or payement run in the resulting screen.

  • ALV: check before delete a row

    Hi,
    I would like to delete a row in ALV.
    Before the deletion I would like to send popup with the options "OK" and  "cancel".
    If the user presses on cancel, it should not to be deleted.
    Can I catch it in ON_DATA_CHECK? Popup is not the problem.
    I would like that the row is not deleted.
    Are there an instruction RESET?
    Regards
    Vedat

    You can implement your own delete function instead of using the inbuilt function of the ALV. There you can check and depending on the popup, either delete a row from the internal table or dont delete and bind it back to the node.
    Regards
    Nithya

  • How to display warning message before deleting a record?

    Hi all
    I want to display a warning popup message( "Do you realy want to delete the record? Yes - No" ) before user delete a record. My page fragment contains simple <af:table> which display the employees data and operations buttons "commit - delete - rollback"
    I use Jdeveloper release 11.1.4
    Database : oracle 10g
    Thanks in advance

    Thank you so much for replaying
    I have another question related to creating popup
    I have page template and only one jspx page based on the template named"UIShell.jspx"
    I make a lot of page fragments , I have - untill now- about 15 page fragments.
    all these fragments are shown as dynamic regions within UIShell.jspx"
    My question is
    Should I create popup dialog window in each page fragment in order to display the messages?
    If the answer is "YES" this will not be a good approach - I think.
    Is there a way to create just one popup dialog and use it an any page fragments.
    Regards
    Edited by: ta**** on Apr 17, 2011 8:44 AM

  • How to check if a Site Column is being used before deleting

    Hi All,
    Before deleting a SharePoint Online site column I would like to check to see if it is being used by any list or library. I know how to do this when the site is on
    premise using a PowerShell script.
    $web
    = Get-SPWeb
    http://”sitecollectionurl”
    $column
    = $web.Fields[“Column Display Name”]
    $column.ListsFieldUsedIn()
    but I am having problems doing it on a SharePoint Online site. I know how to connect to the site, but I can not find any information on getting the field details,
    like above.
    if ((Get-ModuleMicrosoft.Online.SharePoint.PowerShell).Count
    -eq0) {
    Import-Module
    Microsoft.Online.SharePoint.PowerShell -DisableNameChecking
    $username
    = "[email protected]"
    $url
    = "https://mySite.sharepoint.com/sites/Dev"
    Write-Host
    "Connecting to SharePoint Online, URL = $url"
    try
    Connect-SPOService
    -Url $url /
    -credential $username
    Write-Host "Successfully connected.."
    -ForegroundColor Green
    $web =
    Get-SPOSite -Identity
    https://mySite.sharepoint.com/sites/Team1
    $column
    = $web.Fields[“Column Display Name”]
    $column.ListsFieldUsedIn()
    =
    $web.Fields[“Page Content”]
    catch
    Write-Error "Failed to connect to
    $url - check the credentials and URL!"
    $_
    Write-Host
    "Disconnecting from SharePoint Online, URL =
    $url"
    Disconnect-SPOService
    Write-Host
    "Successfully disconnected.."
    -ForegroundColor Green
    Does any know what I am doing wrong, or does anyone have a script examples.
    Many thanks
    Colin

    Hi Colin,
    Unfortunately the Get-SPOSite doesn't return a fully fledged SPWeb object like you're used to in On-Prem PowerShell.
    The only way to get at particular objects like this is to use CSOM in PowerShell, however even then it doesn't return quite the same object that you see on prem. (In short, the method you want doesn't exist.. but I'll show you how to get there at least.)
    You'll need the Microsoft.SharePoint.Client.dll installed (You can download the SharePoint 2013 Client SDK, just do a search for it.)
    Once that's installed, then the following script will retrieve a single column which you can then run
    $column | gm to see the available properties.
    $siteCollectionURL = "https://<tenantname>.sharepoint.com/sites/etc"
    $Credentials = Get-Credential -UserName "[email protected]" -Message "Enter the password for $AdminUser"
    ##Then we'll establish a ClientContext for CSOM.
    $scContext = New-Object Microsoft.SharePoint.Client.ClientContext($siteCollectionURL)
    $SPOcredentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Credentials.UserName, $Credentials.Password)
    $scContext.Credentials = $SPOcredentials
    $web = $scContext.Web
    $siteCols = $web.Fields
    $column = $sitecols.GetByInternalNameOrTitle("ColumnInternalName")
    $scContext.load($web)
    $scContext.load($siteCols)
    $scContext.Load($column)
    $scContext.ExecuteQuery()
    Once you run that, $column contains as much info as you can get about the column.
    Paul.
    Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times.

  • How to make before delete trigger

    Hi all
    I want make before delete trigger
    I have 2 tables hr_api_transactions and new_table
    when I delete records from hr_api_transations table
    then that deleted record should be stored/insert in new_table table
    for that purpose I need before delete trigger
    How can I make It?

    Hi
    I have written following code but it gives an error
    CREATE OR REPLACE TRIGGER before_delete_trigger
        BEFORE DELETE
            ON HR_API_TRANSACTIONS
            FOR EACH ROW
        DECLARE
        BEGIN
            delete from new_table where new_table.name = OLD.hr_api_transactions.api_addtnl_info;
        END;
    TRIGGER BEFORE_DELETE_TRIGGER compiled
    Errors: check compiler logafter show errors it shows
    4/54 PL/SQL: ORA-00904: "OLD"."HR_API_TRANSACTIONS"."API_ADDTNL_INFO": invalid identifier
    4/9 PL/SQL: SQL Statement ignoredhere hr_api_transaction is table which contain API_ADDTNL_INFO column
    and name column of new_table and API_ADDTNL_INFO column of
    HR_API_TRANSACTIONS table are same

  • How can you retrieve information from a iCloud backup on a previous iPhone? Backup from old phone is taking up a lot of space, would like to save pics to computer before deleting. How can I open up the backup from previous phone that is now on the iCloud?

    I originally had an iPhone 4 but switched service carriers back in June.  When I bought the new iPhone 4s, all my information from the iPhone 4 was saved as a backup on the iCloud.  On my new phone in the iCloud settings, Storage & Backup, it shows the backup from the iPhone 4.  This backup is taking up a lot of space on my phone and I would like to delete to avoid having to purchase more space.  However, I know I have pictures on this backup from the iPhone 4 that I would like to view and save on my computer if at all possible before deleting.  Is it possible to view the photos from this backup? If so, how? Thank you in advance for any assistance.  I hope this makes sense, lol, I'm not very computer literate.

    Unfortunately with the issues I mentioned above I don't even think I have enough space for that on the computer!  I have literally moved all moy pictures, music, etc. to another drive and all that's left are some small docs and applications.  I don't know how to find any more space on the thing and can't get things updated until I fix this...

  • I have a problem with mail.  the spelling and grammer check box before sending the messege is no longer there.  I did everything but cannot get it back.  is ther anyone who knows how to get the box with spelling and grammer checks before sending

    i have a problem with mail.  the spelling and grammer check box before sending the messege is no longer there.  I did everything but cannot get it back.  is ther anyone who knows how to get the box with spelling and grammer checks before sending the mail.
    Also the mail is acting very funny by not getting the rules work in a proper method.  Is ther a software to repair mail.

    i did both of them, but still the while sending the mail the diolog box is not showing up and also the spelling and grammer does not do the spelling check. 
    This problem just started for about 3 to 4 days now.  earlier it was working normally.

  • I keep getting the message: "what should firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!

    I keep getting the message: "what should Firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!

    cor-el,
    Thanks for your prompt reply. However, the sources you gave do not seem to apply exactly to my situation. I have attached some screenshots that show what the dialogue box looks like for a pdf download, and what my settings in the Apps panel of Options are. You will note in the first screenshot that I have checked the box to handle this file type automatically; however, the next time I try to download a file of that type, the same dialogue box appears looking exactly like the one shown, so checking the "automatic" option appears to do nothing. The files to be downloaded from my Gmail messages are not generic or altered file types - they are shown as pdf, doc, docx, etc. So while your intent was good, your post did not help. Thanks anyway.

  • TS1702 How to back up data in an app before deleting and reinstalling?

    I have an app that isn't working properly.  The app support people have asked me to delete the app and reinstall, BUT TO BACK UP MY DATA, before deleting.  How do I back up the data in the no working app?

    There are reviews for apps in the itunes store.
    https://itunes.apple.com/us/app/oneclickdigital/id515311743?mt=8
    What is the issue you are having with the app? Tell me that before you do any deleting or restoring.
    When you back up your ipad, it will back up the app data. Then when you restore the ipad from that backup, the data will be put back onto the ipad.
    What I would do, is backup the ipad via itunes on your computer per the instructions I posted.
    Then delete the app and reinstall it.
    See if you are still having the same issue.
    About iOS backups
    http://support.apple.com/kb/HT4946

  • In iphoto how to get the gold you delete a photo warning message when you check the box not ask

    in iphoto how to get the gold you delete a photo warning message when you check the box not ask

    Try trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder.
    (On 10.7 or later: Hold the option (or alt) key while clicking on the Go menu in Finder to access the User Library)
    (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    What's the plist file?
    For new users: Every application on your Mac has an accompanying plist file. It records certain User choices. For instance, in your favourite Word Processor it remembers your choice of Default Font, on your Web Browser is remembers things like your choice of Home Page. It even recalls what windows you had open last if your app allows you to pick up from where you left off last. The iPhoto plist file remembers things like the location of the Library, your choice of background colour, whether you are running a Referenced or Managed Library, what preferences you have for autosplitting events and so on. Trashing the plist file forces the app to generate a new one on the next launch, and this restores things to the Factory Defaults. Hence, if you've changed any of these things you'll need to reset them. If you haven't, then no bother. Trashing the plist file is Mac troubleshooting 101.

  • How do you set the setting in iPhoto to ask before deleting a picture?

    How do you set the setting in iPhoto to ask before deleting a picture?

    If you delete a picture, it sends it to iPhoto trash (left column), there you can permently delete using the empty trash with the icon in the upper right corner. It will come up with a warning if you want tp permently delete trash (photos).  It the iPhoto trash you can drag them back out, once you empty the trash, they are gone.
    You can also go to finder preferences>advanced, and unclick secyre empty trash, and make sure show warning before empting trash is clicked.

  • How can i see(view) my photos in iCloud before deleteing it?

    how can i see(view) my photos in iCloud before deleteing it?

    What photos, photos in your photo stream? If so, these can only be viewed:
    On your iPhone, iPad or iPod touch, your photos will appear in the Photos app in the Photo Stream album.
    On your Mac, they appear in the Photo Stream view in iPhoto or Aperture.
    On a PC, your photos download to the Photo Stream download folder. By default, this folder is located atC:\Users\Apple\Pictures\Photo Stream\My Photo Stream. You can change this location by visiting Photo Stream Options in the iCloud Control Panel for Windows.
    On Apple TV, your photos will appear in the Photo Stream view under Internet in the main Apple TV menu after you sign in with your iCloud account.

  • I unknownly deleted photos from my iphone 4,version 4.3.5,i dont have icloud and did not connected to itunes before deleting the pics,how can i recover those photos?

    i unknownly deleted photos from my iphone 4,version 4.3.5,i dont have icloud and did not connected to itunes before deleting the pics,how can i recover those photos?

    you cannot recover those photos if you didn't perform a backup of the iPhone 4

Maybe you are looking for

  • How can I return to the previous screen in safari?  the arrow is often grayed out.

    how can I return to the previous screen in safari?  the arrow is often grayed out.

  • Payment Block R

    Dear Experts A few documents with document type AB posted through FB1K (Clearing transactions) are automatically getting a Payment block R in Vendor line item. I have checked the standard configuration in the system regarding payment blocks and still

  • Skype Click to Call and Firefox... down at the mom...

    not sure where else to put this but just thot i should let the skype powers-that-be know that skype click to call is not working in firefox right now.  if yall already know then sorry to repeat this, just would like something done on it as soon as po

  • Flash Builder 4 Installation Problems

    I'm having trouble using Flash Builder 4. I first tried to use it as a plugin for eclipse, which didn't work, as I got an error when trying to open .mxml files. The error is the same one discussed in another discussion: a null pointer exception. I tr

  • To buy or not to buy for my G4: Dell 2005FPW display

    In the market for a new display and have been encouraged to buy a "DELL UltraSharp 2005FPW 20.1-inch Wide Aspect Flat Panel LCD Monitor." Trying to find out if it will work with my Powermac G4 dual and current graphics card... here's what my computer