How to call a Sub template in BI Publisher for the same Loop

Hi,
I'm trying to achieve a multi template invoice customer facing Report output by using sub templates in BI publisher. I've stored the Template2.rtf file in Local machine temp directory and calling it in the main RTF. My Scenario is as described below:
<?import:file:///C:\temp\Template2.rtf?>
<? For-each@section: HEADERS?>
****Contents of header data and it's line***
<?start@last-page:body?><?end body?>
***last page sub totals****
**in next page i'm calling another .rtf file which is the second This template should repeat for each header transaction**
<?call-template:Template2?>
<?end for-each?>
While trying to preview the output from Bi publisher Template, either it goes to infinite loop or it hangs up with error.
Am i getting it wrong? for the Template2.rtf which i'm calling has contents <?template: template2?> <? For-each: cust_headers?> ** logic** <?end-for-each?> <?end template?>
So for a given transaction i need to print two templates. All the data will be under <header> group. Please help me out if i'm missing something in the above.

Do you get a "Template invoked but not defined error"? If so, the reason is because you the template can not be found...
In your case, you have defined the template as:
<?template: template2?> <? For-each: cust_headers?> ** logic** <?end-for-each?> <?end template?>
However, in your call statement, you have (upper case T): <?call-template:*T*emplate2?>
Change that and see if it resolves your error. If not provide details about the error.
Thanks,
Bipuser

