Report queries require BEEP?

Hey all,.

I created a column called report model that works well with Apache FOP to generate a PDF of a report from the region. The problem with this approach is that the level of detail for the report region makes the screen too cluttered to read easily. So I thought I'd do a region summary report with a button to launch the PDF for detail via a report query.

I have reproduced the source query in the region to report for a new report query and set the query to use the same model of report, the region uses with success. Download of XML schema looks great, but when I use 'Minutes', the PDF is HTML tags with "Internal Server Error 500" and the FOP application.log said "oracle.xml.parser.v2.XMLParseException: scheduled start of root element."

I'm not sure how to debug it, but I noticed the message on the upper right side of the screen to change the report says query 'report queries are rendered using a custom RTF put in page... ', which could infer a requirement for BI Publisher, even if I have not been able to find one taken up any web page, help text, message of the forum or book.

If this is the case, is there a technique to mask/hide report items region while being able to print?

Anyone?

TIA!
Rich

Published by: socpres on October 23, 2008 10:28 (Rich Text does not seem very nice w/paragraphs)

Hi rich,

My guess would be that product your report query XML does not match the XML code generated by your region to report export. When printing/exporting regions to report, the XML generated for the print server always contains information about your application, page and your current page session data. The report however by default queries only produce the XML code required to communicate data. So the XML structure is different, so your report layout will need to reference your attributes a little differently. In order to make the APEX to generate the same file XML structure when exporting regions of report and report queries, simple enable inclusion session state for the report query (it is an attribute on the first page of the report wizard query and can also be edited on the report query edit page). Even if you do want to include real session state values, it will ensure this same XML structure in both cases. The reason why it works that way, it's for the report queries, we want to make sure you can use the same presentations RTF you use in BI Publisher.

Kind regards
Marc

Tags: Database

