DELETE SD DOCUMENT (VA02)- ILLEGAL MESSAGE

Hi all
i have a strange problem
it's occurs when i delete an sd document in va02.
the dump is DYNPRO_MSG_IN_HELP.
The situation is:
in the save_document_prepare the are some controlls. one sends an error message.
Now when I save the document, the message starts and I am not able to save the document.
Instead, if I try to delete the document, at the message the program dumps.
do Any one know why?
Bye
enzo

Well I find a trick.
I was not able to solve the dump,
but when I enter in the delete process the system fill the variable
ereignis
with 'DELETED', so at the beginning of save_document_prepare I put a
check ereigins ne 'DELETED'.
so the user exit does not performed in delete process.
Regards
enzo

Similar Messages

  • WHILE DELETING A SALE ORDER GETTING A RUNTIME ERROR " Screen: Illegal message"

    Hi Experts,
    While deleting a sales order giving run time error.  PFB runtime error details.
    If you know any OSS message, please let m know. I tried, but there is no luck.
    Short text
        Screen: Illegal message
    What happened?
        The current screen processing action was terminated since a situation
        occurred where the application could not continue.
        This is probably due to an error in the ABAP program or in the current
        screen.
    What can you do?
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator.
        You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
    Error analysis
        The program attempted to issue a " " message during "Exit Command" processing.
        This is an illegal operation.
        The program was terminated.
        Screen name.............. "SAPMV45A"
        Screen number............ 4001
    How to correct the error
        The program must be modified to correct the error.
        The modification must be made in "Exit Command" processing.
        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)".
    Source Code Extract
    Line  SourceCde
        1 *---------------------------------------------------------------------*
        2 *       FORM YVBEP_LESEN                                              *
        3 *---------------------------------------------------------------------*
        4 *       Lesen der Tabelle YVBEP (nicht sortiert)                      *
        5 *---------------------------------------------------------------------*
        6 FORM YVBEP_LESEN USING US_POSNR
        7                        US_ETENR
        8               CHANGING CH_TABIX.
        9
       10   YVBEP = SPACE.
       11   YVBEP-MANDT = VBAK-MANDT.
       12   YVBEP-VBELN = VBAK-VBELN.
       13   YVBEP-POSNR = US_POSNR.
       14   YVBEP-ETENR = US_ETENR.
       15   READ TABLE YVBEP.
       16   IF SY-SUBRC > 0.
       17     MESSAGE E506 WITH US_POSNR US_ETENR.
       18   ENDIF.
    >>>>>   CH_TABIX = SY-TABIX.
       20
       21 ENDFORM.
    Could you please help on this issue.
    Thanks
    Srinu

    Hi Srinu,
    it looks like you got the error message Schedule line &1 &2 is missing in table YVBEP while deleting the sales order.
    It seems, that there are no SAP notes regarding this issue. Do you have this issue with all orders or with a single order?
    If only a single order causes this issue, maybe something was wrong during an update.
    If you get this error for many orders, then custom code (modification, enhancement, user exit in MV45AFZZ, ...) may be the reason for it.
    If you have no custom code in module pool SAPMV45A, then contact SAP for this issue.
    Regards,
    Klaus

  • Vf01-"please delete one document" message no. ZSD123-IDES

    hello
    i am practicing inquiry to cash flow.
    at vf01 i get this error.
    "please delete one document" message no. ZSD123 .
    and it doesnot explain why ? and no other inputs on this.
    when i see document flow ...
    inq-completed
    quoatation-completed
    order-completed
    delivery-being processed
    picking request-completed
    gd issue -completed
    now i dont understand why delivery is not compled ..i saw delivery document and delivery date is 10.10.2011 only.
    and why is that am i not able to make billing document and accounting document?
    pls let me know.

    Hi
    To find out where and why you get your Z error message
    You can probalbly go to SE37 to RV_INVOICE_CREATE
    and put a breakpoint.
    Run VF01 when it hits your BP enter SY-MSGNO in the first field
    go to the Watchpoints TAB at the top of the debugger.
    put a watchpoint on SY-MSGNO = 123 and press F8
    It should stop at the error and you can see what your
    custom development is looking for
    Good luck
    Brian

  • On 10.4.11 Mac Mail I get this: Mail cannot update your mailboxes because your home directory is full. You must free up space in your home folder before using Mail. Delete unnedded documents or move documents to another volume. I can't open mail.

    On 10.4.11 iMac Mac Mail I get this message: "Mail cannot update your mailboxes because your home directory is full. You must free up space in your home folder before using Mail. Delete unneeded documents or move documents to another volume." I can't open mail to do this. I have reinstalled software but no effect. How do I get into Mail to delete?

    Found this on the "more like this" Worked like a charm!
    With the Mail.app quit and using the Finder, go to Home > Library > Mail. Copy the Mail folder and place the copy on the Desktop for backup purposes.
    Go to Home > Library > Mail > Envelope Index. Move the Envelope Index file to the Desktop.
    Launch Mail and you will be prompted to import mailboxes. Select OK and allow the import process to complete.
    After confirming all mailboxes were successfully imported and available, you can delete the copy of the Mail folder and old Envelope Index file from the Desktop and this should resolve the problem.

  • Can't delete a document in Word 2007

    I have Windows 7 and Office 2007.  I want to delete a 6 page document which I created.
    When I attempt this action, I get the following message:
    "This action can't be completed because the file is open in MS Office Word."
    I am quite sure the file is not open.  I can delete other documents.

    Check if any other application is running and is using this doc.
    check task manager
    check opened sessions /files
    Work around.
    Modify the document and save it as another name for example  file1 save as file2, rename file1 and delete it.

  • Hi,I have problem with my mac's storage. I deleted some documents,but the storage involves 34Gb other,what does the other consist of? how can I do my mac's storage specially other free?

    Hi,I have problem with my mac's storage. I deleted some documents,but the storage involves 34Gb other,what does the other consist of? how can I do my mac's storage specially other free?

    1. Empty Trash.
        http://support.apple.com/kb/PH10677
    2. Delete "Recovered Messages", if any.
        Hold the option key down and click "Go" menu in the Finder menu bar.
        Select "Library" from the dropdown.
        Library > Mail > V2 > Mailboxes
        Delete "Recovered Messages", if any.
        Empty Trash. Restart.
    3. Repair Disk
        Steps 1 through 7
        http://support.apple.com/kb/PH5836
    4. Disk space / Time Machine ?/ Local Snapshots
       http://support.apple.com/kb/ht4878
    5. Re-index Macintosh HD
       System Preferences > Spotlight > Privacy
       http://support.apple.com/kb/ht2409

  • Security for deleting parked documents

    Is there a way to secure who can delete parked documents? Currently, we only allow a certain group of users to delete parked documents. However, I would like to have a way for the creator or someone authorized for the account to delete them instead.  When we first tested it some time ago, there did not appear to be any checks for security authorizations.
    We are on ERP 04 (ECC 5.0).
    Any suggestions?

    I just attempted to duplicate the error message you were getting by pinpointing a parked document from 2006 created using FV50. I verified that the document contained cost centers and all CO posting periods from 2006 were locked in OKP1.
    I pulled up the document in display mode, clicked on Document in the top left corner and went into change mode, then I clicked on document again while in change mode and selected "Delete Parked Document" and the document was deleted without error. Is this the same deletion method that you are using?
    Like the previous response, I don't see how opening the CO posting periods will have any negative impact especially if FI posting periods are left closed.

  • Deleting Parked Documents for Previous Years

    Hi
    We have got 800 parked documents with a posting date between March 2003
    and May 2010. As per audit requirements we need to delete all these
    parked docuents which are mostly created through Tcode FV50 or FB50
    usin parking option as we don't want to actually post them in system.
    These docments have profit centre or cost centre entries in them as
    well. Now when we try to delete these parked documents we get an error
    message 'Transaction CO Through-postings from FI has been locked'. We
    don't want to open the close CO period as it can use great problem to
    us so can you please tell us some alternate way or some programme which
    can be helpful to delete these parked documents without opening the
    closed CO periods. I will really appreciate your kind response in this
    regard.
    Kind Regards

    I just attempted to duplicate the error message you were getting by pinpointing a parked document from 2006 created using FV50. I verified that the document contained cost centers and all CO posting periods from 2006 were locked in OKP1.
    I pulled up the document in display mode, clicked on Document in the top left corner and went into change mode, then I clicked on document again while in change mode and selected "Delete Parked Document" and the document was deleted without error. Is this the same deletion method that you are using?
    Like the previous response, I don't see how opening the CO posting periods will have any negative impact especially if FI posting periods are left closed.

  • Deleting draft documents in draft process

    Hello,
    I've problem with deleting draft AP Invoices documents in draft process (Approval
    Procedure). AP Invoce which i want to delete has status "Rejected"
    According to polish help documentation in order to remove such docs i`ve to:
    1) From Menu: Administration >  Approval Procedures > Approval Status Report - Cancel
    an approval procedure, position the cursor on the row of an approval template in the
    report results and choose Cancel from the Data menu.
    2) Now ,theoretically, i should be able to remove unwanted document from Document
    Drafts Report, position the cursor on the row of in the report results and choose
    Remove from the Data menu.
    Unfortunately after pressing 'Update' i recive 2 contradictory messages:
    1) Operation completed successfully  [Message 200-48]
    2) Cannot delete drafts in approval process   [Message 3612-1]
    Any suggestions ?
    Greetings,
    Jedrzej

    Hello Jedrzej,
    In the current definition of B1, draft documents that were rejected during the Approval Process cannot be deleted fro the Document Draft window. This design is to ensure that the audit trail is kept for all the actions performed on the document (creation -> rejection).
    To suppress the display of drafts in the Document Draft window, you may consider the workaround procedures described in Notes 1111431
    and 791704.
    I hope the above helps.
    Regards,
    Lorna Real

  • Can't delete a document that is declared a record (because I can't undeclare record)

    We use in-place records management with regular document libraries. Users declare/undeclare records all day long.
    I came across something strange where a document that was declared a record cannot be deleted. Typically, I can just undeclare the document (through Compliance Details) and then delete the document. When I try to undeclare, I click the Undeclare link (and
    then refresh), but the document does not actually undeclare (the item still shows up as a record). I also tried undeclaring/deleting via PowerShell, but I constantly get the error: "...locked read-only"
    Thoughts on how to get rid of this document?

    can reproduce what you describe, the key point is that:
    when you declare a document as record, it is a HTTP post command to the SharePoint document library allitems.aspx page.
    after you undeclare the record, you might want to check the status of the document by refreshing the page, it will prompt you message like:
    To display the webpage again, the web browser needs to resend the information you've previously submitted. If you were making a purchase, you should click cancel to avoid a duplicate transaction. Otherwise, click Retry to display the webpage again.
    So, if you click Retry, another HTTP post command is sent and the document is declared as record again.
    The correct way is to navigate to another page and navigate back again, you will see the document undeclared status.

  • Can we delete a document type?

    Dear All,
    I created a document type supposedly to be used in a One-sided reclassifcation.
    But, i understood that, one-sided reclassification will not post a document.
    (I have configured this long back & i believe that it did not allow me to create the One-sided recalssification task without creating the document type. But, i m not sure of this).
    Now - if i try to delete this document type - system will not allow me.
    It gives an error message as
    If you want to delete Document Type R1, you must first change Cons of Investments C1 so that Document Type R1 is no longer used.
    Note that further uses of Document Type R1 may exist. That is, after you have changed Cons of Investments C1, the system may display yet another usage the next time you attempt the deletion. Hence, make sure you eliminate all uses of Document Type R1.
    In my system there is no C1 in Consolidation of Investments.
    Is this C1 a special version?
    I searched in special versions - but could not make any sense there.
    Any clues on how to go about this?
    Thnaks!
    Kumar
    Edited by: Kumar on Apr 17, 2009 10:14 PM

    Thanks Dan,
    There is no task or method with the name C1.
    Re:"It is suggested you executed a "where used" search on the document type R1 as it may be used in another version".
    Yeah, i did this before.
    Here is what i got:
    Master data Characterisitics: 1 use (this is a folder icon)
       Cons of Investments Charact Values: 1 use (this is a folder icon)
           Characteristic C1 (this is a charcteristic - adjacent to this there is a button to change it)
    When i click the change button, I get a message
    No maintenance screen exists for the object
    Diagnosis
    Using the where-used list, you found a data record that is version-dependent. The data record belongs to special version type Consolidation of Investments and special version 100.
    Procedure
    If you want to display or change the data record in the Workbench, you should check the parameters to see if a version combination belonging to special version type Consolidation of Investments and special version 100 has been specified.
    If this is not the case, change the parameters before you change the data record.
    Re: "If the document type is not assigned to a task in any version it cannot be used and may not need to be deleted".
    But we dont want to keep the unused doc type's  :'(

  • Error while deletion of documents in Search iView

    Dear All
    I am using custom Layout set for KM Search iView. The layout set includes options for deleting the documents presented as search results.
    When we delete the all the documents one by one present in search results, it works fine. But after last document is deleted, following error message is coming.
    <b>System Error
    Exception Class: class.java.lang.IndexOutOfBoundsException
    Exception Message: Index=0; Size=0</b>
    Please help to resolve it.

    Hello,
    I assume that you have Excel installed in your computer.
    So, I think that this error is a problem with your Internet Explorer configuration. 
    Try to open them with IE 32 bits.
    Hope this helps.

  • Whenever i try and delete mail, i get a message that I cannot move that message to trash??? any help?

    whenever i try and delete mail, i get a message that I cannot move that message to trash??? any help?

    In my (father's) case, inside the
    Library/Mail/POP-username@serveraddress ,
    there was a "folder" named "Deleted Messages".  The icon was also a standard folder icon.
    Just by renaming it to "Deleted Messages.mbox",
    the icon was changed to a document tray icon,
    and deleting messages started working.

  • I deleted some of my text message histories to get rid of 'other' space (6.33 gb). They were gone from iMessage, but they still showed up in search, so they were still taking up space on my phone. I synced my iPhone (4s) but the messages are still there.

    I deleted some of my text message histories to get rid of 'other' space (6.33 gb). They were gone from iMessage, but they still showed up in search, so they were still taking up space on my phone. I synced my iPhone (4s) with iTunes but the messages are still there. How can I get rid of these texts for good and have more space on my phone? 6.33 gb of other space is way too much, thats almost half of my overall available space (13.5 gb.) I don't want to reset my phone and lose all my other texts/ app progress/ photos. I do have backups, but when I restore from the backup the other space comes back along with everything else. What can I do to get rid of this other space and the 'deleted' text messages? (I'm running iOS 6.1.3 if that helps)

    But once again, I do not want to lose my other texts, app progress, and photos. I could sync the photos but i would still lose the app progress and texts. I would only restore if it was the only option left, but the other space, as already stated, isnt the main concern. The main concern is those 'deleted' texts. If they go, then a good size chunk of the other space goes. I know you CAN delete texts for good. It worked fine before. All i want to know is why its not working for me now, and how to fix it.
    I also know that when you delete texts on your iphone, they get marked for deletion, however they stay on your device (thats why they show up when you search for them.) then when you sync your device with itunes, the texts marked for deletion should disappear. When i synced they didnt disappear. Thats what i need an explanation/solution for. Why the texts marked for deletion didnt get fully deleted after the sync.

  • I Try to open an Indesign document. The message: it is made in a newer version. Go tot CC: Help/Give your Adobe id/Start Indesign again and try to open the document. This doesn't work. How to solve this problem?

    I Try to open an Indesign document. The message: it is made in a newer version. Go tot CC: Help/Give your Adobe id/Start Indesign again and try to open the document. This doesn’t work. How to solve this problem?

    What version are you running?
    What version was it made with?

Maybe you are looking for