Similar Messages

  • How do I set up multiple Creative Cloud accounts for the same login?

    I have a number of Macs of various flavors.  I want to install Creative Cloud apps on four of these units.
    I have a subscription currently which I am using for my MBP 17, and a 27" iMac.
    I want to add an account for my MB Air and Mac Pro, and I'm willing to double my subscription fees to do it.  (I use different apps on each of the computers, though I like the idea of having the ability to use them all on each.) How do I accomplish this addtional subscription without having to add a new Adobe account?
    Second Question:
    I have the one-year special on my current subscription due to licensed PS 5.5. ($29.95/mo).  Would I be eligible on my second subscription for the same deal due to the license on the PS 5.5, or would I qualify due to being a Acrobat Pro 8 owner... or Licensed owner of previous versions of PS?  OR.... would I immediately be paying $49.95/mo for the second account?
    Either way, I'm in. Just want to do it all under one account if at all possible.
    Thanks in advance for resolution.  Cheers.

    Currently all subscriptions (with the exception of Team Ready) require a separate Adobe ID for each Creative Cloud Membership. Its not possible to have two memberships under the same Adobe ID.
    Adobe has a Team Ready offering for customers interested in a volume license for Creative Cloud. This is a TLP volume license to Master Collection CS6 and includes licensing for Lightroom and Muse. Customers with this will transition to Creative Cloud Team once available later in 2012. This product uses only a single serial # and Adobe ID. It's not the same as Creative Cloud Membership like what is currently available, but rather a means to get customers setup with something now to transition to the volume license Creative Cloud Team offering once available. If this sounds like something you would be interested in please contact a local Adobe Reseller for more info.
    This link has more info:
    http://www.adobe.com/products/creativesuite/companies.html
    This link can help someone find a reseller in NA
    http://partners.adobe.com/resellerfinder/na/reseller.jsp?nav=al
    I just read over the terms of the introductory offer and it is a 1 per customer offer, so it would be 49.95/mo for a second account.
    https://creativecloud-specialoffer.adobe.com/special-offer/?loc=en_US
    Hope that helps,
    -Dave

  • How to use more than one indirect valuation module for the same wage type

    Is it possible and how to use the u201CIndirect valuation based on master data: ICOMPu201D configuration to default the NUMBER and at the SAME TIME to use u201CDefine valuation of base wage types usingu201D to default the AMOUNT from one/two WTs ?

    You can use the the same wage type for both number and amount but you can't assign 2 indirect valuation method for the same wage type at 1 time. I would rather suggest you to go for some customer specific indirect valuation instead of the standard one. You can use BAdI HR_INDVAL for the same.

  • How can I differentiate between iPad and iPhone iMessages for the same contact?

    I have my sister in law's email and phone number all in the same contact. She iMessages me from both her iPad and her phone. They come up as two different iMessage conversations, but they both are under her name. When I go to text her I don't know if I'm sending it to her iPhone or iPad. Anyone know if there's anyway to differentiate? Sometimes looking at what was previously said in the conversation helps but I can't always remember (nor do I know which device he was messaging me from in the previous convo). Thanks all

    Try scrolling to the top of the conversation and tapping Contact.  You will then see the originating address highlighted in blue on the contact.  If the iPad and iPhone are creating two different conversations, chances are if the email address is highlighted it's coming from the iPad; if the phone number is highlighted it's coming from the iPhone (although not necessarily).  To know for sure you would have to ask her to check Settings>Messages>Send & Receive and tell you which is checked under "Start new conversations from" on both devices to know for sure.

  • How can I create a hashmap() with multiple values for the same key?

    I am trying to write an application that will us something like a Map() with multiple values but some have the same key. Is this possible?

    i had the same question. just create a List, add all the values u want to it, and then put the List into the map like u would a normal single value. e.g.
    List list = new ArrayList();
    list.add(value1);
    list.add(value2);
    map.put(key, list);
    i bet u r doing the same course as i am =)

  • Call logical links with different enhancement sets on the same business role

    Hello,
    I am trying to create a business role that contain logical links with different enhancements. I know how to choose an enhancement for the business role but I can't find a way, if possible, that one business role does it.
    I know how to give an option to choose different roles for the same user, i'm looking for a way to do this in the same window
    Thanks,
    Noa

    does not matter anymore

  • Error obtained while calling a sub-template in RTF.

    Hi,
    I am trying to call a sub-template from my RTF template using
    <?import: file:///C:\Desktop\Sample RTF\TEST.xsl?>
    in a form field and
    <xsl:call-template name="add-X"> <xsl:value-of select="." /> </xsl:call-template> in another.
    The xsl file related to this template reads as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
    <xsl:template name="add-X">
    <xsl:param name="string" select="." />
    <xsl:if test="$string">
    <xsl:text>X</xsl:text>
    <xsl:value-of select="substring($string, 1,1)"/>
    <xsl:call-template name="add-X">
    <xsl:with-param name="string"
    select="substring($string, 2)" />
    </xsl:call-template>
    </xsl:if>
    </xsl:template>
    </xsl:stylesheet>
    But I am ending up with an error. The error obtained is:
    ConfFile: D:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdoconfig.xml
    Font Dir: D:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    Template: C:\Documents and Settings\VishnuRam\Local Settings\Application Data\Oracle\BIPublisher\TemplateBuilderforWord\tmp\1\template2.rtf
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\Documents and Settings\VishnuRam\Local Settings\Application Data\Oracle\BIPublisher\TemplateBuilderforWord\tmp\1\download_data.xml
    FOProcessor setLocale: en-us
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:641)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:247)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:181)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1151)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:275)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1809)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1027)
         at RTF2PDF.runRTFto(RTF2PDF.java:708)
         at RTF2PDF.runXDO(RTF2PDF.java:520)
         at RTF2PDF.main(RTF2PDF.java:305)
    Caused by: oracle.xdo.parser.v2.XMLParseException: The 'import' element children must precede all other element children of an 'stylesheet' element.
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
         ... 14 more
    I will be glad if anybody can give me the idea where I am going wrong?
    Regards,
    Message was edited by:
    VishnuTR

    Put this as the first line in rtf
    The 'import' element children must precede all other element children of an 'stylesheet' element.

  • How to configure multiple listeners to listen for the same instance.

    Hello everyone,
    I am running oracle database 11g and I want information regarding how to configure multiple listeners to listen for the same database instance. Actually I know how to configure more than one listener but the main thing that I am confused about is when we create listener.ora file, do we have to statically register the database instance with both the listeners or the instance will register itself with both the listeners.
    According to my knowledge the instance will register with the listener specified by LOCAL_LISTENER parameter and we cannot have more than one value for this parameter.
    Please only give detailed answers with example as I am tired of simple answers with details that I already know.

    Hello,
    Yes, it can make sense to have several listener for one Oracle instance. For instance you may have one listener for the applications another listener for DBA administration tasks as well as one listener dedicated to dataguard broker. It is not possible to have several listeners listening on the same IP and Port.
    By default the database try to automatically register to a listener on port 1521. To instruct the instance to register to a specifc list of listeners you can add in the init.ora the local_listener parameter with an alias definition:
    i.e
    local_listener=MY_SET_OFF_LISTENERS
    in your tnsname.ora add an entry called:
    MY_SET_OFF_LISTENERS_LOCAL= (ADDRESS_LIST=
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1530))
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1531))
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1532))
    In this sample your instance will register to three listeners listening on respectively port 1530, 1531 and 1532
    If you want your clients can be balanced over the 3 listeners

  • My dad and i use the same apple id, when he recieves a call, hes phone and my phone ring at the same time, why?

    my dad and i use the same apple id, when he recieves a call, hes phone and my phone ring at the same time, why?  and how do i fix this

    Settings > FaceTime > iPhone Cellular Calls > OFF

  • How do i send hyperlink to a text box within the same page

    how do i send hyperlink to a text box within the same page on iweb

    It's called an anchor. It's often discussed in this forum.
    2 days ago : anchor
    Here's a search of the past year : anchors

  • I have 8 charges on my debit card within a matter of 30 minutes for the same amount.  Contacted my bank but i need a letter from itunes.  How can i get this for the bank to reverse charges since it's debit card?

    I have 8 charges on my debit card within a matter of 30 minutes for the same amount.   I notified my bank but the bank is asking for itunes to send them a fax.  How can i get this?

    If possible, I suggest changing to a credit card.
    1) There is a max $50 in stolen dollars.
    2) It is easy to dispute a charge.  You call the credit card company. Complain.  They call the retailer & refund you the money. 
    Robert

  • Struggling how to set up 2 daq assist on labview in the same VI

    hi all,
    hope someone can help me out
    I am currently using the scxi 2345 with some SCC FT01 feed through modules, these are just to record some voltages from some transducers.
    What I am struggling with is setting up 2 daq assist on a single VI, it is coming back with a error stating specified resouce is reserved and then a window saying learn more about automatic handling. How would I also have these 2 values logged on the same graph or chart?
    Anyone any ideas how to set these up.
    I ideally want to have 3 daq assist in the same Vi but not sure if this is possible. It would be 1 for thermocouple input and 2 for voltage as stated above
    many thanks
    shane dover

    Hi Shane and Dennis,
    I've been working my way around the same type of problems, and I am
    currently re-writing everything to use on Asst. per board on my PXI
    chassis, so that no resources become reserved.
    As a result, I have to separate the signals on the output dynamic data
    in order to do different post processing.  So I have been toying
    with staying with dynamic data, inputting dyn. data into an array, and
    inputing it into a cluster.  It seems that each has advantages and
    drawbacks, but arrays seem to be the easiest with which to work when
    splitting signals coming from a DAQmx Asst. and funneling some of the
    signals into a post-processing sub-VI.  The drawback to this is
    that time stamps in the Dyn. Data are lost if you want to record the
    data and the time of the reading. 
    Question:  Is there an easy way to pipe Dynamic Data into a
    calculation subVI?  Is it workable after it's been split from
    other streams? 
    Thanks,
    Brad

  • How can I use FaceTime between 2 I-Pads sharing the same email account

    How can I use FaceTime between 2 I-Pads sharing the same email address

    Cstearns-
    I only have one iPad, but was able to add myself to the list of Favorites.  When I tried to call, I was not available!
    You should also take a look at the Skype App for iPhone.  It works on the iPad, where you can choose 2X to expand the display.  I haven't tried to add myself to Skype, but have been able to have it connected on both my computer and the iPad at the same time.
    You might also consider getting a second address from G-Mail, just for use with FaceTime.
    Fred

  • How do you insert new records into multiple tables using the same unique primary key?

    I’ve created a PHP site and MySQL server using a free app called XAMPP.  I have successfully created a form in Dreamweaver that will write data to a (name) table in the SQL database.  Here’s my question: How do you write to two (or more) tables in the same database and pass the same primary key to both tables?  In the SQL database, I defined the first field as ID and set it as the primary key with auto update.  So, when you insert a new record, it creates a unique primary key for that record.  In my form, I’m capturing info that needs to be stored to two tables at the same time; a Name table and Address table. Since the Name and Address tables use the ID field as the primary key, I believe I will need to pass the ID value from the Name table to the insert of the Address table to insure they both have the same primary key, right?

    No. You probably need the primary key from one table to be a foreign key in the other tables. In any case, I believe you can use two methods to obtain the auto generated key. First with SQL:
    http://dev.mysql.com/doc/refman/5.0/en/getting-unique-id.html
    And the other using a PHP function:
    http://us3.php.net/mysql_insert_id

  • How can you add a 2nd i Tunes account on the same computer?

    How can you add a 2nd i Tunes account to the same computer?

    I had an application where I spawned (= ran with Start Asynchronous Call) multiple (reentrant) copies of VIs, and would occasionally "lose control" of them.  I needed a way to find all VIs that were running "Top Level" and stop them (so I didn't have to log off from Windows).
    I used the Application Property "All VIs in Memory" to get an array of (wait for it ...) All VIs in Memory.  I took each name, opened a VI reference to it (simply wire the name string in, as the VI is, by definition, "in memory"), looked at its VI Execution State, and if it was Run Top Level, Invoked the FP.Close and Abort VI Methods.  [To prevent the VI that did all this from "committing Suicide", I compared the name string with the current Call Chain, and did nothing if there was a match].
    I think you could adopt this idea to do what you need.
    BS

Maybe you are looking for

  • Issue in BMP

    Hi all, I am starting a new thread on the issue i previously had: Just transported a scenario into Q for testing, suddenly the BPM fails. I am guessing this is a performance related issue, let me briefly explain what is happening, there is a transfor

  • My iTunes won't display the artwork

    My iTunes on a jukebox setting won't display the artwork. It currently has an error message of "iTunes is unable to browse album covers on this computer". It was working fine the other day. I have updated it version when I received the error message

  • How to get Simulator tab in VC ?

    VC only shows Design Layout & Source tab How to get Simulator tab also ...?

  • CREATE VIEW in ABAP (Open SQL or Native SQL)

    Hi all you experts! I want to create a VIEW in ABAP. I have created Table Views using ABAP Dictionary (in transaction SE11), I don't have any problem with them. But, what I need is to create a dynamic view, I mean, a view that can be created/replaced

  • Need to find the CR driver

    Hi,                                                                                I need to install the CR ODBC driver on the server that contains BOE XI rel 2, SP2 Any suggestions? Walsh