Downloading dynamic data without a server roundtrip?

Is there a way to get a FileReference.download like
experience for dynamic data? I've tried feeding a data: url into
download, which seemingly triggered a bug as I got a save dialog
and a true return value from download(), but no data was ever
saved. I'm running out of ideas and would greatly appreciate any
help.

Uhh... after some more reading... is this even possible WITH
a roundtrip? Seems like Flash can't POST and download at the same
time... unfortunately, I'm talking about images here... maybe a
megabyte or more. I can't just append them to the URL as GET
parameters. And if I use send, I won't be able to offer the return
for download, which is the whole point.
The only way I see right now is encoding as string and
posting it via an IFRAME, but that's not a terribly good idea
either with a lot of data posted back and forth between the browser
and Flash

Similar Messages

  • How can I download the data to Application Server and Network Drive

    Hi Experts
    I am having problem with download the data to Application Server and Network Drive in back ground. its working in foregorund but not in back ground.please suggest me . Thanks for advance.
    Thanks & Regards
    Raghava

    Hi Experts
    I am using like this
    P_Back is a check box on the selection-screen.
    it_fihrst_out-its internal table
    sy-batch -Program is running in the background
    IF sy-batch IS INITIAL.
        IF p_back = 'X'.
          OPEN DATASET file_01 FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
          IF sy-subrc = 0.
            LOOP AT it_fihrst_out.
              TRANSFER it_fihrst_out TO file_01.
            ENDLOOP.
          ENDIF.
          CLOSE DATASET file_01.
          CASE sy-subrc.
            WHEN 0.
              WRITE: / file_01, / 'successfully generated.'.
            WHEN OTHERS.
              WRITE: / file_01, 'Unexpected error occurred.'.
          ENDCASE.
        ELSE.
          CALL FUNCTION 'WS_DOWNLOAD'
            EXPORTING
              filename                = file_01
              filetype                = 'ASC'
            TABLES
              data_tab                = it_fihrst_out
            EXCEPTIONS
              file_open_error         = 1
              file_write_error        = 2
              invalid_filesize        = 3
              invalid_type            = 4
              no_batch                = 5
              unknown_error           = 6
              invalid_table_width     = 7
              gui_refuse_filetransfer = 8
              customer_error          = 9
              OTHERS                  = 10.
          CASE sy-subrc.
            WHEN 0.
              WRITE: / file_01, / 'successfully generated.'.
            WHEN 2.
              WRITE: / file_01, 'Output Error: File still open'.
            WHEN OTHERS.
              WRITE: / file_01, 'Unexpected error occurred.'.
          ENDCASE.
        ENDIF.
      ELSE.
        LOOP AT it_fihrst_out.
          WRITE:/ it_fihrst_out.
        ENDLOOP.
      ENDIF.
    This is the code .

  • Can we download the data to App. server after extracting

    Hello All,
                Is it possible to download the data to application server after  extracting . Please let me know where we have to specify the path to download.
    Thanks in Advance for help
    Regards
    Raj

    Hi,
    You can do this by using infospoke or you can directly take the dump to application server. 
    For taking the dump directly from cube u have to follow the below steps.
    Create a file name in Application server take the path.
    Go to the manage of the Cube click on contents. remove maximum hits... below u will find the option as store into app server and specify the path there. click on execute in background.
    Khaja

  • Problem When downloading the data to Appplication Server in CSV Format

    HI,
    I m doing the development which has the internal table with 24 field filld in the program, I need to download the internal table content to excel sheet and put in the application server , Can you pls suggest how to go for this.
    I m using the open dataset for output and tranfer the internal table contents, But the Excel Sheet which I m downloading in Appl Server is no getting clealy ( Individual Fields is not going to individail colums in excel , Total Record is getting in one colums only).
    I have trying with the function SAP_CONVERT_CSV , Then also it does'nt work
    Can you pls do needful
    Thanks&Regards
    Uday Kiran

    kindly check.
    [http://saplab.blogspot.com/2007/10/sample-abap-program-for-output-file-to.html]

  • Is a dynamic codebase without JnlpDownloadServlet possible?

    Is it possible to have a dynamic codebase without deploying a servlet?
    Seems reasonable to me. The cache should always know where the original source for the jnlp file ....
    <jnlp spec="1.0+" codebase="codebase of original source this file" >
    </jnlp>
    I am attempting to minimize server side code and was thinking this was possible because of this statement made here : https://jdk6.dev.java.net/testProperty.html
    "In 6u10-b13, we introduce new Java system properties to support the usage of version download and Pack200 without any server side requirements."
    It seems to me that without some mechanism for dynamic codebase the new properties jnlp.packEnabled and jnlp.versionEnabled are kind of pointless since server side code will still be required in most situations. Statically coding the codebase attribute for every deployment is not a viable solution for me.

    Thanks for responding Andy.
    I was thinking that if the run-options of javaws would support the -codebase option (as with the import option), and the browser were to launch with that flag, then it could override the codebase in the jnlp file. Maybe too many moving parts there? ........
    I've been working with the -import and -codebase options in attempt to minimize the server side servlet requirement.
    Basically my thought is :
    Have the jnlp file on server with no codebase attribute.
    Use a signed applet to bring the jnlp file down from the server and write it to local disk (somewhere temporary) adding the codebase attribute along the way. Then launch the javaws with -codebase and -import flags to install the application.
    So far it seems to be working but it's been a bit of a struggle. Viewing the cached jnlp file I see that it has the codebase attribute correct and the application does launch.
    I am wondering if I update the jnlp file on the server, will the codebase in the cached file still be used? or will I need to force another -import?

  • How to load tab limited data into apllication server

    Hello All,
    I have 2 questions.
    1)I have data in a table,i want to place this data in the applcation server with tabdelimiter in ASC.How do i proceed?
    2)I have the data in my application server in a compressed text format,i want to download this data into a zip file (i am using the filetype 'BIN' to download this data to presentation server.However when i unzip this file my file is not tabdelimited.Is there any way i can download the file of type Bin into a zip file so that when i unzip it ,it should be tabdelimited?
    Thanks in advance.
    Sujatha gokaraju

    Hello,
    Do like this
    PARAMETERS: P_FILE TYPE RLGRAP-FILENAME,
                P_TRZEI      TYPE C DEFAULT ';'.
    PERFORM DOWNLOAD_DATA.
    *&      Form  DOWNLOAD_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM DOWNLOAD_DATA.
      DATA: OUTPUT TYPE STRING,
            L_F_NETWR(21) TYPE C,
            L_F_ERDAT_OR(10),
            L_F_ERDAT_IN(10),
            L_F_ERDAT_DE(10),
            L_F_POSID LIKE PRPS-POSID.
      OPEN DATASET P_FILE FOR OUTPUT IN TEXT MODE.
      IF SY-SUBRC = 0.
        LOOP AT G_T_OUTTAB.
          CLEAR L_F_NETWR.
          WRITE: G_T_OUTTAB-NETWR TO L_F_NETWR,
                 G_T_OUTTAB-ERDAT_OR TO L_F_ERDAT_OR,
                 G_T_OUTTAB-ERDAT_IN TO L_F_ERDAT_IN,
                 G_T_OUTTAB-ERDAT_DE TO L_F_ERDAT_DE.
          CALL FUNCTION 'CONVERSION_EXIT_ABPSP_OUTPUT'
               EXPORTING
                    INPUT  = G_T_OUTTAB-PS_PSP_PNR
               IMPORTING
                    OUTPUT = L_F_POSID.
          IF NOT P_TAB IS INITIAL.
            CONCATENATE G_T_OUTTAB-VBELN
                        G_T_OUTTAB-POSNR
                        G_T_OUTTAB-VKBUR
                        L_F_POSID
                        G_T_OUTTAB-BSTKD
                        L_F_NETWR
                        L_F_ERDAT_OR
                        L_F_ERDAT_IN
                        G_T_OUTTAB-VBELN_IN
                        L_F_ERDAT_DE
                        G_T_OUTTAB-VBELN_DE
                        INTO OUTPUT
                        SEPARATED BY CON_TAB.
          ELSE.
            CONCATENATE G_T_OUTTAB-VBELN
                        G_T_OUTTAB-POSNR
                        G_T_OUTTAB-VKBUR
                        L_F_POSID
                        G_T_OUTTAB-BSTKD
                        L_F_NETWR
                        L_F_ERDAT_OR
                        L_F_ERDAT_IN
                        G_T_OUTTAB-VBELN_IN
                        L_F_ERDAT_DE
                        G_T_OUTTAB-VBELN_DE
                        INTO OUTPUT
                        SEPARATED BY P_TRZEI.
          ENDIF.
          TRANSFER OUTPUT TO P_FILE.
          CLEAR L_F_NETWR.
        ENDLOOP.
      ELSE.
        MESSAGE E041(S9) WITH P_FILE.
      ENDIF.
      CLOSE DATASET P_FILE.
    ENDFORM.                    " DOWNLOAD_DATA
    Cheers,
    Vasanth

  • Download  350MB of data from Application Server to Presentation server

    i want to Download  350MB(Around 2.5Million record of Table BSEG) of data from Application Server to Presentation server..
    i have tried with the transaction CG3Y and program using open dataset,read dataset,close dataset,ws_download...but went in vain,,,ended with TIMEOUT ERROR..will OPEN DATASET 'path' FOR OUTPUT FILTER 'Compress'  be helpful
    ..please help me ..its urgent..

    you can do the FTP with Unix commands..
    initially connect to the application server  by using command
    FTP <app server ip>,then it willl ask for username and password... after successful connection you  can use the following commnads to transfer file
    lcd <destination path name>(set the dest path)
    cd <source path>(set the sorce path),
    get <filename to be transfererd>( do the transfer)....
    You can do same with ABAP code also, for this you need to use some function modules like..
    FTP_CONNECT ( to establish the connection)
    FTP_COMMAND ( to execute the commands like cd, lcd get,put)
    finally FTP_DISCONNECT to close the open connection...
    for further details refer standard program RSFTP002,RSFTP003....
       reward points if helpful...

  • I have an Iphone 4 which I just updated with the latest software, which put in it in Recovery Mode. It has the picture of the plug with Itunes, I downloaded it now its saying its in Recovery Mode, how do I save all of my previous data without Restoring?

    I have an IPhone 4 which I just updated with the latest software, which put in it in Recovery Mode. It has the picture of the plug with ITunes, I downloaded it now its saying its in Recovery Mode, how do I save all of my previous data without Restoring?
    I updated the phone before backing it up on iTunes, now the update wanted me to connect the phone with iTunes and it says the phones in recovery mode and it must be restored before its used with iTunes. I go to click restore and it says it will reset it to factory default and I'll lose all my current data. I have all my sons pictures and videos along with this notes. I can't lose all of this data! Please help!

    You have to restore the iPod, no ifs, ands, or buts...
    After iOS is installed you will be asked if you what to set it up as a new iPod or if you want to restore from a backup.
    If you have a good backup you can restore that and you're good to go.
    If you don't have a good backup, then you end up with a "clean" iPod....

  • 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

  • Deleted bridge cc. Now I need to reinstall but it shows up in my creative cloud app as up to date without the option to download. How do I access it to download and reinstall?

    In an effort to correct an issue with my creative cloud, I deleted bridge cc. Now I need to reinstall but it shows up in my creative cloud app as up to date without the option to download. How do I access it to download and reinstall?

    Bmullinax please see CC desktop lists applications as "Up to Date" when not installed - http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html for information on how to reinstall Bridge CC.

  • How to download the Dynamic data into PPT format

    Hi Friends,
    I have one doubt on WDJ. How to download the Dynamic data into PPT format. For Example Some Dynamic data is available in to View in that One Download Link or button available. Click on Download link or button download that data into PPT Format
    Is it possible for WDJ. If possible please tell me.
    Or
    How to create Business Graphics in Web Dynpro Applications depening up on Excel Data and finally we can download the  Business Graphics  into powerpoint presentation.
    Thank you,
    Regards
    Vijay Kalluri
    Edited by: KalluriVijay on Mar 11, 2011 6:34 AM

    Hi Govindu,
    1. I have one doubt on WDJ. Click on either Submit Buttion or LinkToURL UI we can download the file that file having ppt formate(Text.PPT).
    I am using NWDS Version: 7.0.09 and Java Version: JDK 1.6
    2. is it possible to download the business Graphics in to the PPT by using Java DynPro
    Regards
    VijayK

  • How can I get a date without the hour from sql server 2000 ?

    hellou!
    I have a JTable, and one of it's columns has to show a date. This date i have to show is specified as datetime on the Sql Server 2000 database where I have to take the data.
    the query of the dataset attached to the JTable is something like "select * from Table".
    The problem is that the JTable column that displays the date shows the date and the hour, for example:
    7/10/04 0:00:00
    and I need to show the date without the hour, only the 7/10/04. Can anyone tell me how to do that?
    thank you very much! : )

    The easiest way to format a date is with java.text.SimpleDateFormat. When creating it you pass a format string which can be used to parse or format date objects.
    SimpleDateFormat formater = new SimpleDateFormat( "MM/dd/yyyy" );
    // Get date objects directly from sql
    Date foundDate = result.getDate( 1 );  //where result is the ResultSet and 1 is the date column
    String formatedDate = formater.format( foundDate );Now the JTable's table model can be adjusted to store a formated String instead of a Date. If for some reason it is required to store the value as a Date overload the table model to return the formated string when getValueAt is called.

  • Dynamic Date dimensions in MS Sql Server 2005

    Environment : BO 4 SP3
    Database : MS Sql 2005
    Trying to create dynamic date universe with MS Sql as back end.
    But when I try creating current year month dated class, it returns error :
    Parse failed: Exception : DBD, [Microsoft SQL Server Native Client 10.0] : Incorrect syntax near 'From'.State:42000
    I tested the universe connection which is working fine as evident from below screenshot :
    BusinessObjects Configuration
    Version 3.2.1.80
    Build 14.1.1.1036
    Network Layer OLE DB
    DBMS Engine MS SQL Server 2008
    Language en
    Charset CP1252
    Library D:\Programs\BusinessObjects4\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\drivers\lib32\dbd_wsqloledb.dll
    SBO D:\Programs\BusinessObjects4\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\oledb\sqlsrv.sbo
    RSS D:\Programs\BusinessObjects4\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\oledb\sqlsrv.rss
    PRM D:\Programs\BusinessObjects4\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\oledb\sqlsrv.prm
    Strategies Not Defined
    Middleware and DBMS Configuration
    Driver architecture 32
    Charset UCS2
    Driver name Microsoft SQL Server Native Client 10.0
    Driver version 10.50.1600.1
    Provider file name sqlncli10.dll
    OLE DB Version 02.80
    DBMS name Microsoft SQL Server
    DBMS version 09.00.5069

    Per SAP Note 1241422 - Database fragmentation and reindexing improves performance
    Summary
    Symptom
    During the lifetime of a database (any db not only SAP Business One) and due to insert\update\delete of data, the information in indexes is fragmented.  Fragmentation exists when indexes have pages in which the logical ordering, based on the key value, does not match the physical ordering inside the data file.  Heavily fragmented indexes can cause slow performance.
    Other terms
    Index, performance, re-index, reindex, slow, poor, DB
    Reason and Prerequisites
    FAQ
    Solution
    It is recommended to run a rebuild the following procedure once\twice a month:

  • Dynamic script task to copy data from one server table to another server table excluding Timestamp column ?

    I have two server TestSource and TestDestination . In both the tables I have common table like below. I would like to copy the data from TestSource server src_Table to TestDestination server  table dest_table
    excluding the column timestamp. This process I would like to achieve dynamically. Since I have 50 tables where I need to copy from source server to destination server.
    Rule : This needs to achieve using script task. Please help me to find the solution as it is very urgent requirement.
    Above rule is because No option to choose export wizard dynamic query option for linked server.
     --Source
    Table
    CREATE TABLE src_table
    a int,
    b int,
    c timestamp
    --Dest Table
    CREATE TABLE dest_table
    a int,
    b int,
    c timestamp
    Thank you in advance.
    Hari

    I have two server TestSource and TestDestination . In both the tables I have common table like below. I would like to copy the data from TestSource server src_Table to TestDestination server  table dest_table
    excluding the column timestamp. This process I would like to achieve dynamically. Since I have 50 tables where I need to copy from source server to destination server.
    Rule : This needs to achieve using script task. Please help me to find the solution as it is very urgent requirement.
    Above rule is because No option to choose export wizard dynamic query option for linked server.
     --Source
    Table
    CREATE TABLE src_table
    a int,
    b int,
    c timestamp
    --Dest Table
    CREATE TABLE dest_table
    a int,
    b int,
    c timestamp
    Thank you in advance.
    Hari

  • I started to rebuild one secondary server ,at the middle it is freezed. Prerequisite is passed, downloaded the bootstrap without any issues.

    I started to rebuild one secondary server ,at the middle it is freezed.  Prerequisite is passed, downloaded the bootstrap without any issues.
    In configmgrsetup.log file it showing NFO: The SQL Server Express installation command is:<"C:\VSCC9NLZ.TMP\SMSSETUP\BIN\X64\SQLEXPR_x64_ENU.exe" /Q /ACTION=install /FEATURES=SQL( Here is freezed), after
    that there is no error, nothing happening. I checked this log file nothing happening after 24 hrs also.

    More info:
    Please refer to the link below:
    How to Install Secondary Sites in System Center Configuration Manager 2012
    http://richardbalsley.com/how-to-install-secondary-sites-in-system-center-configuration-manager-2012
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • ITunes won't update the songs on my iPod

    I have a 20G iPod, purchased in Nov. 2004. For the last several months, the iTunes software has been slow to recognize the iPod and start automatically updating songs (it often took several minutes), but until recently it eventually recognized the iP

  • Making a game!

    Hello i need help i need the code to spawn stuff so that other players mayspawn soldiers or tanks whatever so please i need the code for spawning movieclips . (im using macromedia flash 8!)

  • Airport Base Station password

    I've had my Airport Base station for years.  Now I'm trying to add a wireless printer, and I don't remember the original WEP password assigned to my base station.  Is there a way to find it, or can it be reset somehow? Thanks Bill

  • Problems of payment

    Hi I have problems of payment When I want to buy Additions or extras for programs and games And ask me contact customer service I would like to know why if you allow

  • Restore default isolation level fails with connection in pool

    Hi, I am developing an application that needs to set the TransactionIsolation to SERIALIZE for a transaction. Setting the TransactionIsolation is not the problem. After this transaction is committed or rolled back, i set the isolation level back to t