Re: Generating Dynamic Xcelsius Report

Hi all,
I need to develop an Xcelsius Report on Sales by Material, which has, the data as following:
Year   Month    MaterialGroup       Material          Sum_of_netprce/Material
2009   Jun         oxyz                    1234                  340$
2009   July       1234                      3456                  450$
2010   Dec       dfghj                      4567                  500$
2010   Jan        yuofv                     5696                 321$
http://demo.qlikview.com/QvAJAXZfc/AccessPoint.aspx?open=&id=Demo
|QT%20Sales%20demo%20YTD.qvw&client=Ajax
And i would like to prepare my report similar to the link provided using above data.
Also, when I generate a Column Chart for Sales by Material by month and Sum_of_netprce/Material it gives me  Multiple months for each and every material. Can you also help me on this.
1) I have used Label Based Menu for generating Year from source data.(within which i have used filtered rows and selected the source and the destination)
2) I have populated the MaterialGroup using List Box from the destination data.( also i get all the materials related to that particular Year, when i click on Year)
3) Also, generated Top 100 materials using List View from destination.
I want my report to be dynamic, ie., if i select an Year, it should show me the Months, MaterialGroups, the Column Chart Etc. and vice versa.
Any kind of advice is appreciated.
Thanks in Advance!!!
Edited by: Ragini_sri on Jun 2, 2010 10:15 PM

Hi,
RSRT is tcode Query debugging.
You can set the Query properties there and can execute the report and findout whether its running fine or any warnign messages its giving......i.e , whether everythign is ok withthat query or not.
Assign points if it helps.....
Jyothi.

Similar Messages

  • How to create dynamic web report in 10G Grid Control

    Hi experts..
    In OEM 9i, it provides a OEMgenerationServlet servlet to generate dynamic Web reports, my company uses the servlet to generate many OEM report, those reports cal also take parameters, such as dabatase name. the generated web reports are viewable to public end users. I am looking for a similar function in 10G Grid control...
    Does anyone have the similar requirement, any suggestion will be highly appreciated..
    Regards,
    Jinsen

    Hi,
    Thank you for the reply. I read about Clear and Purge from Oracle Doc about 10gR2, but nothing about R1. I drilled down all the way, can't find any thing to click for clear and purge. And I can't find anything from Oracle Doc, either.
    Laura

  • File name field not generating dynamic file name for report printing

    Hello Folks,
    I have a report region on a page and have enabled report printing. I would like to have the file name generated dynamically. So, I add the substitution string, say "&P1_CUSTOMER_NAME." (no quotes). The output file I get is literally named "&P1_CUSTOMER_NAME..pdf" (no quotes).
    I have seen several posts suggesting the file name field should accept this syntax but, I cannot get it to work.
    We are running Application Express 3.2.0.00.27 and BI Publisher.
    Any suggestions?
    Thanks for your help.
    -Markus B.

    I was finally able to make it work using a page process and the APEX_UTIL.DOWNLOAD_PRINT_DOCUMENT with a submit button.
    -Markus B.

  • Generating Dynamic Query for Ad-Hoc Reports

    Hello,
    What is the best way to create a dynamic query to generate ad-hoc reports? I have a couple of ideas but not sure which would work best and be most flexible.
    I would like our users to be able to check checkboxes for what data they would like returned in their report. The data would be pulled from a number of tables, 10+, depending on what pieces of data they checked.
    Should I write one dynamic query, with a bunch of IF statements in it?
    Should I write many individual queries and then join them together in a temp query?
    Should I create a temp table on our SQL server which contains the data from all of the tables; then query that? (I am worried about data being out-of-date with this option.)
    Which one of these solutions should I go with or is there a better solution that I am not considering?
    Thanks for the help.
    Josh

    Do you mean a Stored Procedure? Would the Stored Procedure then have one query on it with a bunch if IF statements? Maybe a bad example, but something like this?
    Yep.
    I haven't written a proc for a coupla years (I have DB people to do that for me now, bless 'em), but every DB is different, so the approach will vary depending on what DB you have.  It's perhaps time to buy a book or do a google or something.
    Adam

  • Generate graphics dynamically in reports

    Hi,
    does anybody know how to generate dynamically produce graphics in reports 6 or 6i version....if so where can i find the information about it.
    please help me out...
    thanks,
    kk.

    Hi, Ram,
    No, that's a fundamental difference betwwen rows and columns in SQL. What rows appear in the output of a query is goverened by what data is found, but the columns all have to be hard-coded into the query.
    One thing you can do is Dynamic SQL , where you run a query, and then use the output in constructing another SQL statement. The output of the preliminary query may be 365 rows, which become 365 lines defining 365 columns in the main query.
    See [this thread|http://forums.oracle.com/forums/message.jspa?messageID=3227306] for an example of doing dynamic SQL in SQL*Plus.
    If you'd like help, post a little sample data (CREATE TABLE and INSERT statements), and the results you'd like from that data.
    Simplify as much as you can. For example, post an example that has 3 columns, but explain that in your real application you'll need 365.
    Edited by: Frank Kulash on Feb 10, 2010 3:39 PM
    Somehow, the link above isn't displaying properly.
    The Dynamic SQL example is at:
    Help for a query to add columns

  • PLSQL processing of a dynamic sql report

    Hi there,
    I have a problem processing a dynamic sql report, specifically in referencing the PL/SQL column headings I have.
    Basically I have a report that generates one row for each project a person belongs to, and then using htmldb_item.text creates one field for each day of the week (sysdate - sysdate+6) so that people can enter their hours worked. The idea is they then press a submit button and the hours are entered into a project table something like (date_worked, project_id, hours_worked), one row for each entry.
    So I have:
    for i in 1..HTMLDB_APPLICATION.G_F01.count
    loop
    ... err... here I want to insert into the table the values(column_header, project_id, HTMLDB_APPLICATION.G_F01(i)).. but I don't know how to access that column_header value.
    Is this possible and if so, how?
    Many thanks,
    Tosh.

    that gives me the values of the text fields, but what
    I'd like to insert is the value of the column
    header... so for example:Yes, I understood what you meant. I did have a differect project_id for each INSERT in my SQL above. I guess that should have been day_id
    Since you are generating the tabular form SQL manually, you know which htmldb_item.text index corresponds to which column (which represents day_id in your case). So, use this to write 6 INSERT statements, one for each day. day_id would be a number going from 0 thru 6 where 0 represents Sunday and 6 represents Saturday.
    Bottom line: This is like generating/updating a calendar, your column headings are always fixed (Sun thru Saturday), just the date they represent would change.

  • Dynamic crystal report generation - issues with column headings

    Hi All,<br>
    I'm trying to generate a crystal report dynamically based on a "result set" data(Query: select REPORT_ID, REPORT_NAME, REPORT_DESC, RPT_FILE_NAME, LOCATION from IRS_REPORT_DETAILS). I'm able to generate the report run time, But the report is without columns heads. I would like to include the column headings as well. <br><br>
    I searched the API(RAS) and found that there is a 'add(java.lang.String fieldName, java.lang.String headingText) " method present in "ReportObjectController" using which we can add the headings.<br><br>
    ReportDefController reportDefController = clientDoc.getReportDefController();
    ReportObjectController reportObjectController = reportDefController.getReportObjectController();
    reportObjectController.add( "{Table.Field}", "FieldName" );
    <br><br>
    I'm facing problems in using this code. When trying to use this function for my fields(Ex: reportObjectController.add( "{ IRS_REPORT_DETAILS.REPORT_ID}", "Report ID" );) it is giving me the following error:<br><br>"com.crystaldecisions.sdk.occa.report.lib.ReportSDKGroupException: The field was not found.---- Error code:-2147213310 Error code name:fieldNotFound"<br><br>
    <b>The following is my dynamic crystal report generation code:</b><br><br>
    public ReportClientDocument execute(String repName, String query) {
              ReportClientDocument boReportClientDocument = null;
              try {
                   boReportClientDocument = new ReportClientDocument();
                   boReportClientDocument.newDocument();
                      // Add a table based on the given Resultset to the report.
                   dbConnResultSet mySampleResultSet = new dbConnResultSet();
                   //mySampleResultSet.execute(query);
                   boReportClientDocument.getDatabaseController().addDataSource(
                             mySampleResultSet.execute(query));
                   IReportSource test = boReportClientDocument.getReportSource();
                   // Access all the database fields
                   DatabaseController databaseController = boReportClientDocument
                             .getDatabaseController();
                   IDatabase database = databaseController.getDatabase();
                   Tables tables = database.getTables();
                   ITable table = (Table) tables.getTable(0);
                   int NO_OF_FIELDS = table.getDataFields().size();
                   int LEFT_POSITION = 200;
                   // Add all the database fields to the report document
                   for (int i = 0; i < NO_OF_FIELDS; i++) {
                        IField field = table.getDataFields().getField(i);
                        FieldObject fieldObject = new FieldObject();
                        fieldObject.setFieldValueType(field.getType());
                        fieldObject.setDataSource(field.getFormulaForm());
                        IReportObject rep = (IReportObject) fieldObject;
                        IObjectFormat objformat = rep.getFormat();
                        objformat.setEnableCanGrow(true);
                        objformat.setHorizontalAlignment(Alignment.from_int(1));
                        rep.setFormat(objformat);
                        rep.setLeft(LEFT_POSITION);
                        rep.setWidth(1000);
                        LEFT_POSITION = LEFT_POSITION + 1000 + 50;
                        ISection section = boReportClientDocument
                                  .getReportDefController().getReportDefinition()
                                  .getDetailArea().getSections().getSection(0);
                                   //***************** Data being added to the report here, But headings are not added*****************
                        boReportClientDocument.getReportDefController()
                                  .getReportObjectController().add(rep, section, i);
                   boReportClientDocument.createReport();
                   /*Some report saving code is present down*/
              } catch (ReportSDKException ex) {
                   ex.printStackTrace();
              } catch (Exception ex) {
                   ex.printStackTrace();
              return boReportClientDocument;
    <br><br>
    appreciate your help.

    IField field = table.getDataFields().getField(i);
    Here you are getting the first field in the array.  This may not be the field you want to add since we aren't sure how the arrays are ordered when retrieving fields from the report.  It is better to retrieve the fields with the findObjectByName method, thus ensuring you are retrieving the field you want to add to your heading.

  • Integrate Xcelsius Report in WebDynpro for ABAP

    Hi all,
    I would like to integrate Xcelsius reports into WD for ABAP. This shouldn't be a problem if using EHP1 in ERP backend.
    But what I would to do is to influence the report's behaviour. E.g. by clicking on a button I want the report to change.
    Is it possible to trigger events from WD ABAP into an integrated Xcelsius report?
    Regards
    Christoph
    Edited by: Christoph Hofmann on Nov 5, 2009 11:58 AM

    >
    Kareemullah Quadri wrote:
    > Hi Thomas
    >
    > If we would like to write a wrapper Flex application, the generated SWF in Xcelsuis compiles only with Flex SDK 2.0.1 Hotfix 3.
    > But this wrapper Flex cannot include Flashisland library as this is supported only by Flex SDK 3.0.
    > What is the solution or am I missing something here ?
    >
    > Regards
    > Kareem
    I believe this is a duplicate question to another thread, but SAP supplies both a Flex 2 and Flex 3 version of the FlashIslands SWC.  Just use the Flex 2 library.

  • Change the source of place holder dynamically in report

    Hi,
    We need to assign values to place holder dynamically in report pages based on the page number.
    Basic requirement is to have dynamic images (generated in before report trigger with file name having timestamp and page number) in dynamic pages (getting repeated based on number of lines in the report).
    Is there any way we can have a place holder mapped to this field (Read from file, type: Image) and change the source dynamically when each page is formatted?
    Any pointers for this will be helpful.
    Thanks,
    Ayyappa

    Hi,
    We need to assign values to place holder dynamically in report pages based on the page number.
    Basic requirement is to have dynamic images (generated in before report trigger with file name having timestamp and page number) in dynamic pages (getting repeated based on number of lines in the report).
    Is there any way we can have a place holder mapped to this field (Read from file, type: Image) and change the source dynamically when each page is formatted?
    Any pointers for this will be helpful.
    Thanks,
    Ayyappa

  • Dynamic Oracle reports with queries

    I would like to know what the method is for dynamically enerating reports in Oracle, when you want to provide some values for certain fields, based on which the report is generated. For example, I may want the user to specify a range of dates, such as >7/12/00 and <12/12/00 or something, so as to generate a report giving the information for all records with dates lying in between those two dates...similarly, there could be some other
    fields for which also values could be specified as a range or a specific value.
    Can this be done by adding user parameter to the parameter form in Oracle reports? Otherwise, is there any way to connect an Oracle form to reports, which would allow the user to specify these criteria in the Oracle
    form, and then based on the criteria a report would be generated? If that is possible, I suppose, it would also
    be possible to provide a drop down list if necessary, from which the values for the
    fields/criteria could be selected. I don't suppose such a thing could be done by just adding user parameter to the parameter form...
    I would appreciate a response to this.
    Thanks.
    Suchitra

    I think it could be done with either of the two things you said. You could have them enter the dates in a form, then pass whatever they enter to the report using a parameter list (create_parameter_list built-in) and the run_product built in. Or you could have them enter the paramters in a parameter form. See the report "HOW TO CREATE A DYNAMIC REPORT USING LEXICAL PARAMETERS" under "Documentation" on the technet site for help. I'm trying to do similar things so I haven't quite worked it all out yet but I'm getting there.
    Good luck...

  • Generate matrix summary report in SQLplus

    I have following coloumns in a table
    PERSON      (id)
    EDU     (educated,non-educated)
    CITY     citycode
    COUNTRY     countrycode
    I have to generate matrix summary report in SQLplus.
    I have to print countrycode in vertical coloumn(LEFT MOST),
    I have to print citycode in horizontal row(TOP MOST),
    I have to print count(educated),count(non-educated),total(educated+non educated) in each city
    in matrix cells.
    Every city code will have three coloumns below it (three counts).
    I need help in this problem.
    Thanks in advance.
    Regards.

    The following is one method. You will need to modify it and expand it for the appropriate city codes and number of cities or create it dynamically. You will need to substitute the actual city codes for CITY1, CITY2, CITY3, etc. You will also need to substitute your table name for your_table. This example assumes that the edu column is populated with N for non-educated or Y for educated; If not, then you will need to modify that, too. You could also use the CASE statement or write it in PL/SQL, or use the Reports module of Developer 2000, or various other alternatives. This is just one suggestion.
    SELECT   country,
             SUM (DECODE (city, 'CITY1', educated))        AS city1_educated,
             SUM (DECODE (city, 'CITY1', non_educated))    AS city1_non_educated,
             SUM (DECODE (city, 'CITY1', total))           AS city1_total,
             SUM (DECODE (city, 'CITY2', educated))        AS city2_educated,
             SUM (DECODE (city, 'CITY2', non_educated))    AS city2_non_educated,
             SUM (DECODE (city, 'CITY2', total))           AS city2_total,
             SUM (DECODE (city, 'CITY3', educated))        AS city3_educated,
             SUM (DECODE (city, 'CITY3', non_educated))    AS city3_non_educated,
             SUM (DECODE (city, 'CITY3', total))           AS city3_total
    FROM     (SELECT   country,
                       city,
                       SUM (DECODE (edu, 'Y', 1, 0)) AS educated,
                       SUM (DECODE (edu, 'N', 1, 0)) AS non_educated,
                       COUNT (*)                     AS total
              FROM     your_table
              GROUP BY country, city)
    GROUP BY country

  • Dynamic Matrix Report

    Hello All,
    I need to develop a dynamic report generator for matrix report.
    I'd appreciate any advice/insight regarding that.
    Thanks,

    Hi guys,
    I'd appreciate if there is any thoughts regarding this dynamic matrix layout.

  • While generating a crystal report can we edit database fiels in field explorer (at middle can we edit database fields)

    while generating a crystal report can we edit database fiels in field explorer (at middle can we edit database fields)

    Wrong forum to post the question, try to post the question in crystal reports community.
    Its not possible to edit the database fields while creating the reports, its only used to call the rows of values in it. Can you explain me in detail what are you actually looking for .
    --SumanT

  • While generating a crystal report can we edit database files in field explorer ?

    Hi,
    while generating a crystal report can we edit database files in field explorer (at middle can we edit database fields)
    Regards,
    Mahendra

    Wrong forum to post the question, try to post the question in crystal reports community.
    Its not possible to edit the database fields while creating the reports, its only used to call the rows of values in it. Can you explain me in detail what are you actually looking for .
    --SumanT

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

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

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

Maybe you are looking for