Avoid the deletion of delivery when the user press the delete button

Hi guys,
In VL02N transaction, when the user press the button for delete the delivery (trash button) i have to send an idoc to an external system in order to inform about. Im using IF_EX_LE_SHP_DELIVERY_PROC~DELIVERY_DELETION for this and it works fine.
After send the idoc i have to stop the deletion process. So How i can avoid the delivery deletion? I can change some flag in this BADI or maybe i can do something in userexit_delete_document? I dont find the way.
Thank you,
Manel

HI,
In the method SAVE_DOCUMENT_PREPARE; try to pass some error messages in the parameter CT_LOG.
This should raise some messages before saving and the data will not be saved and hence delivery will not be deleted.
Check the same.
Regards,
Ankur Parab

Similar Messages

  • What is the difference between using the command "dsmgmt" and the "Managed By" tab when adding users to the local administrators Account on a Read-Only Domain Controller?

    When I use the
    "dsmgmt" command to add a user to the local administrators account of a RODC I can actually see the user when I use the "Show Role Administrators" parameter. However, I can't see the members of the
    group added to the "Managed By" tab of the RODC object in AD. Even though, the users added using
    "dsmgmt" and by the "Managed By" tab can all log in locally and have admin rights to the RODC. Are there any differences between these two ways of adding users to the local administrators account? 

    Hi,
    For groups, managedBy is an administrative convenience to designate “group admins”. Whatever principal listed in
    managedBy gets permission to update a group’s membership (the actual security is updated on the group’s AD object to allow this).
    In Win2008 and later managedBy also became the way you delegated local administration on an RODC, allowing branch admins to install patches, manage shares, etc. (http://technet.microsoft.com/en-us/library/cc755310(WS.10).aspx). 
    On the RODC, this is updating the RepairAdmin registry value within RODCRoles.
    So the difference between them should be only the way they do the same thing.
    For more details, please refer to the below article:
    http://blogs.technet.com/b/askds/archive/2011/06/24/friday-mail-sack-wahoo-edition.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Is there any way to disable the firefox search option when you long press the home button on Samsung Galaxy S5 Active?

    I have an S5 Active and sometimes the home button sticks and registers as a long press which brings up Firefox search instead of going to the home screen. Is there any way to disable Firefox Search so that this doesn't happen. I Love the Firefox browser but if this keeps happening I will have to uninstall it.

    hello djpianalto, you could clear the default settings for firefox on android within the system settings (like described in this [http://www.howtogeek.com/195885/how-to-set-and-clear-a-default-app-on-an-android-device/ external article]).
    or try an app like https://play.google.com/store/apps/details?id=hk.sld.SwipeLaunchDisabler

  • Help ... I've accidentally deleted all data of my user in the terminal. what to do? Can i undo the commands?

    Help ... I've accidentally deleted all data of my user in the terminal. what to do? Can i undo the commands?
    greetings from austria

    You cannot undo commands. When you delete/remove files with the rm command the files are not put in the trash where they could be recovered. They are gone.
    You should have your system backed up with Time machine and/or backup clone of your system. Use them to recover you files.

  • What happens when multiple users access the same servlet?

    Do the users share all the same resources? Or is a new process generated for each user? I have a servlet that builds a string to return to the user and I only have myself to test, so I can't really see what happens when many users access the servlet. Is there a possibility that the string will get screwed up, like when dealing with multiple threads, or do all the users get their own resources and I don't have to worry about that?

    huh? if you can point a test servlet at it, you can point a browser at it (even if the servlet does not serve html it will run)
    try pasting the servlet URL into a web browser
    refreshing multiple browsers repeatedly could provide a manual test

  • When the user press the button Calculate Tax (see attached doc) and click on Tax details then this should be updated automatically. But it does not work it is empty and the user has to update manually.

    When the user press the button Calculate Tax  and click on Tax details then this should be updated automatically. But it does not work it is empty and the user has to update manually.
    All setup looks fine.
    Please let me know what can be done on this?
    Regards,
    Peu

    HarryAustralia wrote:
    I recently updated my ipad wifi only to the new ios 6.1.2 and initially I had the auto cover lock option which can be seen in the Generals tab, but then it stoped working!! Before the update, the auto cover lock worked fine. So after trying all the options, I then did a complete reset on the ipad and now its gone all together from the General tab!! I can no longer see the "auto cover lock" option.
    The iPad cover lock is for when you use a cover with magnets in it to lock and unlock the iPad when you close the cover or open it. Try running a refrigerator magnet along the sides of the iPad and see if that trips the iPad Cover Lock back into the settings.
    That is not the same thing as the iPad Auto Lock setting which allows you to set an allotted time before the iPad goes to sleep.
    You can try resetting all settings to see if the Auto Lock feature retinrs to the iPad.
    Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. This can be a little time consuming re-entering all of the device settings again.

  • How to remove save, cancel option when end user runs the workbook in Portal

    Hi,
    how to remove save, cancel option when end user runs the workbook and make some small changes like using page items or increasing rows and columns
    I already made 2 changes
    1) I removed the option in Oracle Enterprise Manager under discoverer viewer of saving
    2) I also removed the option of Allow saving changes made in Viewer when adding workbook to portal
    But still the end user gets options of saving when made small changes to workbook like increasing rows and columns
    Is their any place, I need to make changes?
    Thanks in Advance
    Rowdheer

    Don't use JSP to serve a binary file. It almost implies the use of awful scriptlets and the invocation of both the response writer and the response outputstream which would only lead to IllegalStateException headaches in the server logs.
    Use a Servlet instead. Specify the file name as request parameter and let the servlet read the file and write it to the outputstream of the response.

  • I upgraded itunes since a pop up stated that I would have to upgrade it so it can recognize my iphone5's new software. I upgraded the itunes and now when I plug in the iphone its asking "set up as new iphone" will this delete everything on my phone?

    I upgraded itunes since a pop up stated that I would have to upgrade it so it can recognize my iphone5's new software. I upgraded the itunes and now when I plug in the iphone its asking "set up as new iphone" will this delete everything on my phone? Also why is it forcing me to set up as a new iphone, why doesn't it recognize it like it did before I upgraded iTunes. I'm afaid I will lose all my apps, music, pictures etc. please help. thank you.

    You are correct. Corrupted files are in the backup. If you've already restored the iPhone it has been erased and starting over is the way to go in order to eliminate the corrupted files.
    Hope that helps

  • I deleted songs in my iphone on the music app but when I sync with the computer the songs disappear. How can I delete songs on my phone but keep them in iTunes?

    I deleted songs in my iphone on the music app but when I sync with the computer the songs disappear. How can I delete songs on my phone but keep them in iTunes?

    I use iTunes Match so I can't confirm this on my computer (my Music tab looks different), but as I recall, on the Music tab you have the option to check to sync selected playlists, artists and genres, and then check which playlists you want to sync below that.  Then, like songs, you would uncheck the playlists you don't want on your phone and sync to remove them.

  • Using the same itunes account for two users on the same macbook pro

    Hi all.  I purchased a macbook pro in september (which I have absolutely adore), but because my semester was so jam packed with work, I wasn't able to take it in for my data transfer until the Christmas season.  Everything was transferred correctly, but for some reason the transfer leaves me with two different users on the same macbook.  I don't really have any problem with this, except I want to access the music from the "old user" with the new user that I have been using since I purchased the macbook.  Is there any way that I can move my music from one user to another?  Bear in mind that I only have one itunes account, and almost all of this music was purchased legally through itunes (I had some old cd's that I transferred back when I first bought the original macbook back in 07).  Thank you!

    I'm assuming that you want to get both your purchased music AND your ripped CD's back into the New iTunes Library.  If you use iCloud to re-download all your purchased music, TV, apps and books you wont get your CD's or movies back; and you'll use up a lot of internet bandwidth and time to re-download everything.  So, I'm going to give you a way to get the music and everything else off the hard drive into your new iTunes Library.
    But, I need some clarification here.  I'm assuming that you recently used Migration Assistant to move your old Mac's user account to the new Mac, so when you turn on the new Mac you have a choice to log in as either the "Old_User" or the "New_User", or something like that.  And both user acounts are using the same iTunes music store Apple ID, right?
    And, I'm assuming that you have both accounts set up with your iCloud or MobileMe information, so they have the same info in the contacts, calandars, bookmarks, and notes.  If you didn't use iCloud to load this info to the new user, then importing your old contacts, calendars, bookmarks and such will require an extra few steps, and is a different process entirely (composed of exporting the data from each of those apps while logged in as the Old User, and then importing them while logged in as the New User). 
    I'm assuming that the main differences in the two accounts will be that your old documents, old downloads, old email, old iPhoto and old iTunes library are not merged with the new ones, right? Apples Migration Assistant would have merged the Mac Apps folder and copied over all the Shared Users documents if it was done right. I'm also assuming that you kept your old iTunes Library in your Old User account and not in the Shared Users folder, right?
    If that's the case, first decide which account will become the primary account that you you will use all the time from this point forward.  You may want to choose the account that has the most recent work that you have done with the computer over the past semester since it's set up the way you like it, or the account that has the largest amount of data and history that you don't want to move.  The next step will be done by first logging into whichever account you wont be using in the future (except to access old info that can't be moved).
    If you are happy with how it's working now and just want to move your old documents, photos, and music over to the new account, then it seems to me that it would help things if you first log in as your "Old User" name" and move (or copy) your old documents, downloads, iPhoto Library, and iTunes library to the Shared Users folder. 
    I would basically move everything important in the Old User's home folder to the Shared Users folder, keeping the files in the proper subfolders like "Music" "iTunes" "Pictures" "Movies" "Documents" "Downloads" etc...  However, if your New iTunes Library or New iPhoto Library and such are already in the Shared User's folder, make sure you don't replace them with the old ones, by renaming the old ones first (maybe add the word "old" to the name.
    Mind you, when you have moved everything, and you log out of the Old User acount, and then log in as the New User, you will usually have to enter any administrator's User name and password whenever you want to make changes to those old documents while logged in as the New User.  Before going forward you should first change the User Permissions of those files to let the New User "own" them, so it will stop asking you for a name and password every time you want to access them in the future. 
    EVERYTHING from this point forward assumes that you are now logged in as the New User, and you should not ever need to log in as the Old User, except to access your old email archives or old Keychain Access to find stored passwords (which I think are stored in the Old User's "Library" folder which is invisible and inaccessable in Lion).  I don't know how to merge old saved emails or keychain passwords into the new account (mobile me can sync the keychains or mail rules/accounts, but iCloud can't, and mobile me doesn't sync the actual emails that were downloaded since 2007).
    First, to change the "Sharing & Permissions" to the New User just select "Get Info" for any old document or enclosing folder that need their permissions changed to the New User, click on the little lock icon at the bottom right of the Get Info Window, authenticate with any Administrator's Name and Password, and click okay.  If it shows your New User name as "Read Only" change that to "Read and Write".  If your New User name is not in the list, click the "+" icon on the bottom left and select the New User name, and set it for Read and Write.  Sometimes you have to do this "+" user step more than once to get it to stick. 
    Then, after your New User name shows it's set for "Read & Write", with your New User name still selected, click on the little "cog-wheel" icon next to the +/- buttons, and choose "Apply to Enclosed Items".  The computer could take a long while to finish changing the permissions if there are a lot of files in the folder you changed, so be patient.  When it's done you should "own" all the files in that old folder as the new user.  You are now ready to proceed with importing the old music into the New iTunes library.
    First launch iTunes (still as the New User), and go to File > Preferences > Advanced.  Make sure iTunes is set to "keep itunes media folder organized" and "copy filkes to itunes media folder".  Click okay.  It may open a small window showing that things are being moved and organized, with a progress bar, and then it's done.  It wont do that if you are already organized and copied. 
    At this point, you could simply locate your old iTunes music folder in the Finder and drag the Finder folder onto the open iTunes app window and let go of the trackpad button when the cursor changes to a green "+" sign, and it will import and copy everything into the new iTunes Library.  When it's done you can delete the old Music folder in the Finder (not in iTunes).  However, you may not have enough hard drive space to make the copies, and it will be much slower than if you move the files in the finder before you import them.  You may still have duplicates of your ripped music that you added to the new iTunes Library, and can delete those from within iTunes.
    My step to get the old music to show up in the New iTunes Library by moving them instead of copying them will be done in a particular way, that will avoid having the entire old music folder left behind to take up space on your hard drive, and it will make the import process significantly faster.  You are basically going to use the Finder to move the old music folder into the New iTunes Media folder, but you need to do it in such a ways as to not overwrite the new stuff.
    So, before you move your old iTunes Music folder into the new iTunes media folder, rename the old Music folder with the word "old" in it, then move that folder into your current iTunes Media folder.  Move it, don't copy it.  If the Mac forces you to copy it, once it's done you can delete the old music's original folder, after you confirm it's all there in the copied folder.  This sometimes happens when you move files from Shared Users that you haven't changed the ownership properly before the move.  Now when you drag the old music folder onto the iTunes App window, since the files are already in the iTunes Media Folder it will not copy the files but will simply move them around and organize them inside the new iTunes Music folder.
    You can repeat these steps with the old Movies, TV shows, Apps and Books, or whatever you want to move to the new iTunes Music Library.
    I don't know how to "merge" the old iPhoto Library with the new one, but when you click on iPhoto in the dock while holding down the option key while you click, it will let you choose which iPhoto Library to open.  From a dialog box you can choose the old one, which you copied to the Shared Users folder earlier.  It's possible that a similar technique of dragging the old iPhoto library older on top of the iPhoto App window would import things, but you'd need to research that first.
    I wish I had more time to proof-read this answer, but I have to go to a meeting, but can check back later for questions.

  • How to retain the work item in inbox of user if user press the icon cancel?

    HI,
    we  are using a text editor in approval section of workflow where the user needs to enter the reason for apporval or rejection.
    the requirement is how to retain the work item in inbox of user if user press the icon cancel? there are two icons in editor,one is ok(tick marg) and cancel(cross mark).
    so when user dont enter any text in the editor and press on cancel icon,then approval/rejection should not authorize and work item will remain in the user's inbox .unless and untill he enters the text.
    i have tried   LEAVE TO TRANSACTION 'SBWP'.leave program etc but nothing is working.
    please guide me.
    thanks
    prsahu

    Hi,
    Go with Sangvir Singh suggestion.
    It also looks neater from a Business Process Modeling perspective. You continue the process flow only when a change has occurred.
    Kind regards, Rob Dielemans

  • Type the name and password of a user in the "(null)" group to allow this.

    To connect to wifi while in the recovery partition, I'm asked to authenticate the wlan's certificate, and in order to do that I'm asked for "the name and password of a user in the "(null)" group" to make changes to the Certificate Trust Settings. Anyone know what or which user may this be?
    I'm not able to pass from the initial apple screen when I boot, so I wanted to repair or reinstall Lion, but in order to do that I need to connet to the WLAN to download it.

    Hi, I called Apple Support this day, and the answer is that enterprise WPA wireless is NOT supported by Lion Internet Recovery.
    You can find the supported configurations and protocols on Apple site:
    http://support.apple.com/kb/HT4718?viewlocale=en_US

  • Forefox won't start in windows XP: I get the message that windows "cant' find the exe file" even when I click from the program file, rather than the shortcut.

    Forefox won't start in windows XP: I get the message that windows "cant' find the exe file" even when I click from the program file, rather than the shortcut.

    Delete the current Firefox shortcut on the desktop and create a new desktop shortcut via the right-click context menu on the Firefox.exe program (Send to > Desktop)

  • Am i the only one who when trying to enter the code for creative cloud activation ?

    I give up,i have been trying to activate a 3 month subscription for CS6 from Staples and every time i try the code it will not work.  I have used the chat live and spent about 3 hours already going nowhere.  I do not like talking on the phone to some help desk overseas and the only thing i think left to do is to return the junk.

    I tried all that and even took a picture of the numbers and blew them up so a blind person could read them and had 3 others read them off.  A simple way to fix the problem is get someone on Adobes staff to find a font that most people can read from whatever product the stick it to.
    John McDonough
    Date: Wed, 1 Aug 2012 18:33:58 -0600
    From: [email protected]
    To: [email protected]
    Subject: Am i the only one who when trying to enter the code for creative cloud activation ?
        Re: Am i the only one who when trying to enter the code for creative cloud activation ?
        created by David__B in Adobe Creative Cloud - View the full discussion
    Hey John,
    Not sure if it helps or not, but I know sometimes with codes like that its really hard to tell certain characters apart, O - like in Oscar versus 0 - number and number 1 versus lowercase L like in Lima.
    Might test entering it both ways if you have any suspect characters?
    -Dave
         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/4592955#4592955
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4592955#4592955. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Creative Cloud 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.

  • How do you prevent the organizer from mixing the order of pictures when down loading off the memory card?

    @How do you prevent the organizer from mixing the order of pictures when down loading off the memory card?

    This sounds like you are using Photoshop Elements, and the Photoshop Elements forum would be best at answering that.
    Photoshop Elements
    Gene

Maybe you are looking for

  • ASA 5505 VPN configuration question

    I have a asa 5505 v7.2(3) asdm 5.2(3) th I am trying to get reconfigured after our cable company was bought out and they replaced the cable modem with a router. My asa now has a non routable "10" address on the outside instead of one of the 5 statics

  • Purchased music will no longer import to ipod

    hi, all: after downloading the latest ipod update about september 11 (i think), we have been unable to import music purchased from itunes into ipod. the music plays in itunes; itunes keeps telling us to update the ipod, but that has been updated with

  • Problem in Substitution

    Hi, I am doing substitution for one VO. It is not working for me. Giving some View Attribute not found error. I have one doubt. I am customizing the page so I am puting the files in different directories. I have created these directories. Do I need t

  • Document is incomplete

    Hi, While creating sales order System showing document is incomplete,would you like to save or edit incomplete document.Whether I can save this or not.If not then what r the other customization i will,Please reply me this issue. thanks , Rajendra

  • How can I have Firefox remember my preferences for a specific website?

    Specifically, on yelp's website, when searching for something, there's a mini map that has an option for a checkbox to "redo search in map." Every time I open a new tab or window, I have to check that box. Yet, in Safari, it remembers that I checked