Web template precalculation - system date as variable

Hi,
I would like to define a RA setting for a web template precalculation.
The underlying query makes use of a date variable that should automatically pick up the system date.
How can I define a variant for precalculation that automatically selects the system date?
Thxs.
Laurent Querella

Hi Josef,
I was reading thru this thread and was wondering if you can help with this.
I am using key due date, posting date and clearing date variables in an aged recievables query and the Key due date is user entry and that is used to determine both posting date and clearing date by filling them for each aging buckets.
I tried using the variable 0DAT to see if I can use that to populate the system date for the key due date but it is coming up with errors that posting date is not determined.
Hope u can help
Thanks

Similar Messages

  • Web Template with multiple Data Provider Query with partial authority

    Dear Guru,
    I have a single web template, that contains 2 query data providers (e.g. Query A, Query B), and all users access to this web template for both queries.
    Now, there are some users that have authority to Query A only.
    When they access to this web template, the system automatically say the users do not have authority for Query B in the variable entry screen, and show the variable selection for query A only.
    And the problem comes, when user submit the variable entries, the system keep asking for the mandatory variables for query B, which the user actually not authorized to execute. How can this be fixed??
    Please kindly help me. Thank You.
    Best regards,
    Chris

    Hi all,
    I am looking into the use of Javascript and CustomExtension, but still cannot find any solution.
    Can I use CustomExtension to generate Javascript to redirect the page to another web template??
    Can I use Javascript to check authority of the users, and alter the Web Items?
    Can Anybody help? Many many thanks.
    Best regards,
    Chris

  • Variant Problem in Web Template Precalculation IMP

    I am having a peculiar issue with Reporting Agent in Precalculation of Web Template.
    I created a web template for my query, had all relevant options set in Reporting Agent and scheduled the package. I also created a variant(ZVARIANT_1) for  the main query(no control query used/needed).
    When the job is scheduled, it takes close to 2 hours to precalculate. When I fire up this URL:
    http://app_server:1080/sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=TEMPLATE_NAME&VARIANT=ZVARIANT_1&DATA_MODE=STORED
    I get, No Precalculated data found for DP.
    But instead if I insert the variables individual values in the URL by using the code given by clicking the "Add URL parameter" Green button, it gives an editor screen with variables initialized and assigned, I get the static report I want.
    1) Why cant I use a variant, or am I missing something?
    2) Why do I get filter & drill down options and variable screen only in stored mode but not in hybrid mode?

    Hi Travelling Soldier:
       I have the same issue with the web template variant. Did you solve your issue?
    Thanks in advance.
    Abel

  • The Web Templates precalculation via abap

    Hi SAP Experts,
    Today I'm looking for a solution for wbts percalculation. Now we are using precalculation of queries by a process chain with abap fms RSR_GEN_DIRECT_ALL_QUERIES. Unfortunatelly some of wbts have dropdownboxes filters based on characteristic, so when you call a wbt you need to wait for a loading data to those filters. I'm wondering if it's possible to open web template via for example abap code.

    Suman,
      I have performed the below steps today once again and now WAD changes are reflecting in report output.Thanks for your time.
    1) Cleared IE Browser Cache
    2) Transaction code SMICM  -> Menu Bar -> Go to -> HTTP Server Cache -> Invalidate -> Global in system
    3) Portal team has cleared cache in portal.
    4) Ran the FM RSWR_CACHE_INVALIDATE -> Enter the System ID(DEV) as RFC Target system.
    I'm closing this thread.
    Thanks,
    Prasad

  • Web template :Error Valid Data provider not assigned

    Hello Friends we have the web template that was working before , we did the upgrade to SP13 from SP11.
    It gives the error Valid Data provider not assigned and
    Bad integer Parameter value of Parameter BLOCK_COLUMNS_SIZE of Object item:ANALYSIS_ITEM:ANALYSIS;
    Please help where do i need to assign the Data provider beacuse the Values are same for Dataprovider as before
         Portal Runtime Error
    An exception occurred while processing your request
    Exception id:
    See the details for the exception ID in the log file.
    Thanks
    Soniya
    Message was edited by:
            soniya kapoor

    Open the template in WAD and do a validation against the server and make sure the template is well formed.
    Also make sure you apply BI JAVA Patch 1 for SPS 13.

  • Master Web Template (restrict # of data providers)

    Hi!
    Quick question:
    After suffering bad performance with a huge web template (about 70 queries), we were told to strip down the template into several small ones. We have now splitt them down into 4 web templates (15-20 each) and linked them into one master template via TAB panes, still it seems that all 70 queries are executed at once, when starting the main template. Any idea how to direct execution to just one (sub) templated at a time with the start of the main template!?
    Points will be awarded for useful information.
    Frank

    Thanks for your swift reply.
    A couple of questions.
    How is it possible to not assign a query to data provider(s) in the web template definition, I was under the impression all utilized queries had to be defined as data providers in order to be used in the web template!?
    The command you mentioned would "activate" the queries upon an event (user interaction), would it be possible to set the displayed queries back to "inactive" after having left the TAB panel, in order to save memory!?
    Looking forward hearing from you.
    Frank

  • URGENT!!  Reporting Agent Web Template not filtering data on dataproviders

    I am having problems with Reporting Agent web template settings. I have a query that uses a pre-query for MANAGER. I also have a query view for this query (I also tried using just the query in the web template). I created a reporting agent setting on the web template and used the pre-query as the control query. I have 80 MANAGER's, so I expect 80 dataproviders with each dataprovider having the data for 1 MANAGER. I get the 80 dataproviders, but each dataprovider has data for all 80 MANAGERs.
    The dataproviders are then emailed using an ABAP program.
    I would use Information Broadcaster, but the managers are not necessarily BW users and the manager list is fluent, so I don't want to create a separate setting for each manager.
    We are on BW 3.5 SP18.
    Many thanks!
    Ginny

    I am having problems with Reporting Agent web template settings. I have a query that uses a pre-query for MANAGER. I also have a query view for this query (I also tried using just the query in the web template). I created a reporting agent setting on the web template and used the pre-query as the control query. I have 80 MANAGER's, so I expect 80 dataproviders with each dataprovider having the data for 1 MANAGER. I get the 80 dataproviders, but each dataprovider has data for all 80 MANAGERs.
    The dataproviders are then emailed using an ABAP program.
    I would use Information Broadcaster, but the managers are not necessarily BW users and the manager list is fluent, so I don't want to create a separate setting for each manager.
    We are on BW 3.5 SP18.
    Many thanks!
    Ginny

  • How can Javascript in BW web template access query data

    Hi All,
    I want to access the BW query data from within Javascript within the BW Web template. Can you kindly share ideas how I can make my Javascript reach the query results returned by the dataprovider query in the BW template.
    Your help is highly appreciated.
    Thanks
    Karen

    Hi
    The question is not using BW queries in Web templates I use them all the time. Within a BW web template I have Java script I want to access the BW query data from Javascript. The question is how to access query data within JavaScript.
    Regards
    Karen

  • Diff between Precalculated Value set and Precalculated web template

    Hi Friends
    Can any one tell the Diff between Precalculated Value set and Precalculated web template
    Where we will use these
    Thanks

    Hi,
    The Reporting Agent is a tool used to schedule reporting functions in the background.
    The following functions are available:
    ●      Evaluating exceptions
    ●      Printing queries
    ●      Pre-calculating Web templates
    ●      Pre-calculating characteristic variables of type pre-calculated value sets
    ●      Pre-calculation of queries for Crystal reports
    go through,
    pre-calculated value sets
    [http://help.sap.com/saphelp_nw04s/helpdata/en/28/734d3caa70ea6fe10000000a114084/frameset.htm]
    [http://help.sap.com/saphelp_nw04/helpdata/en/84/00783b3af21f5ee10000000a11402f/content.htm]
    Pre calculating Web template:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9e/9f653ade969f4de10000000a114084/frameset.htm
    Basically when you have a Precalculated Template, the system first run a report (which has been scheduled) and read the data from there when you run your template. This can imrpove the performance respect to online read data.
    [http://help.sap.com/saphelp_nw04s/helpdata/en/6e/b5663a5fb46752e10000000a11402f/frameset.htm]
    [Pre calculated web template;
    Hope this helps...

  • Variable Screen of Web Template iView

    Deployed Web Template iView to Portal. But when ever i click on the link of the web template iview in the navigation panel in portal. Variable screen comes up first which is mandatory. Is there some way in the web application designer that i fill up the mandatory variable screen with values through some ABAP table interface or by using text elements web item without letting variable selection screen show up initially in the portal.
    I cant make those variable values default by going in BEx because those varaibles are global variables and getting used in many queries.
    Any help will be appreciated.
    Thanks

    We've just implemented a NetWeaver 2004s system, and these hints may help you out:
    1. In the Web Application Designer, there is a property on the web template which determines whether the variable screen is displayed or not. Therefore, you could uncheck that checkbox, and the variable selection screen won't be shown.
    2. As to defaulting values in the selection screen ... we have used ABAP code to default values in variables. I think it was done in the start routine. The code we have implemented works, but then we present the variable selection screen to the user, so I can see that certain values (like date for example) are defaulted. I am not sure what happens if you default these values and then don't present the selection screen ... assume it would work for you though. Check on SDN and find out about pre-popup ABAP code for queries, I am sure you will be able to find something that helps you out.
    Cheers,
    Andrew

  • How to use a Web Template with queries from multiple BW Systems?

    Hi all,
    can anybody help me how to use a Web Template with queries (DATA PROVIDER)in it from multiple BW Systems?
    Thanks in advance, best regards
    Frank

    Great! Thanks for the quick response.
    Have you tried this for XMLA datasources created within the EP system also?
    i.e use Web Analyzer to create a view from the XMLA source and use that view within WAD?
    Thanks.

  • 'Data' option in Web template

    Hello Experts
    We have a web template with the option to pre-calculate the data and store it. Under 'parameter' tab of the web template, in the top left corner, i have the option 'Calculate' - and there are four options available to store the data after the query is executed
    1)Data
    2)HTML for Web Browser
    3)HTML for Pocket IE
    4)EXCEL
    I would like to know - when i select the option 1 'Data' where does the data get stored? Is there an internal table where this result is stored? If yes i would like to know which table is this and how can i access it and the data in it.(in case there is a special way to access the table other than SE16).
    Helpful answers will be rewarded.
    Thank You.

    Not sure how the key gets generated which is used to import data from cluster. You can use external break point in this method and run your webtemplate with precalculated data to see what does the key constitue of . With ABAP once you have data in internal tables you can do whatever you like but why would you use precalculated web template to read data from one info provider and write to another cube. There are other ways like APD ( Write output of a query to ODS ) or data mart to achieve the functinality you want.
    Regards
    Sanjay

  • Web template not showing "force variable property" under generic tab

    Hi All,
    I have a problem regarding web template property.One web template is not showing "force variable" property under generic tab in DEVELOPMENT sys but the same web template showing "force variable" property in QUALITY sys.I want property in DEV sys also.
    Plz help me.
    Thanks In Advance.
    Priyesh.

    Hi Priyesh,
    Are you sure youhave the web template properties open and not those of any web item in this template? If you can;t find the option you can try coding it in HTML (look at the code in the Q system and copy - paste it into your template in Dev)
    Hope this helps...

  • Default variable values in Web Template

    http://-----xx.com:8120/sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=QZSC_O01_5001_TEST&var_name_1=0S_PLANT&var_value_ext_1=6011&VARIABLE_SCREEN=X
    While using the above variable my expectation is it shall display variable screen and for plant (0s_plant) variable it shall show default value as 6011 while other variable shall remain blank.
    But while executing it is not showing plant default value in variable screen. Any suggestions.
    Many Thanks
    Vikash

    Hi Vikas,
                 While defining the Query, you can define the default value for the variable. And this Query can be assigned to the Analysis Item in the Web Template. If the "Display Variable" option is set to "On", then, whenever the Template is executed, the default value set in the Variable will be visible.
    Hope this answers your question.
    regards,
    prem.

  • Order of Input-Variables in Web Template

    Hi,
    I have a problem with Web Templates. I have prepared Web Templates in BI 7.0 WAD in which I am displaying multiple queries. Some input variables are common to all queries and some are only in the main query. I have set the correct order of the input vars in the main query, but when I run the Web Template, I get the common variables first and then the rest which is not okay for me.
    Can anybody suggest how to overcome this problem? And display the variables in the order I want in the Web Template?

    Hi Mayank
    Why dont you insert a table in the WAD template and move the "buttons/variables" into the table rows/columns in the order you want them to appear.
    That should work.
    Srikant

Maybe you are looking for