Consolidate report from different contexts

Hello, is there a way to build a report that consolidates virtual indicators from different contexts?

One approach would be to build a set of PAS measures that bring together the data, and then report from those measures.

Similar Messages

  • Reading Attributes from different context nodes in the same view

    Hi,
    I have added a new field as part of an enhancement for Trade Promotions. This field is a checkbox and part of the context node TRADE in the view TPMOE/HeaderEOF. This field will be checked or unchecked using a logic in the background.
    The logic will be based on an attribute (Fund Plan ID) which is part of another context node FUNDPLAN in the same view.
    How can I read the attribute of FUNDPLAN context node in TRADE context node?
    A sample code will be quite helpful as I am new to CRM 2007.
    Thanks,
    Abhishek
    Edited by: Abhishek  Periwal on Oct 16, 2008 2:35 PM

    Hi Abhishek,
    If I understand your question correctly, you would like to access the Fund plan ID (in a different context node) in the getter setter methods of the check box attribute which you have added.
    The code snippet mentioend by sudeep works perfectly fine when you are making any checks in the view implementation class. But since you are in the getter setter methods of the context class, this doesnot work as "me" always refers to the class instance in which you are present.
    Now in this case what you need to do is :
    1)  create an attribute <view_controller> in your context class. Here the context is TRADE. The type of this attribute wud be same as the view controller class CL_TPMOE_HEADEREOF0_IMPL
    2) Go to the view controller class and redefine the method
    DO_VIEW_INIT_ON_ACTIVATION. This method is called only once when the view is loaded for the first time.
    3) In this method, put the following code
    me->typed_context->(Trade)->[view_controller] = me.
    by the above code, you are setting the newly created attribute to the view controller instance.
    4) The next step would be, go back to your getter setter methods or what ever it may be, try referring to the Fund plan ID by the code snippet mentioned below
    data: lr_entity type ref to cl_crm_bol_entity.
    lr_entity ?= me->[view_controller]->typed_context->[the context node in which the fund plan id is present]->get_current().
    lv_field_value = lr_entity->get_property_as_String( **pass the field name here ).
    This should definitely resolve the problem.
    Thanks,
    Vinay

  • Report from different connection pools

    Hi All
    My requirement is as below.
    When USER1 logs in and builds a report from a subject area then the data is fetched from connection_pool1 and when user 2 logs in and builds the same report then data is fetched from connection_pool2.
    The data are in identical table structures in both connection pools but for user2 there is a restriction on the volume of data hence can this dynamic feature be implemented? and How.
    thanks
    swastik

    We cannot do this dynamically,We need to change this manually
    Connection Pool ---- Permissions
    Mark if helps,
    Thanks,

  • How to use attributes from different context nodes in one view?

    I am VERY new to the concept of CRM and currently working on creating an alternate version of the BP_HEAD_SEARCH. With help from SAPPRESSs book 'SAP CRM Web Client' i was ble to create my own simple Z-component.
    However after going back and forth the book and the forum (including this [article|https://wiki.sdn.sap.com/wiki/display/CRM/Howtoaddanexistingfieldtoasearchpageofadifferent+component]) i was not able to find a solution to my problem. My current search uses BuilHeaderAdvancedSearch as context node for searching. But the search should also be able to use attributes from BuilActivity, which is directly related to BuilHeader. I can't seem to find a way to get attributes from BuilActivity into the search window of my component without having to change SAP-Standard.
    Is this really the only way? Please advise on possible code and insertion point.

    Any suggestions?

  • Ajax Dynamic Conntent -- pull report from different page

    Hi All,
    I am reposting my question, the previous thread was hacked by Fifi :-) . I am trying to implement Denes's solution in this Pulling Dynamic Conntent . Somehow I am getting java script error "unknown runtime error". on page load itself. It is giving error at the code html_GetElement('ReportDrop').innerHTML = gReturn;
    I believe I am missing some of the referenced java script files.
    Any help please ?
    I have kept my application on Apex.oracle.come
    workspace : edw_apex
    manish/manish
    Thanks
    Manish

    Finally I figured out the page template was missing, which was causing the issue. Just overwrote the body and footer of the template from this Make a copy of exiting page template and replace the body part with the code below:
    <htmldb:SUCCESS_MESSAGE><div id="SUCCESS_MESSAGE">#SUCCESS_MESSAGE#</div></htmldb:SUCCESS_MESSAGE>
    <htmldb:NOTIFICATION_MESSAGE><div id="NOTIFICATION_MESSAGE">#NOTIFICATION_MESSAGE#</div></htmldb:NOTIFICATION_MESSAGE>
    <htmldb:GLOBAL_NOTIFICATION><div id="GLOBAL_NOTIFICATION">#GLOBAL_NOTIFICATION#</div></htmldb:GLOBAL_NOTIFICATION>
    <htmldb:REGION_POSITION_01><div id="REGION_POSITION_01">#REGION_POSITION_01#</div></htmldb:REGION_POSITION_01>
    <htmldb:REGION_POSITION_02><div id="REGION_POSITION_02">#REGION_POSITION_02#</div></htmldb:REGION_POSITION_02>
    <htmldb:REGION_POSITION_03><div id="REGION_POSITION_03">#REGION_POSITION_03#</div></htmldb:REGION_POSITION_03>
    <htmldb:REGION_POSITION_04><div id="REGION_POSITION_04">#REGION_POSITION_04#</div></htmldb:REGION_POSITION_04>
    <htmldb:REGION_POSITION_05><div id="REGION_POSITION_05">#REGION_POSITION_05#</div></htmldb:REGION_POSITION_05>
    <htmldb:REGION_POSITION_06><div id="REGION_POSITION_06">#REGION_POSITION_06#</div></htmldb:REGION_POSITION_06>
    <htmldb:REGION_POSITION_08><div id="REGION_POSITION_08">#REGION_POSITION_08#</div></htmldb:REGION_POSITION_08>
    <htmldb:BOX_BODY><div id="BOX_BODY">#BOX_BODY#</div></htmldb:BOX_BODY>
    Replace the footer part with the code
    #FORM_CLOSE#</body></html>Thanks again !!
    --Manish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Import/Convert reports from different software.

    Post Author: cchang
    CA Forum: General
    I am a recent hire to a company that is using Relation&Report Writer for database reporting.  Previous to my hiring the company purchased Crystal to replace the current report writer because of it's limitations.  The problem I have is I don't want to rewrite all the existing reports but would like to use Crystal exclusively and get rid of the old writer.  I would like to know if anyone has ever tried importing or cnverting old reports to Crystal?  Is it even possible?  Thanks!

    Hi Ella,
    You can exclude universes and connections to get import while importing , import only reports if those reports using same universe.

  • Accessing a variable from different context

    Hai all,
    I want to access a servlet that is defined outside of my context(application),
    I have two contexts that r running under tomcat server.
    Please help me

    Then you need to create a URLConnection to that servlet. Eg :
    URLConnection connection = new URL("http://localhost:8080/Test/TestServlet").openConnection();
    [/code[                                                                                                                                                                                                                                                                                                                                                       

  • Running queries coming from different systems

    Hello All
    I have a scenario,
    We are using BI version 7.0,
    The requirement is to  run queries in BEX analyzer coming from 2 different SaPBW systems.
    For example :
    We have two  BW systems A and B,
    In the First tab  we have query running based on the BW system A and in the second tab query running on Bw system B.
    When we try to run the second query in the second tab the first query vanishes,
    Can anybody help me, is it possible to run the 2 different queries from different systems???
    Regards,
    Ravi

    Hi Ravi,
    Even using RRI you will not be able to combine reports from different systems in single workbook. RRI is generally used for Summery to detail level reporting. In such scenarios from first report you click on particular characteristic and other details related to this characteristics are shown in different report coming from any other source.
    If you want this kind of report to run then either you will have to build a Virtual provider in one of the BI system making source as another system and then create a query and use it in same workbook.
    In this way your report might take some time to execute but you don't need to load all your data from one system to other.
    Regards,
    Durgesh.

  • Report using Data from different tables

    Hello,
    I am trying to convert a Cobol batch program to Oracle 6i tabular report.
    The data is fetched from many different tables and there are lots of processing(i.e, based on the value of a column from one table need additional processing from different tables) required to generate the desired columns in the final report.
    I would like to know what is the best strategy to follow in Oracle Reports 6i. I heard that CREATE GLOBAL TEMPORARY TABLE is an option. ( or REF CURSOR ?) I do not know much about its usage. Can somebody guide me about this or any other better way to achieve the result.
    Thank you in advance
    Priya

    Hello,
    There are many, many options available to you, each of which has advantages and disadvantages. This is why it is difficult to answer "what is best?" without alot more details about your specific circumstances.
    In general, you're going to be writing PL/SQL to do any conditional logic that cannot be expressed as pure SQL. It can executed in the database, or it can executed within Reports itself. And most reports developers do some of both.
    As a general rule, you want to send only the data you need from the database to the report. This means you want to do as much filtering and aggregating of the data as is readily possible within the database. If this cannot be expressed as plain SQL queries, then you'll want to create a stored procedures to help do this work.
    Generally, the PL/SQL you create for executing within the report should be focused on control of the formatting, such as controlling whether a field is visible, or controlling display attributes for conditional formatting.
    But these are not hard and fast rules. In some cases, it is difficult to get all the stored procedures you might like installed into the database. Perhaps the dba is reluctant to let you install that many stored procedures. Perhaps there are restrictions when and how often updates can be made to stored procedures in a production database, which makes it difficult to incrementally adjust your reports based on user feedback. Or perhaps there are restrictions for how long queries are allowed to run.
    So, Reports offers lots of options and features to let you do data manipulation operations from within the report data model.
    In any case, Oracle does offer temporary table capabilities. You can populate a temp table by running stored procedures that do queries, calculations and aggregations. And you can define and initiate a dynamic query statement within the database and pass a handle to this query off to the report to execute (ref cursor).
    From the reports side, you can have as many queries as you want in the data model, arranged in any hierarchy via links. You can parameterize and change the queries dynamically using bind variables and lexicals. And you can add calculations, aggregations, and filters.
    Again, most people do data manipulation both in the database and in Reports, using the database for what it excels at, and Reports for what it excels at.
    Hope this helps.
    Regards,
    The Oracle Reports Team --skw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How can I Generate two different reports from single execution of Test cases in NI teststand

    Hi,
    My requirement is to generate two different reports from NI teststand. One for the Logging of error descriptions and the other report is by default generated by the Teststand. How can i generate a txt file that contains error descriptions other than that mentioned in the default report?
    Solved!
    Go to Solution.

    Do you need to do that just for these two sequences but not for other sequences? I don't see a problem to use SequenceFilePostStepRuntimeError. Create this callback in both sequence files and configure them to log into the same file. SequenceFilePostStepRuntimeError callback is called after each step of the sequence file if it has runtime error. You can access the calling step error information via RunState.Caller.Step.Result.Error property. Take a look to attached example.
    The "other way" is useful if you need to log errors not for every step of the sequence file, but for some of them. This is more complex, because you need to create a custom step types for these steps. For the custom step you can create substeps (post-step in your case) which will be executed every time after step of this type executed. Then, this is you job to determine if error happened in the step, acces to step's error information is via Step.Result.Error property. 
    Also, be aware that step's post-expression is not executed in case of error in the step.
    Sergey Kolbunov
    CLA, CTD
    Attachments:
    SequenceFilePostStepRuntimeError_Demo.seq ‏7 KB

  • Report  from system on different stock levels-min, max stock levels

    hI gURUS,
    Is there any Standard Report  from  SAP system to see on different stock levels-minIMUM stock, maximum stock levels

    Hi,
    MMBE will not give stock level min and max  that is maintained in material master MRP view. I think you need to make a z report for th same or may be through query.
    Regards
    Sangeta

  • OBIEE report from multiple facts at different levels

    Currently we need to develop a report with columns from 3 different facts surrounded with conformed and non conformed dimensions at different levels.
    After setting the hierarchial levels and putting the facts into single logical table with different sources OBIEE is generating 2 different queries and does a full outer join.
    I would like to know how we can do a left outer join instead of full outer join between the 2 queries based on a common column?
    Thanks in advance.

    Hi Vinod,
    The scenario provided in the link above doesnt match to my issue.
    We need to develop a report from multiple fact tables at different levels with conformed & non conformed dimension columns.
    I have 7 dimensions D1, D2, D3, D4, D5, D6 and D7 & two fact F1 and F2 tables.
    F1 is tied to dimensions D1,D2,D3,D4,d5
    F2 is tied to dimensions D3,D4,D5, D6 and D7.
    In my report I have columns from D1, D2, D3, D4, D5, D6, D7, F1 and F2.
    So OBIEE generates 2 queries with columns from D1,D2,D3,D4,d5 & F1 measure and another query with D3,D4,D5, D6, D7 and F2 measure.
    and then does a cross fact join out of box between 2 queries.
    But I need to do a left outer join between the 2 queries on a common column instead of cross fact join. I would like to know how we can achive this.
    Thanks.

  • Data from different databases in the same report.

    Hi Everyone,
    I am trying to build a reconciliation report in which I need to show the data from the source and target, side by side.
    Source and target are both different databases, although being oracle only
    Whenever a new data model is created, it gets attached to a data source and in the report we need to choose a specific data model.
    Can we have data from different databases in the same report ?

    Yes, it is possible.
    One way Is to use dataTemplates. There you can make queries from any number of different databases (The max I have done is 5).
    It looks something like that:
    <dataTemplate name="NameOfTemplate">
    <dataQuery>
         <sqlStatement name="Q1" dataSourceRef="Connection1">
              <![CDATA[     select * from table1]]>
         </sqlStatement>
         <sqlStatement name="Q2" dataSourceRef="Connection2">
              <![CDATA[     select * from table2]]>
         </sqlStatement>
      </dataQuery>
      <dataStructure>
         <group name="RESULT1" source="Q1">
              <element name="P_FIRST_NAME" value="P_FIRST_NAME"/>
         </group>
         <group name="RESULT2" source="Q2">
              <element name="P_DATE" value="P_DATE"/>     
         </group>
      </dataStructure>
    </dataTemplate>dataStructure is very important when you get data from different places, if you don't define those elements, then only the result from Q1 is shown.
    The second possible way is to make as two different data models, each containing their own query and then set Main Data Set as concatenated SQL Data Source.
    Best of luck,
    Evelyn

  • Context Overflow Error while executing report from browser.

    Hi All,
    I am running one report from browser, the same report is running properly on backend.
    But when I am running the same for long period (more than 2 months) it is giving me context overflow error.
    I have also checked the value of parameter MaxCtxtSize on ITS and it is currently set to 5 MB.
    Should I increased this value ??? ITS version is 6.20 - Standalone.
    Pl guide me to solve this problem.
    Regards,
    Aditya.

    Dear Edgar,
    Thanks a lot.
    Below is the error message reported in the file diagnostics.log.
    A 2009-02-03T09:12:24.039 [agate,sapjulep] 00, s02748798, PpttRuntimeError:  Runtime error: Assignment to context failed
    (context overflow)!
    A 2009-02-03T09:12:24.039 [agate,sapjulep] 00, s02748798, PpttRuntimeError:  jump through trap...
    A 2009-02-03T09:12:24.039 [agate,sapjulep] 00, s02748798, PpioTraverseHtmlPP: PpttTraverseParseTree(D:\SAPMPS\config\..\IT1\templates\system\dm\generator.html) failed, rc=0x306
    A 2009-02-03T09:12:24.039 [agate,sapdiag ] 00, s02748798, HtmgBuildHtmlPage: IntpDoInterpret (D:\SAPMPS\config\..\IT1\templates\system\dm\generator.html) failed, rc=0x2104
    A 2009-02-03T09:12:24.039 [agate,sapxgdk ] 00, s02748798, ContAllocAligned:  Allocating 52 bytes (16 of 5242880 bytes available) failed, no streaming supported. Consider bumping a container size (3) in the registry.
    Pl help.
    Regards,
    Aditya.

  • HT4061 How do I consolidate purchases from two different ids that are on the same bank account, and eliminate the extra id without losing any purchases?

    How do I consolidate purchases from two different ids that are on the same bank account, and eliminate the extra id without losing any purchases? I want my music to match on both ipad and computer.

    Purchases are forever tied to the AppleID they were bought with. There is currently no way to consolidate AppleIDs. Sorry.

Maybe you are looking for

  • Weblogic run Error on Solaris~~~ Please Help

    I have a Bizzare error and dont know how to solve it. I have set-up one Sun Netra T-1 with a product called Cisco ACS (Advanced Cisco Secure). This comes bundled with weblogic to interface it with Oracle database. Setup as follows: Sun Netra T-1, Sol

  • Urgent!!  abap objects

    Hi, I am having problems executing this program using events. I think it is a simple problem but am not able to solve it. REPORT  Z_KMADHUR_PROGRAM5. class declarations. class pilot definition. public section. methods: call_flight_attendant. EVENTS:

  • Issues upgrading Weblogic from 10.3.5 to 10.3.6

    Hi All, i am trying to upgrade Weblogic from 10.3.5 to 10.3.6, i am using 10.3.6 upgrade installer ( $JAVA_HOME/bin/java -jar -d64 wls1036_upgrade_generic.jar). Once after completion of the upgrade, i upgraded the domain using config.sh after this wh

  • Imovie 11 PIP Freeze.  Help!!

    Picture in Picture with png pic with transparent background on Imovie 11 freezes the movie every time after the first for the duration of the PIP, then picks the film up again.  Reviews just prior to each PIP are OK.  Help!!! Thanks Tamzir

  • Work Hours Only?

    I want to set up a Calander for my work schedule. Is there a way to only display 8am til 8pm for each day? I schedule appointments on a 30min basis only during those times. Is there a way to not show the hours that I am not available? Kevin Hawkins