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
nks

This 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.

Similar Messages

  • How to display 'NO DATA FOUND' in etext template (BI Publisher)

    Hi,
    I want to display the message 'No Data found' when there are no records for a particular group. I know that 'DISPLAY CONDITION' should be used to conditionally display the message. But, it has not worked for me.
    Can anybody please give the exact format to achieve this?
    Thanks & Regards,
    Mantha
    Edited by: Deekshitulu Mantha on Jun 8, 2010 4:28 PM

    Hi Vineeth,
    I am actually trying to achieve this at design time, using Template Bulider in MS Word. So, could you please help me out - I do not see any drop down list options while building the report.
    Thanks in advance,
    Mantha

  • SVG Pie chart : how to display no dat found message

    Hello,
    I have a SVG pie chart and written a message 'no data found' under charts attributes.
    If there is no data for the chart,
    In IE :the chart region will be blank . chart heading will be displayed and . no 'no data found ' message is displayed.
    In mozilla : in the chart region, i can see ,the part of whole page where i display the chart ,is filled . Chart region heading is also displayed.
    Could you please reply , how to display 'no data found ' in svg pie chart?
    Thanks in advance.
    Regards,
    Archana

    Hello,
    I have a SVG pie chart and written a message 'no data found' under charts attributes.
    If there is no data for the chart,
    In IE :the chart region will be blank . chart heading will be displayed and . no 'no data found ' message is displayed.
    In mozilla : in the chart region, i can see ,the part of whole page where i display the chart ,is filled . Chart region heading is also displayed.
    Could you please reply , how to display 'no data found ' in svg pie chart?
    Thanks in advance.
    Regards,
    Archana

  • How to display no data found for two different elements

    i wanted to display report either by dept wise or supplier wise
    so when I dont have deptno related data
    It should say no data found
    for that I'm using if condition
    same for supplier too
    instead of giving twice can I give it in the same if condition
    if so how

    Use logical operator 'or'
    like <?if:not(DEPT_GRP) or not(SUPPLIER_GRP)?>No data Found<?end if?>

  • 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/

  • 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..

  • How to design Group Left Report using RTF method ( XML Publisher )

    Hi,
    I need to design Group Left Report using basic RTF method. I am able to design basic simple report and Group Above Report but I am not getting Group Left Report. Can anyone help me out.
    Thx N Regs,
    Khan.

    Group Left report can be done using table consisting of 1 row and 2 columns. Group header goes to the column 1, group details go to the second column. Group details can be also designed using table, in this case you get table within table cell. "for-each.." statement for the upper level group to be placed in the left column before the group header data. "end for-each.." to be placed in the second column after the detail data.

  • How To keep No Data Found In my logic.

    Hi My RTF temple design is like below
    for-each C Table Heading
    column1| column 2| column3|
    F a1 a2 a3 E
    EC end-for-each
    The above logic is for each g_2 , C-- it si a condttion to check if:<ind='1'>
    print table heading and table ..
    end if, end for each
    how to keep no data found logic if i dont have anu data for the avove condtion.
    Thanks in Advance
    Have a Nice day.

    Then close the thread please
    thanks
    Jorge

  • How to display all data on one page in web app

    Hello.
    So I have web app JSF (IceFaces framework) + JBoss all Crystal Report working perfectly. So I have page with Crystal Report tags (e.g.
    <bocrv:reportPageViewer reportSource="#{crystalReport.reportPath}" ...
    in this report I have table with some data (data from DB) and I want to display this data on one page. Unfortunately now this data are moving to the next page and unfortunately I even donu2019t know how switch to the next page (I see only info e.g. 1with 2).
    So how to display this data on one page if its impossible how to torn on pagination.

    So I canu2019t do this, I canu2019t display all data on one page (until Iu2019m using JSF tags)?
    In JSF tags Iu2019m setting only path to file. In my bean Iu2019m using u201CReportClientDocumentu201D object itu2019s easy way to load report file (u201Copenu201D method) and set parameters (u201CgetDataDefController().getParameterFieldController()u201D method) and also connect to data base (u201Clogonu201D method) but I havenu2019t this property u201CsetSeparatePages(boolean)u201D.
    Maybe Iu2019m doing this wrong and there is a simpler way maybe I can use somehow u201CCrystalReportVieweru201D please give my any advice.

  • How to display the data in XML files into JSP using Jdeveloper.

    Hi All,
    I have two XML files one XML file has the view names and the other has the table names of a particular views, how to display the data in JSP using JDeveloper where when i click a particular view the list of tables of that particular view from XML file two should be displayed in JSP Page.
    Are there any reference documents, regarding the above process please can anyone guide through how to do it.

    Let the servlet ask your business tier to provide the data, then stuff it into beans, and pack those into the Session instance. Then forward the request to the JSP, let the JSP get those beans and display them.

  • Display 'No Data Found' when there is inv data but still there is xml data

    Hi,
    I am converting an rdf to BI publisher. The issue is when there is no detail (inv) but still there is still xml data , due to which the report is getting printed with the skeleton template and blank details(inv).
    I need to avoid printing the report out if there is not inv detail even though there is xml data. or atleast show 'NO DATA FOUND' msg. and print the report output only when there is inv data.
    Any help is greatly appreciated.
    sample XLM generated when there is inv data:
    - <ARXCBI>
    - <LIST_G_SETUP>
    - <G_SETUP>
    <COMPANY_NAME>GL SOB</COMPANY_NAME>
    <FUNCTIONAL_CURRENCY>USD</FUNCTIONAL_CURRENCY>
    <COA_ID>23456</COA_ID>
    <SET_OF_BOOKS_ID>1</SET_OF_BOOKS_ID>
    <LIST_G_SITES />
    <REPORT_NAME>Billing Invoice</REPORT_NAME>
    <SUB_TITLE />
    </G_SETUP>
    </LIST_G_SETUP>
    <RP_COMPANY_NAME>GL SOB</RP_COMPANY_NAME>
    <RP_REPORT_NAME>Billing Invoices</RP_REPORT_NAME>
    <RP_DATA_FOUND />
    <RP_SUB_TITLE />
    <R_DEFAULT_COUNTRY>US</R_DEFAULT_COUNTRY>
    <R_DEFAULT_COUNTRY_DESC>United States</R_DEFAULT_COUNTRY_DESC>
    <T_REPORT_TOTAL />
    <RP_COUNTER />
    <INV>Invoice</INV>
    <CM>Credit Memo</CM>
    <ADJ>Adjustment</ADJ>
    <XREV>Reverse Cross Site Credit Memo</XREV>
    <XAPP>Apply Cross Site Credit Memo</XAPP>
    </ARXCBI>
    Thanks!

    Hi Srini,
    Now I am running into another problem. When there is no detail data it displays 'No data found' as expected in the report output. But is there any way to restrict the print option (avoid wasting the paper) to just display 'No data found' in the output but not to print the output only in this case.
    I really appreciate any help!

  • Display 'No Data Found' if the records doesnot match the parameter

    Can anyone pls answer this question.
    I have just one parameter, if i select a value from the parameter and the results matches then the report shows records which is obvious but IF no data is matching to the value I selected in parameter, Can I didplay NO Data Found when I run the report??
    I want Display No Data found on my report, I just get a blank page with report title, date and PageNof M
    Someone pls suggest
    I am using CR 11.5

    hi,
    thanks for the suggestion but I am not clear about this part, i am sorry aboiut that:
    Create a text object with No Data Found in it.
    Conditionally suppress the text object with a formula similar to the following;
    {@countdbfieldformula} 0
    Where should i exactly drop my text box.
    I have parameter on 'Project Name'
    Pls suggest me something with steps...i would highly appreciate it

  • How to display current date in query header?

    Hi,
    How to display current date in query header?
    I use Query Designer for development.
    Thanks,
    Arun KK

    Hi Arun,
    You can define fixed header lines and footer lines so that when you generate the query list, they can receive current values of certain fields. When you define a header line or a footer line, you must specify a character string of the type &field, where field is the short name of a field.
    This function allows you (for example) to place a sort criterion in the header line.
    You can include the following fields as variables in the headers directly:
    %NAME
    Name of the user processing the query
    %DATE
    Current date
    %TIME
    Current time
    %PAGE
    Current page number (6 characters)
    %P
    Current page number (3 characters)
    These fields can be used in the short forms N,D,T and P. If you want to use these letters as short names for query fields, the field values from the query are used.
    You can also see the link
    [http://help.sap.com/saphelp_nw70/helpdata/EN/6e/dd68721faf11d6b1d500508b6b8b11/frameset.htm]
    Regards,
    NR

  • How to display the data of CJ2C(T-CODE) using web dynpro abap

    Hi all:
        How to display the data of CJ2C(T-CODE) using web dynpro abap.
        CJ2C used to display a Gantt Chart.
        Thanks.

    Hi,
    Create a Value attribute (resource) of type Resource, bind it with the property of File Upload UI element.
    On action place the code and Deploy the application
    byte[] bytes = new byte[ 1024];
    FileOutputStream out = new FileOutputStream( new File( <path in server>));
    InputStream in = resource.read( true);
    int len;
    while( ( len = in.read( bytes)) > 0)
         out.write( bytes, 0, len);
    in.close();
    out.close();
    Regards
         Vinod V

  • How to display today date using formcalc

    Hi all,
    how to display today date using formcalc, eg April 20, 2009?
    Thanskks

    Num2Date(Date(), "DD/MMM/YYYY", "de_GB")

Maybe you are looking for

  • Is there a way I get can my Dell V305 printer to work with my Mac?

    I "inherited" my son's Mac Book Pro but when I tried to hook it up to our printer, Dell V305, it wouldn't work.  I tried downloading the software from the Dell site, since we don't have the disks, but it wouldn't work.  Is there a way I can get our p

  • IE can't show slide show on one Win200 sys, but works fine on another

    As the happy owner of a new MacBook Pro, I spun up a simple website through iWeb. I run my own Apache server on a Redhat system so I ported the test site to that and set up the permissions as necessary. With Safari I can visit the site and when I cli

  • Change Acct determination in an asset

    Hi, I think I know the answer, but there is ANY possibility to change Acct determination (ANLA-KTOGR) in an existing and with movments asset? We need a massive change (like 10k assets) that was been created with a wrong KTOGR. Thanks

  • Iphoto will not print to Epson r2400

    After downloading the most recent updates from Apple, I can no longer print from iphoto on my epson r2400 photo printer. I am running the latest drivers from the epson website but to no avail. I have even redownloaded the drivers and reinstalled them

  • I have not received my email with a serial number/redemption code for a photography subscription.

    does anyone know how to contact Adobe to resolve this issue? I am in India and cannot call them, additionally their chat system is down. I have checked all the relevant help sections for this issue. It is really frustrating because I have all these p