Custom report outer-join display problem

I have written a custom report for Grid that produces info on database options, combined with info on the hardware of the servers where the databases reside. It is a customer requirement that all output be displayed as one huge table, with duplicate cells where logic dictates... so I've used a couple of nested queries + outer joins.
My SQL query provides the correct data, however Grid appears to be acting clever, and instead of displaying one big table with duplicate values where required, it is splitting the output into a series of tables.
It might look neater, but it's not what I've been asked to provide.
Is there anything I can do to prevent this, and force Grid to display the info as one table?
Thanks,
Chris

Hello Chris,
did you already try to create a View based on your query and use this view in a Report Element?
Regards
Rob
For more info, tips and tricks on oem gc check: http://oemgc.wordpress.com

Similar Messages

  • Custom Report Item CustomData evaluation problem in a subreport loop

    Came across a strange problem with the custom report item CustomData property evaluation when using a sub report loop.
    I have a master report, which contains a sub report component within a List. The List is bound to a dataset from which a numeric value is passed on to a sub report's report parameter, and from there further down as an argument to a sub report dataset. The sub
    report contains our custom image CRI, which is bound to the said dataset. This dataset outputs a base64 encoded image data value, which the CRI then renders.
    Now the problem is that only the first sub report iteration gets evaluated correctly, rest of them seem to get their CRI CustomData from the first iteration. So essentially the loop just outputs the same first sub report over and over again.
    However, if I make the List component do a page break after each sub report, then all the sub reports start getting rendered correctly. 
    Here's how the CustomData gets initialized in the CRI designer class:
    this.CustomData = new CustomData();
    this.CustomData.DataRowHierarchy = newDataHierarchy();
    this.CustomData.DataRowHierarchy.DataMembers.Add(newDataMember());
    this.CustomData.DataRowHierarchy.DataMembers[0].Group = newGroup();
    this.CustomData.DataRowHierarchy.DataMembers[0].Group.Name = this.Name + "_SingleGrouping";
    this.CustomData.DataRowHierarchy.DataMembers[0].Group.GroupExpressions.Add(new ReportExpression());
    this.CustomData.DataColumnHierarchy = new DataHierarchy();
    this.CustomData.DataColumnHierarchy.DataMembers.Add(new DataMember());
    DataRow row = new DataRow();
    DataValue value = new DataValue();
    value.Name = "Base64";
    value.Value = ""; 
    DataCell cell = new DataCell();
    cell.Add(value);
    row.Add(cell);
    this.CustomData.DataRows.Add(row);
    The CRI also exposes the CustomData's DataSetName and a Base64 property.
    Has anyone else seen something like this happen? Not sure if this could be an issue with our CustomData configuration/usage, the API documentation is pretty much non-existent as usual. Seems more like bug to
    me.
    Leo Wartinen, Predisys Inc.

    Hi WarLe,
    If I understand correctly, you are using a list control to contain the subreport in the master report. The dataset of the list contains the field which is passed as the parameter values of the subreport. When you render the report, only the first subreport
    gets evaluated correctly, rest of them seem to get their CRI CustomData from the first iteration, right?
    If in this scenario, it seems that you haven’t add a group in the list. We can try to add a group grouped on the field which is passed as the parameter values of the subreport to check the issue again. Besides, could you mind post the sample data for the
    dataset of the list and tell us the settings for the list control? Then we can make further analysis.
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Reports 6i windows display problem on Windows NT system

    Iam using Reports 6i on Windows NT.All the reports 6i windows are became transporent windows, displying problem (repainting problem). I did fresh installation. But iam not able to solve this.

    I am using same fonts on all these plateforms.Look more closely at those fonts. They may have the same names, but the Windows 2000 versions may be larger (able to render more characters).

  • CR for Eclipse version 2.0.1 Report JSP page display problem

    I create report and Report viewer JSP page. When i run JSP page I meet with this [screen|http://www.sendspace.com/file/r2ys55]. When I select print preview the [screen|http://www.sendspace.com/file/4661oa] like this.
    I use CR for Eclipse all in one pack 2.0.1.
    Anyone know what is the problem ?
    Any help would be greatly appreciated.
    Thanks;

    Yes, we are.  We have to set the password unless there is a way to save the password in the report.  The CR designer always asks for the password.  Is there away to save the password in the report from the designer?
    Do you have an ETA on the bug fix?
    It is good to know the problem is being looked into.
    Thanks,
    GregD

  • Custom Report Syntax - Prompt for limiting collection

    I'm building a customer report that will display maintenance windows for multiple devices.  I'd like to be able to filter the number of devices reported by collection (as to not have EVERY device in the console listed all at once).
    I've got the report working for everything except the filtering part.  Do I need to add a new Dataset and then filter it somehow?  Here's my only dataset so far:
    FIELDS: Computername, CollectionName, Next_Maintenance_Window
    QUERY:
    select
    v_FullCollectionMembership.Name as Computername ,v_Collection.Name as CollectionName,
    v_ServiceWindow.Description as 'Next Maintenance Window'
    from v_ServiceWindow
    inner join v_FullCollectionMembership on (v_FullCollectionMembership.CollectionID = v_ServiceWindow.CollectionID)
    inner join v_Collection on (v_Collection.CollectionID = v_FullCollectionMembership.CollectionID)
    order By Computername
    What do I need to add to be able to select the collection 1st then run the query above?

    HI
    Or you could do it like this:
    Create a new dataset and paste in the following Query:
    SELECT
      v_Collection.Name
      ,v_Collection.CollectionID
    FROM
      v_Collection
    Where CollectionType=2
    Insert the following code in your own Query (dataset) right before order by Computername
    Where v_Collection.Name = (@CollID)
    Expand Parameters in Report Builder, you should see a paramter called @CollID
    Right-click CollID and fill in the following information on the general page:
    Name: CollID
    Prompt: Collection
    On the Available Values select Get values from a query
    Dataset: Dataset2 (the new dataset you just created)
    value field: Name
    Label field: Name
    Design your layout in report builder and run the report. You will get a drop-down box with all your device collections.
    This report is not "RBAC" enabled

  • SCCM Custom report

    Hi
    I have been asked to put together some custom reports out of SCCM 2012. Now I have looked through the reference for 2007 but there have been changes between the two products so now all the information is valid. I am hoping that someone has either already
    created similar reports that they would be happy to share or that someone can point me in the direction of some documentation for 2012 similar to that of 2007.
    SCCM reports:
    Report 1: Windows security update effectiveness
    Desktops          % having all Windows security updates
    Average time to deploy updates: average time from when update was released to when it was deployed to collection RH Workstations (PRODUCTION), in days rounded up to nearest day
    Average time for updates to be installed: complex formula, see below
    Servers             % having all Windows security updates
                            Average time for updates to be installed: complex formula,
    see below
    “Having all Windows security updates” is defined as: for all security updates, if the update was required for the target, the update has been installed.  Exclude superseded and expired updates.
    For average time for updates to be installed, the method would be:
                Time to install an update = (date updated installed, or current date if update is not installed) - (later of: date update was
    released, or system install date)
                Result to report = average of all the Time to install for all updates on all systems being reported, in days, rounded up to
    nearest day
    This is to avoid systems that are recloned or deployed after the update was released causing the metrics to go crazy.
    Thanks in advance.
    Ryan

    This report will get you started.
    http://smsug.ca/blogs/garth_jones/archive/2009/02/25/patch-compliance-progression-report.aspx
    http://www.enhansoft.com/

  • Facing Problem while Debugging a custom report using LDB

    Hi Gurus,
    I have requirement to modify a custom report program related to FI. This program used Logical database ZDF ( Copied original DDF) for data fetching.
    when i am trying to see the data in debugging mode, its not allowing to check in start-of-selection event. only in the initialization & end-of-selection i could able to debug.
    when i put breakpoint in initialization, it is allowing to see the flow till a Get Event occurs in the code, once a Get event occur the debugger is coming out and displaying the report.
    If anybody faced this kind of problem when debugging a report using LDB, please share how you resolved it. If there are any other ways to debug a program of this kind please help me.
    Thanks,
    Nanda

    Hi Amith,
    I checked that way also, i put break point in database program of the copied LDB, but its not allowing to check the flow in that program also.
    Please suggest any other ways.
    Thanks,
    Nanda

  • Custom Report times out

    Greetings,
    We are experiencing a very peculiar problem with a custom report where it times out after the stipulated 30 minutes (rdisp/max_wprun_time = 30 minutes). What is unusual is that, the same report, with the same selection criteria, finishes within 20 minutes at some times or even in a lesser duration. I have been unable to establish any correlation between when it runs and when it times out.
    Some facts.
    1. There are enough free dialog wp, memory and CPU utilization is approximately 50% (or even less) when it does/doesn't finish. By this, I mean that the system is by no means under any kind of stress.
    2. Executing the report in the background is an option, but for what the report is meant for, it is necessary to run it in the foreground.
    3. I created indices on the tables it reads, which I see being used in the Explain Plan. But using the same indices, the report doesn't finish at other times.
    4. The table does an inner join of 2 huge tables; EKPO and EKKO and also an inner join on EBELN and EKET
    5. I have checked for locks in the system, but with locks on EKPO and EKKO, the report is still able to finish at some times.
    I can probably increase the time limit further, but that is the last thing I would like to do. What is perplexing is that the report finishes within the stipulated time at times. Am I missing something here ? Any help would be greatly appreciated.
    Thanks,
    Kunal

    Just a followup before I close this thread.
    The real issue here is that the report reads table A073 which has grown up to around 1 Gb. With this table being defined as fully buffered, buffering is not possible (or results in an error rather) and large amounts of time is spent reading it. In addition to this, the the program does an inner join of this table on MARA (another huge table).
    All the above information was found out courtesy ST05.
    Thank you for the inputs as always.
    Kunal

  • How to use outer join to display the results

    I want to develop a report in which the column sequence will be as follows:
    1)Item_code
    2)Item_name
    3)Stock
    4)Pending
    5)Re-order Level
    6)Item_reorder_qty
    I had written the query, but the problem is all the products does not get displayed. The products are more than 700. But after running the query, only 364 gets displayed.
    How i can make use of outer join in the following statements :
    AND ITEM_CODE = LCS_ITEM_CODE
    AND ITEM_CODE = PI_ITEM_CODE
    AND LCS_ITEM_CODE = PI_ITEM_CODE
    in the below given query to solve this.
    SELECT
    ITEM_CODE,
    ITEM_NAME,
    ((LCS_STK_QTY_BU + LCS_RCVD_QTY_BU - LCS_ISSD_QTY_BU- LCS_REJECT_QTY_BU)/IU_MAX_LOOSE_1)STK ,
    SUM(TO_NUMBER(PI_QTY||'.'||PI_QTY_LS) - (PI_GI_QTY_BU/IU_CONV_FACTOR/IU_MAX_LOOSE_1))PNDG,
    ITEM_RORD_LVL,
    ITEM_RORD_QTY
    FROM
    OM_ITEM,
    OM_ITEM_UOM,
    OT_PO_HEAD,
    OT_PO_ITEM,
    OS_LOCN_CURR_STK
    WHERE (ITEM_UOM_CODE = IU_UOM_CODE AND ITEM_CODE = IU_ITEM_CODE)
    AND ITEM_CODE = LCS_ITEM_CODE
    AND ITEM_CODE = PI_ITEM_CODE
    AND LCS_ITEM_CODE = PI_ITEM_CODE
    AND LCS_LOCN_CODE ='RM'
    AND PI_PH_SYS_ID = PH_SYS_ID
    GROUP BY ITEM_CODE,ITEM_NAME,LCS_STK_QTY_BU,LCS_RCVD_QTY_BU,LCS_ISSD_QTY_BU,LCS_REJECT_QTY_BU,IU_MAX_LOOSE_1,ITEM_RORD_LVL,ITEM_RORD_QTY
    ORDER BY ITEM_CODE ASC
    Yogesh

    As you have no table aliases I can't tell what columns relate to which tables on your join conditions.
    Can you not just put (+) next to the outer joined columns you require on the where clause? Or perhaps consider using ANSI syntax for the joins such as <tableA> LEFT OUTER JOIN <tableB> ON (<join conditions>)

  • Problem with outer join/insert

    I created a test case in scott schema that describes my problem. I use emp table, and I want to have one more table - emp_info - that will store some additional info about employees. Not every employee will have additional info. I can't add a field to emp table - this has to be in an additional table.
    I want to display all the emp's in a swing table, and an info if it exists - of course, using outer join. Further more, I want users to be able to enter info in this same table. If info already exists in the emp_info it will be updated, if not a new record is created.
    I hope you get the picture.
    So, emp_info table is:
    create table emp_info(empno number(4), info varchar2(10))
    ALTER TABLE "SCOTT"."EMP_INFO"
    ADD (CONSTRAINT "PK_EMP_INFO" PRIMARY KEY("EMPNO"))
    ALTER TABLE "SCOTT"."EMP_INFO"
    ADD (CONSTRAINT "FK_EMP_INFO_EMP" FOREIGN KEY("EMPNO")
    REFERENCES "SCOTT"."EMP"("EMPNO"))
    In Jdev I create entitiy objects for emp and emp_info, and create View object 'ViewOuter' using these two entities. emp is updatable and empinfo is updatable and reference.
    SQL query for the view object is:
    SELECT Emp.EMPNO, Emp.ENAME, Emp.JOB, Emp.MGR, Emp.HIREDATE,
    Emp.SAL, Emp.COMM, Emp.DEPTNO, EmpInfo.EMPNO AS EMPNO1,
    EmpInfo.INFO
    FROM EMP Emp, EMP_INFO EmpInfo
    WHERE Emp.EMPNO = EmpInfo.EMPNO(+)
    I changed View row class of the ViewOuter view:
    public void setInfo(String value) {
    if (getEmpno1()==null) {
    setEmpno1(getEmpno());
    setAttributeInternal(INFO, value);
    Now I create the table in swing. It works fine - if a user changes info, new record is created or existing updated etc. There is only one problem:
    If I change info on an employee, and then requery the view without commiting to the database, I don't see this info. If I try to change it, I get error
    (oracle.jbo.TooManyObjectsException) JBO-25013: Too many objects match the primary key oracle.jbo.Key[7499 ].
    It seams that the new info is cached, but requerying the view didn't pick it up. And when it creates new row for info PK is violated.
    How can I avoid this?

    I set up the primari key for emp_info like this:
    public void setInfo(String value) {
    if (getEmpno1()==null) {
    setEmpno1(getEmpno());
    setAttributeInternal(INFO, value);
    It's set when the user enters info.
    What is the difference between transaction.commit and transaction.postChanges?
    Posting changes looks like good temp solution. How can I change view object, so it calls postchanges before executing query? Since I can do requery on multiple places in application, this should be handled by the view itself.
    Is there any better way?

  • Problem with outer join with filter on join column

    Hi,
    In physical layer I have one dimension and two facts, and there's an outer join between the facts.
    dim_DATE ,
    fact_1 ,
    fact_2
    Joins:
    dim_DATE inner join fact_1 on dim_DATE.DATE = fact_1.DATE
    fact_1 left outer join fact_2 on fact_1.DATE = fact_2.DATE and fact_1.SOME_ID = fact_2.SOME_ID
    When I run a report with a date as a filter, OBIEE executes "optimized" physical SQL:
    select fact1.X, fact2.Y
    from
    Fact_1 left outer join on fact_1.DATE = fact_2.DATE and fact_1.SOME_ID = fact_2.SOME_ID
    where Fact_1.DATE = TO_DATE('2009-05-28' , 'YYYY-MM-DD' )
    and  Fact_2.DATE = TO_DATE('2009-05-28' , 'YYYY-MM-DD')
    The filter on Fact_2.DATE effectively replaces outer join with inner.
    Is there a way to disable this "optimization", which is actually very good for inner joins, but doesn't allow outer joins?
    Thanks in advance,
    Alex
    Edited by: AM_1 on Aug 11, 2009 8:20 AM

    If you want to perform a Fact-based partitioning with OBIEE (two fact with the same dimension), you have to :
    * create in your physical layer for each fact table the joins with the dimension
    * create in the Business Model layer ONE star schema with ONE logical fact table containing the columns of your two physical fact table
    In this way when you choose minimal one column of your fact1 and one column of your fact2, OBIEE will perform two query against each fact table/dimension, join them with an OUTER JOIN and your problem will disappear.
    Cheers
    Nico

  • Need to take part of selection criteria out of a custom report (R painter)

    Hi Experts..
    I have a requirement to hide cost elements/group which appear as part of selection criteria on our custom report (report painter) for projects.
    1. Why this appears as part of the selection criteria as i did not find this defined in Edit --> General data selection. (I only found  CO area, Valuation, Fiscal year, Period, and Object in there).
    2. We have found a system performance issue when a user put in cost elements for selection. So I am required to take this out. I thought i can just take this out from General data selection.. If I can't find it in there, where would i be able to do that??
    3. Suppose I would hide this selection by creating a screen variant.. I was looking in SHD0
    but its not working with our Z T.Code...it display the error message "Variants are possible only for dialog transactions"... This does not seem to work with a custom t-code. Then how would I do this ????
    Please help clarify on this ....
    Thanks....
    Monica
    Edited by: Monica Kong on Aug 24, 2008 6:01 AM

    Hi Monica,
    I believe we have an executable report here...
    go to se38 -> enter program name -> click on "attributes" button -> display
    We can see the type as 'Executable' or 'Modulepool'
    generally a selection screen is brought by using keywords 'Parameters' or 'select-options' in Executable programs and with screen in modulepool ..although we can use a combination of both in some cases
    So in your program..
    check for keywords
    'Parameters'/'Select-options'
    The best way to proceed is to press F1 on the field that needs to be removed from selection...note the details
    "screen number" and "screen field"
    (1)By default screen number = 1000  if it is an executable program
    Now see the scrren field ..if it is select-options it will something like field-low or field-high
    so in the report
    search for field for cost center and group with keyword starting as parameters or select-options and comment the same
    Remember to comment tte fields throughout the program since this field will be used in multiple locations
    (2) if it is modulepool program note the screen number , go the program and screen and remove the field from screen painter and comment the fields where ever used in the program
    Also note that using screen variant is a good option but done if user needs specific settings on a report or we need the original report as it is plus additional report with few variations
    Hope it helps
    Pls check and revert
    Regards
    Byju

  • Left outer join problem -- need feedback

    using crystal 2008
    haveing prolbems with a left outerjoin to get a blank field(null) to show up.
    basically i have some po line have have long descriptions or text fields that i want to include with the report. Below is my sql statement. I have written a formula with a join between 2 fields to get the report to work- this does but- it leave the polines off that do not have a long description.  I have tried left outer joins but seem to be having problems.  The long description field where the data is actually at is under my po.line table, although serveral area have long description fields -
    *one note i had to add a duplicate table to the field to get some items in my header to work properly - not sure if this is effecting the report or not.
    OK- when I set up the link to a LO join enforce from = to
    and dont add the ldtext.field to the report the left outjoin works(but no long description)and all my line items show up.
    1. when I keep the same join and add either just the ld.text field to  the report it comes back with a error saying invalid table
    2. when i use my formula that joins the ld.text and po.line and place it in the report with the same left outerjoin i get the same failure.
    3.  when i dont reference the ldtext(field) at all in the report it works fine w/ the lo join
    4. when i Dont use a left outer join and use my formula(see below)
    if not isnull(({LONGDESCRIPTION.LDTEXT }))
    then {POLINE.DESCRIPTION}+{LONGDESCRIPTION.LDTEXT}
    else {POLINE.DESCRIPTION}
    and link from poline.ld
    to ld.ldtext - my formula works and populates the po.line and the ld.text together - except that any po.line with no description will not show up. Like its not there.
    Not sure what to do?
    here is my current sql statement with the longdescription field in the select statement
    here is the error statement i am getting:
    Failed to retrieve data from the database:
    Details:42000[intersolv][odb sql base driver][sql base] 00906 itn invalid table name[database vendor code:906]
    sql statement:
    SELECT "PO"."PONUM", "PO"."STATUS", "PO"."VENDOR",
    "COMPANIES"."NAME", "COMPANIES"."ADDRESS1",
    "COMPANIES"."ADDRESS2", "COMPANIES"."ADDRESS3",
    "COMPANIES"."ADDRESS4", "COMPANIES"."PHONE",
    "COMPANIES"."FAX", "COMPANIES_1"."NAME",
    "COMPANIES_1"."ADDRESS1", "COMPANIES_1"."ADDRESS2",
    "COMPANIES_1"."ADDRESS3", "COMPANIES_1"."ADDRESS4",
    "COMPANIES_1"."CONTACT", "COMPANIES_1"."PHONE",
    "COMPANIES_1"."FAX", "PO"."PURCHASEAGENT",
    "PO"."ORDERDATE",
    "PO"."REQUIREDDATE", "PO"."PAYMENTTERMS",
    "PO"."SHIPVIA", "PO"."FREIGHTTERMS", "PO"."FOB",
    "POLINE"."DESCRIPTION", "POLINE"."ITEMNUM",
    "POLINE"."ORDERQTY", "POLINE"."UNITCOST",
    "POLINE"."LOADEDCOST", "POLINE"."POLINENUM",
    "PO"."SHIPTOATTN", "LONGDESCRIPTION"."LDTEXT"
    FROM   ("MAXIMO"."PO" "PO" LEFT OUTER JOIN
    "MAXIMO"."LONGDESCRIPTION" "LONGDESCRIPTION" ON "PO"."LDKEY"="LONGDESCRIPTION"."LDKEY"),
    "MAXIMO"."POLINE" "POLINE",
    "MAXIMO"."COMPANIES" "COMPANIES_1",
    "MAXIMO"."COMPANIES" "COMPANIES"
    WHERE  ("PO"."PONUM"="POLINE"."PONUM") AND ("PO"."VENDOR"="COMPANIES_1"."COMPANY") AND ("PO"."SHIPTO"="COMPANIES"."COMPANY") AND "PO"."PONUM"='3386-053'

    If you took the time to read this thanks.... turns out... and I just want to pull my hair out over this.  My connection had a  old odbc driver so somehow it would not allow a left outer join....go figure - weeks of agony over that..... thanks ....have to say love this forum.

  • Consistently getting an error in custom reports "an error occurred" is the only msg displayed...my c

    Consistently getting an error in custom reports "an error occurred" is the only msg displayed...my clients are screaming...what is the problem?

    Hi,
    Please log a ticket with BC support for this issue. Please provide the exact steps, preferably a video. You can log the ticket from your admin panel > help & support.
    Kind Regards,
    Aish

  • Problem with custom Reports and forms in R12

    Hi All,
    we are upgrading from 1103 to R12. In R12 we are facing a peculiar problem with Reports. All seeded reports are running perfectly. But no data is coming while running the custom reports. The operating unit field in the SRS window is getting populated automatically while running the seeded reports but getting greyed off while running custom reports.
    We are facing the same problem with forms even, data is not getting retrieved in custom forms. Can any one suggest wether there is any profile option which is being missed out by us. ..
    Thank you,
    Regards
    Raj

    Add SRW.USER_EXIT('FND SRWINIT') in the afterPForm trigger.
    This will set the org context for reports.
    ~Sukalyan Ghatak

Maybe you are looking for

  • Assigning value to an input account

    Hi, We have an input account in our Account dimension. In the rule file (maybe in the consolidation routine) can we write a code which assigns a value to an input account. The assigned value maybe another account value or a static value based on a lo

  • Hooking ipod to new computer

    Ok...here's the problem...my laptop computer crashed, where all my itunes songs were kept. there was no saving the comptuer so the only place I have the songs is on my ipod itself. I have a desktop computer that i have downloaded itunes to but i need

  • Ipod wont finish syncing

    im trying to put my photos from my computer back on my ipod. i have been doing it folder by folder but its taking forever i tryed to add a folder with only 22 pics in it and it was syncing for 4 hours so i cancelled the sync and there were no extra p

  • Previous Posting Period Issue.

    Dear All,           I am working on SAP B1 2007 B.PL10. Now my client has a requirement like he doesnot want to see previous year transaction in any of the Marketing Documents or even within the Journal Enteries.          Hence can anybody suggest ho

  • Maximum Hard-drive on Lenovo T-500

    I got Lenovo T-500 2089-2KU, I was wondering what is the Max size of Hard-drive I can install on it.