Is this a limitation in XML Publisher ??!!

Hi,
I need to confirm that somebody here did a normal invoice using XML Publisher before. what I mean by normal invoice is that
customer: --- Date -----
Item | quantity | price | amount
item1 | 5 | 10 | 50
item2 | 1 | 100 | 100
Total 150
one hundred fifty dollars
no matter how many items, the total should come at the end of the invoice and if the number of items cant fit in one page this totals will be only in the last page of the invoice
my question is there anyone did this before. we used to do it using anchoring in report builder but I am unable to find similar thing here in XML Publisher
this will affect my company decision of going to this technology or not because not only invoice, we have statement of account that have aging need to be in the same way, and some other reports

Part of the fun is figuring it out on your own.
Anyhow, we have used a fixed number of lines per page, which works if you prevent lines from wrapping. To do the latter:
<xsl:attribute xdofo:ctx="block" name="wrap-option">no-wrap</xsl:attribute><xsl:attribute xdofo:ctx="block" name="overflow">hidden</xsl:attribute>
For fixed number of lines:
<?for-each@section:G_CHECKS?><xsl:variable xdofo:ctx="incontext" name="group" select=".//G_INVOICES"/><xsl:variable xdofo:ctx="incontext" name="check" select="../G_CHECKS"/><?for-each:$group?><?if:(position()-1) mod $lpp=0?><xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
<xsl:variable name="blanks" xdofo:ctx="incontext" select="number($lpp)-(count($group)-number($start)+1)"/>
Put each below into a blank row in table.
<?if:$blanks>=39?><?end if?>
<?if:$blanks>=38?><?end if?>
<?if:$blanks>=37?>
<?if:$blanks>=36?>
Not enough time to explain... give it a try, experiment a little and provide specific questions if you get stuck.
Brett

