Download to ppt functionality from a bsp page

download to ppt functionality from a bsp page .
can it be done.

Hi Saad,
yes that can be done.
A tricky way that only works in IE is to use ActiveX-Scripting and script the Powerpoint. This way I cannot recommend as you need to lower the security settings of IE and it is pretty cumbersome to do and very slow if you generate large ppt's.
The way I'd suggest would be to use the new 2007 pptx-format. This file format is basicaly a bunch of XML-files that are packed in the zip-format. As of 640 you can use the class cl_abap_zip to handle zip-files.
To generate ppt's
- Check in a empty pptx-file into the mime repository.
- Get this template and open it using the cl_abap_zip class.
- Adjust the respective XML-files by using the ixml-library.
- Update the adjusted XML-files in the zip-archive.
- Render the zip to an xstring and send this one as response to the browser.
At the very beginning you need to get used to the OPEN XML-format but checking the web or simply testing it by saving files in the pptx-format and having a look at the content should bring you close to the solution pretty fast.
If you use older versions of Office you can install the FileFormatConverter from Microsoft to get the new formats supported (I think down to Office 2000). But be aware that if the converter asks you to update you most probably have an error in your generated/adjusted file so the error message is missleading and not helpfull to find the error.
Hope that helps.
Best Regards
Michael

