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,
Venkat
Hi,
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
Similar Messages
-
Is form output saved to Adobe Servers?
Is form output saved to Adobe Servers?
Yes tor web forms and PDF forms with submit buttons. You can create a PDF form with out a FormsCentral submit button. You can use it anyway you want and nothing is stored on our servers.
Randy -
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. -
Multiple Secure Zones with a Single Login Form
Hello, I've created a login form and 20 different secure zones. I am needing to redirect users to their own personal secure zone automatically once they login (without the need for them to choose the secure zone) Can you please let me know how this can be done? Thank you much
Hi
The main difference is :
Using generic secure zone login option : When customer logs in , he stays on the same page. I mean , Generic secure zone in BC doesn't support redirect to other pages . However, he will have access to all the pages that were in other secure zones to which he actually subscribed to.
Using Specific secure zone login form, you have option to redirect the user to specific landing page and user will have access to data that is placed in this specific secure zone.
You may locate the Generic secure zone login form in toolbox > site modules > secure zones > sign in form > as shown in below screenshot : -
Attach 2 adobe form with the first adobe form
Hi All,
Can we merge the multiple adobe form into a single adobe form in CRM.
I appended both the adobe form content in a single internal table and tried to download PDF file using FM "GUI_DOWNLOAD" I was able to see only the first form. Could any one guide to solve this issue.
Regards,
S.Balaji.Hi Balaji,
You can concatenate more than one form together if you us Adobe-forms for the processing. Just have a look inside the functiongroup. It is very similar to the Smartforms solutions...
Of course, you have to process the pdf-forms by yourself and not want to concatenate given ones, but that should be the case.
Regards
Florian -
Merging Smartform Output and Adobe Form Output in a single PDF File
Hi All,
My Requirement is as follows -
I have multiple Smartforms and a single Adobe Form.
I want to merge the Smartform Outputs and Adobe Form output in a single PDF.
I am able to merge multiple Smartform Output in a PDF , but not able to find any way to merge smartform and adobe form output as the Smartform output is in OTF Format and Adobe form output is in PDF Format itself.
I have tried few ways , but could not find any success.
Request you all to give me some direction to this problem.
Thanks & Regards
BhavikaKumar,
I am afraid this is not possible using SAP functionality. There are probably 3rd party tools which allow you to merge several PDFs into one, but SAP itself does not offer such a mechanism. There is an internal SAP function, though, which can merge several "parts" (=several PDFs) within an Adobe-created spool request into a single PDF, intended for downloading this PDF from SP01.
This is described in note 1717357.
Best regards,
Alexander -
Need to display multiple lines of output in adobe form..
hi,
i have an internal table data which needs to be displayed on my adobe form as multiple lines . how do i design my form in SFP ??
actually i alerady have a form whose layout is life one header line and one detail line..i dont see anywhere any property that i can set to say i want to repeat that detail line multiple times. so whats the way to do this ?
thksHi Jojit,
That was a bit helpful. But what i am looking for is that i will be having a table inserted in the layout with 2 rows. One in which i will type the header text and the other row will have the text elements in each of the column to hold the field values. So my design is predefined in the form. The example u show is a blank form to which we write rows of data. But i need some additions to it like drawing a table around it with a header line.
can we design that thru the driver program ?? or is there any other way ?
thks -
How to display 2/more documetns in a single adobe form
Hi Experts,
My requirement is to display more than 1 document (purchase order or invoice) in a single adobe form.The form i created was working good to display single document when i went to VF31 and select more than one document and click on print preview i was getting preview for last document (say i had 10 documents in that and selected 1 and 2 documents but i was getting output for 10th document) i tried with using loop like in smart forms but am not getting the output as expected. How can i achieve this please help me out.
Thanks in advance
Phalani MGo to the docs for java.lang.System.
Click on the link out. That will take you to the docs for whatever class out is. Look through that class' docs for methods other than println that might do what you want. -
Can I color a line of "standard text" in adobe forms output?
Simple question: Can I color a line of "standard text" in adobe forms output?
My standard text (SO10) has multiple lines.
Can I make one of the lines red?
OllieHi Oliver,
I believe you standard text is a table type of TDLINES.
On the form you would display it with a table of 1 column 1 row with repeat row ticked.
Have the like below code on the fomr ready event of your table.
for(var i =0; i<this.Row1.nodes.length;i++)
if(i == 1){
this.Row1.Cell1.font.fill.color.value = "255,0,0";
this.Row1.xx.font.fill.color.value = "255,0,0";
Note: in my example I had a table with one row names Row1 and 2 fields cell1 type textbox, & xx as text / label.
If its like you have it in a text box with multiple entries, we need to spli the value such that 1st row is displayed in a text box whose parameters are by defeult set to font red, and rest of them to this text area.
If your procedure is table the code sud work, else let me know how you get data and how do you display it on the screen.
Cheers,
Sai -
How to send adobe form output in mail as a attachment
i am get the adobe form output
how to attach in a mail ....
Regards
Anbu Bmy program is like this.............
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = 'YHRIN_WELCOME'
IMPORTING
e_funcname = lv_funcname
gs_output-nodialog = 'X'.
gs_output-preview = 'X'.
gs_output-getpdl = 'X'.
gs_output-getpdf = 'X'.
gs_output-dest = 'LP01'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = gs_output
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.
DATA : gs_outputpara TYPE sfpdocparams.
DATA : ls_return TYPE fpformoutput .
gs_outputpara-langu = 'E'.
gs_outputpara-country = 'IN'.
CALL FUNCTION lv_funcname
EXPORTING
/1bcdwb/docparams = gs_outputpara
wa_data = wa_mail
IMPORTING
/1bcdwb/formoutput = ls_return
EXCEPTIONS
OTHERS = 1.
DATA lv_output TYPE sdokcntbins WITH HEADER LINE.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = ls_return-pdf "PDF file from function module
TABLES
binary_tab = lv_output .
*DATA : result TYPE sfpjoboutput WITH HEADER LINE .
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
e_result = result
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DATA : iv_len_in LIKE sood-objlen,
it_tline TYPE TABLE OF tline WITH HEADER LINE.
PERFORM pdf_file.
DATA: lt_imessage TYPE STANDARD TABLE OF solisti1 WITH HEADER LINE,
lt_iattach TYPE STANDARD TABLE OF solisti1 WITH HEADER LINE,
lt_ipacking_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
lt_ireceivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
lt_iattachment LIKE solisti1 OCCURS 0 WITH HEADER LINE.
DATA : lt_record LIKE solisti1 OCCURS 0 WITH HEADER LINE.
DATA : it_otf TYPE itcoo OCCURS 0 WITH HEADER LINE.
DATA: lv_email TYPE somlreci1-receiver
VALUE 'anbu.'.
PERFORM build_xls_data .
APPEND lt_iattach.
Populate message body text
CLEAR lt_imessage. REFRESH lt_imessage.
lt_imessage = 'Please find attached PDF file'.
APPEND lt_imessage.
Send file by email as .xls speadsheet
PERFORM send_email_with_xls TABLES lt_imessage
lt_iattach
USING lv_email
'PDF Attachment of an Employee'
'PDF'
'TestFileName'
'Employee Detail'.
Form BUILD_XLS_DATA
FORM build_xls_data .
DATA :lv_buffer TYPE string.
Convert PDF from 132 to 255.
LOOP AT it_tline.
Replacing space by ~
TRANSLATE it_tline USING ' ~'.
CONCATENATE lv_buffer it_tline INTO lv_buffer.
ENDLOOP.
replacing ~ by space
TRANSLATE lv_buffer USING '~'.
DO.
lt_record = lv_buffer.
Appending 255 characters as a record
APPEND lt_record.
SHIFT lv_buffer LEFT BY 255 PLACES.
IF lv_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
lt_iattach[] = lt_record[].
ENDFORM.
Form SEND_EMAIL_WITH_XLS
FORM send_email_with_xls TABLES pit_message
pit_attach
USING p_email
p_mtitle
p_format
p_filename
p_attdescription.
DATA: es_xdocdata LIKE sodocchgi1,
lv_xcnt TYPE i.
Fill the document data.
es_xdocdata-doc_size = 1.
Populate the subject/generic message attributes
es_xdocdata-obj_langu = sy-langu .
es_xdocdata-obj_name = 'SAPRPT' .
es_xdocdata-obj_descr = p_mtitle .
Fill the document data and get size of attachment
CLEAR es_xdocdata.
READ TABLE lt_iattach INDEX lv_xcnt.
es_xdocdata-doc_size =
( lv_xcnt - 1 ) * 255 + STRLEN( lt_iattach ).
es_xdocdata-obj_langu = sy-langu.
es_xdocdata-obj_name = 'SAPRPT'.
es_xdocdata-obj_descr = p_mtitle.
CLEAR lt_iattachment. REFRESH lt_iattachment.
lt_iattachment[] = pit_attach[].
Describe the body of the message
CLEAR lt_ipacking_list. REFRESH lt_ipacking_list.
lt_ipacking_list-transf_bin = space.
lt_ipacking_list-head_start = 1.
lt_ipacking_list-head_num = 0.
lt_ipacking_list-body_start = 1.
DESCRIBE TABLE lt_imessage LINES lt_ipacking_list-body_num.
lt_ipacking_list-doc_type = 'RAW'.
APPEND lt_ipacking_list.
Create attachment notification
lt_ipacking_list-transf_bin = 'X'.
lt_ipacking_list-head_start = 1.
lt_ipacking_list-head_num = 1.
lt_ipacking_list-body_start = 1.
DESCRIBE TABLE lt_iattachment LINES lt_ipacking_list-body_num.
lt_ipacking_list-doc_type = p_format.
lt_ipacking_list-obj_descr = p_attdescription.
lt_ipacking_list-obj_name = p_filename.
lt_ipacking_list-doc_size = lt_ipacking_list-body_num * 255.
APPEND lt_ipacking_list.
Add the recipients email address
CLEAR lt_ireceivers. REFRESH lt_ireceivers.
lt_ireceivers-receiver = p_email.
lt_ireceivers-rec_type = 'U'.
lt_ireceivers-com_type = 'INT'.
lt_ireceivers-notif_del = 'X'.
lt_ireceivers-notif_ndel = 'X'.
APPEND lt_ireceivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = es_xdocdata
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = lt_ipacking_list
contents_bin = lt_iattachment
CONTENTS_HEX = lv_output
contents_txt = lt_imessage
receivers = lt_ireceivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = '' AND RETURN.
ENDFORM. -
How to avoid printing a balnk page at the end in the Adobe form output
Hello Experts,
Can anyone please let me know as how to avoid/delete the blank page at the end of adobe form output.
I have a master page with header n footer and a body page seperate.
For ex.. I have 3 line items and i want each line item to be displayed in the new page. I am able to get this functionality . I have set the settings in the paginationb tab of the subform as
"after " Go to Next content Area" " but an extra page is getting printed at the end. 3 + 1 extra pages total. I want to avoid this blank page. I have checked the Allow page break with in content box but it is still not working.
Can someone guide me as how to solve this problem.
Any help is appreciated. Thanks in advance.
Regards,
Maheshhey mahesh,
this normally happens because of triggering a new page manually, what u would have done is that you would be checking for the new line item and when this condition is satisfied , you are triggering a new page , the reason for the last blank page is that the condition gets satisfied ( beacuse the line item number changes from the last line item no to initial or space).
This can be handled by doing the following
By knowing the number of line items by the following stmt.
describe table itab lines v_lines.
Now you have the value in v_lines.
use a counter in ur form and keep it increasing it by 1 ( say v_sno ) ie v_sno = v_sno + 1 in the loop of ur internal table.
ONLY WHEN V_LINES IS LESS THAN OR EQUAL TO V_SNO , TRIGGER THE NEW PAGE
this should be along with the condition which u have already put, ie when ever line item no changes
when both these conditions are satisfied , then only the new page will be triggered.
Hope it helps,
Reward if useful,
Regards,
KP. -
Need to configure output type for adobe form
Hello All,
I need to configure output type for Adobe Form thru NACE. What would be print program and how do I call my form from that program? and, what would be the FORM routine for that form in NACE?
I'm little confused, Pls I need your help.
Thanks in advance,
ChandraHi,
Just before few weeks we did this task.
Say for example if you want to print PO details through ADOBE form instead of normal sapscript layout or standard MEDRUCK, you can follow the following steps.
1. Design the form in SFP tcode, by passing the necessary inputs through form interface.
2. Then use tcode tcode NACE and select EF as application and click output types button on the application tool bar. Select NEU output type and double click processing routines on left side.
3. Then, in the right side of the screen we can see the calling program and the form (may be sapscript or smartform) whatever used.
4. For form names we have two options in NACE tcode.
One is Form and the otherone is PDF/Smartform Form. If you are using adobe form give your form name under PDF/Smartform and also select PDF under the type option in the same screen.
This worked perfectly for us. But pass the required parameters to the form from the routine used in standard program.
If any queries please post it. -
How to design a single adobe form having 5 different layouts
Hi,
I have a requirement wherein i have 5 different layouts to be designed in a single adobe form, since i am new to adobe forms please can anybody tell me how to desgin this.
Thanks.
Moderator Message: Please post the questions in the right forum. Also, I suggest you take a proper class room training in Adobe forms.
Edited by: kishan P on Nov 2, 2010 12:02 PMHi Roopesh,
We cannot change the Page Layout and Orientation dynamically in Adobe forms.
To achieve this Create two forms with different layouts each. -
Saving a adobe form Output to presentation server from webdynpro
Hi all
I have a webdynpro aplication, where on clicking a button I want one adobe form output to be downloaded
in pdf format to local server.
currently while clicking the button its calling the webdynpro application where pdf is integrated and its displayed
on the browser.
Instead of the display I want to download to presentation server on clicking of the same button ,
The layout type of the PDF component is ZCI Layout and interface is XML schema based interface.With an XML based interface it is going to be much easier to display the form and then download it. The user could choose the save from the Adobe Plug-In toolbar or you can get the XSTRING content of the PDF from the PDFSource Property of the InteractiveForm UI element. With the XSTRING you can then, start a download with this content. However PDFSource doesn't get populated until the InteractiveForm is visible on the screen.
If you want complete background rendering of the PDF, you would have to call the form interface and pass the data into it with the XML format. Function Module based form interfaces are really much better suited to background calls because of their nice, flat and ABAP structure based interfaces. -
Adobe forms output not showing
Hi,
Iam working on ECC5.0 version.
i created adobe form after click on test button it will ask for output device.
i checked with all output device options but i did not see the output.
any configuration required for seeing the adobe forms output?
Regards,
SureshHi,
First question is do you have Adobe Document Services (ADS) in your system landscape? This is essential to generate output from adobe forms.
If your ADS is set up you can call function module FP_GET_LAST_ADS_ERRSTR after you call the generated form function module you will get the last error message from the ADS.
Regards,
Nick
Maybe you are looking for
-
Hello, I was wondering if someone can help me with this. For a while now, I have been experiencing troubles with my Mac book Pro. Sometimes the screen just goes black and it becomes unresponsive, sometimes the screen has green lines on it while being
-
My App Store is connected to another account. I've tried to alter all my settings through iTunes, The App Store on both the phone and my Mac but it is still connected to the original owner's apple ID. Is there something I can do?
-
Hi, Scenario is an async message from SAP to a third party (SOAP receiver) This message staus is delivered in adapter logs of RWB. Also there is the payload (before mapping and after mappings till technical routing also) can be seen from sxmb_moni. T
-
My iphone wont turn on and when it does it is only for a bit then goes glitchy?
my iphone started going glitchy when i went on the camera but i didnt worry about it, then my flashg wouldnt work when it was on but then it started working again. and then my whole phone just started shutting offf and when i restarted it the apple t
-
I am trying to search the web when I click on Firefox Icon this message shows up Offline Mode Fire Fox is currently in offline mode and can not browse web how do I fix this?