Error Message:  GUI_DOWNLOAD

Hi people,
You could help me please.
1 - In this case, i have a simple program to download a itab contents. When i executing it  on-line, saving in a local drive, the file is created normally, but when is executed in Background saving in a local drive too, the Job is terminated, but the file isn't created. In the end of this message have a example of the code.
2 - In other case,  I have 1 program that executing in background too, the JOB aren't concluded and occurs Exception Error: UNKNOWN_ERROR.
Code Example for the 1. problem.
REPORT ZZ_TESTE .
tables: t030.
data: it_t030  LIKE t030     OCCURS 0 WITH HEADER LINE,
      i_ktopl             LIKE t030-ktopl,
      v_tabix like sy-tabix.
data: begin of itab_t030 occurs 0.
          include structure t030.
data: end of itab_t030.
selection-screen begin of block b1 with frame title text-001.
  parameters: p_ktopl like t030-ktopl obligatory.
selection-screen end of block b1.
      v_tabix = sy-tabix.
      select ktopl
             ktosl
             bwmod
             komok
             bklas
             konts
             konth
     FROM t030
     INTO table it_t030
     WHERE ktopl = p_ktopl.
        CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
            FILENAME                             = 'C:\TESTE_FLAVIO.TXT'
            FILETYPE                              = 'ASC'
            DAT_MODE                           = space
         TABLES
            DATA_TAB                              = it_t030
         EXCEPTIONS
           FILE_WRITE_ERROR                = 1
           NO_BATCH                                = 2
           GUI_REFUSE_FILETRANSFER         = 3
           INVALID_TYPE                            = 4
           NO_AUTHORITY                          = 5
           UNKNOWN_ERROR                   = 6
           HEADER_NOT_ALLOWED              = 7
           SEPARATOR_NOT_ALLOWED           = 8
           FILESIZE_NOT_ALLOWED            = 9
           HEADER_TOO_LONG                 = 10
           DP_ERROR_CREATE                 = 11
           DP_ERROR_SEND                   = 12
           DP_ERROR_WRITE                  = 13
           UNKNOWN_DP_ERROR                = 14
           ACCESS_DENIED                   = 15
           DP_OUT_OF_MEMORY                = 16
           DISK_FULL                       = 17
           DP_TIMEOUT                      = 18
           FILE_NOT_FOUND                  = 19
           DATAPROVIDER_EXCEPTION          = 20
           CONTROL_FLUSH_ERROR             = 21
           OTHERS                          = 22.

Hi,
In background the GUI_DOWNLOAD FM fails...so u have to use OPEN DATASET .so that ur file will be downloaded to application server....
   Internal table to display error contracts  .
     i_error         TYPE STANDARD TABLE OF t_error.
Declaration of local variables
  DATA : lv_dsn3(1000) TYPE c,
         lv_dsn4(1000) TYPE c.
IF NOT i_error IS INITIAL.
      LOOP AT i_error INTO wa_error.
        CONCATENATE  wa_error-lifnr
                     wa_error-evart
                     wa_error-vedat
                     wa_error-ekorg
                     wa_error-ekgrp
                     wa_error-epstp
                     wa_error-knttp
                     wa_error-bukrs
                     wa_error-kdatb
                     wa_error-kdate
                     wa_error-ktwrt
                     wa_error-waers
                     wa_error-wkurs
                     wa_error-inco1
                     wa_error-inco2
                     wa_error-ihran
                     wa_error-angnr
                     wa_error-msg
                     INTO wa_input1 SEPARATED BY c_tab .
        APPEND wa_input1 TO i_input1.
        CLEAR : wa_input1,
                wa_error.
      ENDLOOP.
Move the contract error files to the application server
      CONCATENATE v_fname1(15) lc_path1 p_aerfl1 INTO lv_dsn3.
      OPEN DATASET lv_dsn3 FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      CHECK sy-subrc EQ 0.
      LOOP AT i_input1 INTO wa_input1.
        TRANSFER wa_input1 TO lv_dsn3.
      ENDLOOP.
      CLOSE DATASET lv_dsn3.
    ENDIF.      
Rewrad if helpful.
Regards,
Nagaraj

