Dump when message triggering in MV50AFZ1 for document deletion.

Hi Gurus,
My requirement is to raise a error message in time of delivery document delete in VL02N.
Funtional Req: Delivery Document should not be deleted if picking done.
Code:
         FORM USEREXIT_DELETE_DOCUMENT.
             if lips-komkz <> ''.
                message E066(VL).
             endif.
        ENDFORM.
The above is the code that I am using. It hit the break point. But when it reaches at message statement it gives below short dump:
"During "Exit Command" processing, the program tried to send a " " message.
This is not allowed at this point in processing.                          
The program had to be terminated.                                                                               
Screen name.............. "SAPMV50A"                                      
Screen number............ 1000         "
Can anyone please tell me how to achieve the requirement.
note: When using VL02 SAP standard itself generate a message and not allowed to delete the document if picking done.But user also use VL02N and in this case standard delete the document directly although picking already done.

Hey,
   Well you can try a couple of things:
1. If the check that you are doing is based on the value of a field that is already saved and is already avaliable try using the BADI and try to get the value of that variable from the data base and do the check and raise error message.
2. If it is not already in the data base then in the badi try to get the variable value from the call stack of the screen check the below thread on how to do that:
LINK: [Get values from stack|retrieving internal table info. during runtime from callstack;
Then you can use that value for the check in the BADI
3. I would suggest you should definitely check enhancement spots if you are on ECC6.
Regards,
Himanshu

Similar Messages

  • Short Dump when the Bex-Report scheduled for Broadcast

    Hi Guru's
    I am getting the short dump when I am scheduling the Bex-Report for Broadcasting. Need your help to reslove this issue.
    Thanks
    Navin
    Note
    The following error text was processed in the system BDV : The current application triggered a termination with a short dump.
    The error occurred on the application server spdbwd01_BDV_05 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Form: INTERNAL_ERROR of program SAPLSDCL
    Form: PHIO_GET_CONTENT_ACCESS of program SAPLSDCI
    Function: SDOK_PHIO_GET_CONTENT_ACCESS of program SAPLSDCI
    Function: SKWF_PHIO_CONTENT_ACCESS_GET of program SAPLSKWF_CONTENT
    Method: COPY_MIME_TO_FOLDER of program CL_RSRA_KWF_UTILITIES=========CP
    Method: GET_STYLESHEET of program CL_RSRA_KWF_TMPL==============CP
    Method: CONSTRUCTOR of program CL_RSRA_KWF_TMPL==============CP
    Method: SET_TEMPLATE_FOLDER of program CL_RSRA_ENGINE_BC=============CP
    Method: CONSTRUCTOR of program CL_RSRA_ENGINE_BC=============CP
    Method: EXECUTE_SINGLE of program CL_RSRA_JOB===================CP

    HI Navin,
    Check the short dump analysis in T-code ST22.
    and also check the Information Broadcast Settings / Configuration
    Check the error for Emails in t-code SCOT. BASIS Consultants will help you on this issue.
    Regards
    Daya Sagar

  • RBDAP001 causing a short dump when submitted in a FM for IDOC processing

    Hi All Gurus,
    I have a situation wherein I need to automate the processing of failed INBOUND IDOCS.
    So the status of failed IDOCS could be 51 or 64 or anything like that.
    I tried using statement 'SUBMIT RBDAP001 with......'. in a custom FM , however I got a short dump.
    When I debugged I realised that RBDAP001 pops up a screen with the final IDOC processing result which probably may be the cause of dump. Dump message is 'CNTL_ERROR'.
    <u>So is there a way how I can suppress this screen</u> <b>OR</b> <u>use any other function module to process these inbound Idocs.</u>
    Appreciate your advise on same.
    Thanks and Regards
    RK

    Hi Rajiv,
    Please use program RBDMANI2 to reprocess IDoc with status 51.
    Also check program RBDINPUT for reprocessing IDoc with other statuses.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Short dump when trying to open FPM for Web Dynpro Application

    Hi,
    I am receiving a short dump while trying to open a Web Dynpro Application in FPM.  I go to SE80 and open the Web Dynpro component 'FPM_OIF_COMPONENT'.  I then choose the application '/sapsrm/wda_l_fpm_oif'.  I then click Web Dynpro Application -> Test -> Execute in Administration Mode.  A new IE browser is opened and I then receive a short dump.  The name of the short dump runtime error is 'OBJECTS_OBJREF_NOT_ASSIGNED_NO' and the exception is 'CX_SY_REF_IS_INITIAL'.
    I have not used FPM before.  I would like to use it to remove the 'Close' button from this application.  Do I need to initialize FPM before using it?
    Please help.
    Thanks,
    Jeff

    >
    Chinnu wrote:
    > Hello Jeffery Andersen,
    >
    > If I understand correctly, you are trying to preview FPM_OIF_COMPONENT.
    >
    > I think this component can not be executed as it just is a template for creating a FPM applications. In other words, it is an interface that can be used to created a WD ABAP application from work bench.
    >
    > This [Floor Plan Manager - ABAP|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/90f3cfd2-46d0-2b10-b3ab-eabf3452cc50&overridelayout=true] can help you understand better.
    >
    > Best regards,
    > Chinnu
    Hi Chinnu,
    Your understanding is not correct, he is trying to execute the application /sapsrm/wda_l_fpm_oif'.
    Hallo Jeff,
    everyone have suggested lots of possibilities. Nothing works for you. I would suggest the following.
    Go and execute any other FPM application which uses FPM_OIF_COMPONENT,does it work ?
    If it works then you can narrow down that /sapsrm/wda_l_fpm_oif is not working and you can raise a OSS ticket.
    If it is not working then you have to see if you have right BASIS versions to use FPM.
    Edited by: Baskaran Senthivel on Dec 6, 2010 1:09 PM

  • DMS - Reports for documents marked with deltion indicator

    Hello Guys,
    Kindly let me know is there any standard reports available from sap which can highlight me the “list of documents that are marked with deletion indicator”.
    If not what’s the work around for that?
    Also adding to deletion indicator, I would like to capture the reason for deletion of original from document info record? But I found there is no specific place to capture the reason for document deletion.
    Kindly help me out
    Points will be awarded for sure.
    Regards,
    Murali.S

    Dear Fapreeth,
    For getting the list of document marked with deletion indicator you can goto Tcode "cv04n" there keep all other searching criteria empty just specify criteria for <b>deletion indicator</b> as "X     W. Del.Ind."  you can use <F4> to select that value....   than execute the search and you will receive list of documents with active deletion indicator...
    Regards,
    Tushar Dave

  • When I click on a saved document or spreadsheet, I get this message You need a newer version of Numbers to open this document.  When I go Software update, there is no update for pages or numbers.  can't purchase or update?

    when I click on a saved document or spreadsheet, I get this message 'You need a newer version of Numbers to open this document'.  When I go Software update, there is no update for pages or numbers.  can't purchase or update?
    Trying re-purchasing.  won't let me.  says to check for updates?
    any suggestions

    It sounds to me as though you are attempting to open a Pages 09 document with the Pages 08 application. If you do have Pages 09 on your computer, it may be that for some reason an existing Pages 08 application is invoked accidentally.
    Jerry

  • I receive an error message when submitting a pdf file for conversion to a Word document "... an unex

    I receive an error message when submitting a pdf file for conversion to a Word document "... an unexpected error has occurred..."   - is there a way to overcome this error?

    I received your Scan.pdf sent to [email protected] and had no problem to convert it via Export PDF service. Could you try again?
    Jyh-Jiun Liou

  • When I try to save a document a message comes up saying "Couldn't auto-save document." How can I fix this? Thank you for your help!

    When I try to save a document a message comes up saying "Couldn't auto-save document." How can I fix this? Thank you for your help! - Chip

    This is a mean one. I don't have time to try and find the cause, but at least some answers to your questions, to hopefully shed some more light on this.
    Where was the original destination? iCloud folder.
    On another drive? Tried to Save as... to Hard Drive (also changing name of file), always get the same non-descript short Error "Couldn't auto-save document." (slides down from top with a yellow warning triangle). Status to the right of document name is "Not Saved".
    Another Server? No access at this time.
    I also tried File, Revert to, Browse all versions, to check what I'd be losing. Saw I wasn't losing much and selected the last version and pressed Restore - same error. In the end I just quit Pages and re-opened. The document opened with the last few edits missing (but with the status "Edited" next to the name). I re-edited and could save. Good old habit of saving often.

  • No warning message triggered for VP

    Hi, I need help from the experts.
    I have set tolerance limit for VP at SPRO > Materials Management > Inventory Management and Physical Inventory > Goods Receipt > Set Tolerance Limits
    I have also changed the system messages at SPRO > Materials Management > Inventory Management and Physical Inventory > Define Attributes of System Messages
    When I set
    00 : M7 : 306 : Price change of & % in month &/& for material & = E
    00 : M7 : 307 : Price will change by & & in month &/& = E
    When I MIGO-GR (I already calculated the price where it will affect the MAP) the PO, at point of "Check" no logs were created but when I try to "Post" the document the error message is prompted.
    Now the problem is, when I change the system message to "W", I don't get any message triggered either at "Check" or "Post" of GR. Anything I'm missing? I'm curious because it works when I set to error but when I set to Warning nothing happens.
    P.S. The MAP price increased after the posting of the document which was higher than the tolerance set. E.g. from 23.49 changed to 28

    Hi
    Due to the complete change of the transaction, MIGO is unable to provide the requested warning message M7306/M7307. It is not possible to change this behavior.
    Even if you set it up as an error, the "CHECK"-Button in MIGO will tell you that the document is "OK", as MIGO has no way to get that information. Only if you post, shortly before the database update, this message is generated and therefore can only be handled as an error.
    Regards,
    Mauro

  • I am using an expense tracker and when I export the file for use it says it is in location /var/mobile/applications/666E-4BC6-8FF1-50CAD35FA541/documents/MyExpenses.csv where do I find this? Assistance greatly appreciated

    I am using an expense tracker and when I export the file for use it says it is in location /var/mobile/applications/666E-4BC6-8FF1-50CAD35FA541/documents/MyExpenses.csv where do I find this? Assistance greatly appreciated

    Attached is Dennis Linam’s Audition – “Log File” and “Log – Last File”
    Contact information Dennis [email protected]
    Previous contact information with your organization (DURIM):
    Dennis - i just finished my audition trial and bought the subscription the 2014 version.
    created by durin in Audition CS5.5, CS6 & CC - View the full discussion 
    DURIM - Okay.  I would expect the "Cache Warning" message because your default directories would not be the same as the ones in the settings file I generated.
    If you go back to the "7.0" directory and open the "Logs" folder, can you copy the "Audition Log.txt" file and send it as an attachment to [email protected]?  We'll take a look in that logfile and see if it gives us more information about why this is failing now.
    Also, do you have any other Adobe applications installed on this machine, such as Premiere Pro?  If so, do they launch as expected or fail as well?
    I do have the trial Pro version of Adobe reader, but I have not activated it, because I fear the same thing will happen did it. I cannot afford to activate the subscription for that product and take the chance of it not working either. I depend on those two programs religiously. Here is the files that you requested. I appreciate any help you can give me to get this audition program started
    Audition Log- file
    Ticks = 16       C:\Program Files (x86)\Common Files\Adobe\dynamiclink\7.0\dynamiclinkmanager.exe
    Sent from Windows Mail

  • Error message in Adobe Pdf in printer device panel when trying to create a pdf document.  I have CS3

    Error message in Adobe Pdf in printer device panel when trying to create a pdf document.  I have CS3 Web Premium with Acrobat Professional 8.  I use it fine on my old computer with Windows XP.  I recently got a new laptop with Windows 7.  I installed all my Adobe programs, and I think they are working.  When I look at Adobe PDF in the device section of the Control Panel it looks okay.  But when I try to print a Word, Photoshop, or HTML page in PDF, nothing happens.  I have tried printing both as File>print and using the PDF tab on the top menu bar.  I look at the device in the control panel and it has the yellow error warning symbol and suggests trying to troubleshoot.  I look at the document list and it says status "error".  When I try troubleshooting Windows suggests doing some Home Sharing and also suggests canceling the document I'm trying to print.  I tried re-installing just Acrobat 8 from CS3 (and have to use Photoshop CS4 disk for shared documents I guess).  I ran into a can't locate adobepdf_dll file, so did a web search on this issue and found a suggestion that I find and use the adobepdf_dll_64 file and may have to (I did have to) remove the "_64" for it to work.  I think I successfully reinstalled using that dll file- no errors came up anyway.  But still when I try printing/converting a photoshop, webpage, or word document into pdf, the pdf device in control panel still gives the error status on the document and gives the same troubleshooting advice.  Help?

    I just compared the properties between the two computers.  On the old computer it has the port as "My Documents/*.pdf".  On my new computer it lists the port as "LPT1".  I tried changing the port to "Print as File", but when I try printing a photoshop picture as pdf, I get a "Access Denied".  I then tried to create a new port on the device control panel.  I tried to create a local port "My Documents/*.pdf" port but was denied.  I ten tried to create a new port type and control panel asked for an INF file.  I wonder if this is where my problem lies.  Thoughts?

  • HT1923 When attempting a reinstall of iTunes, I cant delete the file C\Program Files\Common Files\Apple\Internet Services\Shellstream.resources due to same error message as described above for iPod file; however i can't find it anywhere in the Task Manage

    When attempting a reinstall of iTunes, I cant delete the file C\Program Files\Common Files\Apple\Internet Services\Shellstream.resources due to same error message as described above for iPod file; however i can't find it anywhere in the Task Manager

    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Error message when I try to print: unsupported document-format"application/vnd.cups-command. I recently had my hard drive replaced in my early 2010 21" iMac. Can anyone help?

    Error message when I try to print: unsupported document-format"application/vnd.cups-command". I recently had my hard drive replaced in  my early 2010 21" iMac. Anyone know anything about this? Thanks in advance.

    What system are you running?  Have you tried going to the Canon website to download and install the latest drivers for that model?
    Are you running Time Machine?

  • I receive the following error message when trying to install QuickTime for Windows "Error writing to file C:/Program Files/QuickTime/QTSystems/QuickTimeCheck.ocx. Verify that you have access to that directory."

    I recieve the following error message when trying to install Quicktime for Windows "Error writing to file C:/Program Files/QuickTime/QTSystems/QuickTimeCheck.ocx. Verify that you have access to that directory."  I just trying to get the latest version of iTunes.  Thanks

    "Error writing to file C:/Program Files/QuickTime/QTSystems/QuickTimeCheck.ocx. Verify that you have access to that directory."
    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • The volume for documents cannot be found message

    Similar threads didn't quite yield the results I was hoping for, so I thought I would give this a shot. I am getting a "the volume for documents cannot be found" message when I click on my Documents folder in the lefthand column of a Finder window. I do not have the same problem with movies or music. However, when I click on the Documents folder in my Home menu, my documents are all there. Searches reveal that they are there as well. The only change I made to my computer prior to this computer was turning on FileVault. I have turned it off, but this has not resolved the issue. Neither has simply dragging the folder on the right to the icon on the left. I'm glad that my documents aren't gone, but can anyone advise as to how I can make my computer recognize this?
    Thanks!

    Hi Erin, and a warm welcome to the forums!
    Do you mean the Documents in the Sidbar of the Finder Window?
    If that is the case, then drag the one that doesn't work, off to the left of the Sidebar, it'll go poof, then locate your Document folder and drag that to the Sidebar, but not on top of another icon there, as that'll move it to that location... Perhaps this is how it got lost in the first place?

Maybe you are looking for