Custom reports issue

Hello,
Grid Controle 11.1.0.1 on 11.2.0.1 database
OS: SLES10 64 bit
There are Standard Reports in Oracle Grid Control, not only in Grid 10g , also in my 11g version.
For example the report:
Availabilty History (Group)
shows nice icons for 'Up' and 'Down'. If you examine how this element is being created, it is a Table from SQL. The icon column is a value: 1, 2, 3, etc. There is NO obvious way i see that this value is translated into the icon.
If we copy the sql statement into a custom report, we don't see icons, but the values. Some way the value should be translated into the icon. HOW?
If we 'create like' the report into a custom report, the icons are shown!
If I add elements from different out-of-the-box reports to my custom report, the icons are lost.
How to fix this?

Hello,
well, your question is a very good one!
I did myself the following test:
"create like" a new report of my own from the "Availability History (Group)" report.
Then, in this new report, I have deleted all but the "Member Summary" section, where icons are displayed instead of values.
To conclude, I have exported this report in the XML format: emcli export_report -title="Availability History 2" -owner="******" -output_file="/tmp/Availability History 2.xml"
the delete from the Grid and reimport it: emcli import_report -title="Availability History 2" -owner="******" -files="/tmp/Availability History 2.xml"
I have checked that the icons are still displayed in the imported report, thus the XML file contains everything that is required.
Here is the file content:
<?xml version = '1.0' encoding = 'UTF-8'?>
<ReportDefinition title="Availability History 2" description="EMR_Availability_Reports_Member_Desc" system_report="0" category="IPMSG_MONITORING_CATEGORY" sub_category="IPMSG_BPEL_REPORTS_SUBCATEGORY" show_navigation="1" generate_context="0" add_toc="0" product_name="EM" is_jit_multi_target="0" target_type="composite" is_jit_target="1" style="BLAF" oms_version="10.2.0.5.0" xmlns="http://www.oracle.com/DataCenter/ReportDefinition">
<ReportWideParameters parameterName="oracle.sysman.eml.ip.render.elem.TimePeriodParam" parameterValue="0:0"/>
<ReportWideParameters parameterName="oracle.sysman.eml.ip.render.elem.TimePeriodOption" parameterValue="true"/>
<ReportWideParameters parameterName="oracle.sysman.eml.ip.render.elem.TimePeriodUserCust" parameterValue="true"/>
<ReportElement element_row="3" suppress_render="0" element_name_nlsid="IPMSG_USER_TABLE_FROM_SQL" header_nlsid="EMR_Member_Summary" element_type_nlsid="IPMSG_ANY_TARGET_TYPE" element_order="0">
<ReportElementParameters parameterName="oracle.sysman.eml.ip.render.elem.TableRender.numRowsToShow" parameterValue="10"/>
<ReportElementParameters parameterName="oracle.sysman.eml.ip.render.elem.TableRender.resourceBundle" parameterValue="oracle.sysman.resources.eml.ip.OOTBResourceBundle"/>
<ReportElementParameters parameterName="oracle.sysman.eml.ip.render.elem.TableRender.initialSortColumn" parameterValue="1"/>
<ReportElementParameters parameterName="oracle.sysman.eml.ip.render.elem.sqlStatementIsPlSql" parameterValue="false"/>
<ReportElementParameters parameterName="oracle.sysman.eml.ip.render.elem.TableRender.availabilityStatusColumn" parameterValue="2"/>
<ReportElementParameters parameterName="oracle.sysman.eml.ip.render.elem.TableRender.initialSortOrder" parameterValue="ascending"/>
<ReportElementParameters parameterName="oracle.sysman.eml.ip.render.elem.sqlStatement" parameterValue="SELECT C.target_name TARGET_ID, C.type_display_name TYPE_ID
,DECODE (A.availability_status,'Target Down','0','Target Up','1','Metric Error','2',
'Agent Down','3','Unreachable','4','Blackout','5','Pending/Unknown','6','n/a') STATUS_ID
FROM mgmt$availability_current A, mgmt$target_flat_members B, mgmt$target C
WHERE B.aggregate_target_guid = ??EMIP_BIND_TARGET_GUID??
and A.target_guid(+) = B.member_target_guid
and B.member_target_guid = c.target_guid
ORDER BY C.type_display_name,C.target_name"/>
</ReportElement>
</ReportDefinition>
In my opinion, what is important is the line:
<ReportElementParameters parameterName="oracle.sysman.eml.ip.render.elem.TableRender.*availabilityStatusColumn*" parameterValue="2"/>
which is documented here => http://download.oracle.com/docs/cd/B19306_01/em.102/b16246/info_pub.htm
I have no solution for you to specify this in the GUI, BUT, you are still able to design your report using the GUI (and thus display values instead of icons) and when your report is completed, you export the report, insert the line above and reimport the report.
I hope this helps.
Regards,
Noel Talard
Edited by: N TALARD on Nov 16, 2010 8:36 AM

