Download display

hi all,
am using fm to download the data into a note pad and everything works fine but how can i display it in the note pad pls see my below code and assist me
PARAMETERS: p_file TYPE rlgrap-filename."
Data:  Begin of i_string occurs 0,
       line(1024) type c,
End of i_string.
types: begin of s_cust1,
      zempno like zcust1-zempno,
      zcustnumber like zcust1-zcustnumber,
      zcustname like zcust1-zcustname,
      zcustbd like zcust1-zcustbd,
      zno_chil like zcust1-zno_chil,
     END OF s_cust1.
data: i_cust1 TYPE STANDARD TABLE OF s_cust1 WITH HEADER LINE.
data: wa_cust1 like LINE OF i_cust1.
Data: filename type string,
      delim(1) type c value '|',
      g_lines type i.
select zempno zcustnumber zcustname zcustbd zno_chil
from zcust1 into CORRESPONDING FIELDS OF TABLE i_cust1.
  if sy-subrc = 0.
    message i009(zdd) with 'records fetched'.
  endif.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
  CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
    CHANGING
      file_name = p_file.
filename = p_file.
CALL FUNCTION 'GUI_DOWNLOAD'
  EXPORTING
    filename                        = filename
   FILETYPE                        = 'ASC'
  APPEND                          = ' '
   WRITE_FIELD_SEPARATOR           = 'X'  
  tables
    data_tab                        = i_cust1
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
if sy-subrc = 0.
cl_gui_frontend_services=>execute(
  EXPORTING
    DOCUMENT               = filename
    OPERATION              = 'OPEN'
  EXCEPTIONS
    CNTL_ERROR             = 1
IF sy-subrc ne 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endif.

Don't Create Threads . Your program is not at all Structured.
Data: Begin of i_string occurs 0,
line(1024) type c,
End of i_string.
types: begin of s_cust1,
zempno like zcust1-zempno,
zcustnumber like zcust1-zcustnumber,
zcustname like zcust1-zcustname,
zcustbd like zcust1-zcustbd,
zno_chil like zcust1-zno_chil,
END OF s_cust1.
data: i_cust1 TYPE STANDARD TABLE OF s_cust1 WITH HEADER LINE.
data: wa_cust1 like LINE OF i_cust1.
Data: filename type string,
delim(1) type c value '|',
g_lines type i.
PARAMETERS: p_file TYPE rlgrap-filename."
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
CHANGING
file_name = p_file.
start-of-selection.   "Add this line
select zempno zcustnumber zcustname zcustbd zno_chil
from zcust1 into CORRESPONDING FIELDS OF TABLE i_cust1.
if sy-subrc = 0.
message i009(zdd) with 'records fetched'.
endif.
filename = p_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = filename
FILETYPE = 'ASC'
APPEND = ' '
WRITE_FIELD_SEPARATOR = 'X'
tables
data_tab = i_cust1
if sy-subrc = 0.
cl_gui_frontend_services=>execute(
EXPORTING
DOCUMENT = filename
OPERATION = 'OPEN'
EXCEPTIONS
CNTL_ERROR = 1
IF sy-subrc ne 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endif.

Similar Messages

  • It's not just Download Helper v4.8.3, it's also RealPlayer: the download display window shows .mp3 files downloading, but nothing shows in the folder when it is done downloading.

    # Question
    It's not just Download Helper v4.8.3, it's also RealPlayer: the download display window shows .mp3 files downloading, but nothing shows in the folder when it is done downloading.
    Also in the '''Properties''' window of Windows Explorer I '''no longer have the Details tab''', so I can't update my mp3 files with Artist, Album, Genre, etc. But the details tab does show up when I access it thru Windows Explorer.
    I ran the AVG rescue disc an no viruses found. Now on '''FF3.6.15''' '''RealPlayer''' shows when I right click but then '''immediately disappears and an icon appears in the System Tray''', but as soon '''as I hover my mouse over it it disappears'''.
    Does anyone have any ideas or suggestions?
    How can I get this fixed? I have time-sensitive mp3s that I won't have access to anymore if I don't get this resolved in a hurry. (no pressure on you, I'm the one that's stressed about this) Can you help? Thanks so much for responding to this '''inquiry.''''''bold text'''

    See:
    *https://support.mozilla.com/kb/Downloads+window
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history" > "Remember download history"

  • How to Download displayed output to Excel Using Bsp Application

    Hi Experts,
    please give me some idea because I am New In BSP.
    How to Download displayed output to Excel Using Bsp Application.
    If any sample code please do send me.
    In my condition I am getting data in  2-3 table view formats on one page and i want download that in Excel.
    please help me.
    Regards & Thanks,
    Yogesh

    Hi,
    This is more a question for the BSP forum.
    Anyway, as such it's realy easy since you can use HTML in order to import to Excel. All you need to do is add
    runtime->server->response->set_header_field( name = 'Contnet-Type'
    value = 'application/vnd.ms-excel' ).
    runtime->server->response->delete_header_field( name = 'Cache-Control' ).
    runtime->server->response->delete_header_field( name = 'Expires' ).
    runtime->server->response->delete_header_field( name = 'Pragma' ).
    Also check threads like
    Download BSP data into Excel
    export bsp-table to excel
    Export BSP Table to Excel
    Eddy
    PS. Reward useful answers and earn points yourself

  • Download/Display the image files stored at KM location: J2EE application

    Hi All
    Please let me know how to download/Display the image files stored at KM location on portal using J2EE application. Thanks.
    Best Regards
    P M

    You can use a servlet to deliver the image data to the <img tag, which allows you to get the data from something other than a file on the server (e.g. store the image data as a session attribute with a generated attribute key, the key being given in the serlvet's query string).

  • I want the old download display back! Library font is too small, do NOT want the sidebar!

    Just upgraded to 20.0 on XP SP3 - not interested in 'library' display; font is too small to read, do not need/want the sidebar, and need/want the % complete to show as it did in the old download display.
    Also, how do I turn off the distracting and stupid fade-in/fade-out large green arrow on download completion - again not something I'm interested or have any use for.

    I haven't tried it myself, but check out the solution in this thread: [https://support.mozilla.org/en-US/questions/955204 Got new version, want to go back to previous download box, the new one has no history and doesn't show speed of download, how do I go back?]
    The green arrow, like other toolbar controls, can be hidden by using the Customize feature. Kick that off by doing either of these:
    * right-click a blank area of the Tab bar > Customize
    * View menu > Toolbars > Customize
    Drag the unwanted arrow into the dialog with the other unused buttons, the click Done.
    Does that fix it?

  • Firefox upgrade once downloaded displays a blank browser window...how can I fix?

    Firefox upgrade once downloaded displays a blank browser window...how can I fix?

    Are you using the Firefox 33.0.1 version?
    *Help > About
    You can find the full version of the current Firefox 33.0.1 release in all languages and for all Operating Systems here:
    *https://www.mozilla.org/en-US/firefox/all/
    You can check if you can start Firefox in <u>[[Safe Mode|Safe Mode]]</u> by holding down the Shift/Options key.
    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full, unrestricted, access to install for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating

  • Is it possible not to download/display images ?

    When the connection is low, it would be convenient not to download images from the websites. Is there a way to do this ?

    Look at the following information. If this seems to be what you want, then you can un-check an option:
    *'''''Load images automatically:''' Firefox displays images in web pages by default. Uncheck this option to disable images in web pages. If you enable loading images automatically, the Exceptions... button lets you select sites from which images will not automatically load. '''The Exceptions... button lets you specify websites that you wish to load (or not load) regardless of the setting of this preference. In the exceptions list, enter the site from which you want to allow or block images and click Allow to allow images, or click Block to block the images. '''''
    *the above is from this article --> https://support.mozilla.org/en-US/kb/Options%20window%20-%20Content%20panel
    <u>To NOT automatically load images on all websites:</u> Firefox button > Options > Options (or Tools > Options) > Content, '''''un-check''''' "Load images automatically"
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • How to enable/download/display hindi/marathi language in bb9790 bold os 7.1

    Please help on display/enable hindi lang in bb9790 bold os 7.1. Before os upgrade i was able to see msgs bt I'm not able to see them now. All appears as black box. Plz suggest

    Hi and Welcome to the Community!
    You need to ensure that you have an OS package installed to your device that contains the language you desire, as well as ensure that you have on your device fully activated the language. The simplest way is to, on a PC (you cannot do this on MAC):
    1) Make sure you have a current and complete backup of your BB...you can find complete instructions via the link in my auto-sig below.
    2) Uninstall, from your PC, any BB OS packages
    3) Make sure you have the BB Desktop Software already installed
    http://us.blackberry.com/software/desktop.html
    4) Download and install, to your PC, the BB OS package you desire:
    http://us.blackberry.com/support/downloads/download_sites.jsp
    It is sorted first by carrier -- so if all you want are the OS levels your carrier supports, your search will be quick. However, some carriers are much slower than others to release updates. To truly seek out the most up-to-date OS package for your BB, you must dig through and find all carriers that support your specific model BB, and then compare the OS levels that they support.
    Please use this KB as reference to make your selection:
    Article ID: KB05305 Localization support for BlackBerry smartphones
    5) Delete, on your PC, all copies of VENDOR.XML...there will be at least one, and perhaps 2, and they will be located in or similarly to (it changes based on your Windows version) these folders:
    C:\Program Files (x86)\Common Files\Research In Motion\AppLoader
    C:\Users\(your Windows UserName)\AppData\Roaming\Research In Motion\BlackBerry\Loader XML
    6a) For changing your installed BB OS level (upgrade or downgrade), you can launch the Desktop Software and connect your BB...the software should offer you the OS package you installed to your PC.
    6b) Or, for reloading your currently installed BB OS level as well as for changing it, bypass the Desktop Software and use LOADER.EXE directly, by proceeding to step 2 in this process:
    http://supportforums.blackberry.com/t5/BlackBerry-Device-Software/How-To-Reload-Your-Operating-Syste...
    Note that while written for "reload" and the Storm, it can be used to upgrade, downgrade, or reload any BB device model -- it all depends on the OS package you download and install to your PC.
    If, during the processes of 6a or 6b, your BB presents a "507" error, simply unplug the USB cord from the BB and re-insert it...don't do anything else...this should allow the install to continue.
    If you are on MAC, you are limited to only your carriers sanctioned OS packages...but can still use any levels that they currently sanction. See this procedure:
    KB19915How to perform a clean reload of BlackBerry smartphone application software using BlackBerry Desktop Software
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Download Display Drivers Failing

    Hello,
    when downloading
    09/11/09
    Display Driver
    nVidia Windows 7 - 32 Bit 7.15.11.7976 World Wide
    http://support1.toshiba-tro.de/tedd-files2/0/display-20091109135517.zip
    The file is always corrupted. It seems to abort downloading at some point.
    Help will be much apreciated.

    Hi,
    thank you for the immediate answer.
    I am clueless. Tried 10 times. All other drivers downloaded fine. But this one never does. Tried several devices too. Is there an alternative download location or anything else I could try?

  • Gif downloads display 1x1 pixels - no graphics

    I'm on windows 7. Sites that have downloads of graphics show in the address bar 'file name.jsp(gif image, 1x1 pixels)'. No graphic is displayed. No problem running on Firefox 3.6.16. Any suggestions?

    One that is consistently broken is http://www.facebook.com/advertising/?src=pf
    and
    http://www.google.com/ads/analyticsoffer
    (I run our company's ad campaigns, so this is a major issue!)
    I have encountered several other sites that do this, mostly news sites. I'll try to dig some up.
    I looked at my firewall traffic and found no blocked sites; the word "ad" is not blocked, nor is advertising. The page worked perfectly fine right up until the day I upgraded to 10.6; now I can't open it in firefox or safari. I can access it on a PC, which means it's clearly something about my computer....
    It just...doesn't display. and gives me the random gif.
    Message was edited by: bug_girl

  • Two Problems:MSN Won't Download,  Display Shuts Off After 1 Minute

    Hi ok so i have two problems, I had MSN 6.03 for a while but last night it just stopped opening, so I deleted it and tried to redownload, but when i try to download it, it says "failed to mount" every time.
    The second problem is the display shuts off after 1 minute, I went to the energy saver and i changed it to 15 minutes an I locked it, but when i exit out of the energy save it goes back to 1 minute HELP!!!

    Sounds like you have either cache, finder, or disk corruption problems. Follow the steps here:
    http://www.thexlab.com/faqs/repairprocess.html

  • Where do you download display drivers for GeForce 770m (gt70 20C)?

    I have noticed that my new MSI laptop has been experiencing strange framerate drops in some games. Dota 2, for example, will drop from 60fps to 9fps, and will not come back up unless I restart client. Assassin's Creed 3 does the same thing, but can be solved with an alt-tab 
    So I went to look for new Geforce drivers. I was shocked to find that I could not install the nvidia drivers from nvidia.com. wow!
    So are we at the mercy of MSI for display driver updates? I did manage to find a driver on MSI.com, but it was actually an older version than the one that came pre-installed with the machine.   
    So is there anywhere else we can download more up-to-date drivers from??? As this is my first every MSI notebook, I am concerned that MSI is not going to provide timely driver updates.
    Please tell me it isnt so.
    cheers,
    -deluxxe

    311.83 is the latest MSI driver. MSI will release a new driver if necessary. It is also quite normal that the nvidia drivers don't work with customized OEM solutions. You can ask MSI for the next release: >>How to contact MSI.<<
    You can also give the nvidia beta 326.19 a shot as it seems to work with current MSI notebooks like GT70 2OD (780m): https://forum-en.msi.com/index.php?topic=171241.0
    beta:
    http://www.nvidia.com/object/notebook-win8-win7-64bit-326.19-beta-driver.html

  • Downloading displayed output

    we are having a zreport.
    i am not having problem in the program.
    everything is fine.once the output is
    generated we will download the displayed output ( ie first
    the user will see the output in the screen then if he want
    he will download with the help of menu option given by sap)
    into spreadsheet or html format or
    richtext format etc , by clicking the option list->save list in file->spreedshet.
    this we can see in foreground.
    but once we execute the report in background how can we download the displayed report output into
    excel.

    Hi,
    When ever we run a report in back ground the output will be stored in spool. So download data from spool.
    Check transactions SP01/SP02 to get the spools or system variable sy-spono.
    Open ur spool number in SP01, Click on the icon(Page like thing), Here u will see ur output. Now from the standard SAP functionality as we have in foreground can be used to download.
    Thanks,
    Vinod.
    Edited by: Vinod Reddy Vemuru on Jul 10, 2008 3:06 PM

  • Report download displays wrong format in excel

    I have a text field that is a number, dash, then four numbers 1-2345..
    in an interactive report, when I download to CSV or XLS this field is converted to a date field 1/1/2345..
    If I then change format to text it divides the numbers and gives me the output..
    the only workaround I can find is: save to csv.. rename extention to .txt... then when you open the txt the import wizard will run and you can change the column type to text before excel screws everything up...

    tried both already.
    same results opening the file..
    and using ''''||FIELD as ALIAS then doesnt show the data just the '
    fyi.. the field has both 1-2345 and 1-2345-B (the ones with the dash -B work correctly and they showed up when I added the ''''||FIELD)
    Edited by: Merlin128 on Oct 19, 2009 4:22 PM

  • Firefox will not allow me to download/display pdf files - wheres's the glitch

    When I click on a pdf file to download it nothing, zero, happens and I have to switch to IE and start all over to get the pdf file - very incomvenient. I use Norton security software which does a few things to me that I don't like but can't find but since it does not interfere with IE I doubt that it's in Norton so must be fire fox. This is a phenomenon that has just arisen in the last few months or so

    Reading PDF files is not Firefox, you can read file external to the browser or with a plugin.
    The Download Window closes instantly the download finishes or may not even open at all bring it back with Ctrl+J
    You are using Foxit Reader instead of Adobe Reader
    make sure it is compatible with Firefox 5 if it is running within Firefox, check their site
    or install Adobe Reader unfortunately it comes with Adobe Air
    whatever that it, and being adobe you have to watch out for
    crapware also being install, McAfee Security Scan, Google Chrome, Adobe Air

Maybe you are looking for

  • Interactive Reports in Firefox 3.0.5

    Hi! When running an interactive report in Firefox 3.0.5, the pull-down menu next to the cog icon does not display right over the icon as it does in IE. Rather, the menu displays at the bottom of the page below the report area. Anyone knows why is thi

  • Publish to Handout - slide images are blank

    My apologies if this is a duplicate post, however the search options never return any results for me. In CP5, Publish to handouts the resulting Word 2010 document the slide thumbnail images are all blank.  Anything I can look at to try to solve this?

  • Multiple programming language website(including Java)

    I have to design a website for a startup business based out of New York. I actually have yet to be briefed as to the nature of the business but that's besides the point. What I'm trying to figure out is in what areas of the website would it be best t

  • Supressing 0 in NUMC data types

    Hello, I am trying to suppress leading zeros in a numc data type. I use the value in a BDC , and it then stores the leading zeros. Thanks

  • Can't move around 3rd party apps in menu bar with Yosemite

    Hi - I have a Macbook Pro with Retina and I installed a few apps - pace, shazam, knock, flux and skip tunes. I wanted to edit the order of how they are displayed in the menu bar but I can't seem to be able to move them around (holding down the comman