Dowloading an XML file in Webdynpro without User Interaction

Hi Experts,
My Requirment is i need to download an XML file in  Cdrive Request folder. This should be done without any UI elements or User interaction. Download should be done in background. Are their any function modules or classes.
Thanks,
Sandy.

In continuation:
Hi Lukas,
Thanks for Reply, I Used this approach already but it's showing a dump file could not be open.
Thanks,
Sandy.
can you please post your entire code here?
EDIT: also post the dump please
regards, Lukas
Edited by: Lukas Weigelt on May 27, 2011 11:12 AM

Similar Messages

  • Dowloading an XML file from Website through FUSION middleware(BPEL/ADAPTER)

    Hi,
    I want to dowload an xml file from one website through BPEL. I am using jdeveloper10.1.3.3 to create a BPEL process and Adapters.
    Is there any way to download the xml file from the site through FUSION middleware

    Another option would be to write a smal Java class the uses URLConnect to connect to the URL in question and use WSIF to bind it to the BPEL process.
    Just google for sample code.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                           

  • Any way to Upload a File Automatically without user interaction in BSP.

    Hi,
    Any way to Upload a File Automatically without user interaction in BSP.
    Problem is;
    We have an terminal pc connected to an Production Machine and has a PLC for reading Machine Actual Datas. This terminal has Windows CE.NET OS. There is one program which Appending PLC Data to Text file (STORAGE CARD\PLC\SAMPLE.TXT).
    Users can access to WAS system in this Terminal (Has network).
    I have to access to SAMPLE.TXT file using BSP when user antered a page in WAS.
    Have you got any solution. I have tried so much methods to do this. But i have not found any solution.

    Yes SAMPLE.txt stored in "STORAGE CARD\PLC" folder in terminal.
    But i am trying in my computer to test with "C:
    GPS.txt"
    I have tried before this method. But I think this is a security exception. Because when i use
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    var fso = new ActiveXObject("Scripting.FileSystemObject");
    extName = fso.GetExtensionName("C:\GPS.txt");
    alert(extName)
    -->
    </SCRIPT>
    i am getting an alert with message "txt". there is no problem.
    But when i try to access file using this code
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    var fso = new ActiveXObject("Scripting.FileSystemObject");
    fileObj = fso.GetFile("C:\GPS.txt");
    -->
    </SCRIPT>
    i am getting "Automation server can't create object".
    Message was edited by:
            Ibrahim UGUR

  • How to print a pdf without user interaction (With C#)

    My boss assigned me a task that to get the ImagePreview of 1st page of PDF.
    My thought is to print the 1st page of PDF to file(virtual print to file), and get the image source, but there comes the problem:
    How can print a pdf without user interaction(With C#),question are these:
    1. I can use the ShellExcute but cannot assign the destination of output file.
    2. User interface is unwanted, I don't want show anyone the Acrobat Reader interface who click the file just want to get a preview.
    3. No place to put those parameters in.
    This problem confused me a lot of days, I wish someone can give some hints.
    Thank you very much!
    (Maybe you will tell me to use Acrobat SDK, please don't, I'm afraid we cannot afford that)

    >I have not read the document yet
    This is the first step. There are many documents, but start with the
    introductory/getting started material.
    > with a index.pdx
    A PDX is a search database to allow you to do fast searching in
    Acrobat.
    >
    >About the relationship between Adobe Reader and Acrobat, as far as I know is that, the previous one is just the reading tool for PDF document, instead, Acrobat can modify and resave the PDF doc. Is it right?
    Effectively, yes. But the Acrobat SDK is mainly for working with
    Acrobat. It's very important to keep this clear, since you have said
    you only have the free Reader, so 95% of what is in the SDK cannot
    work for you.
    >
    >Simply my questions,
    >1. I don't know which dll to refer in the .Net project to print with. Is the ActiveX folder in product folder?
    Simply, there is no point asking these questions, yet, because you
    have not started on the documentation.
    But let's continue in the SDK forum, where I have posed what seems to
    be a very important question about why print to file at all.
    Aandi Inston

  • I would like to know whether its possible to start running a vi automatically without user interaction after a system has booted up and launched labview?

    I would like to know whether its possible to start running a particular vi automatically without user interaction after a system has booted up and launched labview?

    > I would like to know whether its possible to start running a vi
    > automatically without user interaction after a system has booted up
    > and launched labview?
    >
    > I would like to know whether its possible to start running a
    > particular vi automatically without user interaction after a system
    > has booted up and launched labview?
    >
    LV doesn't have any sort of Startup folder as we are a little concerned
    about the security issues this brings about. You can specify VIs on the
    command line for LV to open. And VIs can be set to run when opened.
    Combining these features, you wind up using the system's Startup folder,
    placing either a batch file or a shortcut to LV with the command line
    options added to list out the VIs, and finally, set the VI properties
    so
    that the VIs run when opened.
    Greg McKaskle

  • How to run eCATT in dialog mode(foreground) without user interaction(Enter)

    Hi,
        As part of performance testing using eCATT we want to execute a test script in dialog mode(foreground) without user interaction like pressing enter at end of each screen. The reason behind this is we want to run a test script 1000 times in dialog mode to analyze the performance of that particular transaction code. Hence its not practical to keep pressing enter at end of each screen. We do not want to execute this in background as that does not simulate the real time transaction processing and give the exact performance analysis.
    We have a test script with VA01 recording and are able to execute it perfectly in background as well as foreground (by pressing enter at end of each screen).
    I would like to know if there are any settings to be made to execute the test script in dialog mode without pressing enter. I have referred the below link which has not solved my purpose.
    ECATT - Running in Foreground (Enter Key)
    Thank You.

    Gopi,
    I never used this transaction before, but my approach would be as below. You may want to try and let me know how it works.
    Before running this script from ST30, first try to run from SECATT for one iteration to make sure the script and target system RFCs are working. Then try again in ST30. Still if you have the issue, ask your basis to take a look when you kick off from ST30 in the target system whether ST30 were able to successfully make the RFC call to that system.
    thanks
    Venkat

  • View XML files in Firefox without using source view

    Whenever I open an XML file in Firefox, the tags are all stripped off and I see just plain text like this [[http://i.imgur.com/pBhUM.png|XML File 1 in Firefox]]. The same file displays in Internet Explorer like this [[http://i.imgur.com/CT8Zb.png|XML File 1 in Internet Explorer]]
    For an average user, this is the preferred view, as he can see the text content of the XML file without worrying about the tags in the document. For other more advanced users like myself, this is very inconvenient.
    There are even some cases where Firefox does not display anything because all the tags are stripped off like in this case
    [[http://i.imgur.com/hAkBd.png|XML File 2 in Firefox]]
    here is the same file in Internet Explorer [[http://i.imgur.com/juOzs.png|XML File 2 in Internet Explorer]].
    The workaround I use now is to view the file's source so that I get to see everything. I must say, however, that this is very inconvenient. If the user does not specify any style sheet for formatting the XML file, I believe the file should be left as-is; it should not be touched.
    Kindly review this so we can confidently use Firefox as our default browser without having to switch to IE from time to time.

    '''@cor-el'''
    I am aware of the solution you're proposing. I even stated it as the workaround I use currently.
    My point is that the browser should have an option to display the raw XML without stripping off all the tags just like Internet Explorer or even Chrome (see attached image).

  • Passing an XML file from WebDynpro app to ABAP function module

    Hi all,
    I'm stuck with a problem, and am hoping one of you could let me know how to proceed:
    I need to pass an XML file (or at least the entire content of the XML) from my WebDynpro application to a backend ABAP function module. What I tried was this:
    In my WebDynpro app, I read the XML and convert the content into one long string (using java.io.FileReader and java.io.BufferedReader). In my ABAP function module I created an import parameter of type String. I then imported the ABAP Function module into my WebDynpro app as a model. I then tried to pass the XML string to the ABAP module. What happens is this:
    If the size of the string (XML) happens to be less than 255 characters, then it works. That is, the string is passed to the ABAP function module and I can see the contents. However, if the XML string happens to be greater than 255 characters, then it does not work. The string at the ABAP side is empty. Surprisingly, the ABAP module does not throw an error either. It just displays an empty string.
    Could you please tell me what the problem is?
    Thanks & Regards,
    Biju

    Hi Biju ,
    Welcome to SDN.
    If the import parameter is defined as type string it should work, however did you check whether your application pass it properly?
    I have applications using strings as import parameters working fine. (webapplications (BSP) to RFC)
    Regards
    Raja

  • ITunes xml file search/ access {on user's computer} ~ step 1

    Building a RichMediaAnnotaion (RMA) JukeBox.
    This will be hosted in a PDF.
    Tools: Flash CS5.5 & Acrobat X Pro
    The Juke Box will read the User's iTunes Library.xml file
    (once JavaScript affirms it is present, i.e. User uses iTunes).
    Of many steps, I am researching a JavaScript to locate (gain access) to
    said iTunes Library.xml files (both PC / MAC).
    In this file-search objective the four (4) locations are known; iTunes Library.xml (see below).
    Thanks in advance for your help...
    This is Step 1... the current goal;
    How to construct a full script to address all known locations (4).
    1) enable search when PDF page is entered
    2) search for the appropriate iTunes Library.xml file
    3) if found pass path to "JukeBox" script (in development, future Step)
    4) else... stop
    iTunes Library.xml locations;
    Mac OS X:     /Users/username/Music/iTunes/iTunes Library.xml
    Windows XP     \Documents and Settings\username\My Documents\My Music\iTunes\iTunes Library.xml
    Windows Vista     \Users\username\Music\iTunes\iTunes Library.xml
    Windows 7     \Users\username\Music\iTunes\iTunes Library.xml
    That is the current task at hand......
    Thanks for your feedback!
    ~ ~
    As a reference, further researching Steps are noted below:
    display Artist list
              drill down to said Artist songs
    Display Album Artwork / when available, else JukeBox images.png(s)
    Play music
    Any an All insight is greatly appreciated.
    D~

    JavaScript embedded in a PDF cannot read arbitrary files from a local hard drive, neither can a SWF.

  • Can I load xml file from SWC without using @embed

    I'm developing a mobile application in which I need to load xml files from File.applicationDirectory. This works great if the xml files are part of the main application swf. But I would like to move these xml files into a SWC so they could be shared across multiple applications.
    Using FlashBuilder 4.5, when a SWC is built, I can specify files to embed in the library that are not assets (Assets Tab of Flex Library Build Path). For various design reasons, I do NOT want to embed the xml files via @embed.
    When the swc is built and I open it up using a zip utility, I see the xml files in there just fine. So they are being bundled with the SWC. But how can I load these files in my main application that does not involve using @embed? When the main application is built, the swc setting for link type is "merged into code".
    I wouldn't expect the application to automatically pull out the xml files from the swc and place them in the File.applicationDirectory on the mobile device. I've tried loading from there just in case but file.exists is false (as expected).
    I've searched the web (and continue to do so) and all the answers seem to be to use @embed. Is there another way?
    Randy

    It's actually a lot easier than you think.
    Just reference the file like any'ol URL using a path relative to the SWC's src directory.
    So if you include the file "assets/xml/some.xml", just use that same string like you would any remote resource.
    For example:
    var loader:URLLoader = new URLLoader( new URLRequest("assets/xml/some.xml"));
    I believe it would also work like this "/assets/xml/some.xml", but I prefer relative paths so the link doesnt break if moved out of the SWC...

  • File Download Without User Interaction

    Hello,
    basically i want to transfer a file from one server to the
    other. I have a fixed source URL and a ready file handler .jsp at
    the destination server.
    In the past I did a lot with FileReference and their Browse()
    and Download() methods. Now i want to replace those points of user
    interaction and more or less stream the download file into the
    upload handler. Any ideas how i could achieve that?
    Thanks and GzG
    Nerun

    http://forum.java.sun.com/thread.jspa?messageID=3578246&#3578246
    Common sence would have told you that a <input type=file ... cannot be set with script.
    Since this input can be set to hidden you might unwantingly submit files on every page
    you visit.

  • How to store context data in XML file in Webdynpro

    Hi all
    i have one typical requirement as follows.
    1) i want to store context data of one view  in XML file and i want to read the same data from XML into another context of View.
    is there any one did this functionality then it is great help to me if they share?
    Thanks
    Sunil

    Hi,
    In WD4A
    Check out the mehtod in IF_WD_CONTEXT_NODE-
    TO_XML returns the string about the context.
    Regards
    Lekha

  • Silent Flash player Autoupdate over internet without user interaction

    Is it possible to set Flash Player to auto update without ever having any user interaction?  We don't have any internal application depending on flash player so I would like to install an version of flash update with auto update settings and forget it.
    I did install 15.0.0.152 with settings:
    mms.cfg:
    AutoUpdateDisable=0
    SilentAutoUpdateEnable=1
    But it has updated to 15.0.0.167 instead of 15.0.0.189.   Does the autoupdate use always the latest version or does it install only critical updates?  Why did I get 167 and not 189 ?  I can see that the task launching the auto-update run every hour, with default settings, but no new updates are made, wheter my browser (IE) is running or not.

    Please do the following.
    Open IE6, go to Tools and then Manage Add-ons.
    Change the menu dropdown (on the left) to "All Addons", then scroll down to Adobe (if it's there) and then check the version number. The current version is 11.1.102.55 (See screenshot)
    If it's not listed, or if it's a different version, download this uninstaller, but choose to Save it (doesn't matter where). Do not choose "Run". http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player_32bit.exe
    After you save the file, close IE.
    Run the uninstaller (even if Flash is not listed in Manage Add-ons) and then reboot.
    Next, go to: http://get.adobe.com/flashplayer/ and when you see the prompt, choose "Run" to install it immediately. Oh, and uncheck any third party installation options like the Google Toolbar / McAfee. You can install those any time.
    Go back to Manage Add-ons and confirm that 11.1.102.55 has been installed.

  • Is it possible to have transition occur automatically without user interaction?

    Hi guys,
    I'm a bit stumped with a problem to do with flash catalyst and whether its possible to have things occur without the viewer doing anything.
    For example would it be possible for a webpage to open and have images load from an XML file, then every few seconds automatically fade from one to the other in a loop (without the webpage viewer doing anything)?
    If so, would someone be kind enough to point me in the right direction on how I would do it?
    Best regards,
    Gareth

    Gareth
    The simple answer is "sort of". Take a look at this thread.
    http://forums.adobe.com/thread/687836?tstart=0
    However, you also mention that you wish to load the images via XML. Flash Catalyst does not directly support this. You will need to take your Flash Catalyst project into Flash Builder to add the Actionscript to load the XML. Since you have to do this, I would not recommend the suggestion of using a flv as a timer, but control the timing via code.
    Hope this helps,
    Chris

  • Hi i want to execute 3 reports  at one click without user interaction

    hi Friends,
    Hi i want to execute 3 reports with one click ie  by putting radio button when we click on this this wants to execute all 3 reports with out user interaction pls try to understand and provide the solution pls
    Thanks & Regards
    Mohan  Reddy

    Hello,
    To achieve this you can use the SUBMIT command after an user action.
    Example
    The program report1 has a stand-alone selection screen with the screen number 1100. In the program report2, an internal table with row type RSPARAMS and a ranges table are filled for this selection screen. These are transferred at SUBMIT together with a single condition.
    Program accessed
    REPORT report1.
    DATA text TYPE c LENGTH 10.
    SELECTION-SCREEN BEGIN OF SCREEN 1100.
      SELECT-OPTIONS: selcrit1 FOR text,
                      selcrit2 FOR text.
    SELECTION-SCREEN END OF SCREEN 1100.
    Calling program
    REPORT report2.
    DATA: text       TYPE c LENGTH 10,
          rspar_tab  TYPE TABLE OF rsparams,
          rspar_line LIKE LINE OF rspar_tab,
          range_tab  LIKE RANGE OF text,
          range_line LIKE LINE OF range_tab.
    rspar_line-selname = 'SELCRIT1'.
    rspar_line-kind    = 'S'.
    rspar_line-sign    = 'I'.
    rspar_line-option  = 'EQ'.
    rspar_line-low     = 'ABAP'.
    APPEND rspar_line TO rspar_tab.
    range_line-sign   = 'E'.
    range_line-option = 'EQ'.
    range_line-low    = 'H'.
    APPEND range_line TO range_tab.
    range_line-sign   = 'E'.
    range_line-option = 'EQ'.
    range_line-low    = 'K'.
    APPEND range_line TO range_tab.
    SUBMIT report1 USING SELECTION-SCREEN '1100'
                   WITH SELECTION-TABLE rspar_tab
                   WITH selcrit2 BETWEEN 'H' AND 'K'
                   WITH selcrit2 IN range_tab
                   AND RETURN.
    Regards.

Maybe you are looking for