Similar Messages

  • Custom Report issue

    Hi Gurs,
    I am in middle of a custom report developement which proivdes PO numbera and some of its relative dat, PR number and its relative data againust all the status of invoices(posted,parked,cancelled etc)
    the issue i m facing is client wants Purchasing group in input screen, i took the purchasing group from EBAN, but when i run the report its taking lot of time to execute,
    Could any one tell me how can i filtter the data so that i can get all the above mentioned data for a PG, or can i add any other field and make it mandatory to filter,
    please suggest any other approches /idea/ how can i reduce the time interval
    Thanks
    Ravi

    HI,
    At present we are using logic based on input example PR number first program will extract data for PR and then It checks EKKO and EKPO for PO numbers and for filter PO number program will check RBKP for invoice numbers,
    Its real Logic or you give example only?
    But if i provice Purchasing group it checks the whole EBAN and next process the same steps,
    its throwing run time errore,
    As you said your company code and invoice document date are mandatory field
    so your logic should flow from invoice table and end on PR number like below
    RBKP and RSEG you will get invoice document date and Po number
    Now pass Po number into table EKPO and get PR number ,if you want report for purchasing group wise then
    add table EKKO and pass Po number  there and ask ABAP consultant  that when Purchasing group on selection screen ,output show only that Purchase group related
    Regards
    Kailas Ugale

  • Custom report issues

    I'm creating an extension and have run into a problem. I set up a metric and got the extension working but, when I try to add a report, it errors off when I deploy it. It give the following error:
    Internal error occurred while deploying the report definitions. Make sure that this Management Plug-in is valid. Consult the OMS log file(s) for more details.
    When I look in my emoms.trc file, I see the following error:
    2008-12-22 11:32:15,786 [Thread-73] ERROR em.emx deploy.203 - ORA-06550: line 1, column 6:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    begin case declare exit for goto if loop mod null pragma
    raise return select update while with <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> <<
    close current delete fetch lock insert open rollback
    savepoint set sql execute commit forall merge
    <a single-quoted SQL string> pipe
    <an alternatively-quoted SQL string>
    Line 1, column 6 is right after the first BEGIN which, of course, is followed by a DECLARE so I should not be getting that error. Just to make sure, I executed the report.sql file directly in SQL*Plus and it ran just fine.
    Is there an issue that I'm missing?
    EDIT: I'm running the emcli program on Windows 2003 using Grid version 10.2.0.3.
    Edited by: user8178354 on Dec 22, 2008 11:15 AM

    As it's only 108 lines, here's the whole thing:
    BEGIN
    DECLARE
    l_target_types MGMT_IP_TARGET_TYPES;
    l_param_values MGMT_IP_PARAM_VALUE_LIST;
    l_target_type MGMT_IP_TARGET_TYPES;
    l_report_guid RAW(16);
    l_element_guid RAW(16);
    l_report_title_nlsid VARCHAR2(128);
    l_report_owner VARCHAR(100);
    l_curr_order NUMBER;
    l_curr_row NUMBER;
    BEGIN
    -- specify the target type associated with this report
    -- in this case the target type is 'mccd_test'
    l_target_type := MGMT_IP_TARGET_TYPES();
    l_target_type.extend(1);
    l_target_type(1) := 'mccd_test';
    l_report_title_nlsid := 'Transaction Response Time';
    l_report_owner := mgmt_user.get_repository_owner;
    -- create a report definition for the report
    l_report_guid := mgmt_ip.create_report_definition (
    p_title_nlsid => l_report_title_nlsid,
    p_description_nlsid => 'Transaction Response Time Table',
    p_owner => l_report_owner,
    p_category_nlsid => 'MCCD Test Reports',
    p_sub_category_nlsid => 'Performance Data',
    p_late_binding_target_types => l_target_type,
    p_show_table_of_contents => 0,
    p_system_report => 1,
    p_component_name => l_target_type(1)
    -- Add report so that it shows up under "reports" tab in default home page
    mgmt_mp_homepage.add_report (
    p_target_type => l_target_type(1),
    p_report_title => l_report_title_nlsid,
    p_report_owner => l_report_owner,
    p_report_order => 1
    -- create the first element in the report
    -- it will be a text element with a description of the report contents
    -- set the parameters for the styled text element
    -- we?ll provide a message and a display style
    l_param_values := MGMT_IP_PARAM_VALUE_LIST();
    l_param_values.extend(2);
    l_param_values(1) := MGMT_IP_PARAM_VALUE_RECORD(
    'oracle.sysman.eml.ip.render.elem.TextParamBean.textMessage',
    'MCCD Test Report');
    l_param_values(2) := MGMT_IP_PARAM_VALUE_RECORD(
    'oracle.sysman.eml.ip.render.elem.TextParamBean.textStyle',
    'Transaction Response Time');
    -- initialize the sequencing variables
    -- l_curr_order should sequentially increase from 1 to the number of elements in
    -- the report
    -- l_curr_row indicates the row on which to display an element
    l_curr_order := 1;
    l_curr_row := 1;
    l_element_guid := mgmt_ip.add_element_to_report_def (
    p_report_guid => l_report_guid,
    p_element_name_nlsid => 'IPMSG_STYLED_TEXT',
    p_element_type_nlsid => 'IPMSG_ANY_TARGET_TYPE',
    p_header_nlslid => null,
    p_element_order => l_curr_order,
    p_element_row => l_curr_row,
    p_parameters => l_param_values,
    p_targets => null
    -- the second element in the report is a table listing the transaction response
    -- time for various metrics
    l_param_values := MGMT_IP_PARAM_VALUE_LIST();
    l_param_values.extend(1);
    l_param_values(1) := MGMT_IP_PARAM_VALUE_RECORD(
    'oracle.sysman.eml.ip.render.elem.sqlStatement',
    'SELECT mx.key_value "Metric", mx.value "Max", mn.value "Min", av.value "Avg"
    FROM
    (SELECT key_value, value
    FROM mgmt$metric_current
    WHERE metric_name = ''Transaction Response Time''
    AND metric_column = ''Maximum Value''
    AND target_guid = ??EMIP_BIND_TARGET_GUID??) mx,
    (SELECT key_value, value
    FROM mgmt$metric_current
    WHERE metric_name = ''Transaction Response Time''
    AND metric_column = ''Minimum Value''
    AND target_guid = ??EMIP_BIND_TARGET_GUID??) mn,
    (SELECT key_value, value
    FROM mgmt$metric_current
    WHERE metric_name = ''Transaction Response Time''
    AND metric_column = ''Average Value''
    AND target_guid = ??EMIP_BIND_TARGET_GUID??) av
    WHERE mx.key_value = mn.key_value
    AND mn.key_value = av.key_value'
    l_curr_order := l_curr_order + 1;
    l_curr_row := l_curr_row + 1;
    l_element_guid := mgmt_ip.add_element_to_report_def (
    p_report_guid => l_report_guid,
    p_element_name_nlsid => 'IPMSG_USER_TABLE_FROM_SQL',
    p_element_type_nlsid => 'IPMSG_ANY_TARGET_TYPE',
    p_header_nlslid => 'Transaction Response Time',
    p_element_order => l_curr_order,
    p_element_row => l_curr_row,
    p_parameters => l_param_values ,
    p_targets => null
    END;
    END;

  • Custom report -Mb51 -EBELN,AUFNR,KDAUF & KUNNR -Data issues

    Hi,
    This custom report is related to material document list (MB51).
    I was trying to retrieve Purchase Order(EBELN),Order number(AUFNR),Sales order(KDAUF) & Ship-to-party( KUNNR) from MSEG & MKPF.
    Unfortunately
    It looks like for Sales Orders, it picks up the Customer Number but no Order Number. For STO’s, it looks like it picks up the STO # but no Customer #.
    How to over come this?
    FYI..I also tried adding fields to standard report(MB51) and it is also doing the same manner .
    Am I pulling it from Wrong tables? or is it related to DATA issues?
    Regards
    Praveen
    Message was edited by:
            PRAVEEN s

    Hi,
    This custom report is related to material document list (MB51).
    I was trying to retrieve Purchase Order(EBELN),Order number(AUFNR),Sales order(KDAUF) & Ship-to-party( KUNNR) from MSEG & MKPF.
    Unfortunately
    It looks like for Sales Orders, it picks up the Customer Number but no Order Number. For STO’s, it looks like it picks up the STO # but no Customer #.
    How to over come this?
    FYI..I also tried adding fields to standard report(MB51) and it is also doing the same manner .
    Am I pulling it from Wrong tables? or is it related to DATA issues?
    Regards
    Praveen
    Message was edited by:
            PRAVEEN s

  • Custom report: Serial number of material issue in PM order

    Hi,
    I want make customized report. please can you help on this.
    requrment is: I wan to trace the serial number for the materials issued  in PM order . please let me know how to go ahead and achive this?
    regards
    krish

    Krish,
    Have a look at the SER* tables via TCode SE16
    PeteA

  • Content Tracker Reports Query file modification issue - Custom Report

    Hi All,
    I was trying to generate a custom report using Content Tracker. I was successful in doing so. However, I found that sometimes it does not pick up the updated query file of Content Tracker reports.
    I made a change in my query:
    from SELECT * FROM Users to
    SELECT dname FROM Users
    the change is written on the file but when i generated the report from C.T. UI, it's still showing me the old results having all the columns. Tried bouncing the server as well, but no use.
    I also added a new query 24 hrs back (as SELECT count(*) As UsersNum FROM Users), it's still not recognizing it and giving error as Failure of server APACHE bridge: No backend server available for
    connection: timed out after 10 seconds or idempotent set to OFF;
    and the log says,
    Unable to execute service SCT_GET_DOCUMENT_INFO_ADMIN and function sctExecuteQuery.
    Unable to create the result set for query '(null)'. SQL statement to execute cannot be empty or null
    What could be the resolution of this issue?
    I am using UCM 11g + SSXA.

    Server bounce.
    Issue is not file update but some other issue, ongoing in another thread by Me.

  • Font issue in Custom Reports in oracle Apps R12.1.1

    Hi Friends,
    I am using Oracle Apps R12.1.1. Vision Instance.
    i develop custom report (using 10g DS ) and i used Ariel a font and i deployed custom report.it works fine
    The same report i opened in report builder and add a new parameter and used the same font Ariel and saved and then deployed but the concuurent report is showing all the columns in symbol(western) font not in arial font.
    what could be the issue? the first report shows proper font.Please let me kno the fix
    Regards

    yes i have used template.fmb only , and am using FND_KEY_FLEX.DEFINE as i mentioned earlier ,
    i have not given any where clause -- should we give any where clause to retrieve the data into the combinations(LOV)?It depends on what values you want to retrieve.
    i mean my requirement is if i give % and press tab all the valid combinations should be displayed.
    its showing no entries found.Did you review 420787.1 referenced above?
    Thanks,
    Hussein

  • Error creating custom reports. Permissions issue with custom reports

    I am having permission issues with reports. I am building a new Configuration Manager  2012 infrastructure and I have configured the Site server on Server1 and the DB is on Server2. Server2 also hosts the Reporting Point and SSRS roles/features. If
    I look in Monitoring at the Site Status and Component Status are all green no issues with the setup.
    Running SQL 2008 SP2 (no CUs). I have a service account that I used to install Configuration Manager and SQL. This service account is running the SQL service on Server2 and i am using the same account as the Reporting Services Point Account.
    I log into the SCCM console with a different user account, lets call it Admin1. This account is a member of the Full Administrator role. I can run any built in report.
    When I open the SSRS website and try to create a custom report I connect the DataSource using Windows Authentication. So the Datasource is connecting using the logged in users account. In this case Admin1. I test the connection and it connects fine.
    I test this query. (Select * from v_R_System) I only have about 10 workstations discovered so the report shouldn’t be very big. I get an error “The Select permission was denied on the object ‘v_R_System’, Database ‘CM_XXX’, schema ‘dbo’. (Microsoft sql server,
    Error: 229)”
    I have fixed the SELECT permission error by going into the database (using SQL Management studio) and granting Admin1 Select rights to the Configuration Manager database. I can now run the above query and make custom reports.
    My 2<sup>nd</sup> problem is that other members of the Full Administrator role cannot run these custom reports unless I go into the database and grant them the SELECT permission.
    Question:
    Should I have to manually go into the database to add SELECT permissions(i could use a group)? shouldnt Configuration Manager take care of this for me?
    Maybe the built in reports use the SQL service account rights and the custom ones do not? Am I doing something wrong with the Datasource when I create these custom reports?
    What is the correct process for creating custom reports?

    I think i am getting closer to a solution. After the Custom report is created. i can go back into the report. Delete the DataSource. Then browse for a dataSource. there is a datasource located in http://server2/reportserver/ConfigMgr_XXX/
    That datasource is used by all builtin reports. if you view the properties on the Credentials tab it is set to "do not use credentials" and the option is greyed out / cannot be changed.
    it looks like i still need the SELECT permissions on the database to create the report initially but at least i have solved the problem with viewing these reports.
    Can anyone confirm that what i did is correct?

  • Custom Report Template Issue

    Hi,
    I have a Custom Report Template, it is a Named Column(Row) Report that I have created. It seems I can get the look and feel I want on a per row basis. But when I try and convert it to be able to loop through for a specific type, like a break on the first column, it gets all messed up. I was wondering if someone might be able to shed some light for me on this I have tried everything
    Here is the row template
    <table width="100%"  border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
       <tr  class="Tabledetail">
          <td class="SectionHeading" width="100%" bgcolor="#336699" valign="middle">
             <img src="spacer.gif" width="1" height="1">  <b>#1#</b> 
          </td>
       </tr>
       <tr class="Tabledetail">
          <td>
             <table width="100%"  border="0" cellspacing="1" cellpadding="1" bgcolor=white>
                <tr class="Tabledetail">
                   <td>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td class=formlabel>
                      #2#
                   </td>
                   <td>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td colspan=4 class="SectionHeading" bgcolor="#336699" align=middle valign="bottom">
                      <b>Evaluation Trips</b> 
                   </td>
                   <td>
                      <img src="spacer.gif" width="10" height="1">
                   </td>
                   <td colspan=4 class="SectionHeading" bgcolor="#336699" align=middle valign="bottom">
                      <b>All Other Trips</b> 
                   </td>
                </tr>
                <tr class="Tabledetail">
                   <td>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td  class=formlabel>
                      #3#
                   </td>
                   <td  align=right class=formlabel>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td align=right class=formlabel>
                      #4#
                   </td>
                   <td align=right class=formlabel>
                      #5#
                   </td>
                   <td align=right class=formlabel>
                      #6#
                   </td>
                   <td align=right class=formlabel>
                      #7#
                   </td>
                   <td>
                      <img src="spacer.gif" width="10" height="1">
                   </td>
                   <td align=right class=formlabel>
                      #4#
                   </td>
                   <td align=right class=formlabel>
                      #5#
                   </td>
                   <td align=right class=formlabel>
                      #6#
                   </td>
                   <td align=right class=formlabel>
                      #7#
                   </td>
                </tr>
                <tr class="Tabledetail" width=50%>
                   <td>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td  class=formlabel>
                      #8#
                   </td>
                   <td class=formlabel>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td align=right>
                      #9#
                   </td>
                   <td  align=right>
                      #10#
                   </td>
                   <td align=right >
                      #11#
                   </td>
                   <td align=right >
                      #12#
                   </td>
                   <td>
                      <img src="spacer.gif" width="10" height="1">
                   </td>
                   <td align=right >
                      #13#
                   </td>
                   <td align=right >
                      #14#
                   </td>
                   <td align=right >
                      #15#
                   </td>
                   <td align=right >
                      #16#
                   </td>
                </tr>
             </table>
          </td>
       </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td><img src="spacer.gif" width="1" height="10"> </td>
    </tr>
    <tr>
    <td>Here is the before rows
    <table cellpadding="0" border="0" cellspacing="0" summary="" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#">
      #TOP_PAGINATION#
      <tr>
        <td>
          <table cellpadding="0" border="0" cellspacing="0" summary="" class="report-standard">Here is the after rows
            </table>
        </td>
      </tr>
      #PAGINATION#
    </table>But when I try and pull the upper level html tables out of the row template the format goes to heck. Anyone have any ideas?
    Thanks in advance!

    goochable wrote:
    Thanks for the input! Yeah it is based on a query from a collection as all this data is summations that i am pre-populating.
    Yes this html is probably from 1998 or 1999 I think they told me actually lol
    So there is no way to accomplish what I am trying to do then?
    There is no way I could use a break on first column and modify the header info to get the same sort of look and feel?Still not really clear what you are trying to accomplish, and in my view there are so many problems with the "look and feel" that it's not worth perpetuating.
    Making a lot of assumptions, I've come up with the kind of HTML structure I'd use when marking up this kind of data. I added a page 2 to your example on apex.oracle.com, showing a basic presentation of this structure alongside the original for comparison, and another styled using the default theme L&F.
    <li>Given the requirement to use multi-level headers (and because I prefer to have total control over the HTML), I stayed with a custom report template rather than trying to utilise column breaking with a generic column report template. This also permits use of more advanced table structures than can be supported by standard templates, such as s<tt>colgroup</tt>s to organize the table columns as well as the rows:
    Before Rows
      <table cellpadding="0" border="0" cellspacing="0" summary="" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#">
      #TOP_PAGINATION#
      <tr>
        <td>
          <table class="fish">
            <caption>Some fishy summaries</caption>
            <colgroup span="1"></colgroup>
            <colgroup span="4" class="evaluation-trips" align="right"></colgroup>
            <colgroup span="4" class="other-trips" align="right"></colgroup>
    After Rows
          </table>
        </td>
      </tr>
      #PAGINATION#
    </table><li>Rather than separate tables, the report is contained in one HTML table, utilizing the <tt>tbody</tt> element to subdivide this into separate row groups to meet the "break on first column" requirement. This is achieved using conditional row templates, with PL/SQL Expressions based on the values of metadata columns added to the query:
    Row Template 1
    Header rows and first data row for each row group. <tt>scope</tt> attributes are added to multi-column headers for improved accessibility:
      <tbody>
        <tr>
          <th colspan="9" scope="rowgroup">#C1#</th>
        </tr>
        <tr>
          <th></th>
          <th colspan="4" scope="colgroup">Evaluation Trips</th>
          <th colspan="4" scope="colgroup">All Other Trips</th>
        </tr>
        <tr>
          <th>#C2#</th>
          <th>#C4#</th>
          <th>#C5#</th>
          <th>#C6#</th>
          <th>#C7#</th>
          <th>#C4#</th>
          <th>#C5#</th>
          <th>#C6#</th>
          <th>#C7#</th>
        </tr>
        <tr class="#ALT#">
          <td class="desc">#C8#</td>
          <td>#C9#</td>
          <td>#C10#</td>
          <td>#C11#</td>
          <td>#C12#</td>
          <td>#C13#</td>
          <td>#C14#</td>
          <td>#C15#</td>
          <td>#C16#</td>
        </tr>
      #CLOSE_ROW_GROUP#
    Row Template 1 Expression
    This template is used when the row metadata shows that the current row is in a different row group from the previous row:
    #ROW_GROUP# != #PREVIOUS_ROW_GROUP#
    Row Template 2
    This is the "default" template, used for any subsequent data rows in the row group:
        <tr class="#ALT#">
          <td class="desc">#C8#</td>
          <td>#C9#</td>
          <td>#C10#</td>
          <td>#C11#</td>
          <td>#C12#</td>
          <td>#C13#</td>
          <td>#C14#</td>
          <td>#C15#</td>
          <td>#C16#</td>
        </tr>
      #CLOSE_ROW_GROUP#Both templates make use of a <tt>#CLOSE_ROW_GROUP#</tt> column value conditionally generated in the query that returns a <tt>&lt;/tbody&gt;</tt> tag if the current row is the last data row in the row group. (Mixing logic and structure in this way is not good practice, but APEX only allows up to 4 conditional row templates, which is completely insufficient for any moderately complex structure.)
    <li>Several metadata columns (incorporating heavy use of analytic functions) are added to the report query for use in the report template or CSS presentation:
    with fish as (
          select
                    c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16
                      Generate a fixed order for separate report sections/row groups.
                      (This is a guess as the actual requirement is not specified.)
                  , case c1
                      when 'OTC Summary' then 1
                      when 'Retained Catch Summary' then 2
                      when 'Discarded Catch Summary' then 3
                      when 'Discarded Species Composition Summary' then 4
                      when 'Retained Species Composition Summary' then 5
                      when 'Priority Species Biospecimen Summary - Discarded Catch' then 6
                      when 'Other Species Biospecimen Summary - Discarded Catch' then 7
                      when 'Dissection Summary - Discarded Catch' then 8
                    end row_group
                      Calculate row number within row group.
                      Copes with row order in some row groups being determined
                      numerically, while others used standard character semantics.
                  , row_number()
                      over (
                        partition by  c1
                        order by      to_number(regexp_replace(c8, '[^[:digit:]]')) nulls last
                                    , c8) group_rn
                      Calculate number of rows in row group.
                  , count(*)
                      over (
                        partition by c1) group_rows
          from
                  test)
    select
              c1
                Not clear on meaning of "Weight"/"Method" values: assumed this is
                column heading equivalent to "Species".
                Combine both source DB columns into one for HTML heading, dealing
                with various null/space/blank issues...
            , nullif(c2 || ' ', '  ') || c3 c2
            , ' ' c3
            , c4
            , c5
            , c6
            , c7
            , c8
            , c9
            , c10
            , c11
            , c12
            , c13
            , c14
            , c15
            , c16
            , row_group
                Get the rowgroup for the previous row
            , lag(row_group, 1, 0)
                over (
                  order by row_group) previous_row_group
            , group_rn
            , group_rows
                Determine odd/even row number: used for standard or alternate style.
            , mod(group_rn, 2) alt
                Generate a closing element if the row is the last row in the
                row group.
            , case
                when group_rn = group_rows
                then
                  '</tbody>'
                else
              end close_row_group
    from
              fish
    order by
               row_group
             , group_rnThis makes major assumptions about the sort order(s) and break(s) required in the report.
    <li>Finally, the visual presentation is applied using CSS rather than (mainly deprecated) HTML attributes, via an embedded style sheet in the page HTML Header:
    <style type="text/css">
    .fish {
      empty-cells: show;
      border-collapse: collapse;
    .fish tbody tr:first-child th {
      border-top: 1px solid #fff;
      font-weight: bold;
    .fish th,
    .fish td {
      padding: 3px 6px;
    .fish th {
      border-bottom: 1px solid #fff;
      border-left: 1px solid #fff;
      background-color: #275096;
      color: #fff;
      font-weight: 300;
      text-align: left;
    .fish td {
      text-align: right;
      .fish tr.\30  td {
        background-color: #dde;
      .fish td:first-child {
        text-align: left;
    </style>The default theme L&F report adds vertical borders to separate columns and column groups (latter may not be fully effective on IE: I'm not wasting my time on quirks mode fixes for that).
    The resulting report uses 60% less vertical space, and 87% less HTML code[1] than the original. Usability and accessibility are improved by eliminating nested tables and useless table cells and shim images, increasing the contrast between text and background colours, and using alternating row backgrounds for better visual tracking.
    [1] Including whitespace, but neither template is compressed in any way: both are in fully readale format including normal whitespace indentation.

  • Issue homepage custom report doesnot load on page load

    Hi Gurus,
    I have created custom report and displayed the same report on the main homepage and Issue homepage. For the main homepage the report is displayed properly on page load but on the issue homepage it does not automatically load on page load.
    It loads the following message:
    Generating analysis... Click here to view the results
    Once i click on the link it then loads the report. Can anyone offer a suggestion to resolve this problem?

    I believe the answer to your question was posted in this thread -:
    Custom Reports to Homepage
    Regards,
    Cameron

  • Custom Reports Server Issue (upgrading 10g to Weblogic 11g)

    I am having an issue with "Anonymous' user showing up when I go into the console of the Weblogic server to see all the report requests. In 10g (which we are upgrading from), I have report requests that I do a Preview from within Oracle Forms. When I do the RUN_REPORT_OBJECT/SHOW.WEB_DOCUMENT, it captures the User account and put it in the console with that username. On 11.1.1.4, using same form/report, it doesn't capture the username. If I call the reports server from the database, it does work fine.
    Anyone have any ideas if there's something I have to do in Oracle Forms to put that username in or if it's a setting on the Custom Reports Server that i need to set so that it captures the name from the Oracle Forms session.

    Hi A. Drieux,
    Thanks for the reply. i have some questions on ODI.
    Now we are using hyperion 11.1.1.3 with ODI 10.1.3. We are upgrading hyperion version 11.1.1.3 to 11.1.2.2.
    Is it possible, to use the same ODI 10.1.3 version to upgrade version(hyperion 11.1.2.2) also?
    Reply would be appreciated.
    Thanks,
    mady

  • Custom DB information on a Scheduled (Run Once, Now) Report Issue

    Hey,
    On our reporting system we have a few hundred crystal reports all with different database logon information native to the report. For all these reports, on the Process->Database tab in the CMC, we have the first radio button selected (Use original database logon information from the report).
    However, our custom reporting application is configured to pass custom DBServer name, database name, userID, password to the report to have it run against different DBs depending on the client that is running the report.
    When running the report online (not scheduled) this is not an issue, and the correct database information is applied to the report everytime. When running OFFLINE (scheduling the report to run once, run now), we are passing the same information to the report but in many instances, it is not working. If the report in the CMC has bogus native DB information that doesn't exist anywhere, the code to alter the custom DB information seems to be working properly. However, if in the CMC, the DB information is valid...the newly passed customDB information is not taking and not being applied to the report.
    Any help in resolving this would be great. This is the code function in VB .NET that passes the custom SQL information to the report:
                Private Sub cePassSQLCredentials(ByVal ServerName As String, ByVal DatabaseName As String, ByVal UserID As String, ByVal Password As String)
                    Dim currentLogon As ReportLogon
                    Dim tableIndex As Integer = 0
                    'Function to pass SQL credentials to all tables within the queued
                    'Crystal report.
                    While tableIndex < ceDoc.ReportLogons.Count
                        tableIndex = tableIndex + 1
                        ceDoc.ReportLogons.Item(tableIndex).UseOriginalDataSource = False
                        ceDoc.ReportLogons.Item(tableIndex).CustomServerName = ServerName
                        ceDoc.ReportLogons.Item(tableIndex).CustomDatabaseName = DatabaseName
                        ceDoc.ReportLogons.Item(tableIndex).CustomUserName = UserID
                        ceDoc.ReportLogons.Item(tableIndex).CustomPassword = Password
                        ceDoc.ReportLogons.Item(tableIndex).CustomDatabaseDLLName = "crdb_ado.dll"
                    End While
                End Sub
    Thanks,
    Scott

    Hi,
    I think you can not modify a job...
    Today there is the 11.1.1.6. And now you can do it. http://docs.oracle.com/cd/E23943_01/bi.1111/e22257/whatsnew.htm#CHDHEHIB

  • Migrate custom reports UCCX 8.0 to 9.0 issue

    Dear all,
    We migrated UCCX 8.0 to the new UCCX 9.0. After the migration the customized reports (designed with old version of Crystal Reports) not work in the new CCX Historical Reports 9.0.
    Any idea or procedure to migrate easy the customized reports from UCCX 8.0 to 9.0 without re-design the report with Crystal Reports 11?
    Thanks so much!

    The advice I have seen in this forum, many times, is that you do NOT have Acrobat and Reader installed together, since some components are the same (same module name?) and installing Reader causes problems for Acrobat

  • Custom report #value.FIELD# issue

    I've created a report using the custom report layout option. This type of report has field tags #column_name.LABEL# in the heading section and #value.FIELD# in the Body section.
    The layout of my report requires that some of the values, #value.FIELD# , be in the heading HOWEVER when I place them there they are returned literally. Values are only substitued when I place them in the Body section.
    AND
    If I place #column_name.LABEL#'s in the BODY section they are repeated for every row returned. How can I get the #value.FIELD# to return values in the HEADER section?

    Dear All,
    I have checked that for the company code which has COPA value field as zero there is no settlement posted in c088.
    For other company codes there are postings on date 30.11.2010 but for this company code there is no poating on date 31.12.2010.
    When I am executing co88 in test run its says:
    Invalid posting period (please check your entry)
    Message no. CK122
    Diagnosis
    You are attempting to update in a period that is locked against posting. This error can occur when you attempt to post to a period that is in the past.
    Procedure
    You can allow posting to the prior period in Materials Management. Choose Logistics -> Materials management -> Material master -> Other -> Post to previous period and activate this function for your company code.
    If the posting is to be neither in the current period nor in the previous period, then you cannot change any stock data (such as goods movements, purchasing postings, invoice entries, or settlement to materials) because stock data can only be updated in two periods. Possible entries:
    the current period in the material master record
    the previous period
    the last period of the previous fiscal year
    Please suggest on the reason ofl error in order settlement how can I rectify
    Regards
    Raju

  • UCCX 9.0(2) Custom reports with CUIC 9.0 issue

    Hello.
    I installed in our lab UCCX 9.0(2) and CUIC 9.0(1) with premium licenses. It's necessary for making custom reports used in CUIC.
    I found this document:
    http://www.cisco.com/en/US/partner/docs/voice_ip_comm/cust_contact/contact_center/crs/express_9_02/programming/guide/UCCX_BK_CFD16E30_00_cisco-unified-contact-center-express_chapter_0100.html and tryed make recomendations from it.
    But I had a problem with prerequisites #6. I can't click "Edit" button, because it is inactive. I attach 2 screenshots: from pages "Datasource" and user configuration.
    What could be the problem?
    Regards,
    Anton

    Here's a summary so far:
    Problem Description:
    Unable to edit Data Source "UCCX" in co-resident CUIC.
    Also, documentation required on CUIC Custom Reports.
    Topology:
    UCCX 9.0(2)
    Resolution Summary:
    Switched back to HRC, and then back to CUIC again. Datasource could be edited.
    See the following sections of the CUIC user guide:
    http://tools.cisco.com/squish/cddf8
    Page 50,  "Custom Templates" and "Reports and Report Definitions".
    Page 107, "Report Definitions".

Maybe you are looking for