Similar Questions

  • On the report templates in the Apex and report queries

    Hi all.

    I'm reading about models and report queries and asks me to use cases of these options. I have two questions:

    -Can be used to print reports of special loyalty, such as printing a document (invoice, invoice, check)?

    -Make the report accept queries settings? for example, you can filter specific data...?

    Any other uses?

    Best regards, Luis...!

    Your welcome. Review the marking of the answers correct or useful in order to help other people traveling the same road. :)

  • Financial reports Studio requires Services?

    I installed Studio EN 11.1.2.3.00 on a test machine that has all the Hyperion products that are installed on it.

    After connection, receive the following message appears:

    "You are not allowed to use this feature.  Contact your administrator. "

    What components does main EN requires to log on?  I have no Reporting and analysis installed.  Anything necessary here?  I don't see an EN checkbox for this section.

    I also use part of the URL for the workspace to the en server URL: http://test11123

    Will need you 3 elements outside of the Foundation and OSH

    1 Raframework services

    2. web application Raframework

    3. web application EN

    THX

    Vivek

  • 124 limit XML in report queries

    Hello

    I am defining a query report in the area of shared components to use with an RTF template. It seems to be a problem if your query returns more than 124 columns that none of the XML elements contain all the data. As a < a1 / > is produced instead of xyz < a1 > < / a1 >.

    Why would you need a single request with more than 124 items that you might say!

    Well I owe produce a form with a very specific layout which is read by an OCR scanner and all letters of a name, address, phone etc is in a box on the form.

    I use Apex 3.11.

    I really need a way to turn this limitation.

    Thank you

    Shunt

    Hello

    Rather than divide the string in characters separated on the side server, why not do it in the logic of your RTF models? I have no BEEP in hand, at the present time, however, you can perform the logic to get the characters of the 1st, 2nd, 3rd etc. of a string, and then you should be able to bypass any column boundary you touch in the XML file.

    Hope this helps,

    John.
    --------------------------------------------
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    AWARDS: Don't forget to mark correct or useful posts on the forum, not only for my answers, but for everyone!

  • Drop-down menu and report queries

    Hi all

    I have a report query that print Information on a given employee's salary (it works fine). It was printed on a letter head of companies and to get it stamped properly. The letter is addressed to a particular bank (depending on the choice of the employee)

    Scenario:
    I have 10 banks that this letter may be addressed to (one at a time). Each employee has a choice by drop-down menu to choose the Bank they want this letter to be sent to the. and when he chooses for example. BofA. I want to print in PDF format also with his statement of salary.

    Even if another employee wants his salary for Chase Bank statement, it should select Chase Bank of drop down and the letter would be printed address Chase Bank.

    I can do this thing by the static bank names. But it would create 10 similar models each different bank name. But I don't want to. I want a model and value automatically feeding WRT my drop-down list of choices.

    I hope I am clear. Thanks in advance. Your help is appreciated.

    Hello

    First of all, you must make sure that the selected page, employee and banking, the elements have been registered in the session, so that it is available for use in the report. This can be done by using a Select list that submits the page for the two elements.

    The query itself just needs to be able to recover both the banking information and employee information. This can be done in the SQL statement:

    SELECT B.NAME, B.ADDRESS1, B.ADDRESS2, etc
    S.NAME, S.SALARY, etc
    FROM BANK_TABLE B
    INNER JOIN SALARY_TABLE S ON 1 = 1
    WHERE B.BANK_ID = :P1_BANK_ID
    AND S.EMPLOYEE_ID = :P1_EMPLOYEE_ID
    

    Andy

  • Problem using bind variables in shared components report queries

    Greetings,

    I use APEX 4.0.1.00.03 and BI Publisher 10.1.3.4.1.

    In the APEX, I try to create a report query that uses bind variables in the where clause. I have a page that contains a button and a text element (P1_ID). The button is used to call the report. I went the shared components and created a new report query. Here is the text of the code.
    select violation_date
    , violation_type
    , nvl(:P1_ID,'zzz')
    from edd_procard_violations
    where upper(card_holder_id) = upper(:P1_ID)
    I also have Session State to enabled and have added the P1_ID in the area of 'State of Session' under the query.

    When I change the query, and click on the 'Set Bind Variables' button, I get a field where I can enter a value for: P1_ID I enter a value that should return lines, but when I click on the button "Test query", I get no rows returned. If I comment on where clause and test the query, even once, I get all rows in the table. You'll notice in my query I have included nvl(:P1_ID,'zzz'). When I run the query, without where clause, the returned value is always "zzz" indicating that: P1_ID is null.

    No idea what I am doing wrong?

    Thank you very much.
    Larry

    Hello Larry,.

    Looks like the wizard to create a report query in the shared components has a bug related to bind variables. I was able to reproduce your problem. Just create the query using the link variable, check the box to include session state, add the item and create the query. When you use the report query to download the report, where the your clause will work fine.

    Thank you
    Machaan

  • CF report queries with Variables

    Hello again,
    It is the third time that I am ready for this issue, and I really, really need an answer, please. I have this query on my .cfr:
    ___________________________________
    SELECT call_product.call_product_detail, call_service.call_service_detail, area_code.area_code_detail, cform.cform_phone_number_body, cform.cform_date_time, cform.cform_comments

    Carousel, call_service, area_code, call_product


    WHERE cform.cform_date_time BETWEEN #CreateODBCDateTime (cFullStartDate) # #CreateODBCDateTime (cFullEndDate) # AND cform.cform_call_type = 3 AND call_product.call_product_id = cform.cform_call_product AND call_service.call_service_id = cform.cform_call_service AND area_code.area_code_id = cform.cform_phone_area_code AND

    ORDER BY call_product.call_product_detail, call_service.call_service_detail, cform.cform_date_time ASC
    ___________________________

    And I have the attached code to call this report. whenever I run he said variable cFullStartDate is not defined, and I have no idea why it doesn't work. I know it's probably something stupid, so I tried to simplify the message as much as possible, if there is everything that you would need it please let me know. Thanks in advance!

    To see where the problem, double-click the Total_sales_report_by_date.cfr definition file to open with Report Builder. Follow the menu file-online Code snippet.

    You will find that the query in the CFC contains the clause, WHERE the cform.cform_date_time BETWEEN #CreateODBCDateTime ( cFullStartDate) # AND #CreateODBCDateTime ( cFullEndDate) #. That cannot be good. The CFC is supposed to be called before the cfreport tag. Yet the variables cFullStartDate and cFullEndDate that needs the CFCS are still undefined. Apparently, you don't define that later in the cfreport tag. It is not possible... until you add the scope of the param. Which makes cfreportparam variable dynamically available in Report Builder when running.

    So, change the WHERE clause to WHERE the cform.cform_date_time BETWEEN #CreateODBCDateTime ( param.fullStartDate) # AND #CreateODBCDateTime ( param.fullEndDate) #. The rest of the code should be something like this:

  • Nested queries in Apex/BEEP Source?

    With the help of Apex 4.0.2.00.07, I have a master report / detail required that has a rather long header/footer and then lots of detail rows.  The ideal ratio would eventually something like the following:

    Paragraphs in header information

    Line 1

    ....

    Line 100

    Info from footer paragraph

    Is it possible for the Apex report queries to generate the XML to nest queries?  I know that I can throw it all in a single record by joining tables, but then I have to generate all the header information for each line instead of once for each master record.  I know that BEEP can handle it because I can do it for EBS by defining relationships of the query in the definition of data, but I can't seem to find a way to do it in the Apex report query.  I've seen several comments on this issue, but no definitive answer.  If anyone can help, I'd appreciate it.

    Jessica,

    You can not.  If you decide to put all the data in a single line, you can build your model to break in the header data.  The other option is to generate the report in the Pub BI and then call the report using webservice api bi pub.

    Introduction to the Web Services BI Publisher - 11g Release 1 (11.1.1)

  • Report of BEEP in the use of the content on the Emdedded OBIEE dashboard not working not

    Report of BI Publisher throwing error 'Allowed access' seen OBIEE dashboard page.

    OBIEE and BEEP is integrated by default when it is installed.

    Requirement:

    Embed report BEEP in OBIEE dashboard page.

    Report parameters a BEEP and then tried the method to incorporate the full report without "Header" information below

    Steps for coating

    1. connected to BEEP via the URL xmlpserver and link report generated using option "report sharing link.

    Below the URL generated for the 'No Header' option

    http:// < Server >: < port > / xmlpserver/training/My_Test/Data Model Editor / Oracle BI Analysis Report.xdo? _xpf = & _xpt = 0 & _xdo=%2FTraining%2FMy_Test%2FData%20Model%20Editor%2FOracle%20BI%20Analysis%20Report.xdo & _xmode = 2 & _params_dashboardexpr = xdo%3Axdo%3A_paramssaw.param.Month_div_input=All & _paramssaw.param.Month = * & product = _xt & _xf = html & _xautorun = true

    2. copy the generated URL

    3. connected to OBIEE analytical URL and created a new dashboard

    4. slipped and fell "Embedded content" Dashboard object

    5 a. provided the URL copied in embedded content

    6 saved the dashboard and it ran.

    7 error received unauthorized access

    Please note that I received as "Suspicion of Injection of Script" error sometimes.

    I see that no permissions related issue because I've been running reports by using administrator privileges.

    Details of the attached error.

    Thank you!

    Problem has been solved by following step below

    The spaces in between the name of the report template/folder/data should be replaced with % 20.

    URL before change

    http:// :/xmlpserver/Training/My_Test/Data Model Editor/Oracle BI Analysis Report.xdo?_xpf=&_xpt=0&_xdo=%2FTraining%2FMy_Test%2FData%20Model%20Editor%2FOracle%20BI%20Analysis%20Report.xdo&_xmode=2&_params_dashboardexpr=&xdo%3Axdo%3A_paramssaw.param.Month_div_input=All&_paramssaw.param.Month=*&_xt=Product&_xf=html&_xautorun=true

    URL after change

    http:// :/xmlpserver/Training/My_Test/Data%20Model%20Editor/Oracle%20BI%20Analysis%20Report.xdo?_xpf=&_xpt=0&_xdo=%2FTraining%2FMy_Test%2FData%20Model%20Editor%2FOracle%20BI%20Analysis%20Report.xdo&_xmode=2&_params_dashboardexpr=&xdo%3Axdo%3A_paramssaw.param.Month_div_input=All&_paramssaw.param.Month=*&_xt=Product&_xf=html&_xautorun=true

  • Report of queries / XML size more than 30 k...

    Hello world

    I'm generating a report repatriated, with IMAGES of the workspace, and it works very well up to a certain limit.

    I have my query that returns a certain image, for a day of the month especified. If it's a party of the employee, the png (images with 1) images. If it's a weekend an another png image (orange image).

    It works very well in the report:
    [http://img141.imageshack.us/i/yearcalendar.jpg/]

    When I tried to make this report as pdf, using report queries and a RTF composed of model, I want to use the Data Source for the report layout:
    Data (Download) XML, to test my RTF(logical:P), but when this XML download overcomes 30.4 k, it gives me an error:

    ORA-06502: PL/SQL: digital error or value: raw variable length too long

    Note: I use the [http://www.oracle.com/technology/obe/hol08/apexprnt/apexprnt2_otn.htm]. The function that receives a BLOB and turns to CLOB for display of the image.

    Can I configure only 30 KB XML somewhere? Or am I just crazy to do this? :)

    Vitor,

    In the APEX report rows are treated in a table of varchar2. A varchar2 can hold up to 32 k bytes. This concerns both report queries. This means that when you use the query of the OBE you referenced:

    Select
    employe_id,
    first_name. » '|| name of last_name,
    file name,
    MimeType,
    blob2clobase64 photo (photo)
    of oehr_employees
    where the photo is not null

    ... then all the column values for a line, as well as additional XML markup for each value, cannot be longer than 32 k bytes. When you work with images, you quickly hit this limit, because what blob2clobase64 are not, that it converts your image to a very long string. For APEX 4.0, we seek ways to lift this limitation. But for now - if you use report requests - you are limited to 32 k by rank. Please note, i.e. row, your report itself may be longer, so you can have as many lines, as long as none of them exceeds 32 k. There are however of the APIs available in APEX (apex_util.get_print_document) that allow you to directly call the print engine, provide your own style sheets and XML data. The XML data is stored in a BLOB, and it's up to you how to generate XML data. So, you will not be subject to this limitation.

    Kind regards
    Marc

  • Get the XSD of the report query

    APEX 4.0.2
    Oracle 11.2.0.1.0

    Hello
    We are trying to retrieve the XML schema for a report query.

    The following code example works, but the "xsd" for p_document_format parameter is not documented.

    Is "xsd" a taken parameter value supported for APEX_UTIL. GET_PRINT_DOCUMENT?

    v_blob := APEX_UTIL.GET_PRINT_DOCUMENT (
        p_application_id      => NV('APP_ID'),
        p_report_query_name   => 'test', 
        p_report_layout_name => null,
        p_report_layout_type => null,  
        p_document_format     => 'xsd',
        p_print_server => null);
    Thank you in advance!

    Hi Eric,.

    We have four different versions of apex_util.get_print_document, so depending on what you want to do, you can create PDF files and other types of documents based on your own style, your own XML data sheets or pre-defined SEO report queries SQL with predefined, or in custom arrangements. We support the output formats, as I listed previously for the four releases. However, the internal implementation of these APIs is different for the API that refer to report queries and those that refer to custom XML data. When you reference the report queries, APEX of the first loading and running queries and generates XML data and then passes the XML the print rendering engine. The analysis and execution of these queries can use the same internal functions that are also used on the edition of report request page, where you have buttons which allow to have downloaded representations XML and the XML schema for the query for your report. XML and XSD documents are intended for use with the plug-in of BI Publisher Word or design tools XSL of third parties to design presentations. Now as the same internal functions are used, you can actually generate documents from XML Schema (XSD) using the apex_util.get_print_document API, but only with versions that allow you to refer to a report query predefined. This is not officially supported, I can assure you that this behavior will not change in the future, but I don't see why we would change that. The main reason to support XML in APIs is really to test the printing functionality without requiring a print rendering engine. But it seems that there are other cases of use for those both output formats.

    Hope the helps

    Kind regards
    Marc

  • OBIEE 10.1.3.4 - selection of reports based on guests

    I have reports (queries) say 1,2,3 to the title of the category "A", reports (queries) 4,5,6 in the title of the category 'B '. Based on the dashboard for the category line, I need display the reports (requests) correspondent in the dashboard. Can someone please help me to do this.

    @Srikanth, like I said, I think my method is simpler and requires less "configuration". However, your method works. However, you are missing a piece that the OP needs to complete the method.

    He must build a prompt personalized with two values with the CASE statement:

    @801939, to build the prompt, select a column for the line (any), click in the 'Show' window and type the following command:

    -CASE WHEN 1 = 0 THEN tablename.columnname ELSE 'Category A' END the UNION all THE CASE WHEN 1 = 0 THEN tablename.columnname ELSE 'Category B' END

    This will give you the values in the line of dashboard so that the two interim reports will be properly filtered to hide or expose the appropriate section.

    The two methods is fine. (BTW, this is the method I was talking about when I said that it could be done with the "invite dashboard.")

  • OBIEE / BI Publisher report question

    Hi, quick OBIEE / question BI Publisher. We have an obligation to produce a very formatted report, complex. All data are in OBIEE - but there are several disciplines necessary to answer questions (thus queries of multiple responses).

    Assuming that I can create a report of responses with the raw data for each section (a "header" section, section ' detailed costs', section 'budget', etc. - which everyone would be in a separate query responses), is it possible to use BI Publisher to then "chaining" each section separated into one integrated report?

    I'm not very be applied BI Publisher. I know how to use a query answers like 'source' for a report of BI Publisher. But I don't know how to have multiple responses on a single BI Publisher report queries.

    Thanks in advance!
    Scott

    Hi Scott,.

    In your report, BEEP, you will need a separate set 'data' for each answer. What you need to do is click on 'Data model' and select 'Concatenated SQL Data Source' as the main data set. It will combine the results into a single xml result set.

  • How to get the print page numbers in a report based on another report

    Hello


    I have a requirement in which I need to print the page based on another report number
    example my game application has 3 reports

    1 report prints the pages 1-100
    Report page no. 2 should start from 101 to 110
    3 report 111-

    Can someone make me please how to do this?

    THX in advance
    Kumar

    Hello

    You can create all report queries three in a single report, create a separate query in the data model and then create the layout in the proper sequence as required.

    If you want to use separate reports only you can try the following:

    In the first report, use the shutter release after report and record the total number of pages of a table as a record.

    In the second report, extract the value stored in the table and add it to the Page No. to get the Page number for the second report.
    Also in the second report use the shutter release after report and update the record created first in the total number of pages + total number of pages of the first report.

    In the third report to extract the value stored in the table and add it to the Page No. to get the Page number for the third report.
    Don't forget to delete the folder created in the trigger after the third report table report.

    I hope this helps.

    Best regards

    Arif Khadas

  • Z240 SFF Workstation: Z240 SFF beep Code 3.3 (graphics)

    Greetings,

    We bought the Dells years but has recently begun to give HP a glance. The first unit I received just stopped working during testing of deployment and gives me 3 long beeps (red LED) with 3 short beeps (white LED). According to the manual, this translates, "the on-board controller exceeded waiting for BIOS return the initialization of graphics. I couldn't find the specific troubleshooting steps for this error I did what follows based on the tests that I did:

    -Cleared CMOS

    The system only would not start after that application of the BIOS settings using the Configuration BIOS HP utility so maybe something went wrong there. That said, I applied the settings with this tool several times before on the same system without problem, but thought it was worth a start. Here is my config file:

    BIOSConfig 1.0
    Legacy startup options
    Disable
    * Select
    Legacy boot order
    HDD:USB:1
    CDROM:SATA:1
    HDD:SATA:1
    NETWORK: SHIPPED: 1
    UEFI boot options
    * Disable
    Enable
    Configure legacy support and secure start
    * Legacy Support enable and Secure Boot Disable
    Disable legacy support and Secure Boot Enable
    Disable legacy support and Secure Boot Disable

    -Exchanged cards (Nvidia Quado K420) video with a known good card. We bought two units to test if I had an identical system to Exchange.

    -Shared memory.

    -Reinstall any cables.

    Any ideas on what I should try before you send it again?

    Last update 08/08: another IT unit in our Organization has reported the same beep code with one of the Z240s they just bought. For them, the BIOS has refused to save all the settings and could not start later.

    Last update 08/09:

    Another machine died today. Same case, technicians were simply trying to configure the BIOS settings. Another detail is that these have been shipped with BIOS version 01.24. I recommend our technicians that they update to version 01.27 for now, but the notes do not mention a specific fix for what we see. I hope someone from HP can jump in here soon...

    Product no.: L8T14AV

    For all those who could fall on this thread... I managed to reproduce the problem by going to Configuration of Boot Secure and uncheck the box 'Key activate MS UEFI CA'. After talking with the help of HP, it was determined that we should not be in contact with this option at all. This option is intended for graphics cards configured for backup device from Microsoft.

    In addition, there is a bug in the BIOS version 01.24 which prevents the Clear CMOS button to work correctly, so there is no recourse for a person who commits the mistake of setting the option above. HP will provide an update in revision 01.28 to stop people from shooting itself in the foot. It is recommended to update the systems at 01.27 for now.

    Finally, we do not have an answer to what happened to systems that could not save changes to BIOS and subsequently on faileed to start. I will update this thread if it becomes something more than an anomaly.

Maybe you are looking for