How to delete delivery without hitting USEREXIT_SAVE_DOCUMENT

Good day, Gurus
We have coding in the user exit USEREXIT_SAVE_DOCUMENT within include MV50AFZ1 to process delivery changes through a proxy to an external system.  Some how deliveries are being deleted without hitting this UE.  All traces of the delivery including change logs are removed without hitting the UE.  Normally we could use VL22 to determine who deleted the delivery and when but all this transaction gives us is "No log of changes".
Any ideas how all traces of a delivery are removed without hitting this UE???
Thanks,
Chad

If, as you're saying, "commit" did not happen, you should see an entry in SM13 and the changes in the delivery simply would not have been saved. I seriously doubt that a delivery could be simply erased that way...
My understanding is that USEREXIT_SAVE_DOCUMENT is called when the user saves the document by clicking the Save or PGI button, for example. If you need to update a Z table in that user exit, I'd definitely recommend doing the updates IN UPDATE TASK, so that your updates would be committed together with any other changes in the delivery. If this is not done, you might experience some inconsistencies.
But when the delivery is deleted, most likely USEREXIT_SAVE_DOCUMENT is not triggered (although I'm not 100% sure). That's why SAP has provided USEREXIT_DELETE_DOCUMENT, so that you could delete the entries in Z table for that delivery. The comments in the program explain it rather well, actually.
My guess is that it was not done in your system and, therefore, the entries were created when the delivery was first saved and then they were not deleted properly when the delivery was deleted.
This is actually more of an ABAP than SD question...

Similar Messages

  • How to delete tune without iTunes

    Hi,
    I have a problem, I have some old podcast which I like to keep on my harddrive. Then I got the ipod, so I want to store the podcast episodes there. But dragging direct from Finder to ipod show me it copied but didn't appear under podcast. I found out after a few trial and error that I should have added the podcast to iTunes before dragging into ipod. So...
    Good : Finder -> iTunes Podcast -> iPod
    Bad : Finder -> iPod
    So now those files I drag direct from finder into ipod are in the ipod but I can't get rid of them, cause they don't show up in the iTunes list. It shows up in Senuti and iPodDisk, but both don't allow me to delete the song. Now I can't drag those podcast episodes in to ipod from iTunes podcast anymore. It somehow recognise that the file exist on the ipod but wouldn't list it on the podcast.
    So, back to the question, How to delete tune without iTunes?? thanks

    Did you try using the Finder? I'm trying to accomplish similar management tasks. Finder seems far superior to itune management, for podcasts management. This might work-- First quit itunes.
    Use a finder window, not spotlight, search itunes and single-click on any folder by that name. Notice which of these files is in your startup disc (in case you have other bootable drives connected)-- Notice the little icons on the bottom of the Finder window. Double click on "iTunes Music" at the window bottom. A new Finder window should open. I recomend the list mode, selectable at the top left of Finder window. Now you should be able to view all your itune- contents on the computer. It seems these files can be deleted, but one must remeber to empty trash before going further. Unfortunately this approach won't allow adding new folders that will show up in itunes.

  • I have over 9000 emails on my iphone 5, can anyone tell me how to delete all without having to first select each email ?

    i have over 9000 emails on my new iphone 5, can anyone tell me how to delete them without first selecting each one ?

    Just start Mail on the phone and go to all inboxes or the inbox for the account with 9000 emails.
    Tap Edit near the top and start tapping the little circles. Entire threads can be selected which will delete the multiple emails within a thread saving some steps.
    After tapping the circles, tap Delete at the bottom of the screen.
    Keep at it and you'll get it done.

  • HT1222 how to delete Xcode without uninstall-devtools

    how to delete Xcode without uninstall-devtools.Cause I have alredy install xcode before and delete it in a wrong way ,so my file in folder Libary named "unistall-devtools" does not exist .In this case ,everytime I re-install it , it will say install fail .So how to completely unistall it under my condition.Plaese help me .

    At a Terminal prompt enter "sudo " and then drag the command into the Terminal window. Press RETURN. Enter your admin password when prompted which is not echoed to the screen.

  • How to delete photos without a keyword

    I have 10,000+ photos from my son's football season in Events in iPhoto 09. I only want to keep the ones that I have marked with a specific keyword. This seems like it should be a simple task but I can't seem to figure out how to select photos without a keyword and then be able to delete them from my library. Can anyone help?

    make a smart album Keyword is not "your special key word" and delete the photos form that album
    LN

  • How to delete everthing without itunes and restriction password

    i need to delete everthing without itunes and restriction password

    Can you go to Settings>General>Reset>Erase all content and settings? That is the only way.

  • How to delete delivery

    Hi,
         Have an inconsistent delivery where the goods movement status is showing as picking completed even though the picking was reversed. Now while trying to delete the delivery the program is going to dump. Is there any program which can be executed to delete such inconsistent deliveries?
    Regards,
    Ashwin

    Short text
        The current application triggered a termination with a short dump.
    What happened?
        The current application program detected a situation wh
        should not occur. Therefore, a termination with a short
        triggered on purpose by the key word MESSAGE (type X).
    What can you do?
        Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        Short text of error message:
        System error: quantity not completely distributed
        Long text of error message:
         Procedure
         Diagnosis
             Internal error.
         Procedure
             Please inform your programming department or system administrator.
        Technical information about the message:
        Message class....... "ME"
        Number.............. 803
        Variable 1.......... " "
        Variable 2.......... " "
        Variable 3.......... " "
        Variable 4.......... " "
    How to correct the error
        Probably the only way to eliminate the error is to correct the program.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "MESSAGE_TYPE_X" " "
        "SAPLEINS" or "LEINSF2U"
        "LIS_VERTEILUNG_LF"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        Utilities->Upload/Download->Download".
        4. Details about the conditions under which the error occurred or which
        actions and input led to the error.

  • How to delete delivery  Line item after the Invoice Passed accounting

    Hi Experts,
                    Outbound delivery was created w.r.t.  Purchase order using VL10B.In the current process here batch is determined at delivery level.There was a line item with '0' Quantity which had a batch and another line item with Full Quantity confirmed for a batch and the PGI was done for the delivery.Invoice was created and passed accounting.
                     The problem is that in VF04 in the Billing due list we are able to see the '0' Quantity Line item  as shipped but not yet billed.
                     Doing a PGR ,then delete the line item with '0' Quantity and then again doing PGI was suggested by few people but i feel that will be a very tediuos process since the document  passed accounting.
                      Can anyone help in getting the line item deleted from the delivery document or suggest with ways to remove the data at VF04.
    Warm Regards,
    Jeff

    I think you can comeplete the item by using T.code VL_COMPLETE, check and let us know your feedback

  • How to delete settings without icloud password?

    Hi!
    A while ago i changed my emailadress. Icloud remembered my old emailadress so i couldn't delete the icloud account. I went to icloud.com and deleted all my devices. My ipad was deleted so i could re-install the whole ipad. It has the right icloud account now.
    However, things are not working out with my iphone. It's a new one which i installed as Iphone of... instead of new iphone. Now, icloud.com cannot find this iphone so i have no idea how to re-install this device. i don't know the password of my old emaildress and a new password cannot be sent to my old emailadress.
    Any suggestions?

    You can get your appleID password reset at iforgot.apple.com

  • How to delete mail without opening it on icloud and OS X 10.5.8

    I've read the answers to this question for later and current mac operating systems, but I can't get this to work when on icloud mail and OS X 10.5.8.  Is this possible?  BTW, I'm using no other mac products.

    I don't care for any of the changes in OSX, & it only gets worse the further up you go.
    But are you saying Right Click or control + click doesn't give you a Delete option, seems there's no way to stop it showing, but very curious why somebody would want to do this???
    I can Right click here on an unread eMail & select Delete without it showing... are you Right clicking before selecting it?

  • How to Delete Call without calling?

    Ordinarily this is an issue with missed calls. I would like to Delete, but a single tap results in an outgoing call to the caller that was "missed". (I can quickly cancel the call, but this is clumsy.) Can't find info in UG. What am I missing? Thanks.

    If I understand you correctly, you can't individually delete any Recent calls, missed or otherwise. You can only delete them all with the Clear button. You can press at the right of the call listing near the arrow to get the call details (date, time, number).

  • How to delete icloud without password

    i got a ipod from a pawn shop, but it wasnt restored. and the person that owned it before had not logged out of his icloud account, and the banner keeps anoying me... i want to erase the ipod completely, but i cant because of that account

    That is correct. Without the previous owner's information or them removing the device from their account, you will never be able to use that device. There is no way around Activation Lock. I suggest you take it back to the pawn shop for a refund, because the device is useless to you.

  • Sorry, I don't know how to delete this.

    我的开发过程是建立一个工程,然后有一个控制器子程序和一个主机子程序。车间有10台PC控制器,运行的是相同的应用程序,但IP地址各不相同,中控室有1台主机,主机通过局域网采集每台控制器的实时数据。
    请问大家,如果让控制器使用一个网络发布的共享变量来向主机发送检测数据,这无疑是最方便简单的,但同时有十份相同的程序,会不会使主机无法辨认谁是谁啊?这种架构的网络,大家觉得怎么样做比较好?

    I'm also starting to get more and more 'wierd' emails in Mail saying such things as: "Sorry this is a virus" "download soofware" and I don't know how to delete them without clicking on the subject, which then opens it, right?
    Firstly, ignore any email which claims you have a virus, offers you software to deal with a virus, or claims that a virus is going round and you should delete something to cope with it -even if it comes from a friend. There are no active viruses on Macs at the moment, and these emails are always scams or hoaxes.
    You can delete emails without opening them by hitting command-I in Mail, which will open a list of emails on the server (if you have more than one account navigate to the right one). Select the message(s) you want to delete and hit the delete key: wait while the server deals with it.

  • How to delete icloud acount

    i go to settings, icloud i choose delete account it asks me for my password, the problem is i forgot my password and i changed it online but it refuses to accept my new password on the phone, how to delete acc without old password, i also don t use this email anymore, i created a new acount on icloud with a different email that i would like to use on my phone, what can i do.

    You've got a problem with no easy solution. One of the security features of iOS 7.0 is that you can't delete the iCloud account or turn off Find My Phone if you don't know the original Apple ID/Password that was used to set things up. Nor can you re-activate the phone if you don't know this info. Basically renders the phone useless to anyone that doesn't know this info.
    You're gonna have to call AppleCare or go to an Apple store & see if they can fix this for you.

  • How to delete Skype contacts on Windows Phone?

    How to delete contacts without blocking them?

    Well, DrkatieAshley, it doesn't help. NO POINT IN YOUR COMMENT at all. But thank you.

Maybe you are looking for

  • How to use the Load Balancer Plug-in to serve multiple domains

    In SJSAS8.1 SE/EE the asadmin commands that create and maintain a load balancer configuration operate within a domain. When the load balancer configuration is exported an xml file is created that contains all the information for that domain. To make

  • Can my pixma mp 610 work with windows 8

    just installed windows 8 but my canon pixma mp  610 printer  won't work with it ,do i need a new printer ,was working fine can any one help ????

  • Video doesn't appear

    Hai , I am using N95 8mb. I use USB connection for copying files from Phone to PC. When I try to open the video files in the video manager, I can hear the audio, but no video appears. Can someone help please? I use the updated software. I have window

  • Minimum Order Quantity

    Hi,gurus   I gave minimum order Quantity 5 in Material master(Salesorg1) tab in stipulation.but for that material when i am giving 1 in sales order it is taking smoothly.So is there any more setting to do. Suresh

  • JFileChooser is different on Mac than other platforms?

    Hi all, I have an app that I developed on windows and tested thoroughly on Linux (don't recall the specific flavor). I've now gained access to a Mac, and find that I can't save my data. I use a JFileChooser, and on the Mac there's no way to enter a f