SQL code to display Group Header in Reports

Please provide the sample sql module to use group headers in reports.
Even after reading the Extensibility guide, I am not able to write code with proper syntax.
I think all the below 3 parameters has to be used to show group header in Reports.
"oracle.sysman.eml.ip.render.elem.TableRender.columnGroupHeader"n
"oracle.sysman.eml.ip.render.elem.TableRender.columnGroupStart Col"n
"oracle.sysman.eml.ip.render.elem.TableRender.columnGroupEndCol"n.
I am not sure whether in a single call to mgmt_ip_param_value_record function in Reports, all 3 parameters has to be called.
Please help.

You will have to create a new mgmt_ip_param_value_record for each one of those.
I assume it will look something like this:
l_param_values(1) := MGMT_IP_PARAM_VALUE_RECORD(
'oracle.sysman.eml.ip.render.elem.TableRender.columnGroupHeader1',
'My New Group');
l_param_values(2) := MGMT_IP_PARAM_VALUE_RECORD(
'oracle.sysman.eml.ip.render.elem.TableRender.columnGroupStartCol1',
'start column');
l_param_values(3) := MGMT_IP_PARAM_VALUE_RECORD(
'oracle.sysman.eml.ip.render.elem.TableRender.columnGroupEndCol1',
'end column');
Where "start column" and "end column" would be names of columns already in your table.