Similar Messages

  • Handle error message

    hi
    How to handle error message for following FM?
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename                        = lv_filename
        filetype                        = 'DBF'
        write_field_separator           = 'X'
    IMPORTING
      filelength                      = lv_file_len
       TABLES
        data_tab                        = it_final
        fieldnames                      = t_header
        EXCEPTIONS
       file_write_error                = 1
       no_batch                        = 2
       gui_refuse_filetransfer         = 3
       invalid_type                    = 4
       no_authority                    = 5
       unknown_error                   = 6
       header_not_allowed              = 7
       separator_not_allowed           = 8
       filesize_not_allowed            = 9
       header_too_long                 = 10
       dp_error_create                 = 11
       dp_error_send                   = 12
       dp_error_write                  = 13
       unknown_dp_error                = 14
       access_denied                   = 15
       dp_out_of_memory                = 16
       disk_full                       = 17
       dp_timeout                      = 18
       file_not_found                  = 19
       dataprovider_exception          = 20
       control_flush_error             = 21
       OTHERS                          = 22.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

    Error Message:  GUI_DOWNLOAD
    GUI_DOWNLOAD - Access Denied!! Why its throwing error message?
    Control flush error in gui_download
    Error in GUI_DOWNLOAD in background processing
    Error In Gui_download
    Reward points..

  • Error message not geting

    HI,
    When i am downloading file, In selection scree file path given wrong also. It is not giving error message.
    This is sample code for this.
    CASE 'X'.
        WHEN rb_eloc.
          CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
            BIN_FILESIZE                    =
              filename                        = l_p_efile
              FILETYPE                        = 'ASC'
            tables
              data_tab                        = i_file
            FIELDNAMES                      =
           EXCEPTIONS
             FILE_WRITE_ERROR                = 1
             NO_BATCH                        = 2
             GUI_REFUSE_FILETRANSFER         = 3
             INVALID_TYPE                    = 4
             NO_AUTHORITY                    = 5
             UNKNOWN_ERROR                   = 6
             HEADER_NOT_ALLOWED              = 7
             SEPARATOR_NOT_ALLOWED           = 8
             FILESIZE_NOT_ALLOWED            = 9
             HEADER_TOO_LONG                 = 10
             DP_ERROR_CREATE                 = 11
             DP_ERROR_SEND                   = 12
             DP_ERROR_WRITE                  = 13
             UNKNOWN_DP_ERROR                = 14
             ACCESS_DENIED                   = 15
             DP_OUT_OF_MEMORY                = 16
             DISK_FULL                       = 17
             DP_TIMEOUT                      = 18
             FILE_NOT_FOUND                  = 19
             DATAPROVIDER_EXCEPTION          = 20
             CONTROL_FLUSH_ERROR             = 21
             OTHERS                          = 22
          IF sy-subrc <> 0.
            MESSAGE e006.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.

    Hey..
    if u are giving only file name and not any path .. for example..
    xzy.txt
    then..it will save the file in a default path.. it is either C: or D: or the SAP Work Directory folder.. either one amongst the three...
    check for the files in these... you will get it...

  • Windows Vista: Ipod Error Message, no longer read by PCs

    Hello,
    I have a 5th generation black ipod video with 30GB of memory.
    The other day I hooked it up to my laptop (Toshiba, 4 months old) that it's been functioning on with no problems whatsoever. This weird error message flashed twice about it not being able to sync because of some software problem.
    Eversince then, the only thing I can charge my ipod on is the family treadmill in the basement (~_~) as no other computer in the house recognizes it. I can't even charge it through the wall sockets, either.
    I have changed the ipod cord, still no luck. I've also reset the device about 3 or 4 times and uninstalled, restarted the laptop then reinstalled itunes. I would like to reset it back to factory settings but that's impossible as computers/laptops don't pick it up. I live very far from a Mac store...
    What's a girl to do? I can't live without my Busta Rhymes and Wu-Tang Clan!
    Any advice would be greatly appreciated! Thanks!

    you have to update Vista go to this site and up-date http://windowsupdate.microsoft.com

  • Error message into a Variable.

    Dear users,
    I have a rather usual (unusual from the weekend beers for me though!!) query which I can't figure out a proper way to implement.
    My requirement is like this:
    I have a message class in which I want to define a text 'Employee number & not found'.
    I want to use this in the program, but not to raise this error. Instead, I want to move this error message with the Employee number into a Character(200) variable.
    So instead of using MESSAGE e0xx(messageclass) USING employee number, I would like to move the error text into a variable which looks like:
    lv_text = e0xx(messageclass) USING '1234'   which stores the text 'Employee number 1234 not found' in lv_text.
    How would I acheive it??
    Thanks, V!

    Try tis way
    message e999(00) with i_emp-empno into lv_text.
    press f1 in message will provide you more details

  • IPod seen by windows, not by iTunes+ weird error message

    I have a first generation 2GB iPod nano and i use windows xp. I can't load any music because iTunes doesn't see my iPod and an error message pops up that reads like this: "iTunes: iTunes.exe corrupt file. The file or directory \iPod_Control\iTunes is corrupt and unredable. Please run the checkdisk utility." I've tried everything, reinstalling iTunes, different versions, reinstalling OS, resetting iPod, even on another computer, same problem. Other than that, the iPod works normally, it's just lacking music..
    and why is there no email adress from apple for service qustions? 10x

    I still don't get it, how can I put it in disk mode if I CANNOT see the iPod in iTunes..?
    Did you read the document i linked you to? here's another link to it:
    Putting iPod into Disk Mode
    whereabouts in that procedure in that document (that you get to by clicking that link) does it say that you have to connect it to iTunes to put it into disk mode?
    ... never mind ... i guess you've fixed it anyway ...

  • Error message iPod cannot update b/c all of the playlists no longer exist

    Hello. I have been getting this error message. "Songs on the iPod "MAR(the name of my iPod)" cannot update because all of the playlists selecting for updating no longer exist." And my playlists are still on the left side in my iTunes. They do exist. I have a feeling ths might have to do with the fact that on vacation the person I was visiting gave me a gift of putting all of his music that would fit into the external hard drive part of my iPod, and for the past week or so I have been putting that music onto my 40 GB portable hard drive at home. I suspect I took a vital folder out of my iPod by accident. Right now I have the folder iPod_control if I open my iPod up in My Computer. Am I missing something? Right now my iPod is empty because iTunes made a composite playlist last week and I deleted it thinking I could get my real playlists back. Can you help me, or reccomend a site/someone who can? Thank you.
    PC   Windows XP  

    hiya!
    And my playlists are still on the left side in my iTunes. They do exist.
    let's just doublecheck this. folks get this message if they have "automatically update selected playlists only" selected in their itunes "ipod" preferences tab. so bring up that tab ("edit > preferences", click "ipod" while the ipod is showing up in the source list), and do a playlist by playlist crosscheck of the playlists selected in that tab, and the playlists showing up in the itunes sourcelist.
    is there any playlist selected in the preferences tab that isn't showing up in the sourcelist?
    love, b

  • Windows Blue Screen Error Message Appears As Soon As IPod Connected

    Everytime I connect my IPod to my computer, I get the Windows Blue Screen error message. Thought it was the cable, so plugged cable in by itself. No problem. Uninstalled IPod and ITunes software and then plugged in IPod, still got the Blue Screen. The Blue Screen says something about "recent plugged in device problem". It is not the cable, it must be the IPod. Did not have this problem when I bought it. Tried it on labtop and get the same error message. I can't do updater or anything that requires me to plug the IPod into a computer because the Blue Screen appears immediately. When I unplug, the Blue Screen remains and locks up the computer so I have to restart each time. I have tried everything I can think of. Please help.

    Hi Mike thank you for replying,
    I am not able to start the computer in safe mode, safe mode with networking, last good known configuration etc, Each time it quickly blue screens and restarts about two secs into the process.
    I was unable to try a clean OS install from the disk as it gave the blue screen error shown in the original post. The same thing happened when I tried to use the repair option on the XP home disc. So i can't get into the computer at all to start diagnosing the fault, the only clue I have is the error message, and after searching the internet I haven't found much enlightenment from that yet.
    If you can help me out or suggest where to search it would be much appreciated.
    Thx

  • IPod Error Message: "The disk could not be read from or written to."

    Hello!
    I was syncing my sister's video iPod (30GB) and this error message pops up "Attempting to copy to the disk. "SARAH'S IPO" failed. The disk could not be read from or written to."
    I have restored it three times already, but once it starts putting the music and files back onto the iPod it pops up with that error message. I have updated to the latest version of iTunes and iPod software available. My OS is Windows XP.
    Is this something serious? Will I be able to fix it myself or will I need to send it in to be fixed by Apple? Will that be expensive? We didn’t get the Apple replacement plan. D=
    Any help would be greatly appreciated. Thank you in advance. ^_^
    PowerBook G4   Mac OS X (10.4.3)   15" PowerBook 1.5 GHz PowerPC G4, 1.5GB RAM - Windows XP with iPod 5 Generation

    Okay I went thru that entire list and here's what I got...
    (1) My OS is XP and is running fine.
    (2) I've updated my windows
    (3) I don't know of any software that might be interfering.
    (4) There are no damaged files.
    (5) My Windows hard-drive is not damaged and I've tried restoring my iPod's disk thru iTunes but it still doesn't work.
    (6) I don't have an iPod photo and I can't find the folder to delete the cache if if I did.
    (7) The USB cord is firmly connected into my USB port and my iPod
    (8) My music is on my external hard-drive so I need to keep 3rd-party hardware connected
    (9) I will try another USB cord to see if that works.
    Is there anything else that I can do? Can Apple fix this?
    Please let me know.

  • IPod Touch will no longer sync...error message.

    For some reason my older iPod Touch without a camera on it will not sync any more and I am getting an error message saying this iPod cannot be synced. Now I had it set up to sync over Wi-Fi and I would occasionally hook up to the computer with the cable and got error messages on both. Now I read something about removing the SC Info Folder. If I do that will that mess things up with syncing my iPhone? 

    What is the exact wording of the error message?

  • Error Message: Need to purge Cache in Adobe Bridge CC (on PC)

    I tried purging using Adobe Bridge by going to Edit/Preferences/Cache then purging, but it becomes non responsive.  The error message said the problem files were at Users/(my user name)/AppData/Roaming/Adobe/BridgeCC/Cache.   There are 4 files in there that are taking up 124 GB!  Can I simply delete these files or will it corrupt my regular files?  I tried doing as some other forums suggested and hold the ALT key down when opening Bridge before purging, but no luck.

    Yes, you can delete the cache files manually,  Just be advised that Bridge will become very, very slow until it finishes rebuilding its caches.  Depending on your files, that can take a few minutes or several hours.
    A good way of doing it is at night, so you can do it before going to bed and let Bridge rebuild caches overnight.
    If you can, save the cache files before deleting them to an external drive, so that you'll have them as backup if something goes wrong.

  • Error message when installing Photoshop CS2 in Windows 8

    I just upgraded to a computer with Windows 8.  I use Photoshop CS2.  I am getting the error message below when starting photoshop after installation.  I changed program folders, but that did not work.  Please advise. 
    Error: an error has been detected and activation cannot continue. Please restart your computer and reinstall application.

    http://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.htm l

  • Adobe Photoshop CS2 Error messages after update to mac os 10.4.6

    After updated to mac os 10.4.6 everytime I use Photoshop CS2 I receive an error message "Could not complete your request because of a program error"
    I did all the workarounds that were described in document 331627 from Adobe's website and nothing worked.
    I also subscribe to maxosx.com support and someone suggested removing the legal.localized/Tien...file from the photoshop cs2/legal directory, but everytime I tried to select the directory "legal" from within the finder view, it disappeared and closed the finder window.
    HELP!

    Did you upgrade from a previous version of OS X like 10.3.x or 10.2.x or from a prior version of 10.4.x? If the former, there are probably some files in your previous system folder that need to be restored.
    Otherwise, double click Photoshop when it's closed, and then IMMEDIATELY hold Command + Option + Shift. You'll get a box for resetting the settings. Select Yes and maybe that will help.
    --Ryan

  • Upload Error message: HTTPS protocol is not supported

    Hi,
       Whenever I do a quick par upload i'm getting an 'Operation failed' message to check sap-plugin.log.
       Log says
    Upload Error message: HTTPS protocol is not supported, please ensure this server is not using HTTPS. My webdynpro applications are getting deployed without any issues.
         How to resolve this?
    Thanks
    Sumathi

    Hi Sumathi,
    As there are often problems with the Quick PAR Upload reported, I would suggest to use the "normal" PAR upload from the icon tray (you have to activate the portal icons in the icon tray). That is almost that "quick" (one or two clicks more needed, we don't talk about more than a second) and - it works (it least it should, and at least it works in most cases even if the Quick PAR Upload fails).
    Hope it helps
    Detlev

  • Custom error message in SAP application log

    Is there a way to add a custom error message to the SAP application log without passing the message variables MSGV1, MSGV2, MSGV3, MSGV4 and the Message class and number. 
    We want to pass a custom message from the BAPIRET2-MESSAGE without giving it a Message class and number.  The reason for this is that  we are using class based exceptions instead of the traditional message class with errors.  When we catch the class based exception, we take the error text of the exception and put in in the BAPIRET2-message and set the BAPIRET2-TYPE as 'E'.  Now we want to add this to the SAP application log.
    The call to 'BAL_LOG_MSG_ADD' takes a structure BAL_S_MSG which is just like BAPIRET2.  However this function builds the entry to the application log use the message variables MSGV1, MSGV2, MSGV3, MSGV4.  There is no provision to pass in the BAPIRET2 message.
    Add message to application log
      CALL FUNCTION 'BAL_LOG_MSG_ADD'
        EXPORTING
         i_log_handle              = app_log_handle
         i_s_msg                   = log_message
    Thanks,
    Jay

    Hi Jay,
    Did you see <b>BAL_LOG_EXCEPTION_ADD</b>?
    This FM is represented by the structure <b>BAL_S_EXC</b>. This can have various versions as described below:
    <b>Data of BAL_S_EXC Structure  /     Use</b>
    <b>EXCEPTION</b>  /                              Exception class from which an exception text 
                                                       is added to the log. This field must be filled.
    <b>MSGTY</b>  /                                     Message type (MSGTY) of a T100 message.
                                                       This field must also be filled for exceptions.
    <b>PROBCLASS,
    DETLEVEL,
    ALSORT, TIME_STMP</b>  /                Message or exception attributes, such as
                                                        problem class (PROBCLASS, for
                                                        example, "very important"), level of detail
                                                        (DETLEVEL, from 1 to 9), sort criterion
                                                        (ALSORT, unrestricted) and timestamp
                                                        (TIME_STMP). These fields can be displayed
                                                        in the log (except TIME_STMP).
    <b>MSG_COUNT</b>   /                            This attribute is not used for exceptions.
    Follow the link below for more details:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/d6/5d7f38f52f923ae10000009b38f8cf/frameset.htm">SAP Help DOc</a>
    Hope this helps.
    Thanks
    Sanjeev

Maybe you are looking for

  • How to Package Photoshop Extension for cs4/cs5 with manifest.xml

    Hello, tl;dr: How can I package my extension for both cs4 and cs5 in a way that respects the extension's window geometry? I have a panel that specifies window geometry in it's manifest.xml. When the panel is installed into Photoshop's panels/ folder,

  • Dumping data from forms 4.5  to excel

    Hi, we use oracle 8.1.3 (WINDOWS 2000) / forms 4.5 (WINDOWS 98). we call a procedure from forms 4.5 to dump oracle data into excel file. The procedure is working fine. The problem is after dumping data into excel file and exiting the program, excel i

  • Importing 125GB+ RAW AVI Video Files

    Can anyone report success in importing video files larger then 125GB into Premiere Pro CS4? I know for a fact that Premiere Pro CS3, when importing files of this this size would only import the first few minutes and discard the rest of the video. Is

  • Upgrade CS4 to CS5 with invalid serial number from pc to mac

    I bought CS4 from a registered reseller a while ago, but now when I try to register the download, it says the serial number is invalid. I am now unable to reach the reseller. I have recently moved from pc to mac and would like to purchse CS5. Is it w

  • Navigation menu on main page working yet?

    I still do not have the main nav menu on the homepage working.  Right now I have it marked as not displaying and have copied and pasted it onto each page which is a pain.  This is really a basic function of any website and no matter how many other be