Similar Messages

  • XML Publisher Report Error

    Hi All,
    I am trying to create an xml report from a standard oracle report. For that, I have copied the standard report's concurrent program and created a custom concurrent program by changing the output from 'Text' to 'XML'. When I run the custom report and took a look at the output of the concurrent program, I see the below error:
    An invalid character was found in text content. Error processing resource 'http://...
    <DESCRIPTION>CD
    t:1em;text-indent:-2em">- <G_ITEM>
    <C_FLEX_ITEM>44-5555-66</C_FLEX_ITEM>
    <DESCRIPTION>ABCD W/O PRRS</DESCRIPTION>
    - <LIST_G_VENDOR>
    - <G_VENDOR>
    <VENDOR>VENDOR 123</VENDOR>
    I see that the error is because, the xml parser has encountered a charecter '/' in the tag 'DESCRIPTION', which it is getting confused with the ending tag.
    The charecter may be deleted if it as the case with the description of one item, but there are numerous item descriptions with / in them.
    If this is the limitation of XML Publisher, could anyone please help me with the approach to create these kind of reports in XML Publisher?
    Thanks in advance.

    Well, I figured out what the problem was.

  • Embedding an attachment into the output of XML publisher

    Gurus,
    I've a requirement as follows....
    I am using AOL's attachment feature available in 11i to store some pdf documents in the database. Now while generating a report on any of the transactional tables, I want to print any of the attachments which have been attached and stored in the database too. Can this be accomplised through XML publisher? Can we create a template which would be able to handle a pdf which has been stored in the database and print it in the output?
    Let me know if anyone has any ideas on this.
    Thanks.

    Hi Jassing,
    Did you ever get a solution to this? I have a client who has a similar requirement and would like to know if it can possibly be done.
    They are using XMLP 5.6.1 with eBusiness Suite, and would like to print any attachments associated with Work Orders through XML Publisher.
    Any information would be gratefully received.
    Many Thanks,
    Cj

  • How to use 2 vo's in xml publisher pdf genarate report from oaf--urgent

    Hi Guru's,
    i am integrating xml publisher report from oaf. I found one good artical published by prabaker in apps2fusion site and i implemented the same. But it is used onley one view object to generate pdf. But in my case i want to use 4 view objects to generate report as pdf. So, kindly suggest me how to resolve this issue.
    below i mentioned the site name whihc i follwed to implement my requirement.
    http://apps2fusion.com/at/51-ps/260-integrating-xml-publisher-and-oa-framework.
    pls help me as i am not getting , how to solve this issue.
    Thanks in advance.
    Keerthana

    Hi,
    When we develop simple XML report also we used to get single data source either generated either from RDF or PL/SQL, in OAF XML data is coming from VO and XML Publisher API’s will process that data.
    This approach works fine if you are having one VO, but if you are having two VOs then it is not possible (As per my understanding and comparing this scenario with simple XML publisher report).
    I also faced same problem few months back, on my form I was having two VOs one for header and other for Lines and I have generate Report to show the data for both Headers and Lines. In my case I created a separate VO that was containing both Header and Line details and I was passing header Id to query that. I used query this VO only when someone clicks on “Print” button and it worked fine for me.
    Regards,
    Mahesh B.

  • Font problems in resulting XML Publisher document (from PeopleSoft)

    Hi all,
    we're creating documents using XML Publisher under PeopleSoft, designing the template in Word 2007.
    We see strange things hapening to the resulting documents: even though the majority of the template is created in a Times New Roman 11pt font, we find that in the resulting document, empty paragraphs and empty table cells are formatted as Arial 12 pt. So where we put an empty line between paragraphs in the text in the template, and set all the text to Times New Roman, the empty lines are Arial. Same thing with the tables. There's a table with a for-each loop in the rows. The XML with the data always contains 10 entries, but possibly with empty values, so that the table in the resulting document always has 10 rows (plus a header row). However, the empty rows are Arial 12, and the filled-in rows are TNR 11. This results in a different heigth for the table depending on how many rows are filled in, causing the positioning of the rest of the document to be off.
    The template contains NO Arial 12 at all...
    I hope my problem is clear. Any ideas or pointers where to look are really appreciated...
    Spiffo

    Hello Deepz,
    Thank you for your answer. I am not sure I understand your answer: I stated, this is occurring in XML Publisher from PeopleSoft, so not in BI Publisher. Furthermore, there is one section in the document where I do need Arial, but at pt 11, not 12.
    I hope you or other forum members can help me further.
    Regards,
    Spiffo

  • XML Publisher V/S Report builder

    Hi,
    Could someone please tell me what are the features that are available in the XML Publisher but not in oracle report
    or vice-versa, Please provide some link or document for this.
    Thanks,
    Pragati

    Hi,
    When we develop simple XML report also we used to get single data source either generated either from RDF or PL/SQL, in OAF XML data is coming from VO and XML Publisher API’s will process that data.
    This approach works fine if you are having one VO, but if you are having two VOs then it is not possible (As per my understanding and comparing this scenario with simple XML publisher report).
    I also faced same problem few months back, on my form I was having two VOs one for header and other for Lines and I have generate Report to show the data for both Headers and Lines. In my case I created a separate VO that was containing both Header and Line details and I was passing header Id to query that. I used query this VO only when someone clicks on “Print” button and it worked fine for me.
    Regards,
    Mahesh B.

  • Try to use dynamic sql connection for additioal data for xml publisher

    I understand that the xml publisher is using template to merger the xml data output (say from Oracle report).
    We have some Oracle seeded report and do not wish to modify these report, but we do need to add additional data to these reports. In the past, the tool we used has the capability to make dynamic sql calls to get these additional data. Can this be achieved in xml publisher?
    I did noticed that the template builder has two options for upload data source: from a data file or from a sql connection, but seems they can not be used together. Not much document I can find for this. Thank you in advance for your help.
    Frank

    Hi All,
    Sandeep: if u have the solution pls send to my email id [email protected]
    ill really appriciate u r response.
    I have the same requirement to develop AR Invoice Report in XML publisher, actually it was developed using Optio Layout.my issue is the actual AR Invoice RDF contains 20 records and it showing the 20 recodes when we run that program (concurrent program output) after that while printing this report uisng the OPTIO layout (The Optio system is fetching some more records (10 records)) it printing total 30 records. i mean here the OPTIO is handling some pl/sql code i guess..
    so now how we can handle this requirement using XMLP.I am using RTF Templates with 5.6.2 v. Is it possible to do the same manner how the OPTIO was doing. Is this possible with any other Templates ?. or we need to customize the RDF itself ? .but I know that I can go ahead and modify the existing out-of-the-box report, but I do not want to do that. I do not have control over the XML that is generated since the XML is generated when the report is run. Is there any way to retrieve the extra information AFTER the xml has been generated and BEFORE the template is applied ?
    Thanks,
    Rad

  • XML Publisher license

    How does the XML Publisher license included in any product stack?
    We have Oracle DB EE, Oracle Appserver EE, & Developer Suite.
    Does any of these bundled includes XML publisher?
    Thanks
    GS

    I believe the answer is No.
    XML publisher is listed as one of the "Internet Application Server Enterprise Editon Options". It is similar to the "Spatial" option to the database server Enterprise Edition. To me this means, to have XML Publisher, you must have iAS EE license and on top of it you need to obtain XML Publisher license.
    I believe XML Publisher is also available as a stand alone product and licensing option.
    XML Publisher is licensable via per employee metric. I think it is 40$ per employee when licensed as a stand alone product and 30$ when licensed as an option to the iAS EE.
    BTW, the best way to confirm the licensing/pricing is to call your Oracle's sales rep.

  • When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb.But the output records is originally 4000 records. When copy to new excel it is showing 3.5 mb only. Does anyone knows the answer for this issue?

    When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb. The records contained in excel file is 4000 records. When taking the excel records and copy to new excel file the excel file size is 3.5 mb only.Why does the oracle software generates 20mb file?
    Does any one knows the answer please advice?

    Hello,
    This issue is because the Excel output from BI Publisher is MHTML (XML Publisher generates XHTML) not binary .xls.
    MHTML and XHTML are more verbose formats than binary .xls.
    It will be large because the current Excel output is just an HTML and not compressed like PDF. Please use the workaround (save it as .xls file).  This is a known limitation of RTF layout templates.
    BI Publisher Enterprise has a new feature True Excel Templates. The layouts generate binary Excel output.
    Excel Output File Size Generated By BI Publisher is Very Large (Doc ID 760437.1)
    Bogdan

  • How can i display page number in this format in xml publisher report (1-1)

    in this format
    1-1
    1-2
    1-3
    2-1
    2-2
    2-3
    can i display page nos in this format in xml publisher please help me on this

    Hi,
    Use the SET COUNTRY..
    SET COUNTRY 'US'.
    write: / sy-datum.
    SET COUNTRY 'IN'.
    write: / sy-datum.
    Thanks,
    Naren

  • Multi-language report in XML publisher (This is urgent!!)

    Hi All,
    i am working on Multi-Language report. We have installed just 3 languages (English, Japaneese, Spanish) but my requirement is to display the reports in few more un-installed languages like Korea, chineese etc. I thought of doing the lables (all hard coded fields) translation using .XLIFF file. When i try to run the report, in language settings (this is the place where the XML report takes the language input) i can see only those languages which are installed. How can pass other languages (un-installed) as a parameter in the XML report?
    Please suggest. It is very urgent.
    Thanks,
    AS

    Hello,
    The OTN forum for XML Publisher (now called BI Publisher) is here :
    BI Publisher
    Regards

  • XML Publisher Bursting Program - limitation of email addresses

    In the XML Publisher Bursting program we were able to add only 3 email addresses(containing 87 characters) the email was sent successfully.
    When we tried to concatenate with another email address (it went up to 115 characters), the email was not sent to any of the email addresses (but the bursting program completed with normal status)
    Is there any limitation in adding the email address in the tag
    <xapi:message id="123" to="[email protected],[email protected],[email protected]" attachment="true" subject="${MAIL_SUBJECT}">${BURST_MAIL_BODY}</xapi:message>
    we also tried changing the bursting control file as below but still we did not receive mail to any of the email addresses
    <xapi:Delivery>
    <xapi:filesystem output="${FILE_SYS_OUTPUT}" />
    - <xapi:email server="${HOST_NAME}" port="25" from="${BURST_MAIL_ADD}" reply-to="">
    <xapi:message id="123" to="[email protected],[email protected],[email protected]" attachment="true" subject="${MAIL_SUBJECT}">${BURST_MAIL_BODY}</xapi:message>
    <xapi:message id="123" to="[email protected],[email protected],[email protected]" attachment="true" subject="${MAIL_SUBJECT}">${BURST_MAIL_BODY}</xapi:message>
    <xapi:message id="123" to="[email protected]
    subject="${MAIL_SUBJECT}">${BURST_MAIL_BODY}</xapi:message>
    </xapi:email>
    - <!--
    PDF generation for mails
    -->
    - <xapi:Document key="${MOT_SO_NUMBER}" output-type="pdf" delivery="123">
    <xapi:template type="rtf" location="${TEMP_LOC}" />
    </xapi:Document>
    Is there any other solution to add more number of email addresses in the bursting program?

    The following link may help
    BI Publisher Bursting Submission Error -URGENT
    Best Regards,
    Mahi

  • How to invoke XML Publisher report in 11i

    Can anybody please guide me on How can we invoke xml publisher report in 11i and how can we call XML publisher report from form or OA framework.
    Thanks

    Hi
    1. From a form ... a little tricky. Forms 6i has v limited java support so calling the XMLP apis directly is going to be tough. We do have a few products and customers that do it, here are a few scenarios:
    a. Have a button/menu item to call the report, this actually kicks off the concurrent manager to submit a report that XMLP will format
    b. Have a button that calls the plsql package, 'htp', this in turn can call an OA page where a report can be rendered in the page.
    2. From OAF page - much easier. You can call the TemplateHelper API form your page passing data, template reference, lang, terr, output format - the API will return the output.
    For the OAF approach and option'b' for forms I would recommend using the XMLP common region. This is a region that can be plugged into your custom page. Its very configurable - you can point it to a concurrent request, a completed document e.g. a PDF doc, you can pass it XML data from your BC4J objects or a data template. You can then configure what changes the user can make, change template, language, locale, output - please check the user guide for details on the Common Region.
    Tim

  • Report VS Excel output using XML Publisher tool (DBMS_XMLGEN)

    Hi All,
    Currently I am working on report generation in MRP module with Excel output using XML Publisher tool.
    XML tool works based on query.
    I have developed PLSQL block by using DBMS_XMLGEN – database package, to generate XML output of query.
    My question is how we can put generated xml on above PLSQL block into OUT file (APPS).
    Because DBMS_OUTPUT.PUT_LINE( ) has limitation, it allow 255 character string only.
    But I do not know, Is FND_FILE.PUT_LINE (FND_FILE.OUTPUT,’’) allow for large data?
    If it does not allow what will be the other solution in oracle application to resolve above problem.
    Let me know any queries regarding to this problem.
    Thanks and Regards,
    Sai Krishna @cavaya.com

    Hi Prakash,
    Thanks for the reply. We did apply the one-off patch and got rid of the problem of not viewing 'Excel' output using XMLP.
    Now we are looking at a different perspective:
    Basically our client is looking for the following:
    1. Mathematical functions in the resulting XLS (like SUM, AVG etc..) ouput
    2. Use of macros if possible.
    And to do this i am looking out for a sample template that gives me output in excel format I have a TAR with Oracle for this purpose, but the TAR has so far been unsuccessful in providing us with any material in the direction.
    Our client remembers seeing this as a demo at the Oracle Conference this yr at San Fransisco, but does not have a sample to provide us. We are looking for such a sample.
    Thx,
    Nitin

  • Xml Publisher  run time error '5148'

    Dear
    I am using XML publisher to convert data in excel from the oracle,so first i have generated data in xml by report builder and open xml file in Word document through >template builder >data > load xml data,it's find but i use insert menu and select all field then it give message which i have mentioned below,
    run time error '5148'
    The number must be between 1 to 63
    I think, is it column limitation because i have done this activity later but right now i have added more column so may be that's why it is showing the error but my client need to show data in excel,so how i can fulfill this requirement,is there any other solution ?
    Please help on this regard. thanks in advance.

    Just for future poor souls who may be pulling their hair out over the same issue, I eventually got to the bottom of this cryptic error message.
    Do not try to import all your fields at once if your group has over 63 of them, as it will fail.
    If you use the Insert Table option, and try to put all the fields in at once, it will give you a more meaningful message, and the one it SHOULD have given you in the first place, which is "A table cannot contain more than 63 columns".
    So - Import them, a few at a time. Then move them all into one group and you're good to go.

Maybe you are looking for

  • In import GRN - excise duty is wrongly updating..

    hi frnds.. In import GRN - excise duty is wrongly updating.. How to resolve this... Regards Raghav.KH

  • TROUBLE WITH WEB ADDRESS IN SAFARI

    I have previously posted this topic under Safari directly but have received no response. I am having some difficulty with my desktop G5 Quad in respect to logging on to a particular web address that I have been using for years now. When I try to log

  • IPHOTO '09 won't start after update

    Hi Group: I've got a white MacBook I haven't used in several months, as I mostly use my MBP. Tonight I fired up the MB and started iPhoto '09 to check out the geotagging functions, which I haven't tried before. The app started and directed me to upda

  • Russian character display troubles

    Hi all My problem is: The DB codepage is 1100 (ISO1). Russian chars come from R/3 side in 1500 (ISO5) codepage and stored as is in a DB. There is no RU language pack installed on BW system. As the result I am able to display this data only through th

  • Problem with photomerge exposure

    I am trying out the trial version of PSE 8.  When I try to use photoexposure merge, the program will merge the two photos perfectly, but when I click the Done button, I get a Runtime error box saying the program has to close.  This has happened twice