How to generate complex reports with JHeadStart?

I have data from a DataSourceSet process in the infoTable (I use BC4J 9.0.3.10.7, JHeadStart 9.0.3.58, Oracle MVC R.Candidate 2.0, UIX 2.1.9).I need to generate a report with this data in a UIX Table. Actually, I show the data as retrieved from the ViewObject(Whole query in a table). One of the columns has Numbers and I add them at the bottom row with a GetTotalsRow process.
Now I need to have subtotals in the same table as if I do a GROUP BY but without modifying the query (I have to do this using data stored in infoTable). I also have to add complex calculations for each row.
Any idea?
PD: I'm thinking in reading data from infoTable and in a custom process create DataObjectList with all details.
is it a good approach?
is there something better?

Ariel,
I think I already answered this question on the internal mailing list. Is this correct?
If you are an Oracle employee, please use the internal mailing list.
Thanks,
Steven Davelaar.
JHeadstart team.

Similar Messages

  • How to generate a report with more than one elements in the same graph??

    I need to generate a custom report in OEM GC 10g featuring volume total capacity information and volume free capacity information both in the same graph on (Y-axis) and time on the (X-axis). I could generate only the total volume capacity graph individually, but how can the combined graph and the graph for free capacity be generated...

    Is it your values in parameter NO separated by coma? And is it
    parameter in where clause?
    Do you want something like :
    from table
    where s_no in (NO) ?
    If is answer "yes" you can create lexical parameter in report.
    You can write in report sowething like:
    select a.field1, a.field2,.....
    from table a
    &COND /* this is if is condition only one line after "from".
    if you have more lien after where then you will put this &COND
    in line where you want to have your multivalue.
    Then in your trigger in form you should write:
    sc_no := 'where a.sc_no in ('||:searchlist.c_no||')';
    ADD_PARAMETER(PL_ID, 'pamametername', TEXT_PARAMETER, sc_no);
    /* again this is if you have only one line with WHERE ili
    conditions */
    or you will write:
    sc_no := 'and a.sc_no in ('||:searchlist.c_no||')';
    ADD_PARAMETER(PL_ID, 'pamametername', TEXT_PARAMETER, sc_no);
    It will substitute line in which is your conditions with
    multivalue.

  • How to generate a report with Courrier font and no horizontal lines?

    Hi guys,
    In a wizard-generated report, I want to accomplish the following things.
    1. Print table data (I'm only printing one column) in a non-proportional font (e.g. Courrier).
    2. Suppress the vertical lines that Apex automatically puts in between each record.
    How can these two things be accomplished?
    Thanks,
    Kim
    P.S. I'm running Apex 4.1.

    Fair enough. I'll try to be more specific. Assume you're running a query from SQL Developer on a single column from a single table. In the table, the data is already formatted to be displayed using a non-proportional font (old-time religion here). SQL Developer will show the contents of the column formatted exactly like the author intended (non-proportional font and no "helpful" horizontal lines between the rows). That's exactly what I want Apex to do. In the rectangular area that Apex creates for the report contents display, I want Apex to show the rows from that table in a non-proportional font with no horizontal lines between the rows. The report query will be just about as simple as possible (i.e. select col1 from tab1 order by col 2). How should I go about achieving this result?
    Thank you so much!

  • How to generate custom report with PDF output?(Payables)

    Hi All,
    we are using some custom reports in payables modual production server the reports are working fine .
    my question is i need creat same reports in test server i have done following activities.
    1. copied rdf file from prod server and pasted into test server
    2.given excutable name in system administrator modual(concurrent-progrem-excutable)
    3.define report in system administrator modual(cocurrent-program-define) output selected PDF and given parameters.
    4. switch to payables moduale run the report ,following error showing in log file plese help how to resolve it we don,t have any custom reports in test server this is first time to creat the report.
    APPLLCSP Environment Variable set to :
    XML_REPORTS_XENVIRONMENT is :
    /APPS/dkvuatora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to: /APPS/dkvuatora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Spawned Process 2707514
    X connection to oraclefinof1:0.0 broken (explicit kill or server shutdown).
    Report Builder: Release 6.0.8.25.0 - Production on Wed Nov 18 16:06:17 2009
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 339487.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 19-NOV-2009 16:24:52
    ---------------------------------------------------------------------------

    Hello.
    Have a look to Metalink Doc ID 252715.1
    You have to login to server and issue the 'xhost +' command.
    Hope this helps.
    Octavio

  • How to generate dynamic report with JasperReport

    hi,
    I have a frame.& i have some text filed & Some image. Now i want to see the all content of this JFrame in a Excel file or in a pdf file? For this what will be the rule for genarate .jrxml file for find the report? is it possible with JasperReport ? IS there anybody can help me?
    With regards
    Bina

    Hello,
    You can base your report on a PL/SQL function return a SQL query, for ex.:
    begin
        return 'select ename, job, sal from  emp';
    end;Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/
    REWARDS: Please remember to mark helpful or correct posts on the forum

  • How to generate Incident Report with incident description field? in SCSM 2012 sp1

    Can incident description field be displayed in reports? in SCSM 2012 SP1
    Regards
    Shujjat
    Metalsoft

    ALTER PROCEDURE [dbo].[ServiceManager_Report_Incidents]
    @Classification nvarchar(max) = '-1',@SupportGroup nvarchar(max) = '-1',@ID  nvarchar(max) = null,@IncludeDeleted bit = 0,@LanguageCode nvarchar(max)= 'ENU'
    AS
      DECLARE @tableClassification TABLE (value nvarchar(256)) 
      INSERT @tableClassification (value)
      SELECT * FROM dbo.fn_CSVToTableInt(@Classification)
      DECLARE @tableSupportGroup TABLE (value nvarchar(256)) 
      INSERT @tableSupportGroup (value)
      SELECT * FROM dbo.fn_CSVToTableInt(@SupportGroup)
      DECLARE @tableID TABLE(value nvarchar(256))
      INSERT @tableID (value)
      Select * FROM dbo.fn_CSVToTableString(ISNULL(@ID, ''))
    SELECT DISTINCT
    I.Id,
    I.Title,
    Classification = ISNULL(ClassDS.DisplayName,ClassEnum.IncidentClassificationValue),
    ClassEnum.IncidentClassificationId AS ClassificationId,
    ClassEnum.ParentId,
    Support = ISNULL(SupportDS.DisplayName,SupportEnum.IncidentTierQueuesValue),
    SupportEnum.IncidentTierQueuesId AS SupportId,
    Status = ISNULL(StatusDS.DisplayName, StatusEnum.IncidentStatusValue) ,
    StatusEnum.IncidentStatusId AS StatusId,
    AssignedTo.DisplayName AssignedToUserName,
    AssignedTo.UserDimKey AssignedToUserId
    FROM dbo.IncidentDimvw I
    INNER JOIN dbo.WorkItemDimvw WI  ON I.EntityDimKey = WI.EntityDimKey
    LEFT OUTER JOIN  dbo.WorkItemAboutConfigItemFactvw ON  dbo.WorkItemAboutConfigItemFactvw.WorkItemDimKey = WI.WorkItemDimKey   AND (@IncludeDeleted = 1 OR dbo.WorkItemAboutConfigItemFactvw.DeletedDate IS NULL)
    LEFT OUTER JOIN  dbo.WorkItemAboutConfigItemFactvw CIFctForFilter ON  CIFctForFilter.WorkItemDimKey = WI.WorkItemDimKey      AND (@IncludeDeleted = 1 OR CIFctForFilter.DeletedDate IS NULL)
    LEFT OUTER JOIN  dbo.IncidentClassificationvw AS ClassEnum ON I.Classification_IncidentClassificationId = ClassEnum.IncidentClassificationId 
    LEFT OUTER JOIN  dbo.DisplayStringDimvw ClassDS  ON ClassEnum.EnumTypeId=ClassDS.BaseManagedEntityId                           
    AND ClassDS.LanguageCode = @LanguageCode
    LEFT OUTER JOIN  dbo.IncidentTierQueuesvw AS SupportEnum ON I.TierQueue_IncidentTierQueuesId = SupportEnum.IncidentTierQueuesId 
    LEFT OUTER JOIN  dbo.DisplayStringDimvw SupportDS  ON SupportEnum.EnumTypeId=SupportDS.BaseManagedEntityId                    AND ClassDS.LanguageCode =
    @LanguageCode
    LEFT OUTER JOIN  dbo.IncidentStatusvw AS StatusEnum  ON StatusEnum.IncidentStatusId = I.Status_IncidentStatusId 
    LEFT OUTER JOIN  dbo.DisplayStringDimvw StatusDS  ON StatusEnum.EnumTypeId=StatusDS.BaseManagedEntityId                      AND StatusDS.LanguageCode
    = @LanguageCode
    LEFT OUTER JOIN  dbo.WorkItemAssignedToUserFactvw  ON dbo.WorkItemAssignedToUserFactvw.WorkItemDimKey = WI.WorkItemDimKey     AND (@IncludeDeleted = 1 OR dbo.WorkItemAssignedToUserFactvw.DeletedDate IS NULL)
    LEFT OUTER JOIN dbo.UserDimvw AS AssignedTo ON dbo.WorkItemAssignedToUserFactvw.WorkItemAssignedToUser_UserDimKey = AssignedTo.UserDimKey
    WHERE
    ((-1 IN (Select value from @tableClassification)) OR (I.Classification_IncidentClassificationId IN (Select value from @tableClassification)))
    AND
    ((-1 IN (Select value from @tableSupportGroup)) OR (I.TierQueue_IncidentTierQueuesId IN (Select value from @tableSupportGroup)))
    AND
    ((@ID IS NULL) OR (I.Id IN (Select value from @tableID)))
    -- exec ServiceManager_Report_Incidents @Classification=N'281,415,9,135',@SupportGroup=N'72,-1,69,43',@ID=N'IR55145'

  • How to generate a report in Excel with multiple sheets using oracle10g

    Hi,
    I need a small help...
    we are using Oracle 10g...
    How to generate a report in Excel with multiple sheets.
    Thanks in advance.
    Regards,
    Ram

    Thanks Denis.
    I am using Oraclereports 10g version, i know desformat=spreadsheet will create single worksheet with out pagination, but my requirment is like the output should be generated in .xls file, and each worksheet will have both data and graphs.
    rdf paperlayout format will not workout for generating multiple worksheets.
    Is it possible to create multiple worksheets by using .jsp weblayout(web source) in oracle reports10g. If possible please provide me some examples
    Regards,
    Ram

  • How to generate a report direct in PDF with oracle developer 6i

    hi all
    Please help me about this issue.
    THAT How to generate a report directly in PDF using oracle developer 6i.
    Regards
    Yousuf Ahmed Siddiqui

    Hi,
    You can create the Report directly in PDF by setting some of the Report Parameters
    i.e. DESTYPE, DESNAME AND DESFORMAT as follows before calling the Report.
    DECLARE
         PL_ID          PARAMLIST;
         PL_NAME     VARCHAR2(10) := 'param_list';
    BEGIN     
         PL_ID := GET_PARAMETER_LIST (PL_NAME);
         IF NOT ID_NULL (PL_ID) THEN
                  Destroy_Parameter_List(PL_ID);
         END IF;
         PL_ID := Create_Parameter_List(PL_NAME);
         Add_Parameter (PL_ID, 'DESTYPE', TEXT_PARAMETER, 'FILE');
         Add_Parameter (PL_ID, 'DESNAME', TEXT_PARAMETER, 'c:\test.pdf');
         Add_Parameter (PL_ID, 'DESFORMAT', TEXT_PARAMETER, 'PDF');
            RUN_PRODUCT (REPORTS, 'REPORT_NAME', ASYNCHRONOUS, RUNTIME, FILESYSTEM, PL_ID, NULL);
    END;Hope this helps.
    Best Regards
    Arif Khadas
    Edited by: Arif Khadas on Apr 22, 2010 9:24 AM

  • How to generate a report in pdf from a stored proc

    Hi, i need guidance on how to generate a report in pdf from an oracle stored proc.
    The environment is oracle 10gas + 10gdb.
    On a specific event, a PL/SQL stored procedure is called to do some processing and at the end of the processing to generate report which has to be sent to the printer (and optionally previewed by the user).
    Can anyone assist me with this?

    Hi ,
    One 'simple' way is by using the DBMS_SCHEDULER db package and the procedure CREATE_JOB(....) using as job_type the value 'EXECUTABLE'...
    Read for further info in 'PL/SQL Packages and Types Reference'.
    If you have access to OEM ... you can configure this there using wizard.....
    Other way is to use the External Procedure call capabiblity of Oracle DB Server...:
    http://www.oracle.com/pls/db102/ranked?word=external+procedure+call&remark=federated_search
    My greetings,
    Sim

  • How to generate a report based on account description

    Hi Experts,
    How to generate the report based on account description, that means
    i want to generate a report on G/L account and which account numbers are having 'CASH' description.
    for Ex: G/L a/c no: 25010026-Cash and Bank balance(des)
    G/L a/c no: 101000-Cash-freight
    like this.
    please help to do this,
    good answer will be appreciated with points,
    Thanks in advance
    Venkat

    Hi shana,
    my requirement is
    I have G/L account numbers, that account numbers having some descriptions, in these some descriptions are belongs to cash transactions, i want to generate the report on these cash transactions, and the report is " G/L account, debit cash, credit cash, balance".
    is it possible or not,
    thanks in advance,
    Venkat

  • How to generate classical report

    Hi guys,
                I need a help from you. how to generate classical report can you guide me please.
    Thanks guys.

    Vijay,
    To generate a report, follow the steps below
    1) Determine the desired output for End-user
    2) Based on the desired output, write a program with data declarations for all the variales u will display in the report
    3) Write extraction routines to fetch data from the DB tables
    4) Read extracted data and bind the data for final output
    5) Output data
    here's a simple example for your ref
    report ztest.
    Table declaration
    data: it_mara type table of mara with header line.
    SELECTION SCREEN
    parameters: p_matnr like mara-matnr.
    start-of-selection.
    select * from mara into table it_mara where matnr = p_matnr.
    end-of-selection.
    loop at it_mara.
      write: it_mara-matnr, it_mara-mtart, it_mara-mbrsh.
    endloop.
    reward if helpful,
    Karthik
    Message was edited by:
            Karthik

  • Generating sub reports with XML Datasource in Jasper Report

    Hi ,
    I have a query related to report generation using Jasper Reports. I have managed to generate main report with XML as a datasource but am unable to do so for subreport. I tried serching through Google but in vain. If by chance I've missed out any of the links, i would be grateful for that. Sample code woukd really make my life better.
    Sorry in advance if i 've posted in wrong forum.(if it hurta anyone)

    Hello there,
    I am new to JasperReports and am having a similar problem. Were you able to find out how to do this. Any help is appreciated.
    Thanks in Advance
    Regards
    Sriram

  • How to generate addm report using grid

    Hi,
    how to generate addm report using grid, please provide any relevant doc/links etc.
    Thanks in advance.

    how to generate addm report using grid, please provide any relevant doc/links etc.When you start with the wrong question, no matter how good an answer you get, it won't matter very much.
    what is best way to divide board into 2 pieces using a hammer?
    Edited by: sb92075 on Oct 25, 2010 7:22 AM

  • How to generate PDF report directly instead of RPT report by using JRC ?

    Hi,
    Good Day !
    How to generate PDF report directly instead of RPT report by using Crystal Reports XI Release 2 Java Reporting Component (JRC) in desktop (Swing thick-client) ?
    My GUI program will generate a RPT report, then i can export to PDF file, this is ok, no problem.
    BUT
    i want it direct to generate a PDF report, not a RPT report.
    The code like below (2 java files)
    ClassA.java
    ReportClientDocument reportClientDoc = new ReportClientDocument();
    reportClientDoc.open(XXX, 0);  
    ParameterFieldController paramFieldController = reportClientDoc.getDataDefController().getParameterFieldController();
    paramFieldController.setCurrentValue("", "XXX", DomainClass.getXXX());        
    new ReportViewerFrame(reportClientDoc);
    // End of ClassA.java
    // Begin ReportViewerFrame.java
    public class ReportViewerFrame extends JFrame
           //Initial window frame properties.
         private final int XPOS = 80;
         private final int YPOS = 60;
         private final int WIDTH = 760;
         private final int HEIGHT = 550;
         private ReportViewerBean reportViewer = new ReportViewerBean();     
         private ReportClientDocument reportClientDoc = new ReportClientDocument();     
         public ReportViewerFrame(ReportClientDocument reportClientDoc) throws    Exception
              //Initialize frame properties.
              this.setResizable(true);
              this.setLocation(XPOS, YPOS);
              this.setSize(WIDTH, HEIGHT);
              this.setTitle("Crystal Report Java Viewer");
              //Add GUI components to the frame including the ReportViewerBean.
              addComponents();
              //Add GUI listeners to the frame.
              addListeners();
              //Set the report that the ReportViewerBean will display.
              this.reportClientDoc = reportClientDoc;
              reportViewer.setReportSource(reportClientDoc.getReportSource());     
              reportViewer.init();
              reportViewer.start();
              //Display the frame.
              this.setVisible(true);     
    How to set the export option to PDF base on existing code ?
    Where can i download this package/jar ?
    regards

    Please find a console app that you can extend it to a JFrame app by importing the relevant swing package:
    //Crystal Java Reporting Component (JRC) imports.
    import com.crystaldecisions.reports.sdk.*;
    import com.crystaldecisions.sdk.occa.report.lib.*;
    import com.crystaldecisions.sdk.occa.report.exportoptions.*;
    //Java imports.
    import java.io.*;
    public class ExportReport {
         static final String REPORT_NAME = "ExportReport.rpt";
         static final String EXPORT_FILE = "C:\\myExportedReport.pdf";
         public static void main(String[] args) {
              try {
                   //Open report.               
                   ReportClientDocument reportClientDoc = new ReportClientDocument();               
                   reportClientDoc.open(REPORT_NAME, 0);
                   //NOTE: If parameters or database login credentials are required, they need to be set before.
                   //calling the export() method of the PrintOutputController.
                   //Export report and obtain an input stream that can be written to disk.
                   //See the Java Reporting Component Developer's Guide for more information on the supported export format enumerations
                   //possible with the JRC.
                   ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
                   //Release report.
                   reportClientDoc.close();
                   //Use the Java I/O libraries to write the exported content to the file system.
                   byte byteArray[] = new byte[byteArrayInputStream.available()];
                   //Create a new file that will contain the exported result.
                   File file = new File(EXPORT_FILE);
                   FileOutputStream fileOutputStream = new FileOutputStream(file);
                   ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(byteArrayInputStream.available());
                   int x = byteArrayInputStream.read(byteArray, 0, byteArrayInputStream.available());
                   byteArrayOutputStream.write(byteArray, 0, x);
                   byteArrayOutputStream.writeTo(fileOutputStream);
                   //Close streams.
                   byteArrayInputStream.close();
                   byteArrayOutputStream.close();
                   fileOutputStream.close();
                   System.out.println("Successfully exported report to " + EXPORT_FILE);
              catch(ReportSDKException ex) {
                   ex.printStackTrace();
              catch(Exception ex) {
                   ex.printStackTrace();
    As to the relevant jar(s) deployment refer to this link (Java Reporting Component Configuration):
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/JRC_SDK/jrc_java_dg_doc/doc/jrcsdk_java_dg/WorkingWithJRC2.html#1004391
    Cheers

  • How to call PDF Report with parameters in jdeveloper 10.1.3

    Hi all,
    how to call PDF Report with parameters in jdeveloper 10.1.3
    for example I have Report name is repdept.pdf with parameter as deptno
    and I want call this Report from JSP page ?
    thanks
    frank

    Hi all,
    how to call PDF Report with parameters in jdeveloper 10.1.3
    for example I have Report name is repdept.pdf with parameter as deptno
    and I want call this Report from JSP page ?
    thanks
    frank

Maybe you are looking for

  • Calendar's before(Object when) method

    Can anyone shed some light on this subject? Why is it permissible to call cal.before(myTextArea) or cal.after("Hello") ??? The API even defines Object when as a Calendar instance! But this isn't enforced in the method signature! What's most alarming

  • Can I use SPRO to configure SAP CRM web based application.

    Hi,    I am just 5 days old in SAP solutions. I want to know if I can use SPRO (IMG) to configure master data and business processes pertaining to SAP CRM web based solution ? Regards, Diptendu.

  • Prime 1.3 and FTP to Reports

    Hi all, I am trying to figure out how to FTP to my Prime installation to export reports to SQL Reporting services. I first attempted to change the location under Administration > System Settings > Report but see that it must be local. Now what I thin

  • Problems with distributed applications.

    I m' working on a application that will allow a computer(client) to communicate with an other computer(server). So, i want the client to receive an interface of my application(not in html but in java) that is all ready present in a class on the serve

  • Why don't my photos want to save when i take one?

    When i want to take a picture in booth photo, it doesn't want to save it for me. why should i do?