Examples for converting multiple form output to single pdf
Hi all ,
I need sample code or examples for converting multiple smart form outputs (more than 1) to single pdf. Can someone provide that? Reply ASAP
Thanks & Regards,
Pavan.
Hi,
check this:
[How to merge multiple spools into single PDF file?;
[Merge multiple PDF Files;
[https://www.sdn.sap.com/irj/scn/advancedsearch?query=multipleformoutputtosinglepdf++]
hope u'll get some idea.
Regards,
Sneha.
Similar Messages
-
Multiple smartform output to single pdf file
HI,
I am new to ABAP. I have a requirement to combine multiple smartfrom output to single pdf file. I searched in this site. I got material but i did not get the complete concept. Can anybody tell me the methodology and sample code to do that.
Thanks & regards,
Maha.Hi Mahalakshmi,
Clik on the link to view document: <b>[Combining Multiple Smartform Outputs Into One PDF File|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/62ae7fcd-0b01-0010-3e9d-a54f26944450?overridelayout=true]</b>
Thanks
Venkat.O -
Multiple JSPs output into single PDF file
Could anyone guide me on how do I combine output of multiple JSP files into a single PDF file? I have got 8 different reports and shall required to have single output of all of them in a PDF file. Its urgent. Please help.
Hi Mahalakshmi,
Clik on the link to view document: <b>[Combining Multiple Smartform Outputs Into One PDF File|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/62ae7fcd-0b01-0010-3e9d-a54f26944450?overridelayout=true]</b>
Thanks
Venkat.O -
Generate and Print Preview Multiple Forms in a Single PDF
There have been other questions similar to this but none directly address my problem. We have the need to generate multple forms in a .pdf using Adobe interactive forms. We can generate the multiple forms, but the user has to click on each form to view. They want to have the forms in a single document that they can scroll through before printing. We can do this in SmartForms but need to do it in Adobe. Does anyone know how to generate multiple forms, either multiple copies of the same form or various forms, from an ABAP program into a single pdf that can be print previewed, in scrollable form, by the user?
I can describe it one more time, I think:))
You have multiple options, but only one "reasonable" within SAP.
You can call an external application (through command line etc.) to concatenate forms for you.
You can use iText as mentioned in the thread, and write yourself a "tool" which will concatenate the forms for you.
Both these "options" would not be acceptable for my clients, I name them to help you get the whole picture.
Then there is the third option: use a form for a single instance (template/ form A) and create a new form (form B), where you will use the A template:
- you need to: create a new interface where everything from the old interface is a row of the table (example: you have a form to print out the personal card of the employee, so in a new form you will need to use a table, where a row is an employee)
- you need to create a new form layout based on the new interface:
in this new layout you will paste the whole layout of the old form (A/ single instance) and wrap it into a subform. The added subform will work as a table (you will bind that to the table from interface) and everything from the old template within this new subform will work as a "row" (something what you can repeat for each data item).
Does that sound reasonable?
Cheers Otto -
Multiple smartform Outputs in Single PDF
Hi,
I am displaying ALV report , from there I am converting my smartform output into PDF using CONVERT_OTF and Downloading it to my desktop.
Now user is looking for push button in ALV, i.e Display PDF in Single File. I have created the pushbutton and tried to convert the OTF data PDF as per below link.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/62ae7fcd-0b01-0010-3e9d-a54f26944450?quicklink=index&overridelayout=true
My file is downloading to the desired path. When i tried to open that file it is giving error message as below.
THERE WAS AN ERROR OPENING THIS DOCUMENT . THE FILE IS DAMAGED AND COULD NOT BE REPAIRED.
when i seleted the rows seperatly, it is displaying as PDF correctly, but if i tried to append the lines as per the above reference link i am getting the problem.
Can anyone please help me out to solve this.
Thanks & Regards,
Srinivas Bhavanam
Moderator message - Cross post locked
Edited by: Rob Burbank on Mar 24, 2010 6:25 PMThis article is correct about the //. First make sure you remove them correctly, and nothing else. Only 2 // must remain, one at the beginning, one at the end.
-
One Smartform - Multiple PERNRs - Output is Single PDF
Hi Gurus,
Scenario:
100 Employees receive Appraisals.
Out of which -
50 receive Bonus
30 receive Variable Pay
20 receive Other Incentives
The Forms for Bonus / variable pay and other incentives are different.
Smartform 1: Bonus
Smartform 2: Variable Pay
Smartform 3: Other Incentives
The output that i need is when the Form Generation Program is executed, i should be able to club into one Single PDF File for each
a. 50 PERNRs who receive bonuses with Smartform 1;
b. 30 Variable Pay PERNRs with Smartform 2; and
c. 20 Other Incentive PERNRs with Smartform 3.
Currently, when the Form Gen. program is executed, it is creating one smartform for one PERNR....thereby, creating 100 PDF files.....
Kindly help.
Kumarpal Jain.Can u tell me where is that i am going wrong in the below code...
FORM GETTOB .
WA_TAB-NSALARY1 = WA_TAB-NSALARY.
W_FILE_PATH = L_FNAME2.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = P_FORM
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = PM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION PM_NAME
EXPORTING
CONTROL_PARAMETERS = WG_CPARAM
OUTPUT_OPTIONS = WG_OUTOPTIONS
USER_SETTINGS = ' '
ANRED = WA_TAB-ATEXT
FNAME = WA_TAB-VORNA
SNAME = WA_TAB-NACHN
ACCOUNTNUMB = WA_TAB-PERNR
POSTXT = WA_TAB-PLSTX
COCTXT = WA_TAB-LTEXT
COSTCEN = WA_TAB-KOSTL
NSALARY = WA_TAB-NSALARY1
EDATE = WA_TAB-EDATE
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO = T_OTF_FORM_FM1
JOB_OUTPUT_OPTIONS =
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CONCATENATE WA_TAB-PERNR'_TOB_'WA_TAB-BEGDA'_'WA_TAB-ENDDA'.pdf'
INTO W_FILE_NAME.
PERFORM PDF_CONVERSION.
ENDFORM. " gettob
FORM PDF_CONVERSION .
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
IMPORTING
BIN_FILESIZE = W_BIN_FILESIZE
BIN_FILE =
TABLES
OTF = T_OTF_FORM_FM1-OTFDATA
LINES = T_PDF_TAB
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
ERR_BAD_OTF = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CONCATENATE W_FILE_PATH'\'W_FILE_NAME INTO W_FILE_PATH.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = W_FILE_PATH
FILETYPE = 'BIN'
TABLES
DATA_TAB = T_PDF_TAB.
ENDFORM. " PDF_CONVERSION
Edited by: Kumarpal Jain on Sep 9, 2009 2:34 PM
Edited by: Kumarpal Jain on Sep 9, 2009 2:35 PM -
Multiple Adobe Forms Output in single Adobe Form
Hi Experts,
When we login to portal a list of applications will be available in a table, each record contains details of the application. when we click on first field of any record in that table it will display one adobe form. Under the table i have a button print, suppose if i select some 5 records in the table and when i click that print button then all the 5 adobe forms output should display as a single adobe form with page breaks. I mean after completion of first adobe form output, the next adobe form output should start in a fresh page. i could able to display single adobe form but the problem is with multiple adobe forms output in single form. Any inputs will be greatly appreciated.
Regards,
VenkatHi,
The only way to solved your issue is to change your forms and give it all necessary information in several table . Like this you can manage break page depending of content.
For example, you form interface contains one header structure and a table of item . If you want to have several form into one result , change the interface by passing an internal table of header information . Then in the layout you have to use the different table to get the result you want .
Unfortunately there is no solution actually with AdObe Forms in SAP to merge several PDF into one .
Hope this help you.
Regards -
How to create a multiple PDF-form outputs into one PDF?
Hi,
I`d like to create a PDF document with a few pages in it, build from different PDF-forms using many form-function calls. Where each PDF-form can use its own interface.
I`ve made a simple programme, but as the result I have a few separated documents with scrolling tab instead of one document with all pages in it.
What am I doing wrong?
*& Report ZZ_TEST_PDF_MULTY
REPORT zz_test_pdf_multy.
PARAMETERS:
p_page TYPE i DEFAULT 2,
p_row TYPE i DEFAULT 4.
END-OF-SELECTION.
DATA:
tb_itf TYPE tsftext,
s_itf TYPE tline.
DATA:
c_fmname TYPE rs38l_fnam,
s_outputparams TYPE sfpoutputparams,
s_docparams TYPE sfpdocparams,
s_formoutput TYPE fpformoutput,
s_sfpjoboutput TYPE sfpjoboutput,
c_page TYPE string,
c_row TYPE string.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = 'FP_TEST_00'
IMPORTING
e_funcname = c_fmname.
s_outputparams-nodialog = 'X'.
s_outputparams-device = 'PRINTER'.
s_outputparams-preview = 'X'.
s_outputparams-dest = 'PDF'.
s_outputparams-getpdf = ' '.
s_outputparams-title = sy-title.
* s_outputparams-bumode = 'M'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = s_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
s_docparams-langu = 'R'.
s_docparams-country = 'RU'.
DO p_page TIMES.
MOVE sy-index TO c_page.
REFRESH tb_itf.
DO p_row TIMES.
MOVE sy-index TO c_row.
c_row = sy-index.
CONCATENATE
'page' c_page 'row' c_row
INTO s_itf-tdline SEPARATED BY space.
APPEND s_itf TO tb_itf.
ENDDO.
CALL FUNCTION c_fmname
EXPORTING
/1bcdwb/docparams = s_docparams
textlines = tb_itf
IMPORTING
/1bcdwb/formoutput = s_formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDDO.
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
e_result = s_sfpjoboutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.Sorry, but making single PDF from many smartforms is not what I want to achieve. I wold like to know how to get one PDF document made by ALC-forms.
In my example I have many PDF documents. So, how to get (or put) them all in one PDF?
ps: the way to get one PDF from smartforms is also here:
"Combining Multiple Smartform Outputs Into One PDF file"
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/62ae7fcd-0b01-0010-3e9d-a54f26944450 -
Hiding filenames when combining multiple files into a single .pdf
I'm fairly new to this Acrobat X. I'm trying to assemble my portfolio to distribute to employers but I cannot seem to get rid/hide the filenames in the final pdf file. I was using the option to 'combine multiple files into a single pdf' because I was compiling images and documents to a single readable pdf file. I got all that done but once I open it, I'd see that each page would still contain the original file names rather than page numbers - which I prefer not to have employers see for the sake of tidiness (and I refuse to use the Adobe portfolio because it's not really efficient on space or design. I prefer a simple page-by-page pdf). So I was wondering if anyone can tell me how to hide my file names, change them into page numbers or getting rid of them all together so the 'Table of Contents' in the pdf preview mode would not show anything, I would really much appreciate it.
-SsWell, when the .pdf is in the final, deliverable form; I open it in Mac preview mode and the sidebar is always extended showing a 'table of contents' rather than having each document in the pdf file have a number designating a page name, it shows each individual filename the pdf is composed of. Not too sure about bookmark, though. Thanks for the reply!
If you want, I can send the file to you. -
How do I scan multiple documents to a single pdf from the ADF on my MX922?
How do I scan multiple documents to a single pdf from the ADF on my MX922?
Solved!
Go to Solution.Hi Riceburner1,
Since you have had difficulty scanning using My Image Garden, you can scan using the IJ Scan Utility program that also comes with the printer. To do this, please follow these steps:
1. Place the documents in the ADF or on the platen glass of the printer.
2. Start the IJ Scan Utility.
For Windows 8.1:
1. On your keyboard, press the Windows key.
2. Start typing IJ SCAN UTILITY. The search window opens as you type. Once the IJ SCAN UTILITY is displayed, please select and open it, then continue with Step 3 below.
For Windows XP:
1. Go to your START MENU, then select ALL PROGRAMS, then CANON UTILITIES, then the IJ SCAN UTILITY program.
2. In the Canon IJ Scan Utility window that opens, click SETTINGS.... in the bottom right of the window. The Settings dialog box appears. Please continue with Step 3 below.
3. In the Canon IJ Scan Utility window that opens, click SETTINGS.... in the bottom right of the window. The Settings dialog box appears.
4. Click the DOCUMENT SCAN option on the left pane of the window. In the Select Source field of the Scan Options section, select DOCUMENT (ADF/PLATEN) to scan items placed directly on the platen glass, DOCUMENT (ADF SIMPLEX) to perform single-sided scanning from the ADF, or DOCUMENT (ADF DUPLEX) to perform double-sided scanning using the ADF. You can then set the item size, resolution, etc. in the Scan Options section as desired.
5. In the SAVE SETTINGS section of the window, you will select the save format and location of the document you are about to scan.
a.) In the FILE NAME field, specify the name you would like to give the file. By default the filename will begin with IMG; you can remove IMG and change it to whatever you would like to name the file. Please note that the filename that you give the document here will be the default filename for all items scanned until you change the file name. If you leave the file name the same in the field, the scanned item will have a sequential number appended to the end of whatever name you give it.
b.) In the DATA FORMAT field, use the drop-down arrow to select the desired option. If you are scanning a multipage document, select the PDF (Multiple Pages) option.
c.) In the SAVE IN field, please navigate to the area where you would like the file to be saved once it is scanned in. By default, the file will be saved in the MY DOCUMENTS folder.
6. In the APPLICATION SETTINGS section of the window, please select the DO NOT START ANY APPLICATION option.
7. Once all settings have been selected, click the OK button at the bottom of the SETTINGS (DOCUMENT SCAN) window. The IJ Scan Utility main screen appears.
8. Click the DOCUMENT button. Scanning starts. Click the CANCEL button to cancel scanning if needed. Once the scan is completed, scanned images are saved in the previously selected folder location specified in the SETTINGS... window.
Hope this helps!
This didn't answer your question or issue? Please call or email us using one of the methods on the Contact Us page for further assistance.
Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well. -
Hi I want to get an acrobat aplication and SDK for converting .tiff and .jpg to OCR PDF and, add watermark and reducing size of files, all in one product
Yes, Acrobat Pro can do that. The SDK is free t o download.
-
Is it possible to batch convert all form responses into individual PDF forms?
Is it possible to batch convert all form responses into individual PDF forms?
Sorry we do no offer an automatic way to do this.
Gen -
Which Acrobat or Adobe product is best to subscribe to for converting Word files (all types) to pdf files and visa versa?
Thank you!Probably PDF Pack: Reliably Create PDFs, Convert PDFs, & Merge PDFs Online | Adobe PDF Pack
-
GR can not printed for PO-Multiple account assignment on single line item ,
Hi!
I made a pr with single line item with 3 account assignment on percentage basis.I created a PO against .GR non valuated was automatically ticked so no account assignment was created at the time of GR posting.
Can I make a valuted GR against PO line item with multiple account assignment.
I faced another problem .I displayed the GR and after ticking out put check box in the general data page of the GR doc. the output is being saved but the update is terminated immediately.and no output page is generated in this item level.This output problem is not there at the time of single account assignment at PO line item.
Can you please let me have the solution ?
Thank snd regards,
Suranjana> I made a pr with single line item with 3 account assignment on percentage basis.I created a PO against .GR non valuated was automatically ticked so no account assignment was created at the time of GR posting.
When you are having the multiple account assignment, then the system will force you to have GR-non valuated indicator being flagged which results in the fact there is not any FI document at GR posting stage and this is the standard feature of SAP.
> Can I make a valuted GR against PO line item with multiple account assignment.
No, not at all. The disability of GR indicator can be set in OME9 with account assignment category
> I faced another problem .I displayed the GR and after ticking out put check box in the general data page of the GR doc. the output is being saved but the update is terminated immediately.and no output page is generated in this item level.This output problem is not there at the time of single account assignment at PO line item.
In fact, it is possible to maintain multiple account assignment for each and every PO line item by selecting the 'Multiple Account Assignment' button in the 'Account Assignment' View of the Item Detail of PO. However, for such multiple account assignment selection, no accounting document will be generated upon GR maintenance. This can only be done during IR via LIV process. -
To convert Smart Form output to PDF format and send it via email.
Hi Friends,
Could any one please tell me, how to convert the Smart Forms output to PDF format and send it via email to customer. If any one have the code, kindly mail me to [email protected]
Thanks & Regards,
JohnRefer the links -
how to convert smartform into pdf and send through mail
Smartform as PDF attachment to a mail.
smartform pdf and mail
smartform to pdf to mail
Regrads,
Amit
Reward all helpful replies.
Maybe you are looking for
-
Hey Hey! Running OSX 10.9.4 and iTunes 11.3 I am pretty sure that this has been addressed somewhere, but I could not find it - so thanks up front!!! How do I get my purchased movies from iTunes to show in my iTunes Library without storing all the GB
-
Since I upgraded to iTunes 11.0.2 I am not able to sync my music with my iPhone 4. At first I thought it was a bug in iOS 6.1.2, but today i tried to sync my iPod Touch (3º gen) with iOS 5.1.1 and it has the same problem. iTunes syncs my apps, but wh
-
This is a spin off from a previous issue I had but now I think this is a bug and it appears to only be in the Post.aspx view. To summarize, when the exact same web part is added to the POST.aspx page as well as the /Forms/AllItems.aspx page, it crash
-
Problems mounting a Sony DVD+R DL disc
Hi I have a MacBookPro 2,2 - Intel Core 2 Duo - 2.33 GHz - 15'' When I load a blank Sony DVD+R DL 8.5gb - AccuCore - RW - disc into Finder it shows up fine, burns without a problem (I burned it with finder), mounts after its done without a problem, i
-
TS3180 Line 7. There is no list to select from. You can create a New one.
Im having problem problems all over Lion Server. I can't manage Profile Manager on client machines..nothing authenticates. So I thourght I would rebuild the Open Directory replica functions....however in recreating an Open Directory I get an error. "