cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple PDF's

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Siva,

I am trying to exactly samething.I am unable to get more than onepage

I am filling my tables by WD application select-options.

How did you define your context? Was it nested? Could you explain a little bit more?

I guess the cardinality maintainance n is mandatory.

Rgds

Vara

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

You got to internal table in your form , one for invoice header and one for item .

You have link the both table in the context , then place the header one in the layout editor and set it to be print on top of dynamic part. That should solved your issue.

Regards

Former Member
0 Kudos

Hey Vara,

Is there any advancement with this multiple PDF scenario,if you have any details or example please share with us,we r still at same place.

Thanks and Regards,

Siva

Former Member
0 Kudos

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