Similar Messages

  • Calling function modules from a BSP page

    Hi all
    How do we call function modules from a BSP page.
    regards,
    Paul

    Ok, You want to construct the URL pointing to a BW report and want to execute the same when a button is clicked right? if yes here is the answer.
    for constructing the BW query URL
    http://<bwserver>:<port>/sap/bw/BEx?sap-language=ENCMD=LDOC&infocube=<cube anme>&query=<query name>&var_name_1=<variable name1>&var_value_ext_1=<variable value 1>&var_name_2=<variable name2>&var_value_ext_2=<variable value 2>
    (for more info on how to pass parameters to BW query URL refer to the BW web designer reference manual which can be found at http://services.sap.com/bw)
    and for executing this from a button use onclientclick property of htmlb:button along with window.open
    <htmlb:button id ="BWQ"
                  onClientClick = "javascript:window.open("<%= BW_URL %>" );"/>
    Hope this is clear.
    Regards
    Raja

  • How to return values from a BSP page to Javascript

    Hi All,
    I want to call a BSP page which reads a single value from a table and returns that value I want the Javascript in the HTML code to get the value from the BSP page.
    Can you kindly let me know how I can return the value from the BSP page to JavaScript.
    Kindly please provide me a simple code of a BSP page and the Javascript
    Thanks
    Karen

    Hi,
    you need 3 elements to make the javascript code read the value in any field in the table: table´s name, line and column. This is how your code could look like:
    script language="javascript>
       var row = 0;
       function display(){
          row = row + 1;
          campo = 'tabla1_' + row + '_4';                 " <-- table, line, column
          valor = document.getElementById(campo).value;
    </script>
    ROW works as a counter. You have in variable valor the value of the field and can do with it what you want, perhaps display it with ALERT. I am reading the values from field 1 to n in column 4 in table TABLA1. Pay attention to the '_' in the concatenation of field´s name. The table in my BSP is very simple:
    <htmlb:tableView id                = "tabla1"
                           table             = "<%= mytable %>"
                           width             = "100%"
                           allRowsEditable   = "X"/>
    and somewhere I must call function display in my javascript code:
    <htmlb:button  id="boton" text="Texto aqui" onClientClick="display()" />
    So, give it a try.

  • How can i call a zreport from my bsp page.

    Hi friends,
    How can i call a zreport from my bsp page.
    Moosa

    Hi Friend,
    These are the codings  to be wirtten in BSP for transferring values to the REPORT
    DATA:wf_date TYPE ztable-ID.
          data:seltab type standard table of rsparams,
           wa_seltab like line of seltab,
         event TYPE REF TO if_htmlb_data.
    DATA:p_value TYPE REF TO CL_HTMLB_INPUTFIELD.
    event = cl_htmlb_manager=>get_event( runtime->server->request ).
    p_requ ?= CL_HTMLB_MANAGER=>GET_DATA(
                                            request  = runtime->server->request
                                            name     = 'inputField'
                                            id       = 'i1'
    if p_requ is not initial.
      wf_date = p_requ->value.
    endif.
    clear wa_seltab.
    if wf_date is not initial.
      wa_seltab-selname = 'P_REQU'.
      wa_seltab-kind = 'P'.
      wa_seltab-option = 'EQ'.
      wa_seltab-low = wf_date.
      append wa_seltab to seltab.
    endif.
    submit *ZSAMPLEAP1* with selection-table seltab AND RETURN  .(ZSAMPLEAP1 refers to the report name and AND RETURN for coming back to the BSP page after the completion of its operation in Report )
    IMPORT int_name TO int_name FROM MEMORY ID '*zid*'.(For importing the obtained value from Report)
    In Report
    REPORT  ZSAMPLEAP1.
    SELECT-OPTIONS: p_requ FOR ztable-id  NO INTERVALS.
    SELECT SINGLE name from ztable into int_name WHERE id = p_requ-low.
    WRITE:int_name.
        EXPORT int_name TO MEMORY  ID 'zsharmila'.
    With Regards,
    SHARMILA BRINDHA.M

  • I am getting an unknown error when trying to download a word document from mail to pages, any help

    I am trying to download a word document from mail into pages and I keep getting an unknown error message, are there special settings for this? Any help much appreciated!

    Not there aren't any special settings for this. You just use the Open In feature to save the document into Pages. You could have a font in the document that Pages doesn't like, maybe something that you copied and pasted from somewhere into the document that went corrupt. But there is nothing special about the way that you save a Word document into Pages. You save it like you save any document or file into a compatible app.

  • How to call function module in R/3 from an BSP Page

    Hi Experts,
    I am new to ABAP and BSP as well.
    I am creating an BSP page through which I want to call an function module in R/3 which will fetch a file from the application server and place into an internal table.
    I have identified the function module.
    My questions are:
    Since I am going to have an web interface where on a button click the file should be uploaded to the intrernal table.So how do I call the function module.
    Can I use JSP and ABAP together in an BSP page.
    Thanks
    Ankit

    Hello Ankit,
    Please check the following link:
    http://help.sap.com/saphelp_47x200/helpdata/en/bd/ac1e3a0088e042e10000000a11402f/frameset.htm
    I think it will answer all your queries.
    Regards,
    Siddhesh

  • Is it possible to call the Print Quote functionality from Custom ADF page

    Hi,
    We are researching if it is possible to call the Print Quote functionality from the Custom ADF application.
    Goal is to pop up the PDF report upon clicking the Print Quote button on the custom page. Is it possible ?
    Atleast advice on the direction to go forward is appreciated.
    Thanks
    Sai

    Hi ,
    Please check following thread on forum -
    Re: ADF: Calling OAF Page from ADF page
    Check this may also be useful-
    https://blogs.oracle.com/shay/entry/to_adf_or_oaf_or
    I have not tried yet but Steven Chan (Sr. Director OATG) suggest following methodolgy for this-
    https://blogs.oracle.com/stevenChan/entry/appsdatasource_jaas_ebs
    Thanks,
    Ashish

  • How to download an animated .gif from a web page

    how do i download to my mac an animated gif that is on a web page....when i want a picture or text or something like that i just ...apple shift 4 and "take a picture of it" ...but i want the animation..i have never had to do that on this mac.....a windoze person from the site(chat site) said just right click but my wireless mac mouse doesnt do that....i would appreciate any help.....i do know how to down load from a site that has downloadable .gifs...you just click the download sign they have and no problem....but this is just a random animated .gif from a web page ....i hope my ques is clear....thank you

    Drag and drop it from the webpage onto your desktop. Note that it won't remain "animated" while you're looking at the file's icon, but it should work if you build it into a new website.
    And you can right-click with a Mac mouse - you just have to set it up to do so in System Preferences. (Set the right side of the mouse to be a "secondary click".)
    Matt

  • Download Z Partner Function from R/3

    How to download a customer specific Partner function from R/3 to CRM.
    Have done PIDE settings in R/3.
    Have done number ranges and groupings in CRM.

    Hi,
    Which grouping you checked in CRM?
    Have you check data transfer R/3-CRM and CRM-R/3
    in tcode SPRO : CRM->Basic Functions->Partner Processing->
    Data Transfer->Distribution Partner Functions from R/3 into CRM
    CRM->Basic Functions->Partner Processing->
    Data Transfer->Distribution Partner Functions from CRM into R/3
    Hope this help
    Gun.

  • How to call a Webdynpro application from a BSP page

    Hi to all,
              I have created a web-dynpro application, now i have to call this function through click event of a BSP page. How i can achieve it.
    Please help if anybody have idea.
    Thanks in advance.
    Pankaj Kumar.

    Hi Pankaj,
       Using portal eventing you can acheive that.
    WebDynpro and BSP communication
    Regards, Suresh KB

  • Calling multiple BSP pages from parent BSP page

    Hi ,
    I have created 2 BSP pages and i want to call the 2nd BSP page from the 1st BSP page depending upon the user's company code. Please help me on this .
    I would really appreciate you quick response on this.
    Regards,
    Sanjeev

    Hi,
    Do you want to have both pages displayed at the same time?
    What about a popup or (i)frames?
    If not, what about navigation to the second page if a certain value is filled in:
    if var eq 'value'.
    navigation->goto_page('page2.htm' ).
    endif.
    Eddy
    Discover the new S(D)N search plugin for Internet Explorer 7 AND Firefox 2 in this <a href="/people/eddy.declercq/blog/2006/11/13/the-beloved-in-sweet-harmony log</a>

  • Calling an SAP transaction from a BSP page

    Hi, I have created some BSP pages that are rendered inside SAPGUI screens using a HTML control object. When looking at a CRM system I came across the Business Partner Cockpit (CRMD_ORDER_BP) which displays activities for a business partner using a BSP implemented by CL_CRM_CCKPT_CFS_SERVICE_HTTP.
    The interesting thing about this BSP, is that you can click on the transaction number in the BSP and it launches the appropriate SAPGUI transaction to display the details of this activity.
    Looking at the HTML source, the link is defined like this: -
    <a href="SAPEVENT:OBJTYPE=BUS2000115&OBJKEY=CDAEBBF5BD903E4390DA7984D3054A65">0920000086</a>
    In the above example this activity is a sales order.
    Can anyone help me understand how this works, and how I can use it to navigate to SAP transactions using links in my BSP pages that are placed in SAPGUI HTML controls?
    Thanks
    Graham

    Hi Graham!
    I have a similar problem in transaction CIC0 and the Sales summary tab in CRM.
    I have created a new class and assigned it to a new fact sheet. One column in this fact sheet should be a hyperlink defined in the way that you have described.
    When using method get_event_parameter I are not getting any data for the SAPEVENT parameters - I don't get the value, only the keys:
    <a href="SAPEVENT:?OBJTYPE&OBJKEY>
    How should I procced to assign an object type and object key to this SAPEVENT???
    Would also be very nice if anyone could explain how to "call transaction" works.
    Help understanding this would be very appreciated.
    BR
    Mattias

  • I downloaded latest versionof Firefox from Mozilla web page, I rebooted my computer. The update did not take effect. How make late version active ?

    My present version of Firfox is 3.5.15
    My Op. System is Linux Fedora version 12.
    Two days ago when I opened a file in a web search for Mercury Scientific Thermometers, the web page for NovaTech International-USA opened.
    Centered in the middle of the page was a screen message reading
    "Error: form not found." There's an X in the upper right corner of this small screen. There's an "OK" within the screen. Clicking on either of those optons does nto close the small screen. AND, clicking on any Menu
    choice at the top of the main screen produces no action. File Edit View History Bookmarks tools Help are all unresponsive. The screen is
    locked to the Cursor and Clicking any menu item. Tho' there are many choices on the Screen for various types of thermometers no choice responds to a click.
    I closed down the computer. ThenI did a Cold Boot. There was no
    change in the situation described above. The screen appeared again if
    I chose to open Firefox.
    I use 8 virutal screens. By which I mean I can have 8 screens open at a time. All 7 of my other available screens are perfectly active and perfectly normal in their behavior.
    Rebooting changes nothing---the unwanted frozen/locked screen appears again if I attempt to open Firefox.
    I opened the Firefox website. I soon found how to download the latest version of Firefox. But I used YUM to download it. Here is an excerpt of the Yum process:
    [William@WilliamsComputer ~]$ su
    Password:
    [root@WilliamsComputer William]# yum install firefox
    Loaded plugins: presto, refresh-packagekit
    adobe-linux-i386 | 951 B 00:00
    updates/metalink | 2.8 kB 00:00
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package firefox.i686 0:3.5.15-1.fc12 set to be updated
    --> Processing Dependency: xulrunner >= 1.9.1.15 for package: firefox-3.5.15-1.fc12.i686
    --> Running transaction check
    ---> Package xulrunner.i686 0:1.9.1.15-1.fc12 set to be updated
    --> Finished Dependency Resolution
    Skipping here much of the YUM processing.
    Note the finishing YUM statement:
    Dependency Updated:
    xulrunner.i686 0:1.9.1.15-1.fc12 Complete!
    [root@WilliamsComputer William]# exit
    [William@WilliamsComputer ~]$
    I did a cold reboot of my computer.
    In the Downloads Folder The Firefox update appeared.
    But when I opened a Firefox page and clicked Help-About Firefox
    the version of Firefox was still 3.5.15 AND the unwanted, Locked,
    Frozen Novatech-International---USA Screen was still present and still
    locked.
    Please teach me the preferred way to Update Firefox and once the Updates have been downloaded, how do I activate those updates?
    Many, many thanks,
    William
    Florida

    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating

  • Call print function from ABAP/BSP

    Hi all,
    I've an holiday map that is called from portal as a bsp, it open in a new window without the functions "file", etc.. an window only with the top bar (minimize, maximize and close), then, if I press CTRL-P it opens print functionality, how can I call it from a buttom in the BSP !?!?
    Thanks all for the help,
    Best Regards,
    Pedro Rodrigues.

    Hello Pedro,
    the problem here is, that the Internet Explorer provides this image with a given size for the Windows Pinting environment. The easiest way to go is surely to have image wich can fit on the paper, or many printers support "scaling". You should find this on the print dialog >> preferences >> paper / quality >> advanced. /* E.g. oure HPLJ 4050 printer supports this */
    I hope it helps.
    Regards,
    Dezso

  • Will spry show a javascript function from an external page?

    I have two pages
    http://www.autosnetfree.com/clock_buttonajax.php //this page has the spry calling the external page.
    http://www.autosnetfree.com/clock_auction1.php //this page has a countdown clock to a future date
    The buttonajax page has a submit button which updates a database with the current date plus 60 seconds.
    The countdown clock page pulls that future date from the database with a recordset
    The spry on the buttonajax page is
    <script src="SpryAssets/SpryData.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryHTMLDataSet.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryStackedContainers.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    var ds2 = new Spry.Data.HTMLDataSet("clock_auction1.php", "countdowncontainer", {useCache: false, loadInterval: 1000, distinctOnLoad: true});
    //-->
    </script>
    </head>
    <body>
    <div spry:region="ds2" class="StackedContainers">
      <div spry:repeat="ds2" class="RowContainer">
        <div class="RowColumn">{column0}</div>
      </div>
    </div>
    The button updates but the called page with the javascript function does not show?
    thanks for your help,
    -Jim balthrop

    It looks like you need an onPostLoad observer that updates the region similar to what is done here http://labs.adobe.com/technologies/spry/samples/data_region/SharingDataBetweenDataSets.htm l

Maybe you are looking for

  • Game Center Id and password

    How do I delete my personal information, Apple ID and Password, from the Game Center? I am selling my iPad and do not want this info on it.

  • Probs in database view

    hi,    i have problem in my select query where i am trying to fetch datas from database view. it takes huge time to process and finally results in run time errors. help me. ganesh.

  • SQL Server 2000 on NT

    What JDBC drivers are available for SQL server 2000, since the Microsoft one doesn't work on an NT machine?

  • MII ignores SAP ERP logon language settings

    Hi everybody, I have currently a problem with the logon language of MII (to sap erp). I call a function module with rfc and I get standard error messages in englisch which is not really a problem for me but the messages are saved and a user has to lo

  • Why does this prpgram keeps crashing? this is unacceptable

    I am using firefox 35, it says beta channel. This program freezes 10 times a day, i have to relaunch. What is wrong here??