How to Print Footer details conditionally in RTF template ( XML Bi report)
Hi,
I have a XML ( BI) report. in which i am printing carry frwd / running total/ sub group total values in the footer section.
I have add one more condition to display the footer values based on the <xdofo:show-carry-forward ...> values.
Please suggest and help me on this, how to handle this case.
Regards,
KAP.
Hi,
Thanks for the reply...
Actually i am looking for the following scenarios :
1. i want to Hide/ Don't show last 3-pages Footer information in the report.
2. While i am displaying the Carry forward information in the report
a. if the page/ running total is 0, i don't want to display the footer information.
b. only case if the page/ running total is > 0, i want enable footer information dynamically for each page.
i have done as follows :
in the Template main body :
*<?template:footer?>*
**1000* *1000**
*<?end template?>*
and for behind 1000 currently :
<xdofo:inline-total display-condition="exceptlast" name="RUNAMT"><xdofo:show-carry-forward name="RUNAMT" format="99G999G999D00"/></xdofo:inline-total>
it was printing the " RUNAMT " calculated page total sucessfully. but here if the Total = 0 then i don't want to show the value in FOOTER...
Thanks in Advance.
Please let me know, if more information required to help..
KAP..
Similar Messages
-
If like condition in rtf (template for oracle report)
i'm begineer developer in oracle ebs i'm using report builder and rtf (xml) template to build report
can anyone help my i want to make 2 layout in 1 template (1 rtf file) and give condition with if, lower and like (in sql i'm use like) but is error
i give this query in my rft template:
<?if: lower(WORK_ORDER_TYPE) like 'breakdown'?>
<?start:body?>
my_template
<?end:body?>
<?end if?>please help my for this problem
thank you very muchYou can use choose too,
note: the conditions are same
<?choose:?>
<?when: SHIP_COUNTRY_CODE=’IT’?>
<?concat(‘Iscrizione Registro AEE n.’,WEEE_REG_NUM)?>
<?end when?>
<?when: SHIP_COUNTRY_CODE=’IT’?>
<?concat(‘WEEE Registration No.’,WEEE_REG_NUM)?>
<?end when?>
<?end choose?> -
How to print multiple footers for each page in RTF template xml report.
Hi,
How to print multiple footers for each page in RTF template xml report.
i am able to print ( two sets ) ...
up to last page ( one template ) and for last page ( another template).
i want to change the footer information based on the group value printed in the report ( it might be 5 to 6) In every report run.. can you please check and let me know do we have any feasibility to achieve this.
Thanks in advance.
Regards,
KAP.You can remove all other logic, like last page only contents (start@last-page:body), etc and section breaks if any you have inserted manually.
Just have for-each@section logic.
It would be difficult for me to guess what you have done without looking at your RTF or describing here. -
Using OR condition in RTF Template
Hi,
How to use OR condition in RTF?
say for example,consider the EMP table.
I want to show the employees of department 10 and 20 in my XML Publisher report.
How can i write --
if deptno = 10 or deptno =20 in RTF templateyou can add the condition in RTF template
<?if:XMLfield=30 or XMLfield=10 ?> to display <?end if?> -
How to Print a text in bold format in a classic report ??
How to Print a text in bold format in a classic report ??
hi
u can use
<b>FORMAT INTENSIFIED ON.</b>
regards
ravish
reward if useful -
How to display no data found in RTF template ? XML Publisher
Hi
I have xml file, how to display no data found in RTF template ? XML Publisher ?
This is the XML File
<?xml version="1.0" encoding="UTF-8"?>
<INVALIDSERIALPRODUCT>
<P_ORG_CODE></P_ORG_CODE><P_DATE_RANGE_FROM></P_DATE_RANGE_FROM><P_DATE_RANGE_TO></P_DATE_RANGE_TO><P_ITEM_NUMBER>VIR</P_ITEM_NUMBER><P_LOT_NUMBER></P_LOT_NUMBER><P_RMA_NUMBER_FROM></P_RMA_NUMBER_FROM><P_RMA_NUMBER_TO></P_RMA_NUMBER_TO><P_CUSTOMER_NAME></P_CUSTOMER_NAME><P_EMAIL></P_EMAIL>
<G_SNQ>
<USER_NAME>NSAWHNEY</USER_NAME>
<G_SN>
<ITEM_NUMBER>VIR823010</ITEM_NUMBER>
<DESCRIPTION/>
<LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
<SERIAL_NUMBER>000000000004</SERIAL_NUMBER>
<RMA_NUMBER>8200000106</RMA_NUMBER>
<CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
<COUNTERFEIT_CHECK_DATE>2014-07-11T05:13:05.000-07:00</COUNTERFEIT_CHECK_DATE>
<REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
</G_SN>
<G_SN>
<ITEM_NUMBER>VIR823010</ITEM_NUMBER>
<DESCRIPTION/>
<LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
<SERIAL_NUMBER>000000000004</SERIAL_NUMBER>
<RMA_NUMBER>8200000106</RMA_NUMBER>
<CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
<COUNTERFEIT_CHECK_DATE>2014-07-11T05:52:23.000-07:00</COUNTERFEIT_CHECK_DATE>
<REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
</G_SN>
<G_SN>
<ITEM_NUMBER>VIR823010</ITEM_NUMBER>
<DESCRIPTION/>
<LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
<SERIAL_NUMBER>000000000016</SERIAL_NUMBER>
<RMA_NUMBER>8200000106</RMA_NUMBER>
<CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
<COUNTERFEIT_CHECK_DATE>2014-07-11T05:53:06.000-07:00</COUNTERFEIT_CHECK_DATE>
<REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
</G_SN>
<G_SN>
<ITEM_NUMBER>VIR823010</ITEM_NUMBER>
<DESCRIPTION/>
<LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
<SERIAL_NUMBER>011000000011</SERIAL_NUMBER>
<RMA_NUMBER>8200000106</RMA_NUMBER>
<CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
<COUNTERFEIT_CHECK_DATE>2014-07-11T06:09:16.000-07:00</COUNTERFEIT_CHECK_DATE>
<REASON>Serial number does not exist in Axway Track-n-Trace</REASON>
</G_SN>
<G_SN>
<ITEM_NUMBER>VIR823010</ITEM_NUMBER>
<DESCRIPTION/>
<LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
<SERIAL_NUMBER>000000000021</SERIAL_NUMBER>
<RMA_NUMBER>8200000106</RMA_NUMBER>
<CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
<COUNTERFEIT_CHECK_DATE>2014-07-11T06:11:09.000-07:00</COUNTERFEIT_CHECK_DATE>
<REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
</G_SN>
<G_SN>
<ITEM_NUMBER>VIR823010</ITEM_NUMBER>
<DESCRIPTION/>
<LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
<SERIAL_NUMBER>000000000001</SERIAL_NUMBER>
<RMA_NUMBER>8200000066</RMA_NUMBER>
<CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
<COUNTERFEIT_CHECK_DATE>2014-07-11T06:46:04.000-07:00</COUNTERFEIT_CHECK_DATE>
<REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
</G_SN>
<G_SN>
<ITEM_NUMBER>VIR823010</ITEM_NUMBER>
<DESCRIPTION/>
<LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
<SERIAL_NUMBER>000000000001</SERIAL_NUMBER>
<RMA_NUMBER>8200000066</RMA_NUMBER>
<CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
<COUNTERFEIT_CHECK_DATE>2014-07-11T07:08:21.000-07:00</COUNTERFEIT_CHECK_DATE>
<REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
</G_SN>
<G_SN>
<ITEM_NUMBER>VIR823010</ITEM_NUMBER>
<DESCRIPTION/>
<LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
<SERIAL_NUMBER>00000000004 </SERIAL_NUMBER>
<RMA_NUMBER>8200000066</RMA_NUMBER>
<CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
<COUNTERFEIT_CHECK_DATE>2014-07-11T07:13:05.000-07:00</COUNTERFEIT_CHECK_DATE>
<REASON>Unknow Error </REASON>
</G_SN>
<G_SN>
<ITEM_NUMBER>VIR823010</ITEM_NUMBER>
<DESCRIPTION/>
<LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
<SERIAL_NUMBER>000000000011</SERIAL_NUMBER>
<RMA_NUMBER>8200000101</RMA_NUMBER>
<CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
<COUNTERFEIT_CHECK_DATE>2014-07-11T19:32:00.000-07:00</COUNTERFEIT_CHECK_DATE>
<REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
</G_SN>
<G_SN>
<ITEM_NUMBER>VIR823010</ITEM_NUMBER>
<DESCRIPTION/>
<LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
<SERIAL_NUMBER>000000000004</SERIAL_NUMBER>
<RMA_NUMBER>8200000107</RMA_NUMBER>
<CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
<COUNTERFEIT_CHECK_DATE>2014-07-14T02:49:40.000-07:00</COUNTERFEIT_CHECK_DATE>
<REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
</G_SN>
<G_SN>
<ITEM_NUMBER>VIR823010</ITEM_NUMBER>
<DESCRIPTION/>
<LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
<SERIAL_NUMBER>000000000092</SERIAL_NUMBER>
<RMA_NUMBER>8200000109</RMA_NUMBER>
<CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
<COUNTERFEIT_CHECK_DATE>2014-07-14T07:52:22.000-07:00</COUNTERFEIT_CHECK_DATE>
<REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
</G_SN>
<G_SN>
<ITEM_NUMBER>VIR823010</ITEM_NUMBER>
<DESCRIPTION/>
<LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
<SERIAL_NUMBER>000000000031</SERIAL_NUMBER>
<RMA_NUMBER>8200000109</RMA_NUMBER>
<CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
<COUNTERFEIT_CHECK_DATE>2014-07-15T02:24:27.000-07:00</COUNTERFEIT_CHECK_DATE>
<REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
</G_SN>
<G_SN>
<ITEM_NUMBER>VIR823010</ITEM_NUMBER>
<DESCRIPTION/>
<LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
<SERIAL_NUMBER>000000000034</SERIAL_NUMBER>
<RMA_NUMBER>8200000109</RMA_NUMBER>
<CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
<COUNTERFEIT_CHECK_DATE>2014-07-15T02:30:28.000-07:00</COUNTERFEIT_CHECK_DATE>
<REASON>Catchall fault scope has been executed</REASON>
</G_SN>
<G_SN>
<ITEM_NUMBER>VIR823010</ITEM_NUMBER>
<DESCRIPTION/>
<LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
<SERIAL_NUMBER>000000000010</SERIAL_NUMBER>
<RMA_NUMBER>8200000114</RMA_NUMBER>
<CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
<COUNTERFEIT_CHECK_DATE>2014-07-15T03:36:18.000-07:00</COUNTERFEIT_CHECK_DATE>
<REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
</G_SN>
<G_SN>
<ITEM_NUMBER>VIR823010</ITEM_NUMBER>
<DESCRIPTION/>
<LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
<SERIAL_NUMBER>000000000158</SERIAL_NUMBER>
<RMA_NUMBER>8200000114</RMA_NUMBER>
<CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
<COUNTERFEIT_CHECK_DATE>2014-07-15T04:19:48.000-07:00</COUNTERFEIT_CHECK_DATE>
<REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
</G_SN>
</G_SNQ>
</INVALIDSERIALPRODUCT>
thanks
nksThis is the General XML forum.
The homepage description says :
Discussion of the general XML language, standards (XSLT, XQuery, XMLSchema, etc.) and application management issues, suggestions and tips.
The BI Publisher forum is here :BI Publisher
So please mark this post as answered and ask again over there. -
How to create rtf template to view report in Word and Excel, with numeric f
Hi,
Please help me!
How to create rtf template to view report in Word and Excel, with numeric formatted fields (like this 999 999 999,99 with spaces between numbers) and then end user be able to process those fields with Excel tools (sum, etc).
Thank you.From what I have seen Excel can not handle 999 999 999.00. You can use 999999999.00 and then format it as you want in the xls bt you can not have values like 999 999 999.00 coming from publisher output and have functions on the values in Excel
Tim -
How to skip footer details when loading data from a .txt file
Hello experts,
i have to import data from a txt file into my database. I have skipped my header info by using SKIP but how can i ignore my footer details.
ThanksReply on your other thread:
Processing txt file for a required format -
How to display a blob image in RTF template's Header.
Hi,
I want to display a blob image (logo company) in my RTF template,
my problem is how i can display this image in the template's Header.
I tried this
<?
<fo:instream-foreign-object content-type="image/jpeg" >
<xsl:value-of select=".//LOGO"/>
</fo:instream-foreign-object>
?>
but was unsuccessful
Thanks in advance.I tried this
<?
<fo:instream-foreign-object content-type="image/jpeg" >
<xsl:value-of select=".//LOGO"/>
</fo:instream-foreign-object>
?>
but was unsuccessful
sure
what is red elements ?
you template can be looks like
..... some data .....
( after all data )
<?template:footer_logo?>
<fo:instream-foreign-object content-type="image/jpeg" ><xsl:value-of select=".//LOGO"/></fo:instream-foreign-object> (as field )
<?end template?>
<?call-template:footer_logo?> ( in header/footer )
some remarks https://oralublog.wordpress.com/2014/10/04/bi-publisher-11g-footers-and-headers-in-rtf-template/ -
"Or" condition in RTF Template
Hello,
In my RTF template, I try to test a statement for two values. I tried
<?xdofx:if :A!='0' or B!= '0'?>
<?if:A!='0' or B != '0'?>
It doesn't work : there isn't any error but the result is wrong.
Is there another syntax I've got to use ?
Thanks
Version : BI Publisher 10g
Edited by: jbg on 4 oct. 2011 23:49Condition usage looks fine.
Do these conditions individually work? Whats is your requirement?
If possible paste a sample xml here -
SUM function with condition in RTF template
Hi All,
I have a problem in calculating the SUM in RTF template with condition,
Here is the XML
- <LIST_G_LINE_NOTES>
- <G_LINE_NOTES>
<LINE_TRX_ID>1567856</LINE_TRX_ID>
<LINE_ID />
- <LIST_G_TRX_LINE>
- <G_TRX_LINE>
<CF_ITEM_NO>SDCN1144B</CF_ITEM_NO>
</G_TRX_LINE>
</LIST_G_TRX_LINE>
- <LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
- <G_LINE_EQUIVALENT_UNIT_PRICE>
<LINE_EQUIVALENT_UNIT_PRICE>-15.99</LINE_EQUIVALENT_UNIT_PRICE>
<LINE_EXCHANGE_EXTENDED_AMOUNT>-223.86</LINE_EXCHANGE_EXTENDED_AMOUNT>
<CUSTOMER_TRX_LINE_ID>1567856</CUSTOMER_TRX_LINE_ID>
</G_LINE_EQUIVALENT_UNIT_PRICE>
</LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
- <LIST_G_TRX_LINE>
- <G_TRX_LINE>
<CF_ITEM_NO></CF_ITEM_NO>
</G_TRX_LINE>
</LIST_G_TRX_LINE>
I need the summation of field LINE_EXCHANGE_EXTENDED_AMOUNT with the condition CF_ITEM_NO!=''
can anybody help me with the solution.
Thanks in AdvanceKavipriya,
Here is the XML
<LIST_G_LINE_NOTES>
<G_LINE_NOTES>
<LINE_TRX_ID>1567856</LINE_TRX_ID>
<LINE_ID />
<LIST_G_TRX_LINE>
<G_TRX_LINE>
<LINE_DELIVERY_ID />
<DISCOUNT>0</DISCOUNT>
<CP_LN_TAX_AMT />
<CF_ITEM_NO>SDCN1144B</CF_ITEM_NO>
</G_TRX_LINE>
</LIST_G_TRX_LINE>
<LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
<G_LINE_EQUIVALENT_UNIT_PRICE>
<LINE_EXCHANGE_EXTENDED_AMOUNT>-223.86</LINE_EXCHANGE_EXTENDED_AMOUNT>
</G_LINE_EQUIVALENT_UNIT_PRICE>
</LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
</G_LINE_NOTES>
Edited by: user13012317 on Mar 10, 2011 11:00 PM -
How to print arabic text as water mark in XML Publisher
Hi All,
I am working with Arabic reports,which is conversion of RDF Reports to XML Publisher Reports.
I Developed RTF template,here problem is how can i use Arabic text as a water mark in template.
Please provide me suggestions.
Thanks in advance
Regards
Amardo you have arabic text in your report ? is it correct ?
How To Setup XML Publisher To Show Arabic Characters (Doc ID 556995.1)
so you can try
ARABIC Font Shows As ?? Question Marks In Postscript Reports (Doc ID 981174.1)
you can also post SR -
SMARTFORMS :How to print an inernal table inside a template cell?
Hi all,
I have a smartform which contains a template.
I want to print inside a cell of the template the content of an internal table.
Is this possible ?if yes , how to do that ?
Thanks.Yes, it is possible.
Create inside your template a loop. Then create inside a text which you address as i.e. row 1, column 1 of your template (cell address).
Now when looping through your table it will place all data in some work area .i.e wa. In your text provide name of the components you want to dispaly i.e. &wa-comp1&.
Please note, that length of your template must be long enought to fit all tables entries.
Regards
Marcin -
Calling subtemplate.rtf in maintemplate.rtf in XML Publisher reports
Hi,
I am working on XML Publisher Reports. I have two subtemplate.rtf; based on condition in the maintemplate.rtf, i have to call either of the subtemplate.rtf.
Doubts:
1. Do i need to register both subtemplate.rtf in oracle applications? If yes, what could be 'CODE' while registering in oracle applications.
2. How to use subtemplate.rtf based on condition in the maintemplate.rtf?
Could i expect a complete process of using subtemplate in main template.
I am profoundly thankful to any help in advance.
Thanks.Hi ,
Check the following link may be help ful for u
http://blogs.oracle.com/xmlpublisher/2008/07/conditional_templates.html
Thanks,
Ananth -
How to define the detail "Condition" item for sales order?
Hi, I checked the condition information of a sales order, the following contents were displayed:
PR00 Price 230.00
Gross Value 230.00
Discount Amount 0.00
Net Value for Item 230.00
Net Value 2 230.00
Net Price 230.00
I can understand that the price 230.00 can be maintained via tcode: vk11, what I want to know is:
How to define/control the following items such as:
Gross Value 230.00
Discount Amount 0.00
Net Value for Item 230.00
Net Value 2 230.00
Net Price 230.00
and how to control their currency?
Thanks.Hi, Dear Ferry Lianto,
Thank you very much.
Commonly I know the total pricing procedures.
But, would you please tell me how to control the CURRENCY for the subitem of a condition type as follows?
For example, I can see the following kind of
contents in the Tab:condition of a sales order:
PR00 Price 130.00000 TEST 100
Gross Value 20.12 USD 100 <-how to
Discount Amount 0.00 USD 100
Rebate Basis 20.12 USD 100
Net Value for Item 20.12 USD 100
Net Value 2 20.12 USD 100
Net Value 3 20.12 USD 100
VPRS Cost 27.22 HKD
Profit Margin 16.61 USD
The currency of PR00:price can be controlled via tcode VK12; but how to control the currency of its subitem such as gross value, discount amountm, net value for item, net value 2, & net calue 3...
Thanks and regards.
Maybe you are looking for
-
Cell formulas stop reporting correct values. Numbers 3.5.
10.10 Numbers 3.5 In the same table: I have a cell (say #1) with a number value entered say 10.40. I have another cell (say cell #2) that is set to equal that cell's value. This works and cell 2 reports the correct value of cell 1. But once every 10
-
CL_GUI_HTML_VIEWER need to open a different Browser session if one exists
Hi All, I'm using the class cl_gui_html_viewer for displaying a PDF in My program. However, if an Internet Explorer Session is already open, the HTLM_VIEWER created in my program is behaving more like a child of the already open browser (In other wo
-
Anyone know how to make a personal template for iWeb 2.0?
Seems things changed in the content folder and descriptions for the previous version are unusable. I don't understand why there isn't a chapter in the manual for this! Isn't it un-Applish to not let the mac users roam free with their creativeness- or
-
Photoshop CS6 Trial wont launch (says expired on fresh account)
I'm on a new MBP Retina running OSX 10.8. I registered new account for Creative Cloud and downloaded Adobe Application Manager to install both Photoshop CS6 and After Effects trials. Only After Effects works, Photoshop says my trial has expired. I tr
-
Opening link in separate browser window
Is there a way to make a NEW browser window open when creating a hyperlink to a page outside (external) of my website? My external links always open in the same window as my website resulting in the viewer being taken off my site.