Down load file to PC  in Background

Hello Experts,
Is there a way to download the internal table/ Unix file to PC (Presentation server)? The program should run in Background.
Using UPLOAD/DOWNLOAD function module will not supprort in background.
Please suggest.
Thank you,
Gouri.

Hi
see this program i had used OPEN DATASET and CLOSE DATA SET for application server
*& Report  ZSD_EXCEL_INT_APP
REPORT  ZSD_EXCEL_INT_APP.
parameter: file_nm type localfile.
types : begin of it_tab1,
        f1(20),
        f2(40),
        f3(20),
       end of it_tab1.
data : it_tab type table of ALSMEX_TABLINE with header line,
       file type rlgrap-filename.
data : it_tab2 type it_tab1 occurs 1,
       wa_tab2 type it_tab1,
       w_message(100)  TYPE c.
at selection-screen on value-request for file_nm.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
  PROGRAM_NAME        = SYST-REPID
  DYNPRO_NUMBER       = SYST-DYNNR
  FIELD_NAME          = ' '
   STATIC              = 'X'
  MASK                = ' '
  CHANGING
   file_name           = file_nm
EXCEPTIONS
   MASK_TOO_LONG       = 1
   OTHERS              = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
start-of-selection.
refresh it_tab2[].clear wa_tab2.
file = file_nm.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
  EXPORTING
    filename                      = file
    i_begin_col                   = '1'
    i_begin_row                   =  '1'
    i_end_col                     = '10'
    i_end_row                     = '35'
  tables
    intern                        = it_tab
EXCEPTIONS
   INCONSISTENT_PARAMETERS       = 1
   UPLOAD_OLE                    = 2
   OTHERS                        = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop at it_tab.
  case it_tab-col.
   when '002'.
    wa_tab2-f1 = it_tab-value.
   when '004'.
    wa_tab2-f2 = it_tab-value.
  when '008'.
    wa_tab2-f3 = it_tab-value.
endcase.
at end of row.
  append wa_tab2 to it_tab2.
clear wa_tab2.
  endat.
endloop.
data : p_file TYPE  rlgrap-filename value 'TEST3.txt'.
OPEN DATASET p_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
*--- Display error messages if any.
  IF sy-subrc NE 0.
    MESSAGE e001(zsd_mes).
    EXIT.
  ELSE.
*---Data is downloaded to the application server file path
    LOOP AT it_tab2 INTO wa_tab2.
      TRANSFER wa_tab2 TO p_file.
    ENDLOOP.
  ENDIF.
*--Close the Application server file (Mandatory).
  CLOSE DATASET p_file.
loop at it_tab2 into wa_tab2.
  write : / wa_tab2-f1,wa_tab2-f2,wa_tab2-f3.
endloop.

