Without giving the path - file is transfereed using gui download

i use GUI download to download the internal table data in the path specified by the user.
But there is a strange behavoir in this.
i havent given the file path to download.
But i have given only the file name (notthedrive say
In the file output path : sample
once i execute the it shows the message this much bytes transferred.
but the file is transferred and stored in some location.
I dont know y this happens in my progrram
only if i give the directory path  the file is to be strored.
other wise it shouldnt .
How to solve this.
please help
thanks

Friend i have given a sample code ...
i couldnt copy from there.
Just execute the code and check without giving the path but give only any name . i
it will say bytes transferred.
Please check
*& Report  Z_POP_UP_DOWH
report sdfjksdfjk.
selection-screen begin of block g2 with frame title text-001.
parameters: p_file like rlgrap-filename default 'd:\uma.csv'.
selection-screen end of block g2.
DATA: filestring    TYPE string.
data: returncode type i.
DATA : itab_Data type table of mara,
       wa_data like line of itab_data.
DATA: BEGIN OF fields OCCURS 2.
        INCLUDE STRUCTURE sval.
DATA: END OF fields.
      CLEAR fields.
      fields-tabname     = 'RLGRAP'.
      fields-fieldname   = 'FILENAME'.
      fields-value       = p_file.
      fields-field_attr  = '00'.
      APPEND fields.
      CALL FUNCTION 'POPUP_GET_VALUES'
           EXPORTING
                popup_title     = text-003
           IMPORTING
                returncode      = returncode
           TABLES
                fields          = fields
           EXCEPTIONS
                error_in_fields = 1
                OTHERS          = 2.
      CHECK returncode EQ space.
       filestring = fields-value.
       select * from mara into table itab_data up to 10 rows.
      CALL FUNCTION 'GUI_DOWNLOAD'
           EXPORTING
                filename                = filestring
                write_field_separator   = ','
           TABLES
                data_tab                = itab_data
           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 s999(b1) WITH 'File ' filestring
                              ' NOT created!'.
      ELSE.
        MESSAGE s999(b1) WITH 'File ' filestring
                              ' Created successfully!'.
      ENDIF.  "Check on download success
      WRITE : 'Download Completed'.

Similar Messages

  • "ipod cannot be updated becuase the required file is in use"

    I upgraded to itunes 7 this weekend and so did my husband. I am running the latest versions of all mac software with my fifth gen ipod and he is running the same with the ipod mini. We both get teh same error message:
    "ipod cannot be updated becuase the required file is in use"
    I have tried the following with and without guidance from tech support:
    Reboot
    repair permissions
    "restore" on the ipod using itunes 7
    reinstalling itunes 7
    trying to reinstall itunes 6 instead
    removing login in items from automatically starting
    disabling firewall/antivirus
    I stumped tech support yesterday. Anyone else having a similar problem?

    I'm another one who is having this problem. Though it doesnt seem to effect the downloads or the files, it pops up every so often. Cant figure out what file its referring to or what cant be updated. Def has to do with the latest version of iTunes.

  • I'm getting error "copying files failed. the required file is in use". How do I find the file?

    I've found this question is elswhere but no answers.  I'm trying to consolidate my library to an external hard drive since I'm pretty sure my current drive is about to fail.  The entire process has taken me days due to one error or another.  This is my most recent error and so far there is no way around it since it does not show me what file is in use.
    Help?

    I used "Carbon Copy Cloner" to copy my library from one external disk to another.
    The "library" consists of a bunch of files and folders (see links at end).  You don't need CCC to copy it, just drag the whole iTunes folder in your Home > Music from one drive to the other.
    I pointed my iTunes library to the new location under iTunes preferences.
    No, don't do it with preferences.  Once you have moved the folder as above, start iTunes with the option key held down and guide it to the library.itl file on the new drive.  This is assuming you have been using iTunes's default settings and haven't been managing your media yourself.
    I used iTunes to "Consolidate Library" to verify that all files had been moved.
    Okay, in doing that you have  moved just your media to the new drive but left all your other library files on the old drive.
    iTunes succesfully copied/re-attached a lot of files before giving me the error that the disk could not be read or written to.
    Try it with my method.
    I began to troubleshoot the hard drive by checking the cables and scanning for errors.
    This disk checked out fine.
    I identified the failure and subsequent error was due to corrupted files.
    I watched the consolidation process and was able to see which file it was trying to copy before it errored out.
    I deleted the corrupted file and restarted the process (I repeated this numerous times).
    When the process seemed to be just about over, I got the error "Copying files failed. The required file is in use."
    I'm sure this is likely another corrupted file, however, it happens so fast that I have no way to identify what file is causing the problem.  I tried making sure no other processes were running and no other windows or media players were open.  I also tried to look for an error log but was unsuccessful.
    Any ideas?
    Disk Utility will scan for a corrupt directory but I don't think it works on the file level if it is a single file that was corrupted.  I know I have seen Carbon Copy Cloner pick up on single file error when I had one sitting on a bad sector of a drive several years ago.  If you can identify the corrupt file this way then you will have to use a backup copy since it is unlikely it can be rescued.
    If you have Diskwarrior it has a file check utility.
    You have, of course, restarted your computer before doing all this, and keep other computer activity to a minimum (don't play music while copying the files and don't use other applications that coupld potential be trying to get access to your files)?
    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
    iTunes 9 [and later]: Understanding iTunes Media Organization - http://support.apple.com/kb/ht3847

  • Without touching the JSP file

    Hi,
    I just want to set a text in my browser with bold face from my
    begin....Display method. say <B>Back></B>.
    Since i decalare this as a text and using .setvalue() i'm getting it
    as it is(i.e <B>back</B> in browser o/p.
    Can u suggest me the solution ?
    Todd, thanks for ur previous suggestion.
    Thanks and Regards,
    Vidyasankar.

    I'm not sure, but I assume what you're indicating is that you're getting
    back literally "<B>Back</B>" in the rendered browser text (meaning the HTML
    source is "<B&rt;Back</B&rt;"). If so, it's because you need to set
    the "escape" attribute to false for the text field:
    <jato:text name="FooText" escape="false"/>
    Todd
    ----- Original Message -----
    From: "VidyaSankar" <dnvidyasankar@y...>
    Sent: Friday, February 09, 2001 2:49
    Subject: [iPlanet-JATO] Without touching the JSP file
    Hi,
    I just want to set a text in my browser with bold face from my
    begin....Display method. say <B>Back></B>.
    Since i decalare this as a text and using .setvalue() i'm getting it
    as it is(i.e <B>back</B> in browser o/p.
    Can u suggest me the solution ?
    Todd, thanks for ur previous suggestion.
    Thanks and Regards,
    Vidyasankar.
    [email protected]

  • Displaying XML content in the browser without creating the XML file

    Hi,
    In my web application, i am getting the data from the database and generating an XML file based on that. This file is created, read and its content is displayed in the browser when the user clicks a specific link on the jsp.
    As per the new requirement, i am not supposed to generate the XML file. Instead when the user clicks on the specific link on the jsp, the XML should get displayed in the browser directly without generating the XML file.
    Can someone plz help me in how to do this?
    Moreover, this XML generation application should support multiple clients. Do i need to make my application thread-safe explicitly even though i am using a servlet to do this?
    Please suggest
    Thanx

    Avoid multi post
    http://forum.java.sun.com/thread.jspa?messageID=9858529

  • How can i add new files to my ipod from a different computer  without losing the added files on my ipod?

    how can i add new files to my ipod touch from a diferent computer without losing the added files already on my ipod?

    Email them? Use DropBox?  What type of files?

  • In illustrator, is there a way to reduce anchors points in a segment path without altering the path?

    In illustrator, is there a way to reduce anchors points in a segment path without altering the path?
    Is there a better and more efficient way to reduce anchors points than using the pen-minus tool?
    Thanks.

    That's what the Simplify command is for. It tries to reduce the number of segments while you judge the results and adjust the parameters accordingly.
    Of course, if any given curve were possible with just two anchors, then all paths could have just two anchors. So obviously, fewer segments is not always possible.
    As with many other things, though, you need to realize this: Automatic functions have no human discernment whatsoever. That's just as true in the matter of optimizing paths as it is in auto-tracing. The program routine which tries to figure out which anchors can go and which anchors must stay has absolutely no idea of what the path is actually a drawing of. Only you know that. So the bottom line remains the same: Optimizing paths correctly should be done with deliberate discernment, not just left up to dumb automated routines.
    Illustrators draw paths deliberately--one anchor at a time--for good reason.
    JET

  • Is there a way to download free apps on ipod touch without giving the credit card information?

    Is there a way to download free apps on ipod touch without giving the credit card information?

    this should help everyone who wants to down load apps with out using a credit card  http://www.ehow.com/how_5077261_download-apps-itunes-credit-card.html  http://www.ehow.com/how_6502723_create-itunes-account-credit-card.html  http://www.ehow.com/how_6520859_use-ipod-touch-credit-card.html

  • How do i get on my apple account on the desktop without signing up with a credit card or Itunes card, i already have an account it just won't let me sign in without giving the desktop version a credit card

    How do i get on my apple account on the desktop without signing up with a credit card or Itunes card, i already have an account it just won't let me sign in without giving the desktop version a credit card

    SEARCH!
    http://lmgtfy.com/?q=itunes+account+without+credit+card

  • The iPod "my ipod name" cannot be updated. The required file is in use.

    Installed iTunes 7 on my mac. Everything went fine. Updated my ipod everything went fine. Ever since then I've been getting a dialogue pop up window stating "The iPod "my ipod name" cannot be updated. The required file is in use."
    This pop up happens at completely random intervals, sometimes every minute sometimes every 10 min.
    Its extremely annoying as it bounces the icon in the dock until I give iTunes focus, click ok, and then I can navigate songs etc. I listen to my music thru my iPod while its connected to my computer, so this bug just about has me reverting back to v6.
    I've repaired permissions, and disabled anything I could think of that may be using it, ie synergy etc, with no success.

    I have a 4th Gen 30gb IPOD and updated Itunes 7 sucessfully but could not update/install IPOD 1.2 upgrade.
    Eventually after clicking the message boxes with the above info we seem to be getting, I selected the update button that appears on the front page of ITUNES and it installed/updated. I have been attempting for a couple of days and it just worked!!!!
    After it completed, I received the same dialog box and then disconnected the IPOD from my laptop.
    Seems to be OK now but there is def something going on.
    I thought it may be a shareware issue with mp3's being downloaded into Itunes library form another application.

  • IPod "cannot be updated.  The current file is in use."....how to fix?!

    I have a MacBook and the iPod Nano that came with it. I also have a 4G(I think) 20GB iPod. I have both configured to my Macbook, using only certain playlists to be updated on each iPod.
    I don't get any problems when I connect the 20GB iPod(w/ the Firewire), but whenever I connect my Nano(w/ the USB, I have to, it doesn't support Firewire), I get a message saying the iPod"cannot be updated. The current file is in use."
    How do I fix this problem? I have my iPod to "Enable disk use", but everything else is OK, and I have separate playlists and designate each iPod to Sync Selected Playlists Only, and have different playlists selected.
    How do I fix this and/or why is this problem happening?
    (and I'm still going to ask any kind souls to check my previous posts and answer my Playlist Question thread, as that is a nagging problem as well)

    I fiddeled around and I am still having this problem. Can someone help me.

  • IPod "cannot be updated. The required file is in use."

    Since updating to iTunes 7 the program keeps saying that "The iPod "iPod name" cannot be updated. The required file is in use." When I click on “OK” it does in fact update. I tried to restore the iPod but couldn’t do it from within iTunes but I could exit iTunes and run the most recent update/restore on it from the desktop.
    Also, I can not eject the Nano from within iTunes “iPod cannot be ejected because it contains files that are in use by another application.” But I can exit iTunes and eject it from the desktop. I don’t have this problem with an older 40 gig iPod.
    I called Apple and they promised to send a work around but it never came.
    Running on a G4 with 10.4.7
    Any suggestions?
    Dual Processor G4 & G5   Mac OS X (10.4.7)   I do have three users using the same iTunes library.

    I just started getting this message today - the only new thing I have done differently since I last synced is to start rating my songs on the iPod.
    Just a hunch but did everyone else start getting this error after their first try at rating songs on the iPod?
    Other than that does anyone know how to report this kind of thing to Apple? as they need to fix it soon.
    The only answer I have seen after 2 hours of searching is to go back to iTunes v6.05 - see Chad Armstrong's tip here: http://discussions.apple.com/thread.jspa?messageID=3116292&#3116292 - but I can't be bothered to go through all that just yet.

  • Is there a way to access my iTunes Library, which is stored on a (PC) External Hard Drive, on a MacBook Air (through an Apricorn Universal Hard Drive Adapter), without transferring the music files off of the external hard drive?

    Is there a way to access my iTunes Library, which is stored on a (PC) External Hard Drive, on a MacBook Air (through an Apricorn Universal Hard Drive Adapter), without transferring the music files off of the external hard drive?
    In other words, because the MacBook Air only has 120 gbs of hard drive space & my old hard drive, from a Lenovo, has 500 gbs of hard drive space (and I have over 120 gbs of music), I’m looking to manage my iTunes music from the external hard drive permanently. Upon attempting to access the iTunes library held on the external hard drive the following message comes up: “The iTunes Library.itl file is locked, on a locked disk, or you do not have write permission for this file”.  Is there a way to get around this?
    Any advice would be greatly appreciated, thanks so much!

    You will have to engage a split library which means you will have to start answering questions on this forum because you will need to learn a lot about how iTunes works in order not that have a big mess at the end of it all.  It also won't be easy when the time comes to relocate it all to different drives.
    You can go to advanced preferences and turn off organize media and copy to items to media folder when adding items to library.  Next read about how to selectively consolidate items to the external drive.
    Sept. 2010, Consolidate selected content - https://discussions.apple.com/thread/2589812 and April 2014, https://discussions.apple.com/message/25414357
    "...selected the new tracks directly in iTunes, Control-clicked on the selection, and saw that now you can consolidate selected items." - http://hints.macworld.com/article.php?story=20090919000326840
    Remember that when you start iTunes without the external drive turned on iTunes will present you with a bunch of broken links.  If you have automatic downloads enabled with iCloud you may have to turn that off to prevent iTunes from repopulating your drive trying to deal with those "missing" tracks.
    If you add tracks in bunches to iTunes and want them to go to different media folders you will need to either add them by holding down the option key while dragging if the desired media folder is not the one set in preferences, or by changing the media folder in preferences.  Changing media folder preferences only applies to new files added, not old ones.
    Okay, I am going to stop typing because you might just reply to me, "Oh, okay, forget it," and I don't need the exercise.
    What are the iTunes library files? - http://support.apple.com/kb/HT1660
    More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
    Where are my iTunes files located? - http://support.apple.com/kb/ht1391

  • I just purchased the new Canon SX60 camera. Despite downloading and installing the latest version of Adobe DNG converter, I receive an error message saying that Photoshop CS4 can't open up/convert raw files (.CR2). This is the same file format as used by

    I just purchased the new Canon SX60 camera. Despite downloading and installing the latest version of Adobe DNG converter, I receive an error message saying that Photoshop CS4 can't open up/convert raw files (.CR2). This is the same file format as used by the SX50, with which I never had any problem. Does anyone have a suggestion on how to fix this problem? Thanks.

    Camera Raw plug-in | Supported cameras  I do not see that SX60 as supported. Just how new is the SX60 when was it announces. Its support is not even listed in ACR 8.7 RC

  • How to AVDocGetPDDoc without opening the pdf file

    Hi all,
    how to AVDocGetPDDoc without opening the pdf file in acrobat plugin sdk.
    Regards,
    JK

    thanks for ur reply, now its fine.

Maybe you are looking for

  • Problem connecting MacBook to a Sharp video projector

    One of the great things I like about Macs is the easy way they (usually) connect to a video projector. Unlike a lot of my friends who run PCs with Windows I never had any problems whatsoever connecting my MacBook to a projector at the university and

  • REQUEST: UEFI GOP - 2 * MSI N660 TF 2GD5/OC

    Hello All, i like to request the latest UEFI bios for the follow cards... First: N660 TF 2GD5/OC S/N 602-V287-04SB1208195847 Second: N660 TF 2GD5/OC S/N 602-V287-050B1304104486 Currently running a ASrock Z87 Extreme6/ac with UEFI BIOS ofcourse. I not

  • OBIEE 11g Ibots not working properly after Upgrade

    Hi , We are currently upgrading our BI enviroment from 10g to 11g. WHile we are configuring Ibots ,they really doesnt work, it gives the below error. Eventually succeeded, but encountered and resolved errors... Number of skipped recipients: 1 of 3 Ag

  • Struts version of JSP include?

    JSP has a really straightforward way of including files: <%@ include file = "../footers.html" %> The downside is that if your directory structure changes, you need to go back and change all the links. I believe with Struts, you can use some kind of v

  • How to convert class files into java files??

    Hey Guys, I need a little help. I want to know wheather we can view .class files as .java files or convert the .class to .java files.Is ther any tool or software for doing that. Or in other words can i see the source code of any .class file..?? Plz d