Similar Messages

  • Supress Group Header in Report when Subreport is blank

    well the title says it all.
    I want to supress the main report group header when the subreport (is in details) is blank.
    I'm stuck on this:
    I'v created a shared variable in both report and subreport and it gives me the number I want but not where I wanted to appear. If I put the variable on the group footer it shows me the correct value but if I put it in the group header it shows me the previous group footer result.
    This is what I got:
    Group Header
    Client 1
    Shared Variable=0
    Details
    Contract 01
    Contract 02
    Group Footer
    Shared Variable=2
    Group Header
    Client 2
    Shared Variable=2
    Details
    Group Footer
    Shared Variable=0
    This is what I want:
    Group Header
    Client 1
    Shared Variable=2
    Details
    Contract 01
    Contract 02
    Group Footer
    Shared Variable=2
    Group Header
    Client 2
    Shared Variable=0
    Details
    Group Footer
    Shared Variable=0
    Can I do that?
    Edited by: Pedro Pinto on Jul 29, 2008 2:47 PM

    I'm going to try my best. This is what I get:
    Main Report
    Group Header
    Client 01   --    0->shared variable
    Details
    Subreport 1
    Group Footer
    2->Shared Variable
    In subreport for client 01:
    Detailsa
    Contract 01
    Contract 02
    Detailsb
    Total of contracts = 2->Shared Variable
    Main Report
    Group Header (supress this section)
    Client 02   --    2->shared variable
    Details
    Subreport 1
    Group Footer
    0->Shared Variable
    In subreport for client 02:
    Detailsa
    Detailsb
    Total of contracts = 0->Shared Variable
    For Client 03 it doesn't show anything but if Client 04 if it has contracts it only shows the contracts but not the name of the client.
    I've already did supress when is blank but in the details.

  • Tax code not displaying in me2j - Need Report for PO tax codes

    Dear Guru's,
    For Trading materials, while creating PO, we are inserting Tax codes in "Invoicing Tab". But the same(TAX CODE) is not displaying in ME2J report.
    But For service materials, we are entering tax codes in the "Services Tab" and it is displaying in the report ME2J.
    Kindly tell me a report where we can see the taxcodes for PO.
    Regards,
    deepa

    Sir,
    I did that already, but no code is displaying in that "Tax code Column" for Trading materials.
    But tax code has been entered while creating PO in "Invoicing Tab" as "V0" for example.. V0 is not displaying in ME2J Report.
    Pls. reply
    Edited by: deepa rani on Jun 4, 2008 2:54 PM

  • Hi  please send code for displaying index in alv report

    hi
    thanx in advance.
    code please for displaying index in alv report.
    thanx
    rocky

    add one more field to ur internal table
    index type i .
    before u display ALV
    loop at itab.
      itab-index = sy-tabix.
      modify itab index sy-tabix.
    endloop.
    Message was edited by:
            chandrasekhar jagarlamudi

  • PL/SQl codes

    I know very little of Pl/SQL codes used in Form builder and report builder, to make alerts, LOV, Validations,..etc.
    I know there is much more to learn but I want to know if there are any links or tutorials to learn Pl/SQL (things related to Forms and Reports Builder)

    The Help function in Forms*Builder en Reports*Builder will tell you all about the various builtin functions.<br><br>
    For further questions I suggest the Forms.<br><br>
    Regards,<br>
    Rob.

  • Multiple SQL queries in additional PL/SQL code in Report

    Hello gurus,
    I have a form in my portal populated some searching parameters and these parameters inserted into some temporary tables such as name_temp, addr_temp. And then I have a report that run based on these parameters, I have added additional PL/SQL code in the report at the time after the header was displayed. The code is as follows:
    declare
    checkname varchar2(40);
    checkaddr varchar2(100);
    begin
    select emp.name into checkname from emp
    where name = (select name from name_temp);
    select personnel.addr into checkaddr from personnel
    where addr = (select address from addr_temp);
    end;
    The problem I have is always the first SQL statement was executed, but not the second one, nor the third one. Does PL/SQL only supports one SQL statement per call? Please help. Is there a better way to handle this case?
    Thanks.
    Vince

    Hello gurus,
    I have a form in my portal populated some searching parameters and these parameters inserted into some temporary tables such as name_temp, addr_temp. And then I have a report that run based on these parameters, I have added additional PL/SQL code in the report at the time after the header was displayed. The code is as follows:
    declare
    checkname varchar2(40);
    checkaddr varchar2(100);
    begin
    select emp.name into checkname from emp
    where name = (select name from name_temp);
    select personnel.addr into checkaddr from personnel
    where addr = (select address from addr_temp);
    end;
    The problem I have is always the first SQL statement was executed, but not the second one, nor the third one. Does PL/SQL only supports one SQL statement per call? Please help. Is there a better way to handle this case?
    Thanks.
    Vince

  • Ssrs to display Page header as per the group

    Hi All;
    I have a DataSet.
    I had group the table
    Used Page breaks so that the data gets dispalyed as per the parent group
    I need to display the Page header as well as per teh parent group
    Is this possible?
    Any help much appreciated
    Thanks
    Pradnya07

    Hi Simran08,
    According to your description, you added group to the table and added page break to the group. You want to show page header according to group.
    In Reporting Services, we can use ReportItems to refer to the value of the report design surface in corresponding textbox. For example, if you want to show the group name in each page header dynamically, we can refer to the following steps:
    Right-click anywhere of page header, click Insert, then click Text Box.
    Right-click the text box, and click Expression.
    In the expression text box, type the code like below:
    =ReportItems!name.Value
    The following screenshots are for your reference:
    Reference:
    ReportItems Collection References (Report Builder and SSRS)
    If you have any more questions, please feel free to ask.
    Best Regards,
    Wendy Fu

  • How to display the last value of a field in a group in the group header

    I need to display the last quiz score from a group of quiz scores as part of the header of a group of units (the quiz score values are in the detail record).  I can not use the group footer, which would be the natural place to find the last value.  It must be in the group header because there will be a subsequent group within the unit group.  In other words, the grouping is as follows:
    Unit Group Header (Display last quiz score in unit)
    SubUnit Group Header (Display other detail summaries)
    Detail Record (including quiz score)
    SubUnit Group Footer
    Unit Group Footer
    While there is a minimum/maximum summary function, there is not a first/last function.
    Fuskie
    Who is constantly amazed at the ability of users to request report features that are not easily implented through Crystal Reports...

    Hi Fuskie,
    One suggestion to display the last quiz score in the Group Header, other than what had already been suggested, will be to use a linked subreport in the Group Header. It is not an efficient way to display the information, but it could do the trick.
    Another suggestion will be to insert a subreport in the report header, then store the last quiz score in an array for each group, then share it with the main report and display the  values in the appropriate group. In this way it will only connect twice to the data source, one for the main report and once for the subreport, instead of multiple connection for each group.
    Finally, the most efficient way will be to have this value calculated on the database side using a command object or a stored procedure.
    Patrick

  • Blank Page with repeated group header getting displayed

    Hello All,
    One more help i need,
    Am having a formula field in the group header for the same reprot which i have posted earlier and am displaying some text based on the condition and the option repeat group header is checked for each page.
    the issue here i am having is while exporting the report to .txt (flat file)
    the formula field is displaying same static data (i.e. the formula field is not evaluating while exporting to .txt)
    could you please help in resolving this.
    Thanks
    Ranjeet

    Hi Ranjeet,
    Can you attach that report with sample data to this thread?
    --Naga

  • How to display the header data on different position in alv report

    hi all,
    how to display the header data on different position in alv report.
    for example ,
    customer                                                   name
      xxxx                                                         xxxx
                     vendor        name     street 
                      xxxx         xxxx      xxxxx
    pls   help me .

    hi
    as per my understanding you need to trnasfer header internal table data  to pdf..
    please check the following links for internal table to pdf..
    Convertion of Internal table data to PDF
    This link is related to ur issue
    Re: how to insert the calling of the FM: OTF to PDF
    Thanks

  • How to add a field object to group header section in crystal report document?

    Hi All, I have got two questions mentioned below, please share your inputs. 1)I want to know whether it is possible to add a field object to header section in crystal report document programmatically? I am using crystal runtime for visual studio. I know that using RAS we can do it, but I want to do it using managed library of crystal runtime. Please suggest. 2) I am doing a POC where I am using RAS (unmanaged library) to manipulated crystal report document. Please see code below: var dbTable = _reportDocument.ReportClientDocument.DatabaseController.Database.Tables[0]; var dbField = dbTable.DataFields.FindField(item.ColumnName,                         CrystalDecisions.ReportAppServer.DataDefModel.CrFieldDisplayNameTypeEnum.crFieldDisplayNameName,                         CrystalDecisions.ReportAppServer.DataDefModel.CeLocale.ceLocaleEnglishUS); CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject fieldObject = new CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject();                     fieldObject.DataSourceName = dbField.Name;                     fieldObject.FieldValueType = dbField.Type; var groupHeaderArea = _reportDocument.ReportClientDocument.ReportDefController.ReportDefinition.GroupHeaderArea[0].Sections[i]; _reportDocument.ReportClientDocument.ReportDefController.ReportObjectController.Add(fieldObject, groupHeaderArea); In above code last line throwing exception : "The report field type is not valid." at CrystalDecisions.ReportAppServer.Controllers.ReportObjectControllerClass.Add(ISCRReportObject ReportObject, Section Section, Int32 nIndex) Thanks, Jai

    Hi Jaikumar
    As per the SCN Rules of engagement, one question per thread please.
    Re. your 1st question. Adding a field to a report is considered to be a report creation APIs (RCAPI). Only the RAS SDK has RCAPIs, so you can not use plain jane crystal APIs. For how to with RAS, see the examples here: NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    Also, consult the Developer Help Files:
    Report Application Server .NET SDK Developer Guide
    Report Application Server .NET API Guide
    Re. your second question, please create a new discussion.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Displaying Images in a Report or in PLSQL Code

    Hi all,
    I have a products catelog in an items table (item_id, item_name, item_image (blob)). I want to display it in a table form but Reports in Portal30 do not allow images.
    I can write simple PLSQL code to display table contents in tabular form (using htp, htp packages) but I could not find any procedure/function to display image stored in a db table to an HTML table.
    I shall be grateful for any help or hint regarding this. You can mail me directly if you like.

    Armaghan
    This question is best asked in the Oracle9iAS Portal Applications Forum.

  • Running total in group header doesn't display when it's at page bottom

    Post Author: Charles Denight
    CA Forum: Formula
    Hi, Using v.9 of Crystal Reports I've created some running totals using a cross-tab workaround to get the running totals into the group headers, but when the group header falls at the bottom of the page then the running total doesn't show up.Would appreciate knowing why and how to fix this.

    Replacing an item that is malfunctioning because of a manufacturing error is the bare minimum I would expect from customer service for any electronics item.
    The thing Apple does extremely well is their flat fee policy for repairs on their computers.
    I managed to break my MacBook pretty seriously (logic board needed to be replaced) and I'm sure it cost them more to repair the unit than the $328 they charged me.
    I probably would have been angry if it was something minor, but I'm guessing that most repairs to screens/motherboards/etc cost more than their flat fees.

  • How to display dynamic header title in the report?

    I have a req to display dynamic header title in the report.
    When a id is entered in the prompt text, it will display the user data based on that user_id.
    so similarly....the header title should vary each time when you select different user_id.
    How can we implement this?

    >
    Zack H wrote:
    > Lazaro,
    >
    > It depends on what you want displayed in the heading for each id.
    > Please elaborate.
    >
    > Thanks,
    > Zack H.
    Zack..I have several projects listed under several project id's...
    so when a user selects project id 00164 then it should display something like "Project document for Jon Doe"
    again when the user selects project id as 00192 then it should display something like "project document for Zimmerman"
    Did you get it??

  • Scheduling of discoverer report via concurrent program or pl/sql code

    Hi All,
    I am beginner on Discoverer Report. As per my client requirements we need to do the scheduling of discoverer report rather than manually run it every week. Also we need to do this job by help of concurrent program or pl/sql code. But I don’t know how to scheduled the discoverer report.
    Please any one help me or provide pl/sql code.
    Thanks in Advance
    Subhas Samanta

    This is one of those questions that has been asked on the forum for years now and the answer really hasn't changed in that - command line using .BAT files, command line using VBasic (Rod's expertise) and Java potential via Plus.
    You can search the forum for the fully documented answers to this but basically:
    1. you can use Disco Desktop - NOT Plus or Viewer - with good ol' MS BAT files using the command line interface
    2. you can use Disco Desktop - NOT Plus or Viewer - with good ol' MS BAT files using VBasic calls
    3. I think - although never have seen - using Java command line interface to control it via a Java program
    oh yah ...
    4. if you're running Oracle Apps I believe you can get the Concurrent Manager to run the Disco report for you as well (another of Rod's expertises)
    Russ
    Edited by: RussProudman on Oct 30, 2008 2:40 PM