Similar Messages

  • Unable to down load file error 1321?

    Unable to down load file error 1321?
    Error_Message

    Hi grahamg,
    Please see my response in your other post: I am unable to download  Acrobat message reads Insuffient prileges to modify the file C:\ Program Files [ x 86] Adobe\ Acrobat 11.0\Acrobatwow_exe.
    Best,
    Sara

  • I have recently purchased a new computer and photoshop element. It looks like its downloaded it but I don't know how to access it. it says file are ready...down load files have been extracted and saved to folder....launch PS elements and open specific fol

    I have recently purchased a new computer and photoshop element. It looks like its downloaded it but I don't know how to access it. it says file are ready...down load files have been extracted and saved to folder....launch PS elements and open specific folder. it looks like it downloads. It then keeps taking me back to this page. Im not sure where to go next

    if you have a win os you should have dl'd an exe and a 7z file.
    put both in the same directory and double click the exe.

  • Adobe reader will not allow me to down load file because it says i must sign agreement which I did

    adobe reader will not allow me to down load file because it says i must sign agreement which I did

    Perhaps you have Adobe Acrobat, which can do everything Reader can do.

  • Download list button in upper right corner hinds under "Reader" button? Unable to find down loaded file in the download folder afterward?

    The Download list button in upper right corner of screen hides under "Reader" button?   Does not show down loaded(?) file in the download folder afterward?
    Trying to run a brokerage firm streaming quote app with java.  Wondering if I may have deactivated the Download list button some how?

    Hey Sgt.Rics,
    It sounds like you're experiencing some unexpected behavior in Safari, specifically the window layout blocking the Downloads button. I would check and make sure no third-party add-ons are causing the issue:
    Safari: Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues
    http://support.apple.com/kb/TS3230
    Welcome to Apple Support Communities!
    Take care,
    Delgadoh

  • Down load files to flash drive/ mac book

    down loading music files onto flash drive so they are aranged the same as music library

    OK. I did.
    But here is the problem, it still doesn't save certain file on the flash drive. Most of the files are either jpg.,cwk.,pdf., or mov.
    The mov. won't even play. It works fine when i save files from a windows computer, but not when i save from my mac.
    I really have no idea why its doing this. I am aware that certain file can't be opened from a mac to a window, but i just don't know why, when i place a file into the flash drive icon and try to re-open it, it says the error message again (On my mac).
    Thanks.

  • Epsom Scanner RX510 scanner unable to open down loaded file to fix scanner

    I have just installed 10.6.5 upgrade
    I have an Epsom RX 520 multi function printer/ scanner
    Th scanner operation does not work"Epson Scan cannot be started"
    The printer works fine,so cabling etc is OK
    Epsom recommended I down load a file 2.7W from their site. I
    I have down loaded the file 2.7W but I can not expand the file Error "17540
    Using Stuffit Expander 8.0.2 ( Cant find correct web sit to check if this needs updating. Link in the menue do not go to an address.)
    Espom says to Uninstall before installing file ...I do not know how to does this ...but I can not even get the file open
    Please help

    MrXXX wrote:
    Epsom recommended I down load a file 2.7W from their site. I
    I have down loaded the file 2.7W but I can not expand the file Error "17540
    Welcome to Apple's discussion groups.
    What is the type of the file? Does it have a reasonable icon? Did you try to expand it by double-clicking? It's possible that the downloaded file is incomplete.
    Using Stuffit Expander 8.0.2
    The latest version of StuffIt Expander is StuffIt Expander 2011:
    http://www.stuffit.com/mac-expander.html
    Espom says to Uninstall before installing file
    That's typical of Epson drivers.
    I do not know how to does this
    Once you're able to launch the installer, there should be a drop-down list with an "uninstall" option.

  • Photoshop Elements - down loading files

    One file windows does not understand file type. The other DOWNLOADED file says parts are missing. See the message below. 

    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 |12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.window using the Lightroom 3 link to see those 'Important Instructions'.

  • I just down loaded CS6 updates and saved them to my down load file , Now what

    How do i get them to intergate into the CS6 programs like PS Flash and etc

    For Win:
    After downloading a ".zip" file, use the operating system or a utility such as WinZip or PKZIP to access the file's contents.
    Double-click the "AdobePatchInstaller" application and follow the on screen instructions.
    For Mac:
    After downloading "dmg" file, Double click on the file to mount it..
    Double-click the "AdobePatchInstaller" application and follow the on screen instructions.
    Regards,
    Ashutosh

  • FileDownloadRenderer down loads file with errors

    We got this error message appended to the end of downloaded file after calling FileDownloadRenderer:
    "java.lang.IllegalStateException: Response has already been committed."
    Does any one know what this means? Thanks,
    --Sining fang                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    In Lion the downloads in Safari is the downward facing arrow button to the right of the toolbar, next to the google search field.  It appears after you have downloaded something.  It disappears if you clear the downloaded items list.

  • Down load files find out

    Hi,
    Good day experts,
    Actually iam calling one function module. then File will be downloaded. after download, iam going to selection secreen.
    In the selection screen, i need to select my current file which is download recently. but i unable to find out the file name when i press f4 key.Bcoz here 10000 of files are here. its difficult ot find out the file which is current.
    Can i grade-out the file which is current one. May i know any option to find out the current file when i was press f4 funtionality.
    Plz give me solution.
    Regards,
    kk

    Hi,
    Refer this code.
    DATA: lf_mandt TYPE sy-mandt,
            lf_opsys TYPE sy-opsys.
      CONSTANTS :lc_delimiter TYPE c VALUE '/' .
      lf_mandt = sy-mandt.
      lf_opsys = sy-opsys.
    To extract the physical path from the logical path name
      CALL FUNCTION 'FILE_GET_NAME'
        EXPORTING
          client           = lf_mandt
          logical_filename = p_unix
          operating_system = lf_opsys
        IMPORTING
          file_name        = gwa_input
        EXCEPTIONS
          file_not_found   = 1
          OTHERS           = 2.
      IF sy-subrc EQ 0.
      Concatenating the physical path and the input unix file name
        CONCATENATE gwa_input p_file INTO gf_file .
      Splitting physical filename to get the exact filename in the server
        SPLIT : gf_file AT lc_delimiter INTO gwa_split-var1  gwa_split-var2  gwa_split-var3
                                          gwa_split-var4  gwa_split-var5   gwa_split-var6.
        APPEND gwa_split TO gt_split .
      ENDIF.
    Here, p_unix will have ur logical file path. gwa_split-var6 will have ur current filename. U can use it in selection screen.
    Reward if helpful.
    Regards,
    Ramya

  • Down loads file on the dock

    Whilst checking my downloads file in the dock in error I sent it up in smoke and its gone. How can I get it back.
    Mike

    Thanks that sort of worked but the original folder was pretty smart and opened up in an arc into the screen now its just a open folder.
    Thanks for the help so far
    Mike

  • I have downloaded new update from world of tanks. I have done this in past with no isues. However with new update after it down loads i cannot open it to run. i get no error messages. nothing happens when i click on down loaded file.

    dont know what to add

    Follow what Stu mentioned and you can find the rest of the board's drivers in the below link.
    http://www.msi.com.tw/program/support/driver/dvr/spt_dvr_detail.php?UID=501&kind=1

  • Error when opening down loaded dmg file

    I have tried 4 times at different times of the day today and the .dmg file that I double click to load comes with an error box the following disk images couldnot be opened    - DesignStandard CS6 (Reason) Not Reconized.
    File sizes I have one ending in .dmg.part (3.79 GB) and a other .dmg (3.78 GB both file I get the same error as above
    Machines:
    Power Mac 10.6.8 16GB 2 x 2.66 GHz (12 core)
    Power Book 10.6.8 16GB 2.2 intel core

    Its the full version purshased I get no errors when down loading I get the icon on the down loaded file as I do on all dmg files from the web (could I pay for the posts/boxed version)
    I have just tried again this morning and its worked !!

  • How do you down load to your computer files converted to pdf on line?

    How do you down load files to your computer that have been converted to pdf on line with Adobe?

    Moved to Adobe CreatePDF

Maybe you are looking for

  • Data Guard Agent, Authentication Failure

    I'm working with two Windows 2003 servers, attempting to use one as a standby and one as a primary database use Data Guard. However, I'm having a bit of trouble when trying to get one server to communicate through the Management Agent and Management

  • AppleCare Plan for Mac Mini

    Would buying an AppleCare plan now for a faulty Mac Mini now out of warranty be valid? I understand that perhaps if it did work out I'd only get 2 years. Thanks in advance!

  • Issue-PR

    Dear All, I want to create a report for PR with its creation date and the date the particular PR actually released. The creation date i can get from the request date in the Quantities/dates tab at item details. But the release date showing there is t

  • Education: special prices for educators

    I am Edward Loring, egyptologist, Research Fellow with life tenure of the Centre for Egyptological Studies (CESRAS) of the Russian Academy of Sciences and the Russian Institute of Egyptology in Cairo (RIEC). I am qualified by the Suprime Council of A

  • Maximum number of processes (100) exceeded

    Hi!      I've some php application working with oracle XE with oci8 driver. Application works fine, but with time number of running oracle processes grows and when it reaches 100, it is impossible to to backup: RMAN-00554: initialization of internal