RTF Template Alignment issue

Hi
We created a RTF Template.The Template contains the following hierarchy.
First it displays the Manufacturer name:
then the list of ModelTypes
The Column heading is date.So for each week we will divided as a group.so we will get first weekdata,second week
data like that.Totally we are having 13 weeks.
Now the Problem is for each model we will get 28 rows of data.
I want to print two models/page(Number of rows are not equal in all cases because if new manufacturer start then one row is increased).In the output(pdf) i am getting the first model perfectly for the second model
i am getting the last row in the next page.similarly for the remaining pages.Total we r having a
around 150 pages.
Is there is any way to limit the page for two models data only.
Thanks in Advance.

Hi..........Thanks for reply Srini
Actually i want exactly two model details per page as per client requirement, can you please tell me how to break the page after every two models(Here for every model i don't have exact number of rows for some models i may have Manufacturer name so for this model have one extra row).
Waiting for your reply.
Thanks
Saichand.

Similar Messages

  • RTF template design issue for header and body section

    Hi All,
    I have a RTF template having header and body sections.
    in header section i have order number, customer number etc.
    in body part i am displaying details for the respective order.
    But the problem is in header part my query is returning multiple row , so my requirement is for each row i.e order, i need to display the details accordingly.
    Ex: Header query returns order number : 1,2,3
    in my page i need below way:
    Order number :1
    a,b,c
    order number :2
    c,d,e
    order number :3
    g,h,g
    I tried to use loop in header section , but it is repeating only for header part not body part please help me on this.
    Thanks
    Deb

    Avinash thanks for your help,
    Actually in my requirement the header level and line level invoice numbers are different, in header level i have different invoices and for each invoice i need to display some other invoices along with some data.
    I have sent you the respective RTF file and Sample XML file to your mail, could you please help me on this, i am struggling whole day on this.
    the link between the header and line section is header_id.
    Thanks in advance
    Deb

  • Dreamweaver Template alignment Issue

    I am using Dreamweaver 8, i have created a template with my
    background image, my menu, and an outter table to align my content.
    I have entered new content in one of the pages that I have applied
    the template to, and now all of it is shifted to the right over my
    background image, causing the text to be unreadable. It is is
    shifting the outter table that i created in the template. I thought
    that content in the template was not able to be changed with in the
    pages?
    Has anyone came across this problem before? It is so
    flustrating. I am wondering if there is a tag that I have left out
    or put in to many, but i went through the code and didnt see any
    problems.
    Please any suggestions????

    > I thought that content in the template was not able to
    be changed with in
    > the
    > pages?
    Template markup cannot control your page layout. If you are
    seeing layout
    changes in a template child page, it is because of the basic
    HTML on the
    page, NOT because of the template intervention.
    Can you show us the page?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "athomas32" <[email protected]> wrote in
    message
    news:es1qaf$4k8$[email protected]..
    >I am using Dreamweaver 8, i have created a template with
    my background
    >image,
    > my menu, and an outter table to align my content. I have
    entered new
    > content
    > in one of the pages that I have applied the template to,
    and now all of it
    > is
    > shifted to the right over my background image, causing
    the text to be
    > unreadable. It is is shifting the outter table that i
    created in the
    > template.
    > I thought that content in the template was not able to
    be changed with in
    > the
    > pages?
    >
    > Has anyone came across this problem before? It is so
    flustrating. I am
    > wondering if there is a tag that I have left out or put
    in to many, but i
    > went
    > through the code and didnt see any problems.
    >
    > Please any suggestions????
    >

  • RTF Template Issues.

    Hi,
    I have 2 issues with a custom rft template for Printing POs from EBS 11.5.10.2 using XML Desktop ver 5.6 Build 45.
    1 I have 2 tables on the template corresponding to 2 different groups.. I will display only one table of data dynamically based on the type of the document (Standard PO or Blanket Release).. This logic is working but when the second table appears for blanket relase, there is lot of empty space between the column lables (which is static for both the tables) and the table data.. It looks like though the first table is not displaying, it is still using that space.. Is there a way that i can remove the empty space ?
    2. When i generate the PDF from my rft template, the alignment of the table is not right (e.g the lables on the table are not getting aligned with the actual data) even though it looks aligned exactly righton my rtf template.. Can you explain me what seems to be the problem.
    Thanks,
    Shree

    Did u get the solution for this ?
    if not
    Shoot me a mail
    [email protected]
    with your template and XML,
    and description what you want ?
    will have a look @ it.

  • Issue in RTF Template

    Hi All,
    Could you please solve the following requirement:
    Requirement: In my RTF Template for the fisrst page we are displaying parameters of the report.
    In the second page we have 2 tables one is for statement and other one is for Receipt.
    My requirement is in the second page i need to display "statement table" at the starting of
    second page[i.e @Header part] and "receipt table" at the end of the second page[i.e @tailor part].
    My issue is if statement table is having many rows some of the rows are skipped and displayed at 3rd page.and the receipt table is @ 2nd page.
    If receipt table is having many rows it is breks into two dispalyed at the end of second page and starting of 3rd page.
    Can anyone please provide me the solution.
    Thanks in Advance,
    Dhanasurya
    Edited by: DhanaSurya on Nov 6, 2009 1:06 AM

    Hi Dhanasurya,
    It sounds like you are using headers and footers, and that what you seeing is standard expected functionality.
    You could try extending your header/footer regions to make them bigger, but if there are too many rows of course then the tables will break across pages.
    Depending on your requirements you could limit the number of rows so they always if on one page, otherwise you'd need to either accept the data will break across pages, or implement something like Fixed Row Enumeration.
    Regards,
    Gareth

  • PDF formating issue in RTF Template

    Hi,
    I have an XML for which i have data for both subavisor level and fund level and the data at each fund level are derived/aggregated from Subadvisor level(using complex formula which is taken care at the database level not at the RTF level).
    I need to show both Fund level data and SubAdvisor level data in the report, so i have designed the required RTF Template to show the Sub Advisor level data for each fund Level Data.
    The Sample XML is(i have only included one SubAdvisorLevel data(XYZ) for the Fund(ABC) :
    <DATA_DS>
    - <G_1>
    <FUND_NAME>ABC</FUND_NAME>
    <SUB_ADV_ANA_MIL>1234</SUB_ADV_ANA_MIL>
    <MGMT_FEE_PAID>1234</MGMT_FEE_PAID>
    <MGMT_FEE_PAID_O>NA</MGMT_FEE_PAID_O>
    <MGMT_FEE_BP>1234</MGMT_FEE_BP>
    <MGMT_FEE_BP_O>NA</MGMT_FEE_BP_O>
    <TA_BILLABLE_ASSET>NA</TA_BILLABLE_ASSET>
    <TA_FEES_PAID>NA</TA_FEES_PAID>
    <TA_FEES_PAID_O>NA</TA_FEES_PAID_O>
    <TA_EFF_BP>NA</TA_EFF_BP>
    <TA_EFF_BP_O>NA</TA_EFF_BP_O>
    </G_1>
    - <G_1>
    <FUND_NAME>ABC</FUND_NAME>
    <SUB_ADV_NAME>XYZ</SUB_ADV_NAME>
    <SUB_ADV_ANA_MIL>123</SUB_ADV_ANA_MIL>
    <MGMT_FEE_PAID>123</MGMT_FEE_PAID>
    <MGMT_FEE_PAID_O>NA</MGMT_FEE_PAID_O>
    <MGMT_FEE_BP>123</MGMT_FEE_BP>
    <MGMT_FEE_BP_O>NA</MGMT_FEE_BP_O>
    <TA_BILLABLE_ASSET>NA</TA_BILLABLE_ASSET>
    <TA_FEES_PAID>NA</TA_FEES_PAID>
    <TA_FEES_PAID_O>NA</TA_FEES_PAID_O>
    <TA_EFF_BP>NA</TA_EFF_BP>
    <TA_EFF_BP_O>NA</TA_EFF_BP_O>
    </G_1>
    - <G_1>
    Because of this structure the XML, i have designed the RTF template by putting the following code:-
    <?for-each-group:G_1;./FUND_NAME?><?sort:current-group()/FUND_NAME;'ascending';data-type='text'?>
    <?FUND_NAME?> <?SUB_ADV_ANA_MIL?> ............................................(other Attributes are also present)
    <?for-each-group:current-group();./SUB_ADV_NAME?> <?if:SUB_ADV_NAME!=''?> <?SUB_ADV_ANA_MIL?>............(other Attributes are also present)
    <?end if?><?end for-each-group?>
    The only issue i am facing while exporting this RTF Template to PDF is that i am getting a blank row in the PDF(because of the condition <?if:SUB_ADV_NAME!=''?> ) for the 1st level of Sub Advisor level Grouping and there after all the Sub Advisor level data are coming up fine.
    Can you please help me out in resolving this issue

    Thanks Bipuser,
    But the inlines function in not giving the desired result, it is working in the same way even if i haven't put any condition.
    The problem with the existing condition <?if:SUB_ADV_NAME!=''?> is that only PDF is generated with the extra space and Excel does not comes up any space.
    Please let me know if you need any further information from my end.
    Thanks again,
    Regards
    Mrinal

  • RTF templates- Issue with inconsistent outputs

    Hi All,
    I have an issue with rtf templates.We are on XML Publisher 5.6.3 with EBS with Bursting.Bursting is set at G_HEADERS in the contorl file.
    I am using the <?start@last-page-first:body?><?end body?> function.It displays amount total for single page output and amount total only on the last page for multiple pages output.The above logic works perfectly when I have single header data in the XML file(single G_HEADERS).
    <XX_MAIN>
    -<LIST_G_HEADERS>
    <G_HEADERS>
    Lines Data(tree sub levels)
    </G_HEADERS
    <G_HEADERS>
    Lines Data(tree sub levels)
    </G_HEADERS
    <G_HEADERS>
    Lines Data(tree sub levels)
    </G_HEADERS
    </LIST_G_HEADERS>
    </XX_MAIN>
    However when there are multiple headers(G_HEADERS) in the same XML data file at the same tree level, all the outputs get generated as minimum 2 page outputs.Even though the data fits in 1 page for some of the G_HEADERS, it shows continued on the first page and just prints the total on the last page along with the header.
    I appreciate your help with this.
    Thanks,
    Lavina

    Hi,
    I'd like to know if anyone out there has come across this issue before..
    Thanks
    Lavina

  • Regarding Matrix Report Issue in (RTF Template)

    Hi,
    We are developing the new report in XMLP (Matrix Report) and this is new stuff for us in XMLP. we dont have any material to explore about how to apply matrix report concepts in RTF Template.
    We have tried with some xml data with the RTF file but the data is not coming out well..since the mapping we did
    correct in the RTF File but the field VALUE not populating the data and also
    not able see the full table in the pdf output.
    Please help me out why this formatting issue happening with the matrix report format ?..
    Also please provide some notes to understand about how to apply Matrix concepts in the RTF to get perfect output.
    Thanks in Advance.
    Regards
    Prabu

    can you put your simple requirement here.
    like some sample xml, sample out required, and what you have tried.
    winrichman.blogspot.com
    check for crosstab there.you should find something.

  • Urgent: Issue with the size of an xls file generated from a rtf template

    Hi all,
    I have a template.rtf
    In BI, when I get the file in excel format and save it, the size of the report is 32 MB. When I just "save as" the same report, without changing anything, the size of the report is 8 MB.
    Do you know how to get directly the report with the size 8 MB or would you have some guidelines to avoid this issue.
    Thank you in advance,
    Sonia.

    Thank you Kurz for your answer. I'm going to try to be more precise.
    Actually I'm not in EBS. I generate the output (xls format) direclty from BIP.
    The DB of my application can't be requested directly, then I use HTTP request.
    From BIP, I launch the report choosing excel as output - the template is an rtf template.
    I have been requested to open or save the xls file that I save (32 MB).
    I open the excel file, save it again and the size of the file is now 8 MB.
    Regards,
    Sonia.

  • Report header issue in .RTF Template

    Hi,
    I have designed a .RTF Template, I need to display a Parameter in the header part of the template, If the Parameter doesn't contain values then I do not want to show them, Can I have If and End if condition in the header part, I believe I cannot use Field in the header part.
    How do I achieve it, If you need the .RTF template i can upload.
    Regards,
    Ashoka BL

    Hi,
    Declare the parameter with the syntax <?param@begin:AAAA?>
    And in the header use <?$AAAA?> if AAAA is the name of your parameter. If theres no value, it will automatically not display since the value is blank, No need of an if wrapper.
    -Domnic

  • Issue with ROUND function in RTF template

    Hi All,
    Can anyone please help me in implementing the ROUND function at the RTF template.
    Need to handle rounding of amounts at the RTF template level itself.
    The ROUND function should be implemented to the following tags:
    <?sum(current-group()/TAXABLE_AMOUNT)?> (Record level)
    <?sum(TAXABLE_AMOUNT)?> (Report level total)
    Eg. If the Sum(current-group()/TAXABLE_AMOUNT) for a particular record is 401.65 then it should round of to 402
    we try to do this using following syntax ..
    1) by declaring variable "value"
    <?xdoxslt:set_variable($_XDOCTX, value, sum(current-group()/TAXABLE_AMOUNT))?>
    2) <?xdofx:round(sum(current-group()/TAXABLE_AMOUNT))?>
    3)<?xdofx:round(xdoxslt:sum(current-group()/TAXABLE_AMOUNT))?>
    but we ding get the solution.
    A quick response on this is highly appreciable.
    Thanks,
    Praveen

    Re: Summing derived values within xdofx:
    Re: Rounding not working

  • Issue in grouping in RTF template

    HI ALL,
    I have a requirement as below.
    The report header part contains : Order number,
    Email_address,
    the report body part contains the details for each order like
    item number, item name
    Again the line section is based on the another group, so it should repeat for each group.
    My requirement is in header section for each order and email address i need to repeat the while header and line for a order.
    Ex: Header : Order_number :101
    Email :abc&gmail.com
    Line section :
    Here we have another group like demand_class
    DEMAND_CLASS : 'ABC'
    Item1: abc,
    item quantity1 :1
    DEMAND_CLASS : 'DEF'
    Item2: abc,
    item quantity2 :1
    Header : Order_number :101
    Email :def&gmail.com --------------------------------------same data only email changed
    Line section :
    Here we have another group like demand_class
    DEMAND_CLASS : 'ABC'
    Item1: abc,
    item quantity1 :1
    DEMAND_CLASS : 'DEF'
    Item2: abc,
    item quantity2 :1
    Another section : to display total calculation for each demand class for a order.
    So my requirement is to repeat the same data for each order and email address.
    Please help me on this

    If the demand_class group is under your first group, then you need to go one level up by using "../".
    So try using ../order_number, ../Email_address
    I really need to see your xml data structure.
    Send me the RTF template and xml file to [email protected] and I will try to help.
    Thanks,
    Bipuser

  • Error: If statement in RTF template in BI Buplisher

    All,
    Can some help me to solve the below issue. Please find the code below one which is extracted from the water mark block in RTF template.
    <?if:(sum(//g_data[fiscal_period=/asset/p_fiscal_period]/q2_op_plan_ytd))>0?><?( sum(//g_data[fiscal_period=/asset/p_fiscal_period and q1_task_top="Opex"]/q1_cost_plan_ytd) ) div
    *(sum(//g_data[fiscal_period=/asset/p_fiscal_period]/q2_op_plan_ytd) ) ?><?end if?>*
    I wanted to apply if condition to the code after the " div " as if I get any value for q2_op_plan_ytd as zero the it should replace with 1.
    Please help me on this

    Solution found.

  • Reseting page number in Word RTF template for BI Publisher PDF generation

    Hi!
    Apex 4.0.2, Oracle 10.2.0.4, BIP 10.2
    Bills are created based on Word RTF file with BI Publisher. Reszulting file is one big PDF file, which has many pages.
    Word RTF template is grouped on BILLS.ID field with page break option. So one BILLS.ID may have one or many pages (according data).
    How to create RTF template (for PDF BI Publisher generation) with reseting page numbers when grouping value change.
    Page numbers are in footer in format
    curr_group_page/total_group_pages
    where:
    curr_group_page is current page number in group (defined with BILLS.ID field),
    total_group_pages is total page number of pages in group (defined with BILLS.ID field).
    I need to reset numbering whenever BILLS.ID (group) change.
    Example:
    ID=1 (4 pages)
    1/4, 2/4, 3/4, 4/4
    ID=2 (1 pages)
    1/1
    ID=3 (2 pages)
    1/2, 2/2
    ID=4 (3 pages)
    1/3, 2/3, 3/3
    etc.
    How to achieve that kind of numbering?
    Any help appreciated.
    Regards,
    Damir Vadas
    Edited by: Damir Vadas on May 16, 2011 12:49 PM

    Simple question.. Does your posting deal with an APEX issue or a BI Publisher issue? The posting you have deals with the RTF add-on for Word that builds report layouts for BI Publisher. I suggested in my response that you move it to a more relevant forum..
    If you feel that me alerting you to the fact your are VIOLATING forum policy is an issue, please feel free to ask others their view.. (posting to a 3 year old closed thread, creating MULTIPLE threads for a single issue..) You do NOT seem to get the idea that posting this in the Bi Publisher support forum would probably get you a BETTER response than here.. Asking pl/sql questions here will also get people to refer your questions to the PL/Sql Support forum..
    Also, here is a POSSIBLE answer from the BI Publisher Forum: http://forums.oracle.com/forums/thread.jspa?threadID=594805
    This Is The APEX SUPPORT forum, we deal with SUPPORT questions on APEX (Application Express)..
    Thank you,
    Tony Miller
    Webster, TX
    You know, I used to think that it was awful that life was so unfair. Then I thought, wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? So, now I take great comfort in the general hostility and unfairness of the universe.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • .rtf template and bi server repository failure (newbee tutorial)

    I've installed BISE1 on Windows Server 2003 and followed the tutorial. I successfully fulfilled all the excercises except the last one: the creation of Oracle BI Publisher Report from BI Server Metadata. I have created .rtf template in Word. The preview of the template is working showing data. But when I connect to BI Publisher and open From BI Server report and click View I get the message: "The report cannot be rendered because of an error, please contact the administrator." And as the error detail: String index out of range: -1
    What could be the reason of that problem? Or where to search for the solution of that problem?
    Any help for newbee will be appreciated.
    Regards
    Adam

    Hi,
    I am having the exact same issue.
    I've created a .rtf template using Oracle BI Publisher Desktop. I insert a very simple table and a very simple Chart (a bar graph) just to test it out. The table and the chart wwere showing correct data in the rtf and the pdf when I preview it on the BI server located on my local machine, and when I click on validate template in word, no errors were found. However when I run the pdf in the client BI Publisher Server, the charts doesn't show up in the pdf output while the other contents (headers, tables) are displayed correctly. If I select the html output in the client BI Publisher server, it gives the same error mention above: The report cannot be rendered because of an error, please contact the administrator." And as the error detail: String index out of range: -1
    What security configurations do I have to check? If anyone can give a more detail explanation on this will be greatly appreciated. Thanks in advance!

Maybe you are looking for