Reporting Agent versus Query

Hi,
I run a query in the BEx by selecting 2 cost centers A and B and I receive both results.
When I execute the job with the reporting agent I receive only the first cost center.
How can I debug this ? Any idea what could be the reason ?
Thanks for your help,
IE

Hi Adem,
The query gives the expected results.
The problem is that the reporting agent doesn't give the result of one cost center. I use the reporting agent to print the results of the query.
Cost centers are given as a selection in the query.
Any idea ?
Thanks,
IE

Similar Messages

  • 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

  • Query Quetsion  APD or Reporting Agent or ?

    I have a query , It's having around 3 million Records ,
    what's the best way to suggest client to dump the query into Flat file or Excel.
    Is it possable through APD's OR  Reporting Agent or Whether it's achiveable in some other means in BW,   if so can you explain me in Detail.
    your input's will be highly appreciated.
    we are on 3.50 BW
    Thanks in adv

    Hi Murli,
    Welcome to SDN!!
    Use the ABAP Program <b>WRITEQUERY</b> to dump the output into a flatfile.
    Bye
    Dinesh
    <i>Assigning point to the helpful answers is the way of saying thanks in SDN. you can assign points by clicking on the appropriate radio button displayed next to the answers for your question. yellow for 2, green for 6 points(2)and blue for 10 points and to close the question and marked as problem solved. closing the threads which has a solution will help the members to deal with open issues with out wasting time on problems which has a solution and also to the people who encounter the same porblem in future. This is just to give you information as you are a new user.</i>

  • Follow Up Actions - Reporting Agent

    Hi BW Gurus,
    I would like to know what are following up action is available in Reporting Agent
    Thank You

    Hi Luis,
    There are 4 steps.
    1) Send Mail- alerts user by e-mail; for example you can send e-mail saying sales qty target were missed
    2) Alert Monitor entry - view results in the alert monitor; you can also give an URL for the alert monitor
    3) Export - Send Data to a work flow for follow up action
    4) RRI Interface - if an exception happens you can jump to another query for a more detailed display using Go To option
    TQ
    Kumar

  • Send mail as follow-up action in reporting agent

    I need to send a mail with the exceptions flaoting from a query. I tried to use the follow-up action of 'send mail' in the reporting agent. that didnt work because in our SAP we're not using the exchange connector and mails cannot be sent in the regular way.
    I have an external command of sending mail.
    Does anyone has a way of solving this problem, meaning, using my external command of sending mail in order to send the mail with the exceptions (this command works just fine in process chains, for example, for notification of process progress)
    Thank You,
    Yoav.

    Hello Nili,
    I think you can edit content and Subject etc.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/21/35783b82ee5d31e10000000a114084/content.htm
    Hope this helps.
    San.

  • Reporting Agent - Print Layout - Issue in Displaying Key Figures in Rows

    Hi,
    We have issue while printing reports using Reporting Agent. As part of Query Definition we have Structure of key figures in Rows. But while creating Reporting Agent , in Print Layout option – Under Table – Rows – we are not able to drag Structure of key fig.
    What could be the solution to this issue. How can we use key figures in rows?
    Thanks in advance.
    Samir

    Hi,
    putting product in the rows will slove the issues as the unit cost  depends upon the  prdoduct and therefore it will uniquely identify each of the material and then it will get multiplies with the qty and therefore you will get the correct result.
    this kind of issue you will always face when you are going to multiply cost with the Qty and as the cost differ with the individual material.
    Also putting material into the rows will cause the no. of rows to increase as all the materials will show up in the individual rows for the particular month.
    Also you can make a claculated key fgure for the multiplication and use before aggregation.
    But for that your both the key figures should be in the same cube i.e. in the same rows or the before aggregation will not work you will not even get an option of before aggregation in the CKF if the key figures belong to two different cubes.
    Since your qty and cost are coming from two different cubes before aggreagtion will not work here.
    And if you do before aggregation then you report will become quite slow as it will do all the multiplication anf then will bring the result.
    So it depends on your requirement and your design how to proceed.
    Hope it helps
    Thanks

  • Output from Reporting Agent in BW is inconsistent

    Hi,
    I have created a scheduled package of print type in reporting aget. The job runs successfully but once I check the spool in SM37, the output is not corrrect.
    First it writes only characteristics and then below that it writes key figures. Both Char and Key Figures do not come in one line.
    Not sure where have I gone in creating this scheduling package in reporting agent.
    Any help is most welcome.
    Thanks in Advance.
    Prashant

    Hi,
    You can define threshold values (exceptions) for a query. Data that varies from these thresholds is highlighted in color or marked with icons. You can use these exceptions to identify deviations from expected results at a glance.
    Defining and Changing Exceptions
    1. In the Exceptions screen area, choose New Exception in the context menu. An entry with the default text Exception <Number> appears and you can edit the description directly.
    2.In the context menu, choose Edit. The exception editor appears; it displays the relevant parts for the definition on tab pages.
    You can also call the exception editor from the Properties screen area by choosing the Edit pushbutton.
    3.      Make the required settings for the definition of the exception. For more information, see Definition of Exceptions.
    4.      Choose OK. You return to the query definition.
    5.      Choose Save Query.
    Removing Exceptions from Queries
           1.      In the Exceptions screen area, select the relevant exception and choose Remove in the context menu.
           2.      Choose Save Query.
    Result
    You have defined or changed an exception for a query. Execute the query. The exception is evaluated online. The cell areas that are affected by the exception appear highlighted in the appropriate color or, where applicable, with icons in Web applications.
    You can display the exception descriptions and activate or deactivate the exceptions you want.
    For more info go through the below link
    http://help.sap.com/saphelp_nw70/helpdata/en/68/253239bd1fa74ee10000000a114084/frameset.htm
    Regards,
    Marasa.

  • 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

  • Problem with "subject" & "recipient list" of reporting agent

    Hi,
    I've created an exception in a query & assigned "E-mail notification" for this exception in reporting agent. I entered "Subject" field and assigned "distribution list" to "Recipient list" field in the e-mail notification attributes.
    After transporting, reporting agent & package, everything moved fine but subject & recipient fields are not carried over to Quality system. both the fields are blank.
    What is the problem?
    How do I make sure that these 2 fields are also transported to Quality & Production rather than manually maintaining them again in the target system.
    Appreciate any help.
    Hari Immadi
    http://immadi.com
    SEM BW Analyst
    Message was edited by: Immadi Hari

    Hari,
    Did you ever get this resolved?  We are currently experiencing the same problem.
    Thanks,
    Bill Lomeli

  • 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 - HTML Generated not allowing Navigation

    Hi all,
    I created a WebTemplate with a single query and four DropDown Box for allowing the user navigation.
    The WebTemplates works fine in Bex Web and the user may apply the filters in the dropdowns.
    We configured this WebTemplate on Reporting Agent to be create an HTML Report with Navigation.
    The problem is that the BW is generating a lot of Static HTML´s pages with the contents Filtered according with the combination of the four dropdown fields. The First HTML page brings just one line, and there is no link to the others pages.
    Has someone already faced this problem ?
    Is it possible, using Reporting Agent, generate an HTML Page with all the Data contents and allow the Navigation (Filter in DropDown) on this page ?
    The BW Version that I´m using is the 3.5.
    Thanks and Best Regards,
    Celso

    Hi,
    Since you are on BW 3.5, I am wondering why you don't use information broadcasting?
    General information about informatio broadcasting:
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/359840dfa5a160e10000000a1550b0/content.htm
    For trouble shooting:
    Troubleshoot Information Broadcasting within SAP NetWeaver '04 (BW 3.5)

  • 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).

  • Reporting Agent filename convention and result directory

    Hi Experts,
    We are using BW 3.1 so the questions below are refering to this version of BW.
    I have to run a query on a monthly basis which has many results depending on a cost center input.
    The problem is that I need to make a standard filename convention for the query results such as xxxxxx_yyyymm.html where xxxxxx is the actual cost center value, yyyy is the actual year and mm is the actual month.
    Is it possible to set this kind of naming convention in the Reporting Agent?
    Furthermore, I have to move the results into a standard directory of the Business Explorer Analyzer, namely EAIFILES/.....
    Can I redirect the results into the specified folder?
    Thanks and Regards,
    Dezso

    Dear Dezso,
    unfortunately this is not possible in Standard,
    you can download the data per download scheduler and send it to you needed location.
    In Transaction RSRAPS you can see the created files, it is not possible to change the file name.
    We have a solution to read the index file and rename the files to customized file names like yours, its possible but its alot of work.
    Regards Marcus

  • 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.

Maybe you are looking for

  • Transfer items from one calendar to another (on iMac)

    I have a question: how can you transfer all the items from one calendar into another calendar? I thought I had come up with an ingenious solution, but it didn't work (see below). Years ago, I set up a calendar for my wife and I to use as a "family" c

  • ABAP how to suppress Application toolbar  on the screen

    Hi all As far as my knowledge is concerned I know we can't suppress the application toolbar in module pool programming (in the screen painter) but if is there any way to do that ? Regards, Mahesh

  • Blackberry Assistant, function and features

    When using the blackberry Assistant to dictate a E-mail or message, is it possible to insert a line break? Also is it possible to control or adjust the punctuation being inserted/use? For example, when you say double quote the assistant inserts the H

  • How to install color looks in Lion?

    How do I install COLOR LOOKS in Lion OS?. There is no "Users Library", so I don´t know if si possible.

  • Newbie question about datatypes

    Hi, I'm new to Oracle, but have done a smattering of SQL before. I can't work out what the Oracle datatype that holds binary values is - when I use BIT in my SQL it fails with an invalid column type error. Do I have to use an INT and translate values