on 02-23-2009 3:40 AM
Hi Experts,
I have a scenario where i need to create multiple PDF's in a single document
Below is my page structure,
Masterpage
|---Contentarea1
BodyPage
|---Main subform(flowed)
|--BodySubform(Positioned)
|----Table subform(flowed)
|-----Table body ( this grows dynamically based on no.of recs from backend)(Table flowed)
|------Table footer
I gave pagination of Mainsubform as Overflow to Contentarea1 and context nodes structure sameas Bodypage.
for all the fields data comes through RFC.some data comes as parameters and others are tables.
I am trying to flow the whole body page based on number of inputs given.
i was half successful as two pdf's are getting created in same document for two inputs,but the
dynamic table data is not getting flowed and the all the data from the both inputs are getting printed in the same page.please help me to spot what is to be fixed.
Thanks and Regards,
Siva
Edited by: Siva on Feb 23, 2009 5:07 PM
Hey
Check the Repeat Subform for each data item check-box of the BodySubform (Object->binding)
Let me know if it doesn't helped.
Eyal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Eyal,
I have that Repeat subform checked already and i am getting values flowed but not correctly,but the problem i am encountering is data comes from table and data comes from paramaters are getting displayed in seperate pages .
Here is my scenario in detail.
I have to produce multiple invoices in a single document,each invoice has multiple lines of records.
For Example,
Invoice 1 has 30 lines of record
Invoice 2 has 5 lines of record
Both have some common header fields and 25 lines per page.
when i run the application
its creating 3 pages
page1--- 35 lines (data from inv 1 and inv 2)
page2--- Header details of Invoice1.
page3 ---Header details of Invoice.
I need to put header detail of invoice1 and 25 lines in page 1.
header detail of invoice1 and 5 lines of record in page 2.
header detail of invoice2 and 5 lines of record in page 3.
Thanks and Regards,
Siva
Vara,
I have the same heirarchy for context as that of PDF layout(nested)and all node have cardinality 0...n.
the problem is how to determine the number of rows in dynamic table inside PDF.
what i understood from your requirement is that you are trying to put a multiple sales orders in single PDF document and each sales order has a dynamic table.number of pages of each sales order depends on the size of the table.
As all the table values are stored inside the context and passed to PDF once how to determine these many number of rows are for sales order 1?.any idea please let me know.
Regards,
Siva
Siva,
You need to check two things.
1) The data structure. You should have a repeating "invoice" node and under this node your line items.
2) Make sure your data bindings are OK. If you have two "[*]" in the expression you should review your data bindings.
From what I read in this thread I would guess that 2) is your issue.
Regards,
Juergen
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.