Formatting padded rows
Hi,
I'm new to BI Publisher and am stuck on the formatting of my layout. I'm trying to convert the standard Oracle AR invoice (RAXINV_SEL) report to XML. I've read the articles by Tim Dexter and Darshan Bhavsar on row enumeration and I think I got it to work. My problem is getting the extra padded rows to print the borders. I have to show the outside lines but not the lines in between the columns. I've logged an SR with Oracle but was told this is very difficult to do and suggested I asked this forum. Does anyone have any ideas on how to make this work?
Thanks in advance!
Thu Nguyen
Thu
My problem is getting the extra padded rows to print the borders. I have to show the outside lines but not the lines in between the columns.
What i understood from above statement is ,, i think you want only outer borders of table ,i mean you don't want border for inner cell.
I think for this you have to play around with MS-Word's Border&Shedding option. Set the left,right,top,bottom border as per your requirement.
Hope this is what you were looking for.
With Best Regards
Darshan Bhavsar
Similar Messages
-
Formatting header rows in data form in hyperion planning
Hello Friends,
I want to format header rows in data form in hyperion planning (formatting like Bold, Italic etc...) Is there any way to do that?I could be wrong. That's why i thought i should post this one.
This is from 11.1.2.2.300 readme
Customizing the Style of Header Cells in Forms
Applying a bold style to all forms
1. From HyperionPlanning.war\custom, open HspCustom.css and insert this class code:
customheaderStyle
Font-family:<font>;
Font-size:<size>;
Font-weight:bold;
For example, to use bolded garamond 14 as the style for header cells you would specify:
customheaderStyle
Font-family:garamond;
Font-size:14;
Font-weight:bold;
You can also change the font and the font size in the same portion of code.
Perform the tasks in "Registering Customized Skins in Applications".
Applying a bold style to one form
Determine the ID of the form to customize by running this query in which ‘<FORM_NAME’ is the name of the form:
Select object_id AS FORM_ID,object_name AS FORM_NAME from hsp_object
where object_name like ‘<FORM_NAME>’
For example, to modify a form called "1.30 Per Payor – Metrics”, you would run this query:
Select object_id AS FORM_ID,object_name AS FORM_NAME from hsp_object where object_name like "1.30 Per Payor-Metrics"
When the ID is returned, create a css class in HspCustom.css using the following format. HspCustom.css is in HyperionPlanning.war\custom.
“customheaderStyle_<FORM_ID>”
Set font-weight in .customheaderStyle as bold as shown below. You can also change the font and the font size in the same portion of code.
customheaderStyle
Font-family:<font>;
Font-size:<size>;
Font-weight:bold;
To use different styles on individual forms, create a css class for each form.
so there is a way to create custom headers
Regards
Celvin
http://www.orahyplabs.com -
Apply Number Format across Rows
Hi Experts - I need to apply the number format across rows. As a dimension I have a Bex Structure.
Negetive number should be in red and there is also a % rows , which should have 2 decimal places.
I need help how to fromat numbers across the rows while we have Bex structure in place.
Structure BUD PF1 Total
Amount---> 1000 -500.00 500.00
% Amount-->5.00% -15.00% -10.00%
Thanks
Rrohan1103,
Right click the column and apply conditional fromatting. Your negative numbers should follow a code like this.
Negative; [Red](In square braces)(#,##0.00).
This will display any negative number in Red color.
Thanks,
karthik
Edited by: kbharadwaj79 on Jun 20, 2011 12:16 PM
Edited by: kbharadwaj79 on Jun 20, 2011 12:16 PM -
Conditional Formating of rows and columns in template(cross tab)
Hi,
I am developing a cross tab report in which I have row header as the year like 2008,2007,2006....column header as months jan,feb,mar...and the data area contains the respective data...I need to format the background color of the rows and columns which are below the date of the report(report is ran for a particular month like mar-08)..I was able to format the background color of all the rows that fall below(ex:08) the year of the report(using <?if@row:row_name<'$first'?> <xsl::attribute name="background-color" xdofo:ctx="incontext">#C0D27F</xsl::attribute><?end if?>)..
and I need to format the 3(till march) columns in the yr 2008
Thanks...Hello..
Thanks for the reply...
I have report date as mm|yyyy...below is a sample data of the cross tab..
<Q1>
<REPORT_DATE>04|2005</REPORT_DATE>
</Q1>
<Q4>
<CLASS_ID>1</CLASS_ID>
<MONTH_BEGIN_DATE>JAN</MONTH_BEGIN_DATE>
<BEGIN_DATE>2004</BEGIN_DATE>
<NET_ROR>1.32</NET_ROR>
<ACTUAL_DATE>01/01/2004</ACTUAL_DATE>
<FUND_FACT_YTD>7.942192987387475647074276803933198866</FUND_FACT_YTD>
</Q4>
<Q4>
<CLASS_ID>1</CLASS_ID>
<MONTH_BEGIN_DATE>JAN</MONTH_BEGIN_DATE>
<BEGIN_DATE>2005</BEGIN_DATE>
<NET_ROR>-.21</NET_ROR>
<ACTUAL_DATE>01/01/2005</ACTUAL_DATE>
<FUND_FACT_YTD>5.739540457478967975310388578877768035</FUND_FACT_YTD>
</Q4>
<Q4>
<CLASS_ID>1</CLASS_ID>
<MONTH_BEGIN_DATE>FEB</MONTH_BEGIN_DATE>
<BEGIN_DATE>2004</BEGIN_DATE>
<NET_ROR>.59</NET_ROR>
<ACTUAL_DATE>02/01/2004</ACTUAL_DATE>
<YTD>7.942192987387475647074276803933198866</YTD>
</Q4>
<Q4>
<CLASS_ID>1</CLASS_ID>
<MONTH_BEGIN_DATE>FEB</MONTH_BEGIN_DATE>
<BEGIN_DATE>2005</BEGIN_DATE>
<NET_ROR>1</NET_ROR>
<ACTUAL_DATE>02/01/2005</ACTUAL_DATE>
<YTD>5.739540457478967975310388578877768035</YTD>
</Q4>
<Q4>
<CLASS_ID>1</CLASS_ID>
<MONTH_BEGIN_DATE>MAR</MONTH_BEGIN_DATE>
<BEGIN_DATE>2004</BEGIN_DATE>
<NET_ROR>0</NET_ROR>
<ACTUAL_DATE>03/01/2004</ACTUAL_DATE>
<YTD>7.942192987387475647074276803933198866</YTD>
</Q4>
<Q4>
<CLASS_ID>1</CLASS_ID>
<MONTH_BEGIN_DATE>MAR</MONTH_BEGIN_DATE>
<BEGIN_DATE>2005</BEGIN_DATE>
<NET_ROR>-.2</NET_ROR>
<ACTUAL_DATE>03/01/2005</ACTUAL_DATE>
<YTD>5.739540457478967975310388578877768035</YTD>
</Q4>
<Q4>
<CLASS_ID>1</CLASS_ID>
<MONTH_BEGIN_DATE>APR</MONTH_BEGIN_DATE>
<BEGIN_DATE>2004</BEGIN_DATE>
<NET_ROR>-.07</NET_ROR>
<ACTUAL_DATE>04/01/2004</ACTUAL_DATE>
<FUND_FACT_YTD>7.942192987387475647074276803933198866</FUND_FACT_YTD>
</Q4>
<Q4>
<CLASS_ID>1</CLASS_ID>
<MONTH_BEGIN_DATE>APR</MONTH_BEGIN_DATE>
<BEGIN_DATE>2005</BEGIN_DATE>
<NET_ROR>-.87</NET_ROR>
<ACTUAL_DATE>04/01/2005</ACTUAL_DATE>
<YTD>5.739540457478967975310388578877768035</YTD>
</Q4>
MONTH_BEGIN_DATE goes as the column header, BEGIN_DATE goes as the row header and NET_ROR is the data area..I need to get the background color of each cell of NET_ROR below the report date as one color...
Thanks .. -
Some of the Portal Documentation makes note of how the variable field ##OP_ROWNUM_MOD2## could be utilized to laternate the ROW colors using the HTML format.
Does anyone have an example of how this would be done?
--Tim -
Wicked Widget Format / Padding Output Problem
Hi forum, it's been a while.
I'm hoping this is quick and obvious to someone. Basically I'm looking to pad the output of the standard network monitor Wicked widget, and maybe some of the others, for the new Awesome 3 GIT. It is all working fine, just i'd like to stop the numbers moving around my status bar. As a temp fix to stop everything moving i've set the width of the network widget, but is their some Lua formatting that can go in the output string and sort this properly?
Cheers
pablored
Edit.. changed title from Help to Problem, as it could be misread
Last edited by pablored (2008-08-27 20:55:27)Wow... tries to avoid words such as amazing and awesome... that's great, I will try this when I get home. I note the WIKI is updated too.
I was part way through breaking everything down into individual widgets that had their width set, but that was pretty time consuming and not very elegant. I had thought there might be something I was missing that I could wrap around the dollar variable, format(${eth0 down},'000') etc, but your way is simpler.
My new user understanding:
wicked.register(widget-name, function-name, output-string, interval-in-seconds, properties-name ,{padding-item-1, ... padding-item-n})
I look forward to playing with it later, thanks for your help. -
Formating the Row Based on one column value
Hi Friends
I am trying to format the Entire row based on the value of the first column in my Answers.
Example if first column value in 'F' now i want the Entire row to be colored
I can do conditional formating on one column but i want to do it on the entire row
F 8.1 % 12.0 %
E 5.2 % 3.5 %
M 2.3 % 3.3 %
If any one has done this or any suggestions please respond
Thanks
SangIts a Pivot View
F 8.1 % 12.0 %
E 5.2 % 3.5 %
M 2.3 % 3.3 %
the column 1 --> F,E,M are the Product
the column 2 --> 8.1% , 5.2% , 2.3% are the sales in year 2008
the column 3 --> 12.0 % , 3.5 %, 3.3 % are the sales in year 2009
So will i be able to apply the formating in pivot view based on one column to other column If yes please let me know how or
suggest if this can be done using the BI Office , or BI publisher
sing the BI Office i can do the formating in Excel but once i refresh the data all the formating is gone ... :(
I am donno BI Publisher if we have to use BIP please suggest any solution its very very very urgent and important report formating they need here ....
Thanks in advance David
sango -
Exception for Formatting Total row
We are able to format the total row of a table region using the following code in the processrequest:
OAMessageStyledTextBean orderTotal = (OAMessageStyledTextBean)webBean.findIndexedChildRecursive("Amount");
if (orderTotal != null)
orderTotal.setAttributeValue(CURRENCY_CODE,
new OADataBoundValueViewObject(orderTotal, "ActualAmount"));
It works for most of the cases, but it errors out for a particular scenario wherein the formatting fails even when the control is suppose to go the processformrequest on clicking the Find button of the OAF page.
The exception stack is as follows:
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
at oracle.apps.fnd.framework.webui.OADataBoundValueTabularFunction.formatTotal(OADataBoundValueTabularFunction.java:368)
at oracle.apps.fnd.framework.webui.OADataBoundValueTabularFunction.getTableTotal(OADataBoundValueTabularFunction.java:240)
at oracle.apps.fnd.framework.webui.OADataBoundValueTabularFunction.getValue(OADataBoundValueTabularFunction.java:123)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(OAWebBeanHelper.java:1765)
at oracle.apps.fnd.framework.webui.beans.OAStyledTextBean.getAttributeValueImpl(OAStyledTextBean.java:231)
at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
at oracle.cabo.ui.laf.base.BaseLafUtils.getLocalTextAttribute(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.getText(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.getElementName(Unknown Source)
at oracle.cabo.ui.ElementRenderer.prerender(Unknown Source)
Regards
SanjeetThe entire error stack is as follows:
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
at oracle.apps.fnd.framework.webui.OADataBoundValueTabularFunction.formatTotal(OADataBoundValueTabularFunction.java:368)
at oracle.apps.fnd.framework.webui.OADataBoundValueTabularFunction.getTableTotal(OADataBoundValueTabularFunction.java:240)
at oracle.apps.fnd.framework.webui.OADataBoundValueTabularFunction.getValue(OADataBoundValueTabularFunction.java:123)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(OAWebBeanHelper.java:1765)
at oracle.apps.fnd.framework.webui.beans.OAStyledTextBean.getAttributeValueImpl(OAStyledTextBean.java:231)
at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
at oracle.cabo.ui.laf.base.BaseLafUtils.getLocalTextAttribute(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.getText(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.getElementName(Unknown Source)
at oracle.cabo.ui.ElementRenderer.prerender(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.prerender(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.prerender(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TotalRowRenderer._renderChildren(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TotalRowRenderer._deprecatedRenderContent(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TotalRowRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderNamedChild(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer._renderColumnFooterDeprecated(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer._renderFooter(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableRows(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.TableRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.table.OATableBean.render(OATableBean.java:640)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:398)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:3263)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2918)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2725)
at oa_html._OA._jspService(_OA.java:105)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.lang.NullPointerException
at oracle.apps.fnd.common.CurrencyHelper.getFormattedNumericValue(CurrencyHelper.java:189)
at oracle.apps.fnd.common.CurrencyHelper.getFormattedNumericValue(CurrencyHelper.java:180)
at oracle.apps.fnd.common.CurrencyHelper.getFormattedNumericValue(CurrencyHelper.java:146)
at oracle.apps.fnd.framework.webui.OADataBoundValueTabularFunction.formatTotal(OADataBoundValueTabularFunction.java:364)
at oracle.apps.fnd.framework.webui.OADataBoundValueTabularFunction.getTableTotal(OADataBoundValueTabularFunction.java:240)
at oracle.apps.fnd.framework.webui.OADataBoundValueTabularFunction.getValue(OADataBoundValueTabularFunction.java:123)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(OAWebBeanHelper.java:1765)
at oracle.apps.fnd.framework.webui.beans.OAStyledTextBean.getAttributeValueImpl(OAStyledTextBean.java:231)
at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
at oracle.cabo.ui.laf.base.BaseLafUtils.getLocalTextAttribute(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.getText(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.getElementName(Unknown Source)
at oracle.cabo.ui.ElementRenderer.prerender(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.prerender(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.prerender(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TotalRowRenderer._renderChildren(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TotalRowRenderer._deprecatedRenderContent(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TotalRowRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderNamedChild(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer._renderColumnFooterDeprecated(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer._renderFooter(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableRows(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.TableRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.table.OATableBean.render(OATableBean.java:640)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:398)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:3263)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2918)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2725)
at oa_html._OA._jspService(_OA.java:105)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
java.lang.NullPointerException
at oracle.apps.fnd.common.CurrencyHelper.getFormattedNumericValue(CurrencyHelper.java:189)
at oracle.apps.fnd.common.CurrencyHelper.getFormattedNumericValue(CurrencyHelper.java:180)
at oracle.apps.fnd.common.CurrencyHelper.getFormattedNumericValue(CurrencyHelper.java:146)
at oracle.apps.fnd.framework.webui.OADataBoundValueTabularFunction.formatTotal(OADataBoundValueTabularFunction.java:364)
at oracle.apps.fnd.framework.webui.OADataBoundValueTabularFunction.getTableTotal(OADataBoundValueTabularFunction.java:240)
at oracle.apps.fnd.framework.webui.OADataBoundValueTabularFunction.getValue(OADataBoundValueTabularFunction.java:123)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(OAWebBeanHelper.java:1765)
at oracle.apps.fnd.framework.webui.beans.OAStyledTextBean.getAttributeValueImpl(OAStyledTextBean.java:231)
at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
at oracle.cabo.ui.laf.base.BaseLafUtils.getLocalTextAttribute(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.getText(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.getElementName(Unknown Source)
at oracle.cabo.ui.ElementRenderer.prerender(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.prerender(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.prerender(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TotalRowRenderer._renderChildren(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TotalRowRenderer._deprecatedRenderContent(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TotalRowRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderNamedChild(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer._renderColumnFooterDeprecated(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer._renderFooter(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableRows(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.TableRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.table.OATableBean.render(OATableBean.java:640)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:398)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:3263)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2918)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2725)
at oa_html._OA._jspService(_OA.java:105)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534) -
Limit rows per page, include spacer and format last row on page break
Hello,
I am new to BI and would like some help with an issue I don't seem to be able to resolve?
I have a table that uses two xml group elements (2nd nested inside first) to produce my detail lines.
Example:-
First for-each loop runs over shipto details and within this another for-each loop runs over items related to that shipto, all of which results in multiple detail lines.
I need to limit the number of rows per page and should the data roll over to the next page I need to place a horizontal closing border on the first page's table (only using column borders).
Also when the data does not fill the page I need to add spacer rows to the page limit?
I have tried using examples found in these forums, position(), counters etc… but due to having the second detail loop I’m unable to get these working or I’m doing something wrong?
Your help would be greatly appreciated.Hi BIPuser, thanks for the links.
I have tried some of the examples which I can get working with a single level of detail lines. However when I add the second level of detail lines the position() function seems to fail as my rowlimit appears to be ignored.
I am also unable to get the $lpp example working because the outer detail loop may only have one xml element and therefore BI assumes only one line is to be printed when in fact the inner xml element detail loop may have further multiple lines. I need to effectively count the outer & inner loops as one to determine the number of lines being processed.
Example of xml - My table for detail lines needs to include both ShipTo & item number lines grouped as shown, thereby counting & outputting 7 lines in this instance.
<INVOICE>
<On_Ship_To_S23> Outer loop
<On_itm_num_shr_row_S21> Inner Loop
<On_itm_num_shr_row_S21>
<On_itm_num_shr_row_S21>
</On_Ship_To_S23>
<On_Ship_To_S23>
<On_itm_num_shr_row_S21>
<On_itm_num_shr_row_S21>
</On_Ship_To_S23>
</INVOICE> -
Data format in rows and columns
I have a table and have the following data,I need to transpose int he required form.
The number of rows are dynamic and i dont want decode and string concatenation.
1 Tamil 1 1000
2 English 2 2000
3 Hindi 3 3000
4 German 4 4000
5 Telugu 5 5000
o/p
tamil english hindi german telegu
1 2 3 4 5
1000 2000 3000 4000 5000
The first column values will become the heading and all other corresponsing rows will become the column values
Kindly reply ,,Thaks in advancehow about this
assuming you've implemented the stragg function (see ask tom if not)
of course you can always use sys connect by path to roll the column values up into a single entry.
anyway use stragg or sys connect by path to get all the colum values into a single entry seperated by commas
col1 col2 col3
Tamil,English,Hindi,German,Telugu 1,2,3,4,5 1000,2000,3000,4000,5000
next I used the model clause to take the three columns one row construct
and change it to one column 3 rows so now the result set looks like this
col1
Tamil,English,Hindi,German,Telugu
1,2,3,4,5
1000,2000,3000,4000,5000
finally I appended a comma to the end of each row and parsed through it pulling out the text between columns
here is the whole thing...... again for this to work you need to have implemented the stragg function else you'll have to change to sys connect by path.
select col4 StraggedValues,
substr (col4, 1, instr(col4,',',1) -1) col1,
substr (col4, instr(col4,',',1)+1, instr(col4,',',1,2) - instr(col4,',',1)-1) col2,
substr (col4, instr(col4,',',1,2)+1, instr(col4,',',1,3) - instr(col4,',',1,2)-1) col3,
substr (col4, instr(col4,',',1,3)+1, instr(col4,',',1,4) - instr(col4,',',1,3)-1) col4,
substr (col4, instr(col4,',',1,4)+1, instr(col4,',',1,5) - instr(col4,',',1,4)-1) col5,
substr (col4, instr(col4,',',1,5)+1, instr(col4,',',1,6) - instr(col4,',',1,5)-1) col6,
substr (col4, instr(col4,',',1,6)+1, instr(col4,',',1,7) - instr(col4,',',1,6)-1) col7
from (
with a as
select stragg(col1) strCol1, stragg(col2) strCol2, stragg(col3) strCol3 from
select 1 rn, 'Tamil' col1, 1 col2, 1000 col3 from dual union
select 2 rn, 'English' col1, 2 col2, 2000 col3 from dual union
select 3 rn, 'Hindi' col1, 3 col2, 3000 col3 from dual union
select 4 rn, 'German' col1, 4 col2, 4000 col3 from dual union
select 5 rn, 'Telugu' col1, 5 col2, 5000 col3 from dual
select col4||',' col4 from a
model
return updated rows
dimension by (0 d)
measures (strcol1, strcol2, strcol3, 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' col4)
rules iterate (3)
col4[iteration_number + 1] = case iteration_number
when 0 then strcol1[0]
when 1 then strcol2[0]
when 2 then strcol3[0]
else null end
)) b -
Conditional Formating a row if a cell is blank
How to Color an entire row if a particular cell in the row is blank ??
If you don't want extra rows in your table and just want a clean, two-click solution, then AppleScript is good at conditional coloring of rows.
Here, a script colors rows whose column C (column 3) is blank, like this:
a
b
c
d
1
2
4
1
3
4
a
b
d
1
3
4
This is the script:
property startRow : 2 -- to skip a header row
property columnToTest : 3 --column C, change as needed, 2 for B, 4 for D, etc.
property highlightColor : "red"
tell application "Numbers"
try
set t to front document's active sheet's first table whose selection range's class is range
tell t to repeat with r from startRow to row count
set v to row r's cells's value
if v's item columnToTest is missing value then
set row r's background color to highlightColor
end if
end repeat
end try
end tell
To use it all that is needed is:
Copy and paste into AppleScript Editor
Click once anywhere in the table (to tell the script what table you mean)
Click the green triangle 'Run' button.
(Change color and column as desired in properties.)
That's all it takes!
SG -
Cursor in select query in row to column format
Hi
I have the query like below
SELECT d.department_id,
CURSOR(SELECT e.first_name,
e.last_name
FROM employees e
WHERE e.department_id = d.department_id
) emps
FROM depatments dI want the result set in a format of Row To columns like
10 20
<cursor result> <cursor result>pls give ur suggestions how to achieve this in a efficient way?I tried the method of "max(decode(.." but dont think so its possible with thisvishnu prakash wrote:
Hi
I have the query like below
SELECT d.department_id,
CURSOR(SELECT e.first_name,
e.last_name
FROM employees e
WHERE e.department_id = d.department_id
) emps
FROM depatments dI want the result set in a format of Row To columns like
10 20
<cursor result> <cursor result>pls give ur suggestions how to achieve this in a efficient way?I tried the method of "max(decode(.." but dont think so its possible with thisNumber of column of a select query is static. Must be known at the parsing time itself. But in your case i dont think the number of columns will be limited to 2 (10 and 20) there could be many more.
You can search this forum to see how to PIVOT your data. There are lot of example. You can also try dynamic pivot. Its all in here, just search. -
Hi,
I am spooling the output of a select to a file.
I've got my columns and everything formatted as required.
Only thing is, would like to format my rows differently, basically I don't want the rows to terminate a new line, but a particular character instead, can this be done in sqlplus...
(The only way I can think of doing it is by post processing the output with a shell script or something.. Really don't want to do that..)Hi...
Dunno if it helps...tried this ..?..
Limited scope..might work only with small tables/records...
declare
full_row varchar2(32767); ---- MAXIMUM..think about this if ur table is large
delim varchar2(1);
cursor c1 is
select col1, col2 from temps;
c1_rec c1%rowtype;
begin
open c1;
loop
fetch c1 into c1_rec;
exit when c1%notfound;
if c1%rowcount = 1 then
delim:=' ';
else
delim:=';';
end if;
full_row:=full_row||delim||c1_rec.col1||','||c1_rec.col2;
end loop;
full_row:=full_row||';';
dbms_output.put_line(full_row);
end;
a,aa;a,aa;b,bb;b,bb; -
Conditionally Color a row based on the Day of the Week for that row ?
Hi,
I have a Table containing some timing entries for each day. I have been trying to format some rows depending on a value in one of the columns for that row. What I would like to achieve is color the cell background gray for every row where the Date found in the first Column isn't a Week Day.
I have been trying many things by now, but can't seem to figure it out. Does anyone have suggestions ? I have included a screenshot of what I would like to achieve :
Thanks a lot in advance,
Stefaan
Message was edited by: Stefaan LesageVariations on my post linked in Badunit's message here:
You'll need a second table with one column and as many rows as Table 1 (which contains the dates).
The formula for Table 2 assumes the dates are in column B of Table 1.
=OR(WEEKDAY(Table 1::B)=1,WEEKDAY(Table 1::B)=7)
Enter the formula in the same row as the first data row in Table 1, and Fill it down.
Rule for conditional formatting for all cells in Table 2: Equals TRUE
Other instructions as in the linked message.
Regards,
Barry -
Download to Excel is hiding rows in a pivot view
Hello ,
When downloading a report to excel from OBIEE Dashboard , certain rows are getting hidden . For instance , I have total 15 rows in my pivot view and when I download that report into excel format , the rows from 8-13 are not showing up . After 7th row I see 14th row .
But when I download the same report from Answers I can see all rows in the pivot view .
I tried looking at the formatting options of the pivot view and everything is normal . This is happening only with this particular report , other reports in dashboard download normally .
Please let me know if anybody has ideas .
Thank you
Karthikkarthik,
From where ur downloading to excel ...use the download option available at "preview " button ,if you are using the same go with report links download button option
Last option create a new report (without any filters in case if u have)
Thanks,
Saichand.v
Maybe you are looking for
-
Hello everyone, We are on 10gR2 ASM. The system admin has provided one disk as follows: On node-1 (tphsmsd1) /dev/rdisk/disk83 CANDIDATE On node-2 (tphsmsd2) /dev/rdisk/disk77 CANDIDATE I've read that paths of ASM disks in RAC may be different. When
-
Is there a split viewing screen feature available for my iPad2?
Is there a split viewing screen feature available for my iPad2?
-
My patience is growing thin...
so i've been having kernel panics since i've had my MBP- the 10.4.7 update cured them for a while, now in the last 2 days they've reappearred, had 3 today!! Tired safe booting, disk repairing multiple times. I had an extra 1G RAM installed by Apple i
-
Moving field-symbol data to an internal table
Hi I have defined a field-symbol field-symbols: <fs_table> type standard table. Dynamically, I have populated some records in this <fs_table> & now I would like to copy this data into another internal table. I would like to know the best method t
-
Dreamweaver CS6 activation problems
Hi, I cant' recieve a serial number because Adobe is requesting a complete APAC address which i don't know of?