Download scheduled web templates

Hello,
I need to download scheduled web template files using abap instead of Download Scheduler Wizart.
I have created a web template for offline reporting and need to mail it.
Greetings, abu
Message was edited by: Linda Bortolus

I'm about to solve the problem with FM "webquery".
But I do not get the results i am waiting for. The mistake is on passing parameters.
Here is my code:
My web template is z_wt_test and i have a variable in my web template also.
Greetings, abu
function zag_webquery.
""Lokale Schnittstelle:
*"  TABLES
*"      QUERY_STRING_TAB STRUCTURE  W3QUERY
*"      MIME_TAB STRUCTURE  W3MIME
*"      HTML_TAB STRUCTURE  W3HTML
  data:
    html_line       type w3html,
    mime_line       type w3mime,
    return_code     type w3param-ret_code,
    content_type    type w3param-cont_type,
    content_length  type w3param-cont_len.
  data:
    query_string_line like line of query_string_tab.
  query_string_line-name = 'CMD'.
  query_string_line-value = 'LDOC'.
  append query_string_line to query_string_tab.
  query_string_line-name = 'Z_WT_TEST'.
  query_string_line-value = ''.
  append query_string_line to query_string_tab.
  mime_line-line = '/webrfc/bw30/'.
  append mime_line to mime_tab.
  content_type = 'text/html'.
  call function 'WEBQUERY'
    tables
      query_string   = query_string_tab
      html           = html_tab
      mime           = mime_tab
    changing
      return_code    = return_code
      content_type   = content_type
      content_length = content_length.
endfunction.

Similar Messages

  • Is there a user exit for Excel download from Web Template?

    Hi,
    Is there a user exit for Excel download from Web Template?
    Thanks,
    Frank

    Hi,
    I need to do some data manipulation before export to Excel.  I could use Table Interface to manipulate the data before rendering to the Web.
    Regards,
    Frank

  • How to download web template easily?

    Hi.
    I just want to download web template.
    of cause I can download template one by one.
    but there is too many template are server.
    is it possible download template by role or by other unit?
    I don't mind the way download whole template in server.
    regards.

    hi.
    thank you for your answer.
    but our system doesn't exist 'RS_TEMPLATE_MASS_ALTER' and 'RS_TEMPLATE_MAINTAIN' function is just for management of one template.
    I can't select multi templates to download.
    and even doesn't seems to download tools.
    do you have other function or could you explain more about how to use these function ?
    Regards.

  • Precalculated web templates,Its scheduling time&Routines built on Queries??

    Hi ALL,
    <b>In the same way, I want the way to find out the list of Precalculated web templates, its scheduling time & Routines built on the Queries using RSRT T-code.
    Can anyone let me know to find out the Query properties using RSRT if we dont have access to BEX Analyser etc.,</b>
    (As we have in RSRT for seeing List of Objects in Free Characteristics, Filters, Rows, Columns and also the exceptions, variables, conditions built etc.,)
    Will be waiting for Answers on this.
    Points will be rewarded for sure.

    If it is 3.X Web Templates you can use function module RZX2_OBJECT_DELETE
    populating I_T_PARAMS table with
    first OBJID field as the technical name of your template and
    second OBJTYPE field as constant 'HT'.
    you can add as many rows as you want.
    If it is 7.X Web templates you can use function module RSOBJS_DELETE
    populating I_S_PARAMS with
    first field OBJ_TYPE as 'BTMP',
    second filed OBJ_KEY as the technical name of your template
    this function module allows only one template to be deleted at a time
    If you are comfortable with ABAP, and if you have a list of all your 100 web template technical names,
    you can just write a program with a internal table containing the names of these templates and calling the above function modules in a loop.y passing one value at a time.
    Hope it helps!

  • Downloading Web Template to Excel

    Hello experts,
    I am using a custom made web template with few of the web items. Now, the issue is that I'm not able to down load the report to Excel. I have tried right mousing the report and then exporting to excel. It doesn't work. Apart from this, is there any option like putting any web item which conatins the button " Export to Excel" avaialable ?.
    Thanks ..
    Sheeja.

    If you're using NW20904s, then here's the XHTML that you need
                                    <a >
                                        <bi:attribute name="href" >
                                            <bi:EXPORT >
                                                <bi:EXPORT_FORMAT value="XLS2000" />
                                                <bi:ITEM_REF_LIST type="UNORDEREDLIST" >
                                                    <bi:ITEM_REF index="1" value="QUERY_TITLE" />
                                                    <bi:ITEM_REF index="2" value="ACTUAL_DATE_TEXT" />
                                                    <bi:ITEM_REF index="3" value="ACTUAL_DATE" />
                                                    <bi:ITEM_REF index="4" value="INFO_FIELD_ITEM_1" />
                                                    <bi:ITEM_REF index="5" value="ANALYSIS" />
                                                    <bi:ITEM_REF index="6" value="CHART" />
                                                </bi:ITEM_REF_LIST>
                                            </bi:EXPORT>
                                        </bi:attribute>
                                        <img alt="Download to Excel" src="bwmimerep:///sap/bw/mime/Customer/Images/Icons/ExcelIcon.jpg" border="0" />
                                    </a>
    If you're not on 2004s, then use:
                                <A href="<SAP_BW_URL CMD='EXPORT' FORMAT='XLS' DATA_PROVIDER='DATAPROVIDER_1' >">
                                   <IMG title="Export to Excel" src="Mime/BEx/Icons/S_X_XLS.gif" border=0>
                                </A>

  • NO header detail appears when downloading to excel from web template

    When we run our queries via a web template and through the portal we get the results which shows the query title and report details. When we try to download this to excel the header(report title etc. )information doesn't come down but all the rest of the report does. If we go in again and change the variable values for characteristics (query is being changed and run the web template (via portal)again and download to excel the header (report title etc.)the whole report title and report detail now appear. Looking for someone who has resolved this problem.

    For anyone who is interested, this was caused by our email client, not BIP.

  • Download Scheduler Reports

    Hello Experts,
                        I have been executing queries in background (Pre-calculated web templates - Reporting Agent) for the users for several months, and downloading them to the PC using Download Scheduler application.  For some testing purpose, I executed one of the queries in foreground (Ad-hoc) using BEx Analyzer to reconcile the Adhoc report with the downloaded report.  I noticed that the size of the downloaded report was drastically huge compared to the Adhoc report.  Can someone tell me what the issue is and how to minimize the size of the downloaded report?

    Hi Tobias,
       Thanks for your response.pls correct me if any thing wrong in my understanding.I feel that initiation will be taken by Reporting agent to generate appropriate web report with the help of control query and main query. Then resultant URL will be sent back to RA, where it is adding 001 to the "dataprovider name" and will push this files with 001 when the end user downloads.
    Is it possible to add result of the control query to the dataprovider name at web template level dynamically. so that RA will generate final file as "dataprovidername_uk_001". So that user can easily identify which report belongs to which company.
       If you have any specimen batch file. Can u plz send it to me.
    Regards,
    Ramesh

  • Offline reporting & BEx Download Scheduler

    Hi Expert,
    I had follow scenario Offline reporting from help.sap.com, but when I run Bex Download Scheduler there is pop up message “You are not assigned to any packages”.
    For ur info I had create web template and precalculating setting wiht the schedule.
    There is away to check where did I wrong?
    And where is the result of web template and precalculated setting store?
    Will be appreciate for any suggestion
    Regards,
    Supriatna

    Hi,
    I already know the auth.object:
    S_FRC,
    RSRA,
    FUGR.
    Now it´s working but the user still have some open points:
    1 - The files are always overwriiten - it means that the data from the weeken can not be seen. There´s any parameter that can be setted that allow it to create different files each runtime?
    2 - Is it need that the computer must alway be turn it on? If the file is saved on a shared file can be this problem avoided?
    Thanks,
    Marta.

  • Reporting Agent and Download Scheduler

    Hello All,
        I have an issue with the Reporting Agent and Download scheduler.  I am on BW 3.5.  I am not familiar with the setup myself (I inherited it), and I would like some basic information.
       Essentially it was working fine until we added some new settings.  Now, the Download Scheduler freezes mid-run - just stops - and I am guessing this has to do with the new settings that were created (not by me - again, I just inherited all this).
       Any help, suggestions, links to white papers (Google was NOT helpful) anything at all on this ancient technology would be appreciated.
       Thanks.
    Dave

    Hi Nagesh,
    Chech whether the user or role is specified in your web template settings.
    Check this link for further details:
    http://help.sap.com/saphelp_nw04/helpdata/en/4b/ddb057ca3aa447b0d5aff7ea2408d3/frameset.htm
    Regards,
    Prema

  • View previous precalculated web template

    Hi,
    I'm working with Reporting Agent, because I need Precalculated Web Templates in my portal.
    I need to access, not only, the last precalculated Web Template (i.e. this month), but also the others (previous months)!
    How can I view previous precalculated web template?
    Could anyone help me?!
    Thanks in Advanced
    Fede

    ... no, I'm not using download scheduler at the moment! (I have tryed to use it, but it doesn't load my .gif  and .css from /bw/Mime/Customer/Images/)
    In BW Reporting Agent there is Document Overview section, where I can see the history of my precalculated web templates, how could I access them?!
    thanks...

  • Download scheduler

    Hello experts,
    1. I created a web template
    2. In report agent -I did a setting for the web template
    3. I scheduled the setting in the package.
    4. the setting was for
              data calculation
              Excel sheets
              HTML pages
    Then I checked the preview, I got data in it.
    5. I ran the package
    6. i used download scheduler to create HTML pages and Excel workbooks
    the workbooks and  HTML pages were created in Mydocuments.
    7. all documents which got created were of size zero KB.
       I dont see any data in HTML pages as well Excel workbooks. BUt lot of them got created.
    Please help me how to pre-calculate and created workbooks and html Pages.
    regards
    meps

    Hi!
    check this note 510931
    here is excerpt from this note.
      "Files are displayed and downloaded, but the total file size is 0 KB (empty). This may be for various reasons.
    One reason may be that no SAP Web Application Server has been configured or activated. Using note 543817, you can create a trace that contains the URLs that were called. Try to open these URLs manually in the Web Browser. If this does not work, this implies that there is a general configuration problem. The required settings for BW 3.0B or higher are contained in the implementation guide (transaction SPRO) under "SAP Reference IMG/BW Customizing Implementation Guide/Business Information Warehouse/Reporting-Relevant Settings /Web-Based Settings".
    Another reason may be the missing configuration for document storage. For more information, see note 499480. After you apply this note, you must pre-calculate the HTML pages again. Note also the following point."
    Hope it helps(.... please award points if it helps)
    with regards
    ashwin

  • Download scheduler Problem.

    Hi,
       I want to download the data from BW to XL files using reporting agent and download scheduler.
    i have done all the settings(Query, web template, Reporting Agent, processed that Scheduling package). In the Document Overview i could see the data  for processed schedulling package. we are using 3.1c. If i go with Download Scheduler, i'm getting.."YOU ARE NOT ASSIGNED TO ANY PACKAGES".
    Any help, otherwise any other way to download the data?
    Thanks in advance.
    Nagesh.
    Message was edited by: Nagesh Ganisetti

    Hi Nagesh,
    Chech whether the user or role is specified in your web template settings.
    Check this link for further details:
    http://help.sap.com/saphelp_nw04/helpdata/en/4b/ddb057ca3aa447b0d5aff7ea2408d3/frameset.htm
    Regards,
    Prema

  • Download Scheduler in 3.5

    Hello,
    I'm wondering if there is a way to know when a scheduling package has been downloaded for the last time by means of Download Scheduler ?
    And if it is possible to know how many times it has been downloaded ?
    This question because I would like to know if Scheduling packages with Web templates are really used by users...
    Thanks for any replies
    AJ

    Pankaj,
    Even in 3.5 you still need to use precalculation server to download the report to your desktop, I don't think you can use broadcaster to download a report to desktop. Precalcuation server can still be used in 7.0 as well.
    thanks.
    Wond

  • URL accessed by the Download Scheduler

    Hi all,
    When i run the BEx Download scheduler for a package, a certain URL is accessed where the Web Templates are Stored. This is downloaded onto the PC.
    The Problem here is the default URL string that is accessed by the Download scheduler is failing. Is there any solution such that we can get the Download scheduler to access the Web template through the IP address of that server. Kindly let know if there are any such settings or any other way to acheive it
    Thanks in advance

    Deepu,
        The reporting agent template consistency check is successful with consistent results. And, I corrected the errors in the documents in RSRV. The files are downloading in to my desktop, but when i try to download them to the windows server i get the 1 KB files. When i open them this is what shows up....
    <b>Forbidden
    Access is denied because:
    Access denied by the access control list.</b>
    Does the server need to have the FTP and IIS installed in it to download? Because when i tried to download the same into my desktop and another PC over the LAN(both has FTP & IIS installed), its working fine.
    I presume that this is more of a security issue outside SAP than an internal one.
    Thanks for the quick replies, really apprecite it.

  • Header and footer in Web Template output

    Hi,
    I have created a web template consisting of several web items like - information field, text fields, chart & analysis. With the help of VC we are exporting this web page into PDF. What my customer want is that to show some particular informatio in the footer like page number's company name and all.
    Is there any option that i can do all these things from my end that is from BW end not from VC..
    Any help will be appreciated.
    Thanks & Regards

    hi..
    chk this presentation...
    http://csc-studentweb.lrc.edu/swp/Berg/articles/NW2004s_what_is_new.ppt#352,3,Why NW 2004s?
    http://www.sap-hefte.de/download/dateien/1090/086_leseprobe.pdf'
    hope this helps...

Maybe you are looking for

  • How do I remove the white space around a graphics I have placed?

    I am working on a pc. I have placed a graphic into my document that has a white box around it. I would like to get rid of the white box so only the graphic is seen. How do I accomplish that?

  • Saving data in Planning web form with about 270 columns failed

    Hi all and please help! We developed a number of planning forms with a lot of columns (business requirement:() and faced issues with entering data in both web form and excel via smartview. As I undersood already that it's not about 'service.olap.data

  • FLEX 3 services-config.xml

    On a workstation, I need to set a FLEX3 project's compiler services argument to the services-config.xml file on a separate server (multiple instances of CF8) on our network. Any suggestions on how to 'map' to that file's path? Thanks

  • Blackberry messenger not compatible with bridge

    Upgraded to the version 2.0. I was a struggle on this one playbook compared to my spouses. Finally it worked. However it is now complaining that the latest version of BBM isn't compatible with the bridge. This is new considering it did work after the

  • Battery timer gone in Mountain Lion!!

    I miss the battery timer! I rely on it for work and I really need it back - does anyone know how to get this (without an external app)??