Download the file in presentation server while the program runs in backgrou

Hi,
Usually we will never download the file in presentation server while the job is scheduled in back ground.
But now i need to do that. I need to download the data in excel file and the same program is scheduling in background.
Can any one suggest how can we do this?
Thanks in Advance,
Ravi

Hi,
There is an alternative provided by SAP. The program RFCEXEC has to be installed locally on the PC.
In SAP R/3 we have to define a destination link to your local PC to the RFCEXEC program. And in the ABAP program we have to invoke the connection by calling the FM  RFC_REMOTE_FILE.
I haven’t tried this before but a detailed documentation is available in this link.
http://sapabap.iespana.es/sap/info/rfcexec/rfcexec_e.htm
Reward if useful
Regards
Shiva

Similar Messages

  • How to get the files in presentation server while uploading?

    how to get the files in presentation server while uploading?
    give me the function module name

    Hi,
    PARAMETERS:  P_FILE LIKE RLGRAP-FILENAME DEFAULT C_PRES.  "Prsnt Srvr
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          DEF_PATH         = P_FILE
          MASK             = ',..'
          MODE             = '0 '
          TITLE            = 'Choose File'
        IMPORTING
          FILENAME         = P_FILE
        EXCEPTIONS
          INV_WINSYS       = 1
          NO_BATCH         = 2
          SELECTION_CANCEL = 3
          SELECTION_ERROR  = 4
          OTHERS           = 5.

  • How to schedule a program for download a file to Presentation Server

    hi all,
    I need to schedule a program which will download a file to presentation server. How can i handle this or is there any other to download a file during scheduling?
    Points will be rewarded
    Thanks in advance

    Hi Jayasree,
    You can download your file to application server in background scheduling.
    In your program use OPEN DATASET command for achieving this.
    How ever, as far as i know, it is not possible to download the file to presentation server in background job.
    regards,
    G@urav.

  • Downloading a file on presentation server

    Dear All,
    I have a requirement where in I need to run a custom report in the background (since it gives a short dump for max permitted time when run in foreground). However, I need to download a file with report output on the presentation server (user's desktop). Can you please help me know how can I download a file on user's desktop by running the report in background?
    Thanks & Regards
    Sujay

    Hi Suraj,
    I had also researched a lot for this requirement for my project. This requirement, to download the file to a local system by running a job cannot be done.
    But there is a work around for this requirement, you can write a program to download the data to a "AL11" active directory in your the server( using an open dataset ). This program can be executed in background too, since we are writing the file to the server directory. If its a normal .txt file, you can ask the user to check it in AL11 or you can ask the basis team to copy that file from the active directory and send it to the user.
    I think this will help you a little bit.
    Regards
    Maneesh Chandran

  • Download Language file on Presentation Server.

    Hii
       I want to download a file which is language specific.Means the data in the internal table is in Login Language .I want to download the data as present  in the internal table to a local file .
    Please suggest .
    Ajitabh Pradhan

    Hi,
    You can do that using the GUI_DOWNLOAD. but at the same time , whatever thaelogon language is that should be installed in your system, then only the proper file will be downloaded ..
    Regards
    Sudheer

  • Urgent: loading a pdf file  to presentation server at the end of the day

    hi
    I got a requirement like smartform will be converted into pdf file and it will loaded into application server, at the End of the day all the pdf files which are generated on that day will be loaded to in file at presentation server ,
    so please help me out regarding
    Thanks in advance
    regards
    krishna

    Hi Chris,
    this problems are in fact new to me, but I'm just starting on a new workplace where they have these issues since forever.
    I'm hoping that new point of view may find a solution to it ;-)
    I'll try to watch the traffic - it could be related to the particular network we have. Will ask and post some more info tomorrow.
    Thank you!
    /best
    /j

  • Downloading .xml/.tx data to presentation server while running background.

    Hi experts,
    I have a requiremnt to downloading .xml/.txt data to presentation server while running background.
    when i run the program in foreground with use of GUI_upload/ Gui_download its working fine but not working in background.
    i can't use email/data download to database file and than get it  option as data can be huge.
    Can anybody help me out regarding this.
    Thanks
    Anuj jain

    Hi anjui,
    it'snt possible to download a file in background using gui_download.
    You could try to create a Shell Command (transaction SM69) to transfer data in a shared directory.
    You can execute Os Commands using function module SXPG_COMMAND_EXECUTE
    Alessandro

  • Trying to login to software program known as hamspher (vip simulated ham radio,  it downloaded the program but it will not allow me to login with call sign and pin.  it has to be opened with what they call a jar file.  how do i do this?

    trying to login to software program known as hamspher (vip simulated ham radio,  it downloaded the program but it will not allow me to login with call sign and pin.  it has to be opened with what they call a jar file.  how do i do this?

    This is compatible with Mac? Especially Snow Leopard (if that is what you'e running)?
    Have you considered posting your question in their forums?
    Here is some information re. the jar file:
    http://ostermiller.org/opening_jar_files.html

  • I just purchased Adobe Photoshop Elements 13 but my computer is not recognizing my CDRom and I cannot download the program. I tried copying the files on the program disc to my hard drive but get a message the installer will not work. I have the redemption

    I just purchased Adobe Photoshop Elements 13 but my PC is not recognizing my CDRom and I cannot download the program. I tried copying the files on the program disc to my hard drive but get a message the installer will not work. I have the redemption code and serial numbers. Can I download the program online somewhere? If I download a trial version for instance will it allow me to enter my serial number and use it for the full program?

    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 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.6| 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'.

  • I took out a trial of Fireworks CS6, but for some reason a .dll file has been deleted off my computer. How can I download the program again?

    I took out a trial of Fireworks CS6, but for some reason a .dll file has been deleted off my computer. How can I download the program again?

    Hello
    you could have a look there Download CS6 products
    Hans-Günter

  • How come everytime my Mac shuts down, when I turn it back on ,Garageband has to Re-Download the program files?

    How come every time my Mac shuts down,when Iturn it back on,Garageband has to Re-Download the program files?

    Check this article http://support.apple.com/kb/HT1547 and this one http://support.apple.com/kb/HT2341?viewlocale=en_US
    If it sounds like a RAM issue it could be one of the RAM chips has failed. You could try removing the RAM one at a time and see if it starts with one still installed.

  • Creative cloud said I'am not connected to the adobe server and now i cant download the programs? What do i have to do?

    Creative cloud said I'am not connected to the adobe server and now i cant download the programs? What do i have to do?

    Please read, and reply back here with information https://forums.adobe.com/thread/1499014
    -try some steps such as changing browsers and turning off your firewall
    -also flush your browser cache so you are starting with a fresh browser
    http://myleniumerrors.com/installation-and-licensing-problems/creative-cloud-error-codes-w ip/
    http://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html
    or
    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • How to download a file from application server to presentation server

    Hi experts,
    I want to download a file from application server to presentaion server, file contaims three fields customer name, customer email id and status..
    help me out i m new into sap.

    Dear Aditya,
    Please check below thread
    http://scn.sap.com/thread/1010164
    it will help you.
    BR
    Atul

  • Copy File from Presentation Server to Application Server in Background

    Hi,
    I need to copy Image file from Presentation Server to Application Server.
    The below given code is workking fine in Foreground but whenevr I am trying to execute in Background, the job is cancelled and I am getting a dump.
    data : wa_source      type string,
              wa_destination type string.
    wa_source = 'C:\PARBIND.BMP'.
    wa_destination = 'D:\PARBIND.BMP'.
    start-of-selection.
      call method cl_gui_frontend_services=>file_copy
        exporting
          source               =  wa_source
          destination          = wa_destination
    *    overwrite            = SPACE
    *  EXCEPTIONS
    *    cntl_error           = 1
    *    error_no_gui         = 2
    *    wrong_parameter      = 3
    *    disk_full            = 4
    *    access_denied        = 5
    *    file_not_found       = 6
    *    destination_exists   = 7
    *    unknown_error        = 8
    *    path_not_found       = 9
    *    disk_write_protect   = 10
    *    drive_not_ready      = 11
    *    not_supported_by_gui = 12
    *    others               = 13
      if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    In backgound Error is....
    Exception condition "CNTL_ERROR" raised.*
    Any solution is appreciated.
    Thanks
    Arbind

    Hi Arbind,
    Just realize... when you run it in foreground, you have a foreground to capture the file location. so it runs fine..
    but when you are running it in background, there is no foreground to check that is no gui present... how can it check where the C:\.... location is??
    no need of reading any oss note... just see.. the name is cl_GUI_FRONTEND_service.. its only for front end..
    u need open dataset, read dataset, close dataset kind of things while running in background. or RFCs to read the file... (search SDN).

  • Download text file from application server to client server.

    Hi all,
    I am facing a format issue while downloading text file from application server to the client machine.
    The issue is that, say I have 6 to 10 lines in my text file in application server. but when i store it on the hard drive,
    it shoes all the data in a single line. Where as i need to download data in same format as in application server.
    Awaiting for your responses.
    Regards,
    Jose

    Hi,
    If we want to upload file data from the application server to the internal table, there is no function module or class static method which we can use, we must wirte the code by ourselves.
    1. For the file data which has no seperator between field columns.
    PARAMETERS p_file  TYPE dxfile-filename.
    START-OF-SELECTION.
    OPEN DATASET p_file IN TEXT MODE ENCODING DEFAULT FOR INPUT.
      DO.
        READ DATASET p_file INTO gds_data.
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
        APPEND gds_data TO gdt_data.
      ENDDO.
    CLOSE DATASET p_file.2. For the file data which has tab separator between field columns.
    DATA: gds_field_split type gts_data.
    FIELD-SYMBOLS: <fs_field> TYPE gts_data.
    PARAMETERS p_file  TYPE dxfile-filename.
    START-OF-SELECTION.
    OPEN DATASET prf_file IN TEXT MODE ENCODING DEFAULT FOR INPUT.
      DO.
        READ DATASET p_file INTO gds_field.
        SPLIT gds_field  AT cl_abap_char_utilities=>horizontal_tab
             INTO TABLE gdt_field_split.
       LOOP AT gdt_field_split  into gds_field_split.
           gdf_index = gdf_index + 1.
           ASSIGN COMPONENT gdf_index OF STRUCTURE
                 gds_data to <fs_field>.
          IF sy-subrc = 0.
              <fs_field> = gds_field_split.
          ENDIF.
       ENDLOOP.
        APPEND gds_data TO gdt_data.
      ENDDO.
    CLOSE DATASET p_file.
    Thanks & regards,
    ShreeMohan

Maybe you are looking for