Save bsp generated HTML on file system

I need to would like to save the HTMLB  generated from a BSP page in an HTML page on the native file system.
Could anyone provide assistance?
Thank you
Chris

I think that what you need is to call the BSP url from ABAP code in a program. I have found an example of a function which would be useful.
CALL FUNCTION 'HTTP_GET'
EXPORTING
ABSOLUTE_URI = 'your BSP url'
RFC_DESTINATION = 'SAPHTTP'.
BLANKSTOCRLF = 'Y'
TABLES
REQUEST_ENTITY_BODY = BODY_REQ.
LOOP AT BODY_REQ.
ENDLOOP.
Look for more examples of this HTTP_GET function.
Regards.

Similar Messages

  • How to save changes of HTML wrapper file?

    Hello All,
    I am working on .swf file. I am making some changes in HTML wrapper file, but the changes are saved in the file.
    Is there any other way to do it?
    Thanks.

    Swati,
    Flex does tend to auto-update the wrapper file it generates, which is frustrating if you change it and then your changes are lost. I usually make a second copy of this file in the same src folder, and then change that one. Flex will then leave it as-is (since it never controlled it) but it will be deployed to your bin-debug folder (or wherever your output goes).
    Richard

  • You cannot save the document on the file system (WIS 30903)

    Hi Experts,
    I just would like to inquire if anyone of you is familiar with this error?
    I've tried to search for WIS 30903, but the results were very limited.
    Just thought that someone here might have experienced this and know
    the cause and solution for this error.
    Kind Regards and Many Thanks,
    Mark

    Hello Mark,
    Are you trying to save Webi report from Webi Rich client?
    What is your BO version?
    If you are using BI 4.1 SP02  and trying to save the report from rich client..we can get this error..to resolve this you may need to have Admin rights..
    Please note that report will get save even if you get the above error..
    Regards,
    Naveen D

  • File system usage report chart generation - automated via reports and email

    Hello,
    I have requirement where I have to generate a monthly file system usage chart (just like a tablespace total_mb, used_mb, free_mb....) and mail it directly to the client.....
    Any ideas or suggestions would be welcome....
    Thanks,
    S.

    It's a pretty open-ended question, because a number of things can be causing slow performance.  You mention needing to look at ODBC connection performance - I found that using ODBC drivers for iSeries was very slow in the past.  You might want to look at using the JDBC driver in the IBM JTOpen Toolkit - it made a big difference for us when we were querying iSeries in the past.
    When you refer to "reports" in this thread's title, do you mean reports from ColdFusion Report Builder?  Or to just ColdFusion .cfm pages?  How complex are these reports?  How much information is displayed, especially in tabular form?  Just rendering huge HTML tables (as in thousands of rows of data) will often cause browsers to become temporarily unresponsive or hang.  If you provide more details, we might better be able to target where the "pain point" really is.
    -Carl V.

  • Cannot view topics in generated HTML help

    I am using RoboHelp HTML Version 11 with Windows 7 Enterprise/Service Pack 1. My problem is with generating HTML help files. It appears to generate and I get the message that it ran successfully. It even generates the CHM file, but when I click on a topic, nothing happens. The topics don’t open at all. The TOC books do, but not topics. I do get a compiling warning  “The size of the stop file has to be limited in 512 bytes.” I have no clue what the stop file is. Did a quick search but didn’t find anything useful other than another user a few years ago who had the same issue and same warning. Unfortunately, I did not see resolution posted. Any help would be greatly appreciated! Thank you.

    Hi there
    Ummm, where exactly is the CHM file that you are trying to open?
    Perhaps the link below will explain some things?
    Click here to view
    Cheers... Rick

  • LONG_RAW conversion (using OLE) to file system then import into BLOB column

    To whom it may concern (I will call "hero" or "savior" if you can solve this for me),
    I posted this message an another thread; but then later thought it would be better in its own thread.
    I was wondering how to extract the Adobe Acrobat Reader files (PDF) from OLE component stored in a LONG_RAW database column. I was able to successfully extract the MS-Word, MS-Excel, MS-Powerpoint, and MS-Project to the operating system. I was not able to extract the Adobe PDF files. The PDF files do not return an error message nor do they write out to the file system?
    Leonid previous posted some suggestions on how to convert the data. Can anyone expand on tasks #4 and #5 (see below)?
    You can use this library to do the following task:
    1. Get the type of an object stored inside OLE Item. Get information about the OLE server.
    GetCLSID, GetProgID, IsIDispatchSupported
    2. Get information about the object
    IsLinked, GetSourceDisplayName
    3. Get information from the object in formats supported by its IDataObject interface.
    EnumFormatEtc, RegClipFormat, GetData
    I suppose it's the best way to extract pictures!
    4. Save the object into an external file throu IPersistFile interface. It works only if IPersistFile::Save method is implemented by the OLE server. Unfortunately, some OLE servers don't support this method even don't return a correct error code.
    SaveToFile
    Works with: MS Word, MS Excel
    Not works with: Adobe Acrobat (I'm not sure. Maybe I've done something wrong), MS Photo Editor
    5. Extract the 'Contents' stream from a structured storage /a compound document/.
    ExtractToFile
    It isn't a documented way, but it can be used to extract PDF files.
    I have tried the following two scenarios for the PDF extraction:
    -- First Attempt
    ret:=OLEXTRA.SaveToFile( application, v_FILENAME_WO_EXT || '.pdf' );
    if ret <> 0 then
    show_message( 'SaveToFile Error code='||ret );
    end if;
    -- application does not return an error message
    -- application does not save the PDF file to the operating system.
    -- Second Attempt
    ret:=OLEXTRA.ExtractToFile( application, 'stg.pdf', 'fname.pdf' );
    if ret <> 0 then
    show_message( 'ExtractToFile Error code='||ret );
    end if;
    -- application does not return an error message.
    -- application does not save fname.pdf to the operating system
    -- application saves the stg.pdf to file system, but cannot open in Adobe
    Thanks in advance for the help,
    Mike

    There is no way from PL/SQL in Forms - you'll have to call out to C or Java Code to do it.
    You can link in Pro*C or OCI code into forms as a user exit in which case it can share the forms connection but that's not for the faint hearted.
    Using Java - called from the Java Importer feature in 6i+ you'll end up creating a separate connection.
    Frankly if you can do it in a generic enough way through a VB executable stick with that.
    Forms can get images in an out of a long raw using read_image_file and write_image_file but that does not extend to any binary file - just images.

  • Can  Java be used to save content of HTML form to a file?

    We have an application that saves a pdf file to a location on our webserver. The file displays on the users machine in a browser window. I have created a link in the links bar of the browser window which launches a simple HTML page. This page allows the user to enter a number of fields and click 'SAVE'. This is where I am having the problem. I need the save button to firstly create a csv file on the webserver containing the details input by the user. I then need the pdf file saved to the web server with a new name and in the same location as the csv file. is there anyway to achieve this using Java or can anyone please point me in the right direction?
    Thanks

    <<Click on the SAVE button in an HTML <form> and the browser will perform an HTTP POST of the data to a URL. Make that URL point to a Java servlet and it can take that form data
    <<and write it to the webserver file system in any format you wish, including csv and pdf.
    agree with duffy. You can also use JSP and call a class method to handle whatever data you specify.
    orozcom

  • Where to save the .js file in the file system ?

    I have included the following code in the template header <script src="/i/javascript/its.js" type="text/javascript"></script> but the apex page cannot access it. The error console show "function xyz is not defined". The window View Source does show that line in the header section pf the page.
    The javascript file is copied to $ORACLE_HOME/apex/images/javascript in the same place with other built-in apex scripts.
    I would like to save the js file in the file system instead of loading into the db. Where should I copy the file to ?
    Thanks for your advice,
    Vu

    Hi Paul, thanks for your reply. I changed as your suggestion and have the same result. The html source does show the line to load javascript but the Error Console still say "function not defined". For this same js file, if I upload thru Share-Component as static file then it works.
    Below is part of the header under View Source.
    </script>
    <link rel="stylesheet" href="/i/css/apex_3_1.css" type="text/css" />
    <!--[if IE]><link rel="stylesheet" href="/i/css/apex_ie_3_1.css" type="text/css" /><![endif]-->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script src="/i/javascript/its.js" type="text/javascript"></script>
    </head>
    Vu

  • ORA-04030 while generating HTML files

    While generating HTML files out of the database, combining XML type and structured data, and storing these files in XDB filesysteem. I get the following error.
    ORA-04030: out of process memory when trying to allocate 2048 bytes (cursor work he,kghsseg : kokeismo)
    Does anybody have an clue about the cause. We are using a 9i database, with patch 9.2.0.6. not yet installed, running on Solaris. it looks like the generator stops every time after the same content item.

    Hi,
    This is because of fragmentation of shared pool. If this is other than production database, you can flush the shared pool by "alter system flush shared pool;".
    For production database, it is not advisable to flush the shared pool as it contains parsed sql statements. You can increase the shared_pool_reserved_size. Normally it's 10% of shared_pool_size. If you are using Oracle 8i, you can set shared_pool_min_alloc parameter so that for memory higher than this value only, the reserved size will be used. This parameter is deprecated in 9i. For temporary purpose, you can execute dbms_shared_pool.aborted_request_threshold(val_in_bytes) to release space from shared_pool.
    Thanx.

  • Trying to create an image and save it on file system

    Hi,
    I'm trying to create an image and save it in the file system :
         public static void main(String[] args) {
         int wid = 632;
         int hgt = 864;
         BufferedImage bufferedImage = new BufferedImage(wid,hgt,BufferedImage.TYPE_INT_RGB);
         bufferedImage.getGraphics().setColor(Color.black);
         bufferedImage.getGraphics().drawOval(30, 30, 100, 100);
              bufferedImage.getGraphics().drawString("test me one two three",2,2);
              bufferedImage.flush();
    try {
                   ImageIO.write(bufferedImage,".bmp",new File("C:/MyImage.bmp"));
         } catch (IOException e) {               
                   e.printStackTrace();
    THE PROBLEM : It creates C:/MyImage.bmp on my file system, but the file is empty (size 0).
    Am I missing something ?
    Thanks

    Try changing ".bmp" to "bmp". If that fails, try posting an SSCCE.
    Edit 1:
    And in future, please use the code tags when posting code, code snippets, HTML/XML or input/output. To do that, select the code and click the CODE button seen on the Plain Text tab of the message posting form.
    Edited by: AndrewThompson64 on Aug 3, 2009 1:23 AM

  • How generate a XML file & how to save data in that file?

    hi,
    How to generate an xml file & how to add data in that xml file? is there anyone who can help me about this? Firstly i need to open a xml file and after that i need to save user data in that file? how i will do it? What will be the solution of this? please give me solution........
    with regards
    Bina

    With an API like Xerces you can parse an XML document into a DOM tree. You can do modifications on that tree manually and then write it back out as XML data.
    http://xerces.apache.org/xerces2-j/

  • Deliver a report in XML format and save it to local file system on the server

    We have OBIEE 10.1.3.4 on Redhat linux. We want to have generate a report in XML format and saved it to the server's file system. Did not realize this is s difficult task. Basically
    1) How to create a XML report? It is not listed in the output items of a layout template.
    2) How to deliver XML the report  to local file system. Look into the Delivery section of Admin page. FTP should be the best choice, but does that means that one need to install and run ftp server on the BI server box?
    Thanks

    Hi,
    Since I still have problems on this subject, I would like to share on how it progresses.
    Currently I have a problem of timeout in step "Truncate XML Schema" with the URL that I mentioned above.
    The exact error is the following : 7000 : null : com.sunopsis.sql.l: Oracle Data Integrator TimeOut : connection with URL [...]
    The connection test is still OK.
    I tried to increase the value in the user's pref but there's no change.

  • Swf2html.exe and infinite generated html files

    Dear,
    I use the tool swf2html.exe from Adobe for extracting textual content on .swf files.
    Is there a way to avoid infinite iteration on such swf files : i.e. http://www.cartoondollemporium.com/superdollz/dollz/1012/doll.swf ?
    The problem is that when I try to generate html file with that file in PHP, swf2html.exe made an infinite iterate and there is no way (except manualy cut the process) to stop for example on a max output file size generated.
    Thanks of you have some tips to avoid or solve that extracting problem,
    For test :
    http://www.se-flash.com/cgi-bin/flash.pl?etape2=1
    with http://www.jeuxclic.com/jeux/bubble_shooter.swf work.
    http://www.se-flash.com/cgi-bin/flash.pl?etape2=1
    with http://www.cartoondollemporium.com/superdollz/dollz/1012/doll.swf made infinite loop....
    Stephane.

    1) All you do is specify a directory with the -d option and Javadoc creates the directory structure below that. We often use either "-d docs" or "-d html" to create a directory named "docs" or "html" in the current directory.
    2) Preferably they should be stored on a server that has a web server running so people can access them. We build the docs nightly on the development server where people can access the latest version using a file: URL (not with a web server). Then before each release we stage them on our intranet before we push them out to the intranet. We also run the DocCheck doclet and a link checker nightly so developers and writers can find errors in their documentation.
    3) If you want a top-level page that links to separate javadoc documents, you need to do this manually. However, keep in mind that you can also inter-link all those separate documents by using the -link or -linkoffline option.
    Let us know if you have more questions or comments.
    -Doug Kramer
    Javadoc team

  • In Flash CS4 a generated html with swf file won't play swf

    Using Flash CS4 and having the Flash plug-in ver 10 on my PC, the generated html file will not play the swf in the browser.
    I noticed that the active-x javascript is now included in the header as well as the javascript portion in the body tag.
    But it won't play.  I get the typical blank window in IE with the "X" in the upper left corner.
    I don't have this problem with Flash CS3.
    Any ideas what may be going on?
    Thank you.

    I am having similar difficulty; mostly I am confused.
    I want to open a flash video file in a frame within a webpage.
    I have generated a Flash CS4 html and swf file. When loaded they play, but they play on a separate, full size web page, not in the frame where I want it.
    I then generated FLV and F4V files but that doesn't work.
    It appears that I need to insert the object and embed tags "for Flash Movies" in the html file.
    Once I do that, do I go back to only putting in the html and swf files and create a link to the html file to bring up the video in the target frame?
    What are the FLV files for?

  • Upload attachements from Windows and Save them to File System

    Hi
    We are upgrading to 11.5.10, using Database 10g r2. Can any one help me to upload attachement from a PC and save to a Unix file system instead of database. We are using forms 6i. Please help.

    Hi
    We are upgrading to 11.5.10, using Database 10g r2. Can any one help me to upload attachement from a PC and save to a Unix file system instead of database. We are using forms 6i. Please help.

Maybe you are looking for

  • CUE_POINT in FLVPlayback

    Iam playing a .flv file  with FLVPlayback component . when cuepoint  reacheded the playhead how to show the currrent cuepoint data

  • Parsing text files

    I have written a vi that parses data out of text files which makes use of the open text file vi. When I compile the vi to run as a stand alone application, The open file dialogue will only accept .vi files for opening. Why is this? Thanks, Russ T.

  • How to increase the length of the Info object

    Hi All      Any one have idea about how to increse the length of the Info object Char(beyond 60). Can you please explain me in detail we are using BI7.0. Thanks Vani

  • Report MB5L giving runtime error TSV_TNEW_PAGE_ALLOC_FAILED

    Hi, While running the Report MB5L we are getting the runtime error "TSV_TNEW_PAGE_ALLOC_FAILED" We tried to schedule this report at non-peak hours but it again got terminated with same error. We are using 12GB of RAM. ztta/roll_area 6500000 ztta/roll

  • Switch statement loops

    Hi, I was just wondering if there is any way to make a switch statement loop back on itself, for example if you want to use the default part of the switch statement check the validity of the inputs themselves and ask for a replacement input should th