124 limit XML in report queries
HelloI 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!
Tags: Database
Similar Questions
-
Hello
After that I have clone, when executing reports, all reports are pointing to the old location as stated below, I followed some documents for the issue, but still no help. Please help me it is urgent.
I mentioned the Sub oracle documents already and implemented changes that by the solution, but no help, the problem still exists.
Output Post processor Log File contains java.io.FileNotFoundException (no such file or directory) error [463388.1 ID]
BI Publisher requests fail Due To java.io.FileNotFoundException - no such file or directory [1072383.1 ID]
XMl editor reports fail with java.io.FileNotFoundException on Temp Directory after cloning [1189764.1 ID]
Error in the XML Editor: FileNotFoundException: (System file read-only (errno:30)) [742164.1 ID]
[189179:RT2640592] Output file was found, but is zero size - deleted
[13/11/13 11:49:55] [UNEXPECTED] [189179:RT2640592] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:611)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:239)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5936)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:302)
at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:176)
Due to: java.io.FileNotFoundException: /u02/oracle/PROD/apps/apps_st/appl/per/12.0.0/xml/MASHCO_SUB_TEMPLATE.rtf (no such file or directory)
at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
... more than 17
Please help it is urgent.
Kind regards
Mohammed
Hi Yang,.
Thanks for the update!
Good to hear about the issue is included, and you are welcome brother
Please mark the thread as answered, as it would help others looking for answers to such queries.
Best regards
Asif
-
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 -
Format mask number in the XML editor reports
Hi all
I have a requirement in the format mask in xml publisher reports.
I have a field in my report that the quantity,
1 > if the value is 1234 I need to show as 1 234
2 > if the value 1234.56 I need to show 1,234.56
so I tried with properties of form with number format mask ' #, # 0.00' decimal so that's good, but for like number for 1234 also he 1,234.00 impression so I need 1 234, how I can do this, please help me.
Thank you
Thank you Deb to clarify. Yes just check the decimal (.) will work.
I tried with my example of xml data, and it worked.
Try this now...
-
How to print barcodes in Oracle XML Publisher report
Hello
We have a report of rdf that prints the bar code in the start page based on a custom procedure of MarkView. It works well with Oracle Reports.
But given that this report was a matrix report, we change it a linear relationship by Oracle XML Publisher report.
We have every possible thing in the new Oracle XML report... But we are not able to print data from barcode which is BLOB in the XML report...
Can someone help me on this? We have dates UAT at the corner...
We have a RTF model.
Help as soon as possible.
Thank you
AFA
Hello
I even referring to this blog.
How to create a report with a field of image (.jpeg). Maniacs Oracle & #039; Notes
The bar code is original
Thank you and best regards,
AFA
-
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. :)
-
Row limit Excel 2010 report generation
Hello
I have Labview Report Generation Toolkit 2010
My prblem is that I write more than 60000 lines,
but when I write a Table that begin at the end after 65536 or a mistake
appears and I can't write the data.
IM using Office 2010, is there a patch or something to fix this?
because the limit of rows in excel 2010 is more than 1000000.
65536 is the special magic number indicating a U16 is used for the line number. However, the excellent simple table VI uses an I32 to the line number. What is the VI you use? There is no "write a table." What version of the Toolbox do you use?
-
How not to get no data xml publisher report
Hi all
I've been using oracle BI 10 g
I need to print ANY DATA that is FOUND when my report is not out of the game.
I tried to follow this link but its does not work as expected
https://blogs.Oracle.com/XmlPublisher/entry/NO_DATA_FOUND
My header tag consist @Section if its does not work.
This is my example of XML code when the data here is his entry like this
< XXRXRAXINV >
< LIST_G_ORDER_BY >
< G_ORDER_BY >
< > 265 ORDER_BY < / ORDER_BY >
< LIST_G_INVOICE >
< G_INVOICE >
< CUSTOMER_TRX_ID > 59249 < / CUSTOMER_TRX_ID >
When no data then the xml doesn't come like that
< XXRXRAXINV >
< LIST_G_ORDER_BY >
< / LIST_G_ORDER_BY >
The Group G_Invoice is not.
Can any one sugget that the way of print no data found. I tried with if else statement too but its not working.
Concerning
Srikkanth.M
Please use this logic:
No data found
Section break
-
XML not nested queries return no line plus
Hello
I have an urgent problem concerning the following:
I've migrated the XMLDB queries below 11.2.0.1 to 11.2.0.3I registered just the schema
() DBMS_XMLSCHEMA.registerSchema
SCHEMAURL = > ' http://www.mywebsite.com/XML/Impex/order/2006-10-31 ',
SCHEMADOC = > bfilename ('XMLDIR', 'order.xsd'),
local = > TRUE,
gentypes = > TRUE,
gentables = > TRUE,
CSID = > nls_charset_id ('AL32UTF8'));
COMMIT;
Some query works correctly and others not more are:
Queries that do not work are those referring to XML elements nested as in "QUERY 2" belowI think I missed a few steps of initialization for XMLDB.
Order.xsd is the same in both cases
SQLTypes and collections air well (they were created.
(Do not know gentables = > TRUE is necessary in creating schema)Please give some feedback soon.
Thank you very much in advance.In the following XML_FILE is XMLTYPE
QUERY 1
SELECT THIS WORKS PROPERLY--------------------------------
SELECT
ORDER_LEVEL1.order_no,
TO_TIMESTAMP (ORDER_LEVEL1.order_date, ' YYYY-MM-DD "T" HH24:MI:SS.ff3 "Z" "").
ORDER_LEVEL1.created_by, ORDER_LEVEL1.currency, ORDER_LEVEL1.customer_locale, ORDER_LEVEL1.order_status
Of
p (selection double XML_FILE),
XMLTable)
xmlnamespaces (default 'http://www.mywebsite.com/xml/impex/order/2006-10-31'),
' / orders/order "ADOPTION p.XML_FILE
COLUMNS
The "@order-no"order_no WAY,
ORDER_DATE PATH "order date"
created_by PATH "created by",
currency of access road "currency."
customer_locale "client-local," PATH
order_status PATH "order status/tracking".
) ORDER_LEVEL1;
-----------------------------------
QUERY 2
THIS SELECTION IS NOT WORKING NOW (returns the LINES No.)
--------------------------------
Select
order_no as order_no, STOREID as STOREID, SHIPPINGMETHOD as SHIPPINGMETHOD
Of
(
with mainq as
(
Select
ORDER_LEVEL1.order_no as ORDER_NO,
CUSTOMATT_LEVEL2.*
Of
p (selection double XML_FILE),XMLTable)
xmlnamespaces (default 'http://www.mywebsite.com/xml/impex/order/2006-10-31'),
' / orders/order "ADOPTION p.XML_FILE
COLUMNS
The "@order-no"order_no WAY,
custom_attribute PATH of XMLTYPE "custom-attributes/custom-attribute.
) ORDER_LEVEL1,.XMLTable (xmlnamespaces (default 'http://www.mywebsite.com/xml/impex/order/2006-10-31'), )
"/ custom attribute" ADOPTION ORDER_LEVEL1.custom_attribute
COLUMNS
attribute_id PATH ' @attribute-id ',
path value 'value '.
) CUSTOMATT_LEVEL2
)
Select
order_no,
STOREID, Max (decode(attribute_id,'storeId',TheValue)),
Max (decode(attribute_id,'shippingMethod',TheValue)) SHIPPINGMETHOD
of mainq
Order_no group
);ORDER FOR REFERENCE. XSD (only the rΘation segment to the elements in the query)
< xsd: element name = "orders" xdb:defaultTable = "ORDERS" >
< xsd: complexType mixed = "false" xdb:SQLType = "DMW_ORDERS" xdb:maintainDOM = "false" >
< xsd: SEQUENCE >
< xsd: element name = "command" type = "complexType.Order" xdb:SQLCollType = "DMW_ORDERS_COLL" minOccurs = "0" maxOccurs = "unbounded" > < / xsd: element > "
< / xsd: SEQUENCE >
< / xsd: complexType >
< / xsd: element >
< xsd: complexType name = "complexType.Order" xdb:SQLType = "DMW_ORDER" xdb:maintainDOM = "false" > "
< xsd: SEQUENCE >
< xsd: element name = "order date" type = "xsd: DateTime" minOccurs = "1" maxOccurs = "1" xdb:SQLType = "TIMESTAMP WITH TIME ZONE" >
< xsd: annotation >
< xsd: documentation > original date and time, the order was placed. < / xsd: documentation >
< / xsd: annotation >
< / xsd: element >
< xsd: element name = "created by" type = "simpleType.Generic.String.256" minOccurs = "0" maxOccurs = "1" > < / xsd: element > "
< xsd: element name = "original-order-no" type = "simpleType.Generic.String.256" minOccurs = "0" maxOccurs = "1" > < / xsd: element > "
< xsd: element name = "currency" type = "simpleType.Currency" maxOccurs = "1" minOccurs = "1" > < / xsd: element > "
< xsd: element name = "customer-local" type = "simpleType.Generic.String.256" minOccurs = "0" maxOccurs = "1" > < / xsd: element > "
< xsd: element name = "source code" type = "complexType.SourceCode" maxOccurs = "1" minOccurs = '0' > < / xsd: element > "
< xsd: element name = "name-partner-affiliation" type = "simpleType.Generic.String.256" minOccurs = "0" maxOccurs = "1" > < / xsd: element > "
< xsd: element name = "partner-affiliate-id" type = "simpleType.Generic.String.256" minOccurs = "0" maxOccurs = "1" > < / xsd: element > "
< xsd: element name = "invoice-no" type = "simpleType.Generic.String.256" minOccurs = "0" maxOccurs = "1" > < / xsd: element > "
< xsd: element name = "customer" type = "complexType.Customer" maxOccurs = "1" minOccurs = "0" > "
< xsd: annotation >
< xsd: documentation > information about the customer who placed the order. < / xsd: documentation >
< / xsd: annotation >
< / xsd: element >
< xsd: element name = "customer-order-reference" type = "simpleType.Generic.String.256" minOccurs = "0" maxOccurs = "1" > < / xsd: element > "
< xsd: element name = "status" type = "complexType.OrderStatusSet" maxOccurs = "1" minOccurs = "0" > "
< xsd: annotation >
< xsd: documentation > Order status information. < / xsd: documentation >
< / xsd: annotation >
< / xsd: element >
< xsd: element name = "replace-code" type = "simpleType.Generic.String.256" minOccurs = "0" maxOccurs = "1" > < / xsd: element > "
< xsd: element name = "description to replace" type = "simpleType.Generic.String.4000" minOccurs = "0" maxOccurs = "1" > < / xsd: element > "
< xsd: element name = "replacement-order-no" type = "simpleType.Generic.String.256" minOccurs = "0" maxOccurs = "1" > < / xsd: element > "
< xsd: element name = "replaced-order-no" type = "simpleType.Generic.String.256" minOccurs = "0" maxOccurs = "1" > < / xsd: element > "
< xsd: element name = "current-order-no" type = "simpleType.Generic.String.256" minOccurs = "0" maxOccurs = "1" > < / xsd: element > "
< xsd: element name = "cancel-code" type = "simpleType.Generic.String.256" minOccurs = "0" maxOccurs = "1" > < / xsd: element > "
< xsd: element name = "cancel-description" type = "simpleType.Generic.String.4000" minOccurs = "0" maxOccurs = "1" > < / xsd: element > "
< xsd: element name = "LineItem-product" type = "complexType.ProductLineItems" maxOccurs = "1" minOccurs = "0" > "
< xsd: annotation >
< xsd: documentation > product line items of the order. < / xsd: documentation >
< / xsd: annotation >
< / xsd: element >
< xsd: element name = "LineItem-giftcertificate" type = "complexType.GiftCertificateLineItems" maxOccurs = "1" minOccurs = '0' > < / xsd: element > "
< xsd: element name = "transport-LineItem" type = "complexType.ShippingLineItems" maxOccurs = "1" minOccurs = '0' > < / xsd: element > "
< xsd: element name = "expeditions" type = "complexType.Shipments" maxOccurs = "1" minOccurs = "0" > "
< xsd: annotation >
< xsd: documentation > shipments of the command. < / xsd: documentation >
< / xsd: annotation >
< / xsd: element >
< xsd: element name = "totals" type = "complexType.OrderTotals" maxOccurs = "1" minOccurs = "0" > "
< xsd: annotation >
< xsd: documentation > order total. < / xsd: documentation >
< / xsd: annotation >
< / xsd: element >
< xsd: element name = "payments" minOccurs = "0" maxOccurs = "1" type = "complexType.Payments" >
< xsd: annotation >
< xsd: documentation > payments used for the order. < / xsd: documentation >
< / xsd: annotation >
< / xsd: element >
< xsd: element name = "remoteHost" type = "simpleType.Generic.String.40" minOccurs = "0" maxOccurs = "1" / > "
< xsd: element name = "notes" type = "complexType.Notes" minOccurs = "0" maxOccurs = "1" / > "
< xsd: element name = "external-order-no" type = "simpleType.Generic.String.256" minOccurs = "0" maxOccurs = "1" > < / xsd: element > "
< xsd: element name = "external-order tracking" type = "simpleType.Generic.String.256" minOccurs = "0" maxOccurs = "1" > < / xsd: element > "
< xsd: element name = "external-order-text" type = "simpleType.Generic.String" minOccurs = "0" maxOccurs = "1" > < / xsd: element > "
< xsd: element name = "custom attributes" type = "sharedType.CustomAttributes" minOccurs = "0" maxOccurs = "1" / > "
< / xsd: SEQUENCE >
< xsd: attribute name = "order-no" type = "simpleType.Generic.String.256" use = "required" / > "
< / xsd: complexType >.......................
< xsd: complexType name = "sharedType.CustomAttributes" mixed = "false" xdb:SQLType = "DMW_CUSTOMATTRIBUTES" xdb:maintainDOM = "false" > "
< xsd: SEQUENCE >
< xsd: element name = "custom, the attribute" type = "sharedType.CustomAttribute" minOccurs = "0" xdb:SQLCollType = "DMW_CUSTOMATTRIBUTES_COLL" maxOccurs = "unbounded" / > "
< / xsd: SEQUENCE >
< / xsd: complexType >.......................
< xsd: complexType name = "sharedType.CustomAttribute" mixed = "true" xdb:SQLType = "DMW_CUSTOMATTRIBUTE" xdb:maintainDOM = "false" > "
< xsd: SEQUENCE >
< xsd: element name = "value" type = "simpleType.Generic.String" minOccurs = "0" maxOccurs = "unbounded" / > "
< / xsd: SEQUENCE >
< xsd: attribute name = "id attribute" type = "simpleType.Generic.NonEmptyString.256" use = "required" / > "
< xsd: attribute ref = "XML: lang" / >
< / xsd: complexType >-XML (partial segment) example
<? XML version = "1.0" encoding = "UTF-8"? "> < ordered xmlns ="http://www.mywebsite.com/xml/impex/order/2006-10-31">."
< order order-no = "BLY0000001605" >
< - > 2014 order date - 02-25T 11: 00:30.959Z < / date of order >
ECOMMERCE < created-by > < / created by >
BLY0000001605 < original-order - No. > < / original-order-not >
< currency > $ < / currency >
<>client-local en_US < / customer-local >
< status >
Placed > order tracking < < / order >
< / status >
< custom attributes - >
< attribute custom attribute id = "storeId" > < value > < / value > < / custom attribute >
< attribute custom attribute id = "shippingMethod" > < value > SAMEDAY_DLV < / value > < / custom attribute >
< / custom attributes >
< / order >
< / order >I can't believe it. You are right.
Removed the external selection and it worked! Mysteries of the Oracle :-)
Thank you so much Odie
(just a question: is 63 your favorite number or your birth year? you can answer me separately if you like...)
GP_63
-
Exception of Java in hand/Menu/Reporting Tools/XML Publisher report definition
Hello
We know this error:
The Java Exception: java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build (Ljava/io/InputStream; Ljava/net/URL ;) Loracle/xml/parser/schema/XMLSchema; : during the com.peoplesoft.pt.xmlpublisher.PSXPXsdUtils.getLevel0ColNames call. PSXPRPTDEFN_WRK (2 763). FUNCLIB. Name: GetBurstFieldValues of FieldFormula PCPC:3211 statement: 48
Called from: PSXPRPTDEFN_WRK. FUNCLIB. FieldFormula name statement: SetBurstFieldValues: 81
Called from: PSXPRPTDEFN_WRK. FUNCLIB. FieldFormula name: LoadReportDefn statement: 660
Called from: PSXPRPTDEFN_WRK. FUNCLIB. FieldFormula name: SelectReportDefn statement: 744
Called from: PSXPRPTDEFN. GBL. Postgeneration statement: 36 error Java noted was launched with a call for a given method.
It is if I add a new value in the report definition (8.5 Peoplesoft CRM): no customization in this
Thanks in advance...Just saw this doc on MOS
E-BI/XMLP: error 'java.lang.NoSuchMethodError"received when creating or opening a report definition [1077734.1 ID]
indicating the xmlparserv2 - 904.jar should be removed from the the classpath and PS_HOME\classes resp.See the doc of MOS for the detailed steps to solve your problem.
Kind regards
Halin
-
Hello
In the APEX, I try to export a report in XML format which will be then imported into a PDF form. I receive the error:
"BOLD"report error: ORA-06502: PL/SQL: digital or value error: character string buffer too small * bold *.
When trying to export on a report that has more than 44 columns. Anything in the exports of 44 columns very well. The full report is 1 row and 61 columns which is which is to be exported. Is this something that can be fixed with a configuration change or get around it?
Thank you
JoelBecause your number of columns column seems to be the problem, you can manually create an XML file for the user with dbms_xmlgen package.
Select dbms_xmlgen.getxml ("select * from tab where tabtype =" SYNONYM "'") double
GetXml returns the CLOB data type. You can store the result in a bulk pl/sql clob data type and then write the contents of the present in a flat file where you want using the UTL_FILE package.
http://www.DBA-Oracle.com/t_dbms_xmlgen.htm
Thank you
Tony Miller
Webster, TX -
the sql XML query report conversion - sound the alarm
Hi all
I have a custom report based on an sql query (method-sql * more) I need to convert this report in XML. I followed these steps
now, if I run this program it will show a warning when I checked the journal (Journal of the conc program manager administer) it displays following errorI have generated the xml file by opening this request in the rdf generator (file > > generate > > xml)
I open this XML file in word and do the rest of the treatment
Copy the original simultaneous program (copy to option in set the window)
changed the short name and the type of output as XML (the same method and executable retention)
Add newly build it program at thr group asks even the original program in conc
> > caused by: oracle.xdo.parser.v2.XMLParseException: beginning of the element root waited.
When I checked the XML code (from diagnostics) I was following the text by giving parameters
> > whitespace is not allowed at this location. Error processing resource
> > Semi colon character was expected. Error processing resource
I checked the preview while I was preparing the model in word, it was a weather display data
by giving the same parameters for which I generated the XML code, it shows the same warning in apps
The log file also has the data...
I use reports 6i, XML 5.6.2 and apps 11.5.10.2
kindly help me to solve this
Thanks in advance
Shivdeep Singhfirst question - did you just change the output format of your concurrent request (with the executable, type SQL * more) in XML format and add a template to it?
If this is the case, I'm not surprised, you get an error. You must ensure that you generate actual XML output. If you run the query and then click on the "Diagnostics" button, you will see a button saying 'display XML '. Click on this to see what you get. If you get an error, then it is not correct XML.
This is the case, you have several options:
1. create a data model and use it to create the XML file
2 use the XML features in your query to generate XML (never tried so cannot guarantee this will work)
3. use file rdf reports to generate the XML file
4 generate the XML of PL/SQL fileI suggest that you try option 2 first of all it should be pretty fast & easy to test, then use option 1 as the best solution if it does not work.
Good luck!
-
different first page header xml publisher reports
Dear all,
I have a RTF model I need to print deparaments first page header and another page remaining heading, I tried using the first page different from the characteristic word, but it is not working properly, in my rtf after first page I used for each @section: GHEADERS so first two pages, it feels like headers and for other pages , it is printing another heading so I need only the first page to be printed header different, please help me it's little urgent.
Thank you
Hi KP1,.
I sent the rtf and the XML for the mentioned mail ID please check and let me know.
Thank you
-
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.
I also have Session State to enabled and have added the P1_ID in the area of 'State of Session' under the query.select violation_date , violation_type , nvl(:P1_ID,'zzz') from edd_procard_violations where upper(card_holder_id) = upper(:P1_ID)
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.
LarryHello 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
Maybe you are looking for
-
Hah! Had the problem after upgrade to OS 10.11.6. Many applications open. "cannot open application Notes. After McAfee Internet Security setting. Disable the effective Protection has allowed the Apple software to open. After turning on the return, ap
-
Satellite A300D-15B: where to find the software cam Chicony for Win7
I recently did a clean install of windows 7 64 bit on my Satellite A300D-15B and I was wondering were I can download Chicony camera assistant software go? At soon Avo
-
Cannot print. Download the paper for the error message jam & no ink cartridge. There is no paper jam. There is an ink cartridge that is full. I unplugged my printer and taking my computer, waited a min or so plugged again. Still getting red flas
-
How can I disable the Windows XP Pro wifi connection?
is there a port can I close? I am a novice so it. and I had annother LAN connection.in the last hour. by itself. My firewall has already a lam configuration for microsoft then why my comp need another for microsoft tv on the TCP/IP Protocol on a seco
-
Recover a file that I saved accidentally on
I'm so frustrated. I record a new file and was clicking on the folder to put it in. When I arrived, I didn't that he has highlighted another file as name - so I clicked OK and now I've completely lost the old file. I'm upset because the old file i