Maybe you are looking for

  • QoS / Native VLAN Issue - Please HELP! :)

    I've purchased 10 Cisco Aironet 2600 AP’s (AIR-SAP2602I-E-K9 standalone rather than controller based).  I’ve configured the WAP’s (or the first WAP I’m going to configure and then pull the configuration from and push to the others) with 2 SSID’s. One

  • My iphone is stuck in recovery mode when trying to update to ios 5.

    hello, im asking for help because my iphone 3g/3gs (not sure) went into recovery mode after attempting to update to ios 5. now the thing is that.... i need to restore it because its my only phone and im still paying for service. but the point is that

  • Can't make static reference to method

    hi all, pls help me in the code i'm getting " can't make static reference to method....." kindly help me the following code gives the error: import java.rmi.*; import java.rmi.Naming; import java.rmi.RemoteException; import java.io.*; import java.io.

  • Lost everything, won't let me sync! help please!

    I built a new comp a couple months ago, and have been able to sync successfully until about a week ago, when it started giving me the file not found error message. I've tried resetting comp, uninstalling a reinstalling itunes, restoring to original s

  • Does storage systems need certification for SAP?

    Hi, Does storage systems like IBM XIV, EMC DMX and NetAPP need certification for SAP? If the server/os and database are all certified and does the storage used bu the server to host the data needs certification? thanks