Can I catch the error instead of the DUMP GETWA_NOT_ASSIGNED ???

Hi:
I have the following code:
  FIELD-SYMBOLS:  . is executed i got a dump GETWA_NOT_ASSIGNED.
Can I catch the error instead of the dump ?
Thank you
Silvia

see the following example to avoid DUMP
PARAMETERS: p_file LIKE rlgrap-filename .
DATA: v_file TYPE string.
DATA: BEGIN OF itab OCCURS 0,
      name(23) TYPE  c,
      END OF itab.
DATA: errormessage TYPE char50.
v_file = p_file.
CALL FUNCTION 'GUI_UPLOAD'
  EXPORTING
    filename            = v_file
    filetype            = 'ASC'
    has_field_separator = ' '
  TABLES
    data_tab            = itab.
RECEIVE RESULTS FROM FUNCTION 'GUI_UPLOAD'
EXCEPTIONS
   file_open_error               = 1
   file_read_error               = 2
   no_batch                      = 3
   gui_refuse_filetransfer       = 4
   invalid_type                  = 5
   no_authority                  = 6
   unknown_error                 = 7
   bad_data_format               = 8
   header_not_allowed            = 9
   separator_not_allowed         = 10
   header_too_long               = 11
   unknown_dp_error              = 12
   access_denied                 = 13
   dp_out_of_memory              = 14
   disk_full                     = 15
   dp_timeout                    = 16
   OTHERS                        = 17 .
break developer.
CASE sy-subrc.
  WHEN 0.
    errormessage     = 'Data Loaded'.
  WHEN 1.
    errormessage     = 'FILE_OPEN_ERROR'.
  WHEN 2.
    errormessage     = 'FILE_READ_ERROR'.
  WHEN 3.
    errormessage     = 'NO_BATCH'.
  WHEN 4.
    errormessage     = 'GUI_REFUSE_FILETRANSFER'.
  WHEN 5.
    errormessage     = 'INVALID_TYPE'.
  WHEN 6.
    errormessage     = 'NO_AUTHORITY'.
  WHEN 7.
    errormessage     = 'UNKNOWN_ERROR'.
  WHEN 8.
    errormessage     = 'BAD_DATA_FORMAT'.
  WHEN 9.
    errormessage     = 'HEADER_NOT_ALLOWED'.
  WHEN 10.
    errormessage     = 'SEPARATOR_NOT_ALLOWED'.
  WHEN 11.
    errormessage     = 'HEADER_TOO_LONG'.
  WHEN 12.
    errormessage     = 'UNKNOWN_DP_ERROR'.
  WHEN 13.
    errormessage     = 'ACCESS_DENIED'.
  WHEN 14.
    errormessage     = 'DP_OUT_OF_MEMORY'.
  WHEN 15.
    errormessage     = 'DISK_FULL'.
  WHEN 16.
    errormessage     = 'DP_TIMEOUT'.
  WHEN 17.
    errormessage     = 'OTHERS'.
ENDCASE.
MESSAGE e000(00) WITH errormessage .

Similar Messages

  • I installed a new printer and now Photoshop Elements tells me I can't print.  The error message is "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available.  You will need to che

    I installed a new printer and now Photoshop Elements tells me I can't print.  The error message is "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available.  You will need to check your printer settings before printing."  I have uninstalled and re-installed Photoshop Elements, checked my printer settings and still I can't print a photo.

    Hi ,
    Please update to PSE 13.1
    13.1 has solved this problem.
    Refer to this link.
    Photoshop Elements Help | Printer errors with Photoshop Elements 13

  • I have an IPad 4.  After updating the system, when I try to look at picture on Facebook and make it larger, there is just a "circle" in the middle of the page instead of the picture.  Can anyone help me?

    I have an IPad 4.  After updating the system, when I try to look at picture on Facebook and make it larger, there is just a "circle" in the middle of the page instead of the picture.  Can anyone help me?

    Close all open apps by double-tapping the home button, then swiping up and off the screen with the app window (not the smaller icon).
    Reset your device: hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)

  • I have Adove Reader XI. All my files have a picture as the first page. I used to be able to see the picture for each file. Now all I see is the PDF logo. How can I change this so I can see the pictures instead of the logo?

    I have Adobe Reader XI. All my files have a picture on the first page. I used to be able to see that picture but now I can only see the PDF logo. How can I change that so I can see the pictures instead of the logo?

    Windows 7

  • Can we show custom error message if the user fail to log in MII system.

    Hi,
    Is it possible to show a custom error message when a log in is failed because of access restrictions?
    I am using xMII version 11.5
    Thanks
    Regards,
    Neha Maheshwari

    Since you are on 11.5, it is possible to make edits to some of the system jsp pages, etc. but it would NOT be my recommendation to do so.  Since the NetWeaver versions for MII 12.0 and beyond use UME for the login instead of the LHSecurity engine, this would be a very short term change.
    What specific changes would you like to make, the login page messages, query result messages, applet messages?

  • HT1819 Podcasts that I had subscribed to with my old computer are invisible in the Itunes store with my new computer. The error message says the podcast is not available in the US. Yet I can still download them on my old computer. How can I fix this probl

    Podcasts that I had subscribed to with my old computer are invisible in the iTunes store on my new computer. The error message says the podcast is not available in the US. Yet I could still download the podcast on my old computer before I switched. How can I fix this?

    Hello, ted_marx38. 
    Thank you for visiting Apple Support Communities.
    The most common cause for this issue would be media present that is purchased with another Apple ID.  When prompted to authorize the computer it may show a different Apple ID.  If this is the case, the computer will need to be authorized for this Apple ID.  The article below will walk you through the process of verifying if that is the case or correcting the issue if not.
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
    http://support.apple.com/kb/TS1389
    Cheers,
    Jason H.

  • How can I view photos on the iPad in order of the name of the photo instead of the date the photo has been taken

    On the PC I edited the "file"names of photos in a photo-album, so that the photos are in a logical order after the file names. When I synchronise this photos with the iPad, they are shown on the iPad in the chronological order when the photo has been taken.
    How can I pursue the iPad to show the photos in the order of the "file"names of the photos instead of the order after the date of the photo?

    hello Allan
    Thanks for the answer. Wouldn't it be a nice feature on the iPad if you can choose on the iPad itself in which order the photos should be sorted -> for instance after capture date, after filename or after sorting in iPhoto
    Maybe this will be a feature for the next iOS release
    Urs

  • I tried to download a book I bought but failed. The error message contains "The operation couldn't be completed. (Product Integrity error 9918). Anyone can help?

    I tried to download a book I bought but failed. The error message contains "The operation couldn't be completed. (Product Integrity error 9918)". Anyone can help?

    If this is something you attempted to purchase and download through the iTunes store, then contact iTunes support. http://www.apple.com/emea/support/itunes/contact.html

  • Can I style Web Forms Confirmation Page Results - Specifically the "ERROR" message in the results?

    Hi,
    Can I style Web Forms Confirmation Page Results - Specifically the "ERROR" message in the results?
    {module_webformresults} is auto rendedered as a table with CSS IDs attached but nothing specific for the ERROR message - resulting in the error not being seen.
    The ERROR is triggered by a dulplicate User Name or Password.
    I tried using a JQuery text selector, but it does not work with the results for some reason.
    Any ideas?
    Attached is are the error results, see Username
    Thanks!
    P

    Hi Patrick,
    It should work. You know the id of the specific area, you know what string to search for in order to condition the appearance of the new message.
    Kind Regards,
    Alex

  • Hi my acrobat pro will not open, this is the error I get - "the application  Adobe acrobat pro can't open  -1712

    Hi my acrobat pro will not open, this is the error I get - "the application  Adobe acrobat pro can't open  -1712

    Hi Scott,
    1. What is the version of Acrobat and Operating System?
    2. Have you tried repairing the product? if not then Go to Help -> Repair Acrobat Installation.
    Regards,
    Anoop

  • I downloaded the ibook instead of the audio book can I get a refund?

    I downloaded the ibook instead of the audio book can I get a refund?

    A refund may not be possible since the terms of sale for the iTunes Store state that all sales are final. You can contact the iTunes Store, explain the reason for your request, and ask, though:
    http://www.apple.com/support/itunes/contact.html
    It's possible they'll make an exception for you. An exception is more likely if the app is defective in some way or doesn't do what the developer advertised and the developer has been unable or unwilling to help you.
    Good luck.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

  • Where can I see the error msg in the below code.

    Hi Gurus,
    Please have a look at the code.
           if abc is initial.
              return-message = cl_bsp_runtime=>get_otr_text( 'ZXYZ/ERR_EMPID' ).
              append test to test_tab.
            endif.
    In the above code, Emp id input field is being checked as its mandatory. I would like to know where can I see the error message per the above code. what is get_otr_test??

    go to SE63 and see it from there..
    SE63-> Translation->OTR Objects->Short Text
    in field <b>Package</b> key in 'ZXYZ'
    and in field <b>Text from OTR</b> key in 'ERR_EMPID'
    and go forward.
    I hope this helps.
    For more info see the link below
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/6ad43aa654be55e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/93/bccd3a00746f4ae10000000a11402f/frameset.htm
    <i>If useful answer..reward points and close the thread.</i>
    A.<b></b>

  • Is there anyway i can put the column browser on the side instead of the top?

    Is there anyway i can put the column browser on the side instead of the top?

    No, I don't mean adding a column (I did that right away). I'm referring to the 'Songs, Albums, Artists ,Genres, Videos and Radio' at the top. The fact that 'Songs' means something completely different in Classical Music (all instrumental are called 'Pieces' and 'Songs' are limited to works with voice) is something I've had to resign to over the years; this further bias against that kind of music makes iTunes an even poorer fit. Too bad there's no music player optimized for Classical Music...

  • Partition Failed Partition failed with the error: POSIX reports: The operation couldn't be completed. CAN NOT ALLOCATE MEMORY

    I plug usb mass storage device to my macbook pro i7 than every thing is stack and i reinforce to shutdown and than I start again but mac fail to boot again.
    I tried different optiones in disk utility in mac os startup disk. but still fail to repair, erase and partition. I try to fix with the steps listed in
    https://discussions.apple.com/message/13288923#13288923
    but it fail to partition with the msg:
    Partition Failed
         Partition failed with the error: POSIX reports: The operation couldn’t be completed.cannot allocate memory
    pls pls pls help urgentely on this matter I stop working.
    Kind Regards,
    pe

    Hi again OGELTHORPE.
    I've already run two hardware tests. One quick one and one extended one. It was unable to pick anything up.
    It's like everything is running perfectly, but when I go to erase the HDD or partition it, it pops up with the error message. Even when I try to erase and partition using "Terminal", I received the same error message.
    It's beginning to do my head in, but will see if replacing the SATA cable will make any difference. If it doesn't, I'll hazard a guess it could be the Logic Board.
    Thanks again for your suggestions!
    L.

  • Changing the Error message in the background

    Hi Experts,
    Is there any way to catch the Error message in the background apart from changing the message type.
    Because the error message is coming from a standard function and I want my program should handle the error message. Whether this can be possible if possible can anyone please let me know the process.
    Thanks in advance.
    Regards,
    Srinivas
    Edited by: Srinivas Hari on Jun 23, 2009 10:08 AM

    Hi Srini,
    The question is not very clear still I am trying to answer this.
    If my understanding is correct you are trying to run a standard function module in background task in your custom program and that FM is giving some error messages but not raising any exceptions and you are trying to catch those exceptions in your program. If that is be the case then yes you can definitely catch that error messages.
    Step 1 : Call function 'XXXX' IN BACKGROUND TASK
    Step 2: Call function 'ID_OF_BACKGROUNDTASK'
    Step 3: COMMIT WORK and WAIT.
    Step 4: Call function 'STATUS_OF_BACKGROUNDTASK' ---> passing the id number which you will receive in Stpe 2.
    Basically the step 4 would return you the error messages which would be visible in Transaction SM58.
    Regs,
    Somnath

Maybe you are looking for

  • Path in ZIP Files

    I have a program that compresses files into a ZIP File. How do you get the data extractable in something like WinZip and how do you get Ride of the Path in WinZip?

  • Is there a way to adjust the Auto Page Size

    Hi, When selecting the "Auto" size option in the InDesign print dialog, it makes the page .6667" bigger than the document page size. I would like to adjust that amount to an even 1" bigger than the document page size. Is there a way to change this se

  • Skip table during automatic standby database

    We would like to skip a table from being replicated into a standby database. We do the following on the standby database startup nomount; alter database mount standby database; recover automatic standby database; and cancel the process. and then brin

  • [Solved] pacman-color failed to install missing dependencies

    Just upgraded my AUR packages and I get this error: :: Starting AUR upgrade... :: perl-class-load-xs 0.04-2 -> 0.06-1 AUR Targets (1): perl-class-load-xs Proceed with installation? [Y/n] y :: Edit perl-class-load-xs PKGBUILD? [Y/n] n :: Building perl

  • No Logs in specific status

    Hi all, in a specific status of my support message there are no logs (error messages, warnings etc.) visible. If i change the status i can see them. It is NOT an authentication problem. Any help would be much appreciated. Regards Daniel