on 01-28-2014 11:55 AM
Hello,
I need to create a multi-page PDF where I need to use the same template but dynamically varying data.
Eg Scenario:
1. I have data for 5 material in my ABAP program.
2. I have a PDF template in SFP which has a 2 page structure.
3. Based on the number of materials (5 in this case), I need to generate a PDF which will have 10 pages (2 for each material).
4. the generated PDF should be like the one shown below:
e.g. MATERIAL_PDF (pdf name)
-----------------------------------------
| Page1(Mat1[View1].data)
| Page2(Mat1[View2].data)
| Page3(Mat2[View1].data)
| Page4(Mat2[View2].data)
| Page5(Mat3[View1].data)
| Page6(Mat3[View2].data)
.. and so on...
Thanks,
Aniket
Hello,
This requirement was put on the back burner by the client due to other urgent development.
This came back a few weeks ago.
Finally got a solution for this. SAP already provides an option to bundle PDFs (one or more templates). Sadly I didn't know it back then.
I created a new method in my web dynpro view to bundle the PDF(s) using
FM 'FP_CHECK_BATCH_PDF_RETURN' as reference. And it worked fine
Regards,
Aniket
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Isn't it just by setting the two pages into a form ( like an subform in the content ) and put the settings in a proper way?
There is this setting, that the masterpage comes up everytime the pagecount is done.
Example
Page 1 3 5 --> Masterpage 1
Page 2 4 6 --> Masterpage 2
And the designview with the flowing data, you can do it by scripting to get to the next page after the pos is finished.
Unfortunaly I do not got a system atm, so I hope the explaination give you a clue, where to search.
Regards
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.