on 09-05-2010 1:53 PM
Hi everyone,
I'm looking for solution to a issue i'm facing with :
I've a program which create a PDF form for each employee.
Everything work fine except that we want that if the user download the pdf it will be in one file and not in separated files
(one file for each employee) like in SMARTFORMS.
Is it possible and if yes can you give me example for that .
Thanks.
You cannot concatenate PDF files easily (in ABAP).
So you have two options:
1) When you need to combine more PDF files into a single one:
or 2) (I prefer this one) create a new form layout, create one more level above the employee layout you already have and create a table of tables (nested tables). I answered the very similar questions few weeks ago, so if you would like to search, the answer is there...
Regards Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The program create form for pernr(Employee) now if the user run the program with more than one pernr
we want one pdf file contain all the forms of the employees and not one pdf for each employee.
Is it possible ?
If not is there a way to convert my form to SmartForm. ?
I know that what we need is possible with SmartForm like payslip.
Thanks.
Edited by: Gil Hadida on Sep 20, 2010 10:51 AM
if you don´t like how Adobe forms work, you can always create smartform, where this feature is available and when sending/ viewing etc. you can export smartform into PDF file. You don´t have to create the main functionality as Adobe form.
Short answer is no: what you want is not possible.
Otto
Hi Gil,
You can try using the same spool request when you call the function to open the job (FP_JOB_OPEN). You open the spool request for your first employee, use the same request for each one and close it on your last employee.
Parameters - FP_JOB_OPEN
SFPOUTPUTPARAMS-REQNEW.
SFPOUTPUTPARAMS-SPOOLID.
SFPOUTPUTPARAMS-REQFINAL.
Parameters - FP_JOB_CLOSE
SFPJOBOUTPUT-SPOOLIDS.
I've done this for smartforms, so I'm sure it will work for Adobe Forms.
Cheers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.