Reporting Agent - Precalculate Variables

Hey @ll,
i am using BW 3.5
i`ve a question relative the functions of the Reporting Agent.
I precalculate WebTemplates with hierarchy authorizations in queries....therefore i can`t navigate in the webtemplate result....
Is there any way to navigate in the query although i shot the templates in the olap-cache and/or using the function of precalculate variables....
Please let me know whether anyone don`t know what i mean.....
Thanks in advance for all answers!
Cheers,
Marian
Edited by: Marian Bielefeld on Mar 7, 2008 10:01 AM

Yes, you will have to use the BEx user exit variables for this scenario. You can also use the SAP delivered SAP Exit variables if you can find any variables  that meets your reqmnts.
Thanks.

Similar Messages

  • Variable in the report agent.

    Hai All,
       I have used a variable in the report agent to run a query in the background. The variable I used already incrementing dates automatically when the report is executed on the web.  Do I need to make anymore other setting in the report agent for this variable or Is it going to be fine.
    Thanks, Vijay.

    Anil, Ravi,
      Thanks for your advise. When I created the variant in the webtemplate the date range is feb1 to feb28. But the Date range for the query changed to march1 to march1.
      After I scheduled the package, when run rsrt with statistics for FEB I see all 0's in the statistics and for march I see some count in the statistics. Will this be okay? When run using the process chain this will take right dates?.
      In the Agent settings, under filtering I am using 'No Filtering'. If I click on 'explicit thru query rslt then there is variant. Do I need to take this route?
    Thanks for your help in this regard, Vijay.
    null

  • Reporting agent & Javascript

    Hello All.
    I use reporting agent to precalculate Web templates. In one of my web templates I use the How to Paper "HOW to use a dropdownbox to set variable values" in order to set variable values for posting date. When I run the template online everything works fine, but when I run the reporting agent , the dropdownbox values are changed accordign to control query, but the query which uses teh variable (cahnged by the dropdown box) is not affected.
    Has any one solved this problem previously?
    Any ideas?
    Thanks all.
    Javier

    Hi,
    It is imposiible to use  javascript functions provided by BW in precalculated web templates.
    see note 704211:"When you include javascript, note that the javascript functions provided by BW are not available in  precalculated web templates"
    Regards David

  • Reporting Agent - Raise Exception

    Hello all,
    we want to precalculate a query (WEB Template) which contains the fiscal year and a key figure in the colum.
    Column 1 contains only the variable for the fiscal year
    column 2 contains the same variable but with offset -1.
    I also creadet a controll query, restricted to different companies, and this query contains also the variable for the fiscal year.
    In the reporting agent setting I added the control query to the web template and creadet a variant for the control query. when I schedule this package i receive a short dump, saying "raise exception".
    Can someone explain me how i have to handle this kind of variables within the reporting agent ?
    We use BW 30B / SP20.
    Thanks for your help
    Dieter

    the "download" function is standard FUNC in SAP

  • Issue with the ROLES in Precalculation of WebTemplate in Reporting Agent.

    HI BWers,
    I am having trouble in understanding the functionality of ROLES and USERS in the Reporting Agent.
    My goal is to pre-calculate WebTemplate,so the users can get the data results based on their ROLES.
    -> When I select ROLES under Authorizations in Reporting Agent; my understanding was it will just pre-calculate the WebTemplate based on Roles. But, when I look at the job details its doing for the Users. I opted for   ROLES because I have 10-Roles and 100-Users, so the job runs for only Roles.
    -> I don't want to select the Users, as it will take longer time and uses lot of system resources.
    Can I just run for ROLES, for that under Authorizations in Reporting Agent do I need to select Precalculate User-Specifically and Select ROLES or just selecting ROLES will do. I tried both, just selecting ROLES is not working and selecting Precalculate User-Specifically & ROLES is not yielding the required results.
    Could you please throw some light on it, I am on BW 3.5 & SP15.
    Any help will be highly appreciated.
    Regards,
    swordfish.

    Hi,
    If you choose the Precalculate by User option, all the data and HTML pages for the Reporting Agent setting are precalculated for each of the selected users in a single job. This applies in both the cases: Roles or users. When you specify a role after selecting the option 'Precalculate by User', the precalculation will be done for all the users assigned to that role and not the role.
    Roles/Users is just 2 different ways of giving the user restriction. If you specify the roles, the system will precalculate for all the users assigned to the role. If you have few users for whom you want the precalculation to be done, then you can specify the user IDs. If you have many users assigned to a particular role for whom you want the precalculation to be done, then you can specify the role.
    Regards,
    Shilpa

  • Report Agent Precalculation in BW 7.0?

    Hello,
    we are using BW 7.0 Backend, but 3.x Frontends.
    We want to precalculate data - can Report Agent (3.x in RSA1old) functionality be used?
    Or is it mandatory to use 7.0 functionality?
    Your help is really appreciated !
    Angelika

    Not mandatory to use bi7 reporting agent for that
    we could create bw3.5 queries for all the infoproviders who sit in bi7 and hence can use t code RSA1old for reporting agent settings,
    even if u create setting in bi7 reporting agent it will work for 3.5 queries

  • Reporting Agent Issue

    Hello,
    When I run a job via the reporting agent, the last selection made in the variable is not taken into account.
    I have 827 cost centers selected in my variable. The last value is not taken. I have tried to change the order, but still I don't receive the results for the last one.
    I have 811 pages printed.
    When I run the job with only the missing value of the cost center I receive the correct result.
    Does anyone have an idea of why this is happeniing ?
    Thanks for your help,
    IE

    Hi Jeroen,
    In fact, I had already checked this before, and there was no restriction on the number of pages.
    I am facing a very strange problem:
    if I run a query with a selection on 2 cost centers : A and B, then the results are as expected.
    I print the same query with reporting agent, and I receive only results for cost center A.
    With reporting agent, if I make a selection in the variable only on cost center B, I receive the results for cost center B.
    Very strange, isn't ?
    Any idea ?
    Ingrid

  • Reporting Agent

    Hello,
    We are trying to implement Reporting based on precalculated web templates. the underlying query has variables e.g. Fiscyear-1. If I don't use any variable in the query, i receive a result using a controll query.
    As soon as a put such a variable in i receive a short dump when running a package. How can I handle such variables / or variables in general by using a controll query ?
    Thanks for your help.
    Dieter

    Hi Richard,
    you can create reporting agent with set of variants (if needed). U can schedule the reporting agent indepedently or you can set inside a process chain so that the pre calculation will be triggered after data load.
    In 3.5 you have the option to fill the OLAP cache if available option. Select that option after enabling the OLAP cache.
    Hope this helps
    regs
    D Bret

  • Reporting Agent on BW7

    Hi,
    i'm trying to use Reporting Agent to precalculate Webtemplates on BW7, but i can't see the new version templates
    for this.
    I want to precalculate the webtemplate each day so the first view of the report to be faster.
    Is R.A. still used on BW7 ?
    thx in advance

    Done with broadcasting, there's a distribution option called "OLAP Cache" to just precalculate the template.

  • Reporting AGent problem need help immediately

    I have schedule a job everyday for reporting agent. Which includes 6 reports init with precalculated webtemplate. The reason to use this is that everyday morning the job will run before users use those reports and it will add that in cache so even if users run that reports first time it will be faster in performance.
    Once the job is done i can see those entries in cache memory. But when I run the report its not using cache. it takes forever to execute for the first time. after running the report on web i checked the cache entries and i saw strange thing that when i run the report for the first time its replaces the previous entry of that report from cache with the current one. (eg. Reporting Agent job was finished at 4:00am in the morning - i could see the queries in cache memory with my id and time stamp 4:00am. But when i run the report at 7:00am it takes longer time and after running the report if i check cache entry for that perticular report i dont see 4:00am entry instead of that i see 7:00am entry)
    Can some one tell me why its acting weird ??
    FYI: When i created reporting agent setting  there are 4 options (checkbox) under calculate section:
    1. Data
    2. HTML for Web Browser
    3. HTML for Pocket IE
    4. Excel
    in above options i just selected "Data" - will it might be the reason when i run the query on web its not using cache for the first time ??
    Message was edited by:
            Keral Smith

    Also check the SAP Note <a href="https://websmp110.sap-ag.de/form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=0000751402&nlang=E">751402</a> and the SAP Note <a href="https://websmp110.sap-ag.de/form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=962651&_NLANG=E">962651</a>.
    <b>Symptom</b>
    The reusability of the cache is poor when the "Not changeable during query navigation" variable setting is set. A preliminary calculation is not useful in this case.
    <b>Other terms</b>
    OLAP, cache, cache key, cache entries, reusability, reusage
    preliminary calculation, variable not changeable during query navigation
    <b>Reason and Prerequisites</b>
    The various entries for each variable setting have different keys for "Not changeable during query navigation".
    <b>Solution</b>
    The key for queries in the OLAP cache comprises the following: "query", "variables not changeable during navigation" and "selection hierarchies".
    To reuse cache entries, the cache always returns complete value sets that have already been precalculated and stored or subsets of these value sets. For reusage, the cache can only find subsets of value sets that have already been precalculated and stored if the key for the subset is a subset of the key for the value set that has already been calculated.
    If the setting for query variables is set to "Not changeable during query navigation", a separate cache entry is created at the "Variables/hierarchies" cache level for each query selection. To enable this reusage, you must select exactly the same variable selection, since this results in the relevant key. In this case, a similarity check was performed in the cache for a query at variable level. In practice, a preliminary calculation is executed with the "*" variable selection. Usually, a user will choose another variable selection to be output. When you set the variables to "Not changeable during query navigation", you cannot reuse the precalculated value since the key does not correspond.
    If the "Changeable during query navigation" variable setting is selected for a query, the variables are no longer part of the "Hierarchy/Variable" key, but rather the selection conditions (which are one cache hierarchy level lower). Therefore, the same "Hierarchy/variable" subtree for the query is selected for each variable selection (if the entry has already been calculated and stored) and checked to see whether the value set (or a subset) is considered to be a resulting set. If a value set with "*" was now selected with the preliminary calculation, this could be reused by selecting and returning the relevant value set for the subselection.
    For increased reusability, the variable setting should be set to "Changeable during query navigation" and the preliminary calculation should take place with "*".
    However, you should note that the preliminary calculation must have selected actual supersets. The OLAP processor only examines subset relationships in the cache. The system does not search and "merge" several different cache entries to determine the results of a query (therefore a multi-dimensional approach is not possible either).

  • Use reporting agent to run and e-mail a query to users

    Hi All,
    I have a requirement where, I have to use reporting agent to precalculate a BW query and then broadcast the result to e-mail addresses.
    Is there any way I can do this?
    Please any ideas will be appreciated.
    Thanks,
    Reddy

    Hi Reddy,
    take a look here...
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/615f64816311d38b170000e8284689/frameset.htm
    the only thing you have to do (in addition to the normal procedure described here) is to set an exception always true (in order to have always your follow-up action, that is the mail to your users !)
    Bye,
    Roberto

  • Exception ( in Reporting Agent ) background job runs indefinitely

    Hi
    I created an Exception setting under reporting agent (to send out a mail in the SAP Office inbox, on a specific exception) and assigned it under a scheduling package.
    I have assigned a proper query variant to the exception setting also.
    When I exeucte the job, it goes indefinitely.
    I highly appreciate if somebody can help what needs to be done to fix this.
    Thanks
    KC

    Hi,
    If you choose the Precalculate by User option, all the data and HTML pages for the Reporting Agent setting are precalculated for each of the selected users in a single job. This applies in both the cases: Roles or users. When you specify a role after selecting the option 'Precalculate by User', the precalculation will be done for all the users assigned to that role and not the role.
    Roles/Users is just 2 different ways of giving the user restriction. If you specify the roles, the system will precalculate for all the users assigned to the role. If you have few users for whom you want the precalculation to be done, then you can specify the user IDs. If you have many users assigned to a particular role for whom you want the precalculation to be done, then you can specify the role.
    Regards,
    Shilpa

  • I want to know about reporting agent.

    i want to know about reporting agent.

    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
    ·        Managing bookmarks
    http://help.sap.com/saphelp_nw70/helpdata/en/28/734d3caa70ea6fe10000000a114084/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/44/0435514d956039e10000000a1553f6/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/615f64816311d38b170000e8284689/frameset.htm
    Regards,
    ®

  • Priming cache by reporting agent problem

    Hello All,
    I have few questions regarding article on bwexpertonline for priming the cache.
    The article is really great and big help....but i am not getting out put the way it should be.
    1) I created a query  - which doesnt have any variable/selection screen.
        (question here is will it work for those kind of queries which dont have any selection screen/ variant ? ) --> client wants to prime the cache for few queries which dont have variable screen.
    2) created web template and which refers the same query and save it in favourite.
    3) went to RSA1--> Reporting Agent --> web template --> new setting
        gave technical name, in parameter tab i selected two options "data" and "HTML for browser" by selecting the checkbox.
    4) i dont have any selection screen so couldnt create any variants
    5) mark the check box "fill olap cache if possible"
    6) Save it and activated it
    7) created scheduling package and drag and drop the reporting agent (which is on the left sideunder the webtemplate)
    8) schedule it
    9) sm37--> released the job and ran it.
    10) job finished successfully
    now my question is i dont see any entries for that perticular query in RSRCACHE (TCODE). i tired to run query on web, rsrt but still i dont see any entries in cache.
    can you pleasse tell me where i m making mistakes ?? also, if i want to prime cache for lets say 6 queries do i have to create web template for each...and repeat the whole process for each ? how do i do that ? And will need to attach it in process chain so it can be run on daily basis.
    Any guidance will be appreciated. I will come back and give points for help.
    Thank You in advance...
    KSMITH
    Message was edited by: Keral Smith

    On my system (BW 3.5 SP15) if I have Cache Mode 1 (Main Memory Cache Without Swapping) selected, I don't even have a Persistence Mode setting available - it only becomes available if I choose Cache Modes 2 - 4.  Perhaps that's a support package difference.
    At any rate, Persistence Mode of 0 - Inactive means:
    When the cache memory has been exhausted, data is removed, that is deleted, from the memory (corresponds to cache mode Main Memory Cache Without Swapping).
    So one option is that the cache area is simply filling up and the system is purging your Rpt Agent results.  I also thought I remembered a setting (or maybe it's a fixed value) that said a cached result could not exceed a % of th ecache size, to avoid having a large single query result flush all others out of the cache.
    I would check to see how large the OLAP Cache is on your sandbox.  maybe it just needs to be larger.
    Also worth checking timestamps  (from SAP Help)
    <i>- Query generation time (corresponds to the specification under OLAP-Relevant Data)
    - Time of the last loading of data into the InfoProvider (last data change)
    - Last change to data value set (pre-calculated value set)
    - Last master data change for navigation attributes
    This time stamp influences the invalidation of the cache. If the last time stamp for a cache entry for the selected query is older than one of the above-named time stamps, then the cache is rebuilt.</i>
    Could you be loading Master Data somewhere after the Reporting Agent has run?
    Might also be worth telling your client that Information Broadcasting is intended to replace Reporting Agent.  RA will not be enhanced.

  • Reg. Reporting Agent

    hi
    Will anyone explain about Reporting Agent and BW Crystal Reports.
    Thanks
    regards
    Sridhar
    [email protected]

    Sridhar,
    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
    Please go thru the below links:
    http://help.sap.com/saphelp_nw70/helpdata/en/28/734d3caa70ea6fe10000000a114084/frameset.htm
    and
    http://help.sap.com/saphelp_nw70/helpdata/en/36/d4a94076b63713e10000000a155106/frameset.htm
    Hope this helps..
    ********Assign Points**********
    Thanks,
    Gattu

Maybe you are looking for

  • How can i pass second text  value to the procedure.

    Hi , I have used APEX_ITEM.TEXT(1,null) Item_name,APEX_ITEM.TEXT(2,null) file_name in a sql query and i should pass these two text value as a input parameter to the Procedure. So in Process i have written code like FOR i IN 1 .. APEX_Application.g_f0

  • Error 1330 (Invalid digital signature in data1.cab) installing 1.6.0_11

    I cannot install jre6 update 10 or 11. Both attempts (from full download) result in: <img src="file:///C:/Users/Graham/AppData/Local/Temp/moz-screenshot.jpg" alt="" /> If I try the online install (update 11), the download runs to completion, then the

  • How to output to an excel file?

    Hi, I have written a program that gets data from the database and I like to find out how to output the data to an excel file. I have read about similar topic on the discussion board and the solution are for the online application. Mine is a desktop a

  • Acrobat 9 no longer receiving submitted forms

    Hello, My response file stopped receiving forms overnight. I can fill out and submit an invoice with no errors, it even says "response succesfully submitted" but it does not show up on the responses file. The tracker is showing no errors. Anyone else

  • Should I be able to hear my iPhone ringing in my Pocket?

    It just seems like the phone isnt loud enough to hear, I have no way to compare with another iPhone so I thought I'd ask in here because i figure a phone should be noticeable in one's pocket. thanks in advance.