Dynamic Report with Hundreds of Columns in APPS -- Possible ?

I am working on a design of building a dynamic report with up close to 1000 columns in Oracle MFG. Depending on the number of item parameters user entered, the report could have 100, 200, 500, up to 1000 columns. User wants the report exported to EXCEL to do analysis.
Is this huge report possibly built and run in Oracle APPS? What are the major issues and limitations involved and what attentions I should give to design and build? Thanks in advance.

Since formatting is not important, I would use pl/sql. Pl/sql is better suited for dynamic sql. With utl_file you can write the results of your dynamic query to a csv fiel for import in Excel.

Similar Messages

  • Creating dynamic reports with overflowing columns

    I'm working on designing a reporting module that will create reports in PDF format that can be viewed or printed. The reports will have overflowing columns and rows. The user will be able to specify the columns and will also be able to justify placing of logos in the header.
    I am reviewing several tools like Dynamic PDF Generator for Java, and was wondering if there other tools that can help. The tools can either be free or paid.

    Hi John,
    It's a lot of processing but using the formula on the position of the column may work for you... Right click on the field and select Size and Position and then click on the X2 button and then write a formula based on some logic that determines if and where the column is displayed.
    If the second column is always there then just hide the 3rd column... but if the 3rd column needs to be moved to the second columns position then you have to determine if the value is true or false and if the second column does exist etc....
    Sorry I don't have any samples but I'm sure someone out there does.... Or can provide details if you need them.
    Thank you
    Don

  • Use a delivers agent on a report with "Is Prompted" column, 11g

    Hi all,
    I have a report with is prompted filter on a column. And the report are working fine.
    But now the customer have asked me to set up a deliver agent on the report. And when the agent is running the report it is not working.
    The column that is set to "is prompted" has a expression in business layer and in that expression we are using a session variable. If I changes "is prompted" to a static filter or no filter the agent works fine. I'm getting this error when the agent tries to run the report:
    [nQSError: 77006] Oracle BI Presentation Server Error: A fatal error occurred while processing the request. The server responded with: Odbc driver returned an error (SQLExecDirectW).
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred.
    [nQSError: 43113] Message returned from OBIS.
    [nQSError: 23006] The session variable, NQ_SESSION.access_voc, has no value definition. (HY000)
    SQL Issued: {call NQSGetQueryColumnInfo('SELECT "Espor voc fields"."Field name" FROM "Esporingdata"')}
    SQL Issued: SELECT "Espor voc fields"."Field name" FROM "Esporingdata"
    Error Codes: AGEGTYVF
    AgentID: /users/weblogic/Linus_test_agent
    ...Trying main Agent loop again.... Sleeping for 6 seconds.[nQSError: 77006] Oracle BI Presentation Server Error: A fatal error occurred while processing the request. The server responded with: Odbc driver returned an error (SQLExecDirectW).
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred.
    [nQSError: 43113] Message returned from OBIS.
    [nQSError: 23006] The session variable, NQ_SESSION.access_voc, has no value definition. (HY000)
    SQL Issued: {call NQSGetQueryColumnInfo('SELECT "Espor voc fields"."Field name" FROM "Esporingdata"')}
    SQL Issued: SELECT "Espor voc fields"."Field name" FROM "Esporingdata"
    Error Codes: AGEGTYVF
    AgentID: /users/weblogic/Linus_test_agent
    ...Trying main Agent loop again.... Sleeping for 8 seconds.[nQSError: 77006] Oracle BI Presentation Server Error: A fatal error occurred while processing the request. The server responded with: Odbc driver returned an error (SQLExecDirectW).
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred.
    [nQSError: 43113] Message returned from OBIS.
    [nQSError: 23006] The session variable, NQ_SESSION.access_voc, has no value definition. (HY000)
    SQL Issued: {call NQSGetQueryColumnInfo('SELECT "Espor voc fields"."Field name" FROM "Esporingdata"')}
    SQL Issued: SELECT "Espor voc fields"."Field name" FROM "Esporingdata"
    Any Help Much Appreciated
    Linus

    Hi Linus,
    Where you able to solve this issue or do you have additional findings to your issue? I'm facing a similar problem: a session variable has no value defined when running from the agent.
    Please let me know,
    Thanks,
    Santiago

  • Is it possible to sort an interactive report with a default column ?

    Hi,
    I have a nice request used with an interactive report.
    select "ID",
    "DATE_CREATION",
    "SERVICE",
    "RESPONSABLE",
    "NATURE_CONTRAT",
    "SOCIETE",
    "DATE_DEBUT",
    "DATE_FIN",
    "DELAI_RENOUVELLEMENT"
    from "#OWNER#"."CONTRATS_MAINTENANCE"
    order by DATE_FIN descUnfortunately, the interactive report does not displays using the order into the SLQ query.
    I tried to de select the "sort" option of each other columns into the Column attributes Section, but without any improvement. If I remove the order statement from the SQL query, nothing changes in the order.
    Do you have an idea on how to display the lines in the order of the sql query ?
    Thank you for your knid answers !
    Chrstian

    Christian,
    This can be a little tricky at first. Try this:
    1. Remove the order by clause from the query.
    2. Log out of the application, not the builder, just the application.
    3. Log back in and try using the options in the interactive report to sort the information.
    Does it work? If so:
    4. Get the order the way you would like it as the default. Note: you get more sort options if you use the Action Menu (grind wheel) and selecting Sort over just clicking the column headers.
    5. Save the report by selecting the Save Report option from the Action Menu. If you see a drop down, save the report as the "default".
    6. Log out of the application again and back in.
    Does it work?
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • SQL Report with 1 updatable column - help urgent

    Hi,
    I have a SQL report. I am using collection to store value of selected record by link column.
    I have a updatable text item (NULL) in the column. I am able to store that value in the collection.
    Any clue?
    Code
    1. Creating a collection in parent page:
    apex_collection.create_or_truncate_collection
    (p_collection_name => 'ORDER');
    2. Query to populate item rows with option to key 'QTY' before pressing 'Add to Order' link.
    select
    itemcode,
    description,
    NULL AS qty,
    'Add to Order' add_to_order
    from itemtab
    3. Made 'QTY' to Text item -- to allow users to key value
    4. Created 'hidden & protected' items P1_ITEMCODE, P1_QTY
    5. Set values of itemcode, qty in add_to_order link
    6. Created a process to add values into collection:
    for x in (select * from itemtab where itemcode = :P1_ITEMCODE)
    loop
    apex_collection.add_member(p_collection_name => 'ORDER',
    p_c001 => x.ITEMCODE,
    p_c002 => x.DESCRIPTION,
    p_c003 => :P1_QTY
    end loop;
    7. Display value of itemcode, description, qty in report region
    select c001, c002, c003
    from apex_collections
    where collection_name = 'ORDER'
    Probem: The value of qty is not being stored in the collection and not appearing in the #7 report. itemcode and description values are fine.
    Thanks,
    Dip

    Dip,
    I'm guessing here as I can't see your application, I think your missing the page process to collect the data from your QTY field.
    I created a quick demo of what i think your trying to achieve on apex.oracle.com
    http://apex.oracle.com/pls/apex/f?p=19923:2
    I added this to the html expression on the report Field add to:
    <input type="button" onclick="doSubmit(#RANDOM_ID#)" value="Add To" />
    Then the page process to collect and set the page item:
    DECLARE
    l_qty number;
    BEGIN
    FOR i in 1..APEX_APPLICATION.G_F03.COUNT LOOP
    l_qty := nvl(APEX_APPLICATION.G_F03(i),0);
    IF l_qty > 0
    THEN
    :P2_QTY := l_qty;
    :P2_RANDOM_ID := :REQUEST;
    EXIT;
    END IF;
    END LOOP;
    END;
    Let me know if this helps
    Mark
    Don't forget to mark reply as helpful or correct as this may help others reading this thread in the future!
    Edited by: cptbutcher on Mar 25, 2010 10:40 PM

  • Running Reports with a Process Definition/XMLPublisher App Engine

    Is there any documentation for creating the Application Engine to run XMLP reports from the PeopleSoft menu?  We are converting our Crystal reports to XMLP and I get the report to run fine through Report Viewer but the user wants to access it on the report menu.  The Data Source is query and the query has 7 run control prompts.  I can see how other report App Engines run using three fields UserID, Run Control, Language but this query would have seven prompts to pass from the run control page to the query/report.  I'm assuming I would have to use bind variables.  I don't want to use the method of passing three prompts from the run control table and then setting criteria in the query but to just pass all of the prompt values directly to the report because the query is a union so that complicates the process.  I was wondering if there is a paper, documentation or something to explain the process for passing the prompts (through peoplecode) to the report when running the report from the process definition to the App Engine from the menu?

    Anil and Rohit,
    Thank you both for the help and getting back to me timely. So let me be sure I understand. When running my report in JDeveloper, I am not able to run the rwservlet because it is not deployed on the 9iDS instance of OC4J that JDeveloper uses, because JDeveloper uses a lightweight version of the 9iDS OC4J containers (Or rather, is it not even a version of 9iDS OC4J?). So, I have to start a separate 9iDS OC4J instance which does have rwservlet deployed. So if I try the unsupported trick and deploy reports_ids.ear to the same OC4J instance that Jdeveloper is using, I may be able to get everything working with one instance of OC4J. If I do, what about when I deploy my report to a production 9iAS server? I'm thinking that the 9iAS instance of OC4J would have the rwservlet deployed, so my application would be fit for this environment, and I would still be running everything on one instance of 9iAS OC4J. I also have the idea, for development, of instead of running my application and reports using the internal JDeveloper OC4J instance, I would use a standalone 9iDS OC4J instance on my machine and just run everything (my web application and reports) on this. Do you think this would be feasible? Should I be able to use the JDeveloper debugger to remotely debug all this?
    Thanks and sorry for so many questions!
    Bill

  • Report with multiple COUNT columns with counts from same table

    I am new to discoverer so I am a bit lost.
    I am working to create a report to show usage data from the eBusiness Knowledge Base. I have the query written in SQL using subqueries that is in the format:
    Solution Number | Soultion Title | Solution Views | Positive Feedback | Negative Feedback
    12345 ___________ Title ________ 345 ____________ 98 _______________ 34
    The 'Views', 'Positive' and 'Negative' entries are stored in the same table so i am doing a count where setid=setid and usedtype=VS, then counting where usedtype=PF and usedtype=NF
    In discoverer I can get the solution number, title and ONE of the totals but I can't seem to figure out how to get a COUNT for three different things from the same table in columns on the same row.
    When I go to edit sheet -> select items once I select the COUNT option for the UsedType column in the table CS_KB_SET_USED_HISTS I can't select it again. I also have found now way to add a column based on an entered query.
    If anyone could help it would be much appreciated.
    Thanks
    Edited by: Toolman21 on Dec 2, 2010 2:17 PM
    added ______ to correct spacing.

    Hi,
    You can separate the column by using a case or decode.
    for example create 2 calculations:
    case
    when usedtype='PF'
    then <you original column> --- the one contain them both
    else 0
    end
    case
    when usedtype='NF'
    then <you original column> --- the one contain them both
    else 0
    end
    after that you can create the count aggregation over those.
    Tamir

  • How do I input column headers in an Excel report with variable width columns?

    Hi:
    I have read this question before but I can´t open the link, when I try to download the solution I get the following : HTTP Status 404 The requested resource is not available.
    Can anyone help me with the solution ? I just want to put a header for each column (thermocouple 1, thermocouple 2, anemometer , etc).
    In advance, thanks for all your help !
    Solved!
    Go to Solution.

    Perhaps you need to take some tutorials.
    LabVIEW Introduction Course - Three Hours
    LabVIEW Introduction Course - Six Hours
    Attachments:
    Example_VI_BD.png ‏11 KB

  • 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

  • Create a report with a subreport? Is this possible?

    Hello,
    I have the following problem:
    I have the following Tables
    - TAB_CUSTOMER with all my custumers
    - TAB_ORDER with the orders of the customers
    - TAB_ORDER_POSITION with the single products which the custermers ordered / per order
    Now I want to make a report which
    - prints on the head the customer-details (name, adress, ....) and the order details (date, ordernumber, ...)
    - and for each customer / order it should print all the order-position (as a sub-report?)
    - It would be perfect, if after each customer / order is a pagination. (want to print out all customers with all their orders + orderpositions)
    The Template of the page is "print-page".
    It is a little bit confusing, but I hope, somebody understands my problem.
    Thank you so much,
    LISA

    I imagine the two ways you would need to decide between are:
    Custom named Reports Region Template:
    - [Customizing Templates|http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/themes.htm#BABBFHJA|Customizing Templates]
    Custom PL/SQL Region that generates the entire region (not a great way, but it is an available one)
    - You would have to code everything from the cursor calls to the pagination in this particular instance.

  • Interactive Report with Null Columns

    I've got a user who wants to export an interactive report, and he needs certain columns to appear on the export for him to fill the data in later (this is an intermediate step, while we work on getting all the data he needs in to the database). I've created the report query, and there are a handful of null/empty columns (to preserve the correct order for the export). When I try to add this query to APEX in an interactive report, I get a "ORA-00001: unique constraint (APEX_040000.WWV_FLOW_WORKSHEET_COLUMNS_UK2) violated" error.
    Googling around shows me that this happens because of similarly-named columns, and the solution is to provide aliases to all columns. My report has aliases on all columns, but I still cannot create an interactive report. I've tried changing the null columns to empty strings, as well as enclosing the aliases in double-quotes, but nothing works. I can however use my original query to create a standard report, but due to the export requirement, this isn't ideal.
    I was able to create the interactive report with one null column, and then edited the report source to add in the others. This had to be done one at a time, since trying to add multiple null columns at the same time gives the same error again. Unfortunately, when I try and run the page, I get an "ORA-20001: get_dbms_sql_cursor error ORA-00918: column ambiguously defined" error.
    My original query:
    select customer.customer_name as customer,
           project.name as project_name,       
           trunc(project.estimated_end_dt) as due_date,
           project_status.project_status_desc as status,
           null as revenue,
           project.baseline_effort as baseline_hours,
           null as projected_cost,
           null as est_gain_loss,
           project.actual_hours as actual_hours,
           project.estimated_hours as projected_hours,
           null as projected_cost,
           null as projected_gain_loss,
           null as roi      
        from project,
             customer
      where customer.customer_id = project.customer_id
      and project.inactive_ind = 0
      and project.customer_id is not null
      and project.estimated_end_dt >= :DTP_P50_STARTDT
      and project.estimated_end_dt <= :DTP_P50_ENDDT
    order by customer.customer_name,
             project.estimated_end_dt;             Can someone tell me a way to create an interactive report with multiple null columns?

    Hi shimmoril,
    The problem is likely that you have two columns aliased as "projected_cost" (7th column and 11th column).
    Hope this helps,
    John
    If you find this information useful, please mark the post "helpful" or "correct" so that others may benefit as well.*

  • Dynamic DataGrid with Preferred columns

    Hi all,
    I want to populate a dynamic DataGrid with User Preferred
    columns (ex : EmpId,First Name and Phone). Each time columns may
    change based on User Selection in Preferences Page so columns
    should not hard code. I'm able to see data for EmpId, First Name
    but I want to see the Inner tag data of "Phone" as a Field.
    Sample XML ....
    <emp>
    <empId>1002</empId>
    <firstName>Smith</firstName>
    <lastName>John</lastName>
    <address>
    <city>Ohio>
    <phone>433-234-322</phone>
    <zip>60003</zip>
    </address>
    </emp>
    Thanks.

    To display nested data, you must use a labelFunction. I have
    several labelFunction examples on cflex.net.
    You can assign a function reference to the column's
    labelFunction property in the column generation code.
    Tracy

  • Financial Reporting Studio: Formula for percentages in Dynamic report

    Hi,
    I have a formula problem in Financial Reporting Studio vers. 9.20.582. I created a dynamic report with four columns:
    1. Column: Entities
    Entity A, Entity B
    2. Column: Accounts
    Account A, Account B, Account C
    3. Column A: Accounts
    Data for a selected period
    4. Column B: Formula
    Percentage Account B to Account A and Account C to Account A per each Entity
    My question is: Could I create a formula in 4th column that shows a percentage of Account B in comparison to Account A for each Entity (everything in one cell)?
    Because when I use for example the Formula Percentoftotal([a], [a,1(1)]) it shows for second entity B the wrong percentages.
    I hope this was understandable.
    Thank you very much for your help.
    Chris
    Edited by: user8009251 on 14.04.2010 00:45
    Edited by: user8009251 on 14.04.2010 00:46

    Hi
    Good question? I think, there is a solution.
    You can use the concept of multiple grid here.
    Please keep the referred grid at one place and use another grid where you want the formulas.
    Please mail me for further info: [email protected]

  • A report with functionality

    Hello all, I need to create a report with an additional column named "Remove" so that each record in the report has a check box beside it. In addition to the check boxes, there is a submit button at the end of the report for submission. The goal is to remove all those records with marked check boxes when user clicks on the submit button. I have searched through the forum, and I did not find anything like this. Hence, I wonder is it possible to do the above? Thanks in advance.

    Hello, in the process of creating a report based on a SQL query,
    portal asks for the table/view this report would be built from.
    It means that table/view must have a table column to store
    checkboxes, right? How can I build a table/view with a checkbox
    column using sql? <INPUT TYPE= ....> is for forms. I know how
    to build it with a form, but I cannot understand how I can have
    a column of checkboxes in a report. I tried the following:
    select PID, FIRSTNAME, LASTNAME, DOB, STATUS, '<INPUT TYPE
    = "checkbox" NAME="PID" VALUE="PID">' as Remove from
    NYANG123.STUDENT_VIEW
    It returned me a string <INPUT TYPE = "checkbox" NAME="PID"
    VALUE="PID"> instead of a checkbox for each record. By the way,
    PID is a number/integer. Please clarify. Thanks again.
    Hi
    What you really need is a good book on JavaScript and HTML.
    I refer a lot to Danny Goodmans "JavaScript Bible".
    In a report based on a SQL query you need a column that selects:
    '<INPUT TYPE=checkbox NAME="'||TABLE.ID||'">'
    This will give you a checkbox in a column of your report.
    I think that the code to get the selected values is different for Netscape and IE.
    >
    now create a procedure to:
    htp.p() out an HTML FORM, and the JavaScript code to loop through all of the INPUT elements on the page and if they are
    CHECKED, put NAME and a ',' into the field to be submitted.
    then, if the field to be submitted has a value, submit the form.
    this procedure will also htp.p() out an INPUT type button to call the JavaScript function to submit the checked items.
    Thit procedure is run in the PL/SQL code to be run AFTER displaying the report.
    >
    You will obviously need the procedure that accepts the comma separated id numbers to exist on the database, otherwise the
    form will not work when it is submitted.
    >
    I hope that this helps
    Regards Michael

  • Report with a temporary data block

    Hi,
    in my app i have a temporary data block (which is not in database) and i need to create a report with that info. Is this possible or the info in the block needs to be stored in db?
    Best regards,
    Bruno Martins

    i think YES.
    you need save that information in a table.
    and in your report to do select on your table.

Maybe you are looking for

  • "Browse in Adobe Bridge" from Right Click Menu

    Adobe Suite CC2014 Windows 7 Pro 64-bit SP1 In earlier versions of Adobe Bridge, if you right context a folder, "Browse in Adobe Bridge" was an item. This no longer appears to be the case. Is there a Preference setting to make this occur? Thanks in a

  • Trial Version of Acrobat 10 Pro

    I am looking at 508 compliance and wanting to test Acrobat Pro. I don't have the Mac OS requirements to run Acrobat XI Pro. Is it possible to get a trial Version of Acrobat 10 Pro?

  • Volume works only in read only mode

    Our Xsan volume is going nasty if any client tries to write on it , the xsan would crash and disconnect on all clients only way to bring it back is to shutdown all machines and power on again it works fine when the volume is mounted as read only thou

  • ITunes providing an error for certain episodes?

    Our listeners have recently encounter a problem where some of the episodes are unable to download via iTunes. I myself cannot even download Episode 1 and 2; another listener, however, is able to download these fine but cannot obtain Episode 3 and 4.

  • TS3212 Error message on trying to set up itunes ??

    "itunes setup.exe is not a valid WIN32 application" Can anybody please help me - I am on Windows 7