Select alternate tray when printing Adobe form from an ABAP prograram
I had a Smart Form where I printed to an alternate tray for 4 by 7 paper stock. I need to know how to do this in Adobe when printing a from from an ABAP program. I have printer types ZLX4039, HPLJ4 and HPLJ5SI to which I need to print my form to an alternate 4 by 7 tray.
Does anyone know how to set it up in the Adobe form and what I need to do in SPAD to handle it?
Thanks for any help,
James Ugrin
Hi,
Go for the Device type AZPL300 : ZPL300 for PDF Documents only for the Interactive Forms
Take the Help of ur BASIS Team...in SPAD settings
Regards,
Vijaya Lakshmi.T
Edited by: Vijaya Lakshmi on Mar 25, 2009 5:49 AM
Similar Messages
-
Rearrange pages when printing adobe form with multiple master pages
Hello!
Good day to you all.
I have an issue in regards with printing my adobe form with multiple Master pages. I have 4 master pages:
1st master page: a
2nd master page: b
3rd master page: c
4th master page: d
all with different headers and footers all having the same contents (items). I don't have issue with one page content (it just prints 4 pages with different headers and footers). The issue comes out once the items exceed 1 page.
What happens is that the preview/print shows (example: 3-page item)
a1-a2-a3-b1-b2-b3-c1-c2-c3-d1-d2-d3.
What i need is to print these such that all 1st pages of the 4 master page to be printed first, then all the 2nd pages, then all 3rd pages. Please see below:
a1-b1-c1-d1-a2-b2-c2-d2-a3-b3-c3-d3
This is because we will be using carbonless copy paper during printing and it's possible that it would be printed on batch jobs. Please suggest ways to do this.
Thanks a lot in advance!
Best Regards,
abap_peer_dangsHi,
Is that requirement of multiple pages as groups only at the time of print or at print preview also...?
Can you have a Print button on this screen or you should be using the Abobe toolbar's Print button..?
Well if this on a click of a button in the form and the requirement is only at the time of print and not on print prieview I can have a JS script which does this...
Let me know if this suffice, I can try with a local file and send you the script.
@ Chris: I didn't understand what do you mean by reported, I was eager to hear and learn a solution from you may be a new approach which I am not aware of ...?
Cheers,
Sai. -
Issues when printing adobe forms
Hi All,
When I am trying to print a Adobe form in t-code se38 and the form is fp_test_00. The following error occurs in the and the
SAP session is getting terminated ........
Dump :- process terminated with signal 11.
The current ABAP "SAPLSPADS" program had to be terminated because the
ABAP processor detected an internal system error.
How to correct the error
The R/3 System work directory (e.g. /usr/sap/c11/D00/work ) often
contains a file called 'core'.
*****I tried moving the core file to .old this does not works for me *************
SM21 system log :-
Signal 11 received by operating system
> Include LSPADSU02 line 0034.
Run-time error "RUNT_ILLEGAL_SWITCH" occurred
Stop Workproc 0, PID 491598
Start Workproc 0, 6 times since system startup. PID 491600
Repost table TST01 (TemSe->XRTAB(3)->64; Flag: MDFF; Key )
TemSe error repair: 1 (Module , location )
Calling program reports invalid handle for TemSe object (magic==X'4f444f23'
Delete session 002 after error 023
Please help me in solving this issue ....thanks in advance ....
Regards,
Revanth Kumar KadaliHi MichaelPytel,
Reason for the GUI termination
This problem occurs due to the kernel program error (kernel version 236).
Resolution
Please check implementing the following OSS note 1134660.
My issue was resolved after implementing the above OSS note** Hope it works for you as well
All the best,
Thanks & Regards
Revanth Kumar Kadali -
Calling adobe form from webdynpro abap view
Hi,
I need some help. The situation is: I have created a Adobe form interface as well as a form using the SFP transaction. Now, I have a webdynpro screen with a button, which upon pressed must give the output of the PDF form.
I tried the following steps:
1. Call function 'FP_FUNCTION_MODULE_NAME'
2. Call 'FP_JOB_OPEN'
3. Call the generated function module name
4. Call FP_JOB_CLOSE.
The procedure works fine when I use the same code in a report program. It opens a dialog box where there is a option for Print preview and it displays the PDF.
But when I try to replicate the same, it does not work in Webdynpro for ABAP. Any suggestions as to how to go about this problem?
regards,
Praveen KumarHi Praveen
there is documentation on the Web Dynpro for ABAP integration of Interactive Forms in the SAP Help Portal at http://help.sap.com/saphelp_nw2004s/helpdata/en/aa/940ee5331b4b8fa0a6cb6714dc5db4/frameset.htm which should answer most of your questions.
You specify the form to be used during the design of your Web Dynpro application (you are prompted to determine it when you insert the UI element).
You can save the form from the Reader toolbar, the question would be why would you want to do this and not use a proper download screen.
A proper tutorial is planned to be available in June. Until then, check the ABAP page in SDN for some e-learning / webinar recording), or directly here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3
Cheers,
Markus -
Error when Interative Adobe Form is called from Webdynpro ABAP.
Hi Experts,
I trying to call a Interactive adobe form from ABAP Webdynpro application but I am facing the below error.
Line: -
The following error text was processed in the system GJD : User session (HTTP/SMTP/..) closed after timeout
The error occurred on the application server az18u021_GJD_01 and in the work process 0 .
The termination type was: ERROR_MESSAGE_STATE
The ABAP call stack was:
Method: PREPROCESS_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
Module: %_HTTP_START of program SAPMHTTP
Line: -
When I uncheck the enabled property of the Interactive From in the Page of the WebDynpro I am able to execute the application successfully.But the Adobe form behaves as a Static Form when I uncheck the enabled property.
So kindly provide your valuable suggestions to avoid the above error when I am calling a Interactive adobe form from Webdynpro ABAP.
Thanks in Advance.
Regards,
Arun.Hello,
Hello, are you sure you have your ADS credentials configured correctly and valid? I guess you know that is the only difference between clicking enabled on true or false. If you are not sure, you can use SE38, search for FP_* and pick some reports to check the licencing. The names of the reports are good enough to recognize the right one.
Or maybe that is a security problem? Have you checked the ADS_ERROR string? Did you use the ADS trace?
check: http://help.sap.com/saphelp_nw70/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/content.htm
and especially note 999998
Regards, Otto -
Call standard adobe form from a WD application
Hi All,
I have a requirement of displaying a standard adobe form from a click of a button in a WDA portal,
I am an ECC developer and have no idea of WD. I created a function module which uses submit statement to invoke the driver program and displays the PDF output, but when this function module is invoked from the portal on the click of button it gives and error FP job open error.
I understand that displaying PDF wont work in this way on portal, so can anyone please guide me the correct procedure on how to achieve this.
I came across this thread
[Regarding adobe form using Webdynpro ABAP|Regarding adobe form using Webdynpro ABAP]
which mentions of feeding the complete PDF document to the UI element as an XSTRING context node bound to the pdfSource property, but the help link provided in the thread is not opening.
Thanks in advance.
Regards,
KartikHi karthick , creat a button in the view and assign a action to it .
inside that action eventhandeler method call the method for prepare_adobe _form for dislay PDF .
method ONACTIONSHOW_ADOBE_FORM .
data : l_pdfstring type xstring.
" Select for print
wd_this->prepare_adobe_forms( importing p_pdf = l_pdfstring ). " coding is given below
" Call print
cl_wd_runtime_services=>attach_file_to_response(
i_filename = 'adobe_form.pdf'
i_content = l_pdfstring
i_mime_type = 'application/pdf'
i_in_new_window = abap_false
i_inplace = abap_false ).
endmethod.
prepare PDF
method prepare_adobe_forms.
data: lv_funcname type funcname.
data: ls_outputparams type sfpoutputparams.
data: ls_formoutput type fpformoutput.
call function 'FP_FUNCTION_MODULE_NAME'
exporting
i_name = 'FP_TEST_DATE'
importing
e_funcname = lv_funcname.
ls_outputparamsu2010nodialog = 'X'. " suppress printer dialog popup
ls_outputparamsu2010getpdf = 'X'. " launch print preview
call function 'FP_JOB_OPEN'
changing
ie_outputparams = ls_outputparams
exceptions
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
others = 5.
call function lv_funcname
* exporting
* /1bcdwb/docparams = fp_docparams
importing
/1bcdwb/formoutput = ls_formoutput
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
call function 'FP_JOB_CLOSE'
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
p_pdf = ls_formoutputu2010pdf.
endmethod .
Regards
Chinnaiya P -
Adobe forms from scratch - Standard programs?
Hi,
I have just begun trying to implement Adobe forms from scratch at my company. Previosly we have used an external printing solution so I can't convert anything. My plan is to create a new output medium and let the users select the new type by themself. But I have a couple of questions:
1. How do I create a new medium (Examples: Print output/Fax/Telex, as found in t-code NACT - Processing routines)
2. I guess there are SAP standard printing programs, interfaces and forms, but I can't find them. I need to be able to print all the usual docs from orders, deliveries and invoices. All I have in NACT are old home-made (Z*) programs so if you know what SAP think we should use now, please let me know!
We have ERP6 ehp4 on netweaver 7 ehp1 and I have created one "Adobe form" myself so I can confirm that it works. but I don't want to invent the wheel twice...
Thanx in advance!
Br Linus HellsingHi Linus,
I was wondering if you had a moment to comment on an opportunity that I am having regarding Adobe forms development efforts?
If so, please read on:
Our offshore team has worked on a development effort to replace Smart Forms PO's and Contracts with Adobe forms. They created new output types for these Adobe forms. In testing I noticed that the only way I can get them to print - is if I go into Print Preview and print -or- use SP01 and click on the .pdf icon and print. In both cases it uses Adobe Acrobat to perform the actually printing.
We cannot seem to get them to print using the normal SAP message utility. Our users would expect to continue to:
1. Use the Messages button while in the PO document - and select the new output type along with Meduim= Printed Output...
2. Then they select Further data button - to specify Send Immediately.
3. Then they use the Communication Method tab and specify the Logical Destination (as LOCL) and click on the Check box for Print immediately.
They get what appears to be an rambling of Adobe error lines followed by many blank pages....
At this point I am not sure if the print program is working correctly - or if the problem is with Adobe Document Services?
Have you ever encountered a situation like this during your Adobe development efforts?
Any suggestions would be appreciated.
Regards,
Steve -
How to print Adobe Forms without the black/gray backgrounds in the side columns
How can we print Adobe Forms without the black/gray backgrounds in the side columns? We are wasting a lot of ink printing out these forms and would like to have simply black ilnes to distinguish columns and black lettering, but no background colors. Any help would be appreciated. Thanks.
I am not positive what you are printing from but I am thinking it is from the View Responses tab with a response row selected and then shown in "Detail View" and that the column of field names has a dark grey background...
To change the color of the column headers select the row of headers (do this by clicking on the first dark grey header field and then scroll to the last one and shift+click on the last one), then in the "Text" tools change the text color to Black and the Fill color to white:
(Selected the header cells)
Changed the text/font color to black and the fill color to white
Now you can see the detail view does not have the dark grey.
Thanks,
Josh -
Printing Adobe Form in Webdynpro
Hi Experts,
I need one help from all of you , its quite urgent.
Actually I am trying to print Adobe form in webdynpro method like below:
"----- Take the Adobe fprm -------------------"
lv_form_name = 'ZHR_SAP_FORM'.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = lv_form_name
IMPORTING
e_funcname = lv_fm_name.
lfs_output_params-nodialog = 'X'.
lfs_output_params-getpdf = 'X'.
lfs_output_params-device = 'TR5T'.
lfs_output_params-connection = 'ADS'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = lfs_output_params
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
*---Form language
lfs_doc_params-langu = 'E'.
*---Call Adobe form.
CALL FUNCTION lv_fm_name
EXPORTING
/1bcdwb/docparams = lfs_doc_params
gt_item = lit_zhrauth_item
gs_hrauth = lwa_zhrauth
IMPORTING
/1bcdwb/formoutput = lwa_output
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
*---Job Close
CALL FUNCTION 'FP_JOB_CLOSE'
* IMPORTING
* E_RESULT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
Here , the funtion module name is coming correctly.
But when calling function CALL FUNCTION 'FP_JOB_OPEN' ,
It is giving sy-subrc = 2 , i.e. usage error (An Exception).
Similarily , due to this i am getting same exception in
CALL FUNCTION lv_fm_name
So some one please help me , what should i do ,
am i supposed to pass some other parameter in CALL FUNCTION 'FP_JOB_OPEN'
Hopefully , waiting for responds.
Thanks & Regards;
Gaurav SinghHI Sikka,
Thanx for the reply ,
With your solution CALL FUNCTION 'FP_JOB_OPEN' is done.
but the same problem is still happening with
CALL FUNCTION lv_fm_name and it is giving sy-subrc = 2.
i.e. system_error = 2
Thanx !!! -
Problem activating simple adobe form from SFP
Hi
I created a simple adobe form from transaction SFP....2 steps ...created interface then form.
the problem is when try to activate the form there are no syntax errors but iam getting a message
1,275 bytes transmitted, code page 0000
Message no. FES032
and the form is still inactive...
any idea why iam getting this error? is configuration from basis not configured properly?
Please advise
Govi1. Create RFC (ABAP system side) destination through SM59 called as ADS which should of type G
u2022 RFC Destination : ADS
u2022 Connection Type :G(HTTP Connection to External services)
u2022 Destination 1 : ADS connection to SID (Java system)
Target System settings:
u2022 Target HOST : JAVA system Host
u2022 Port : java system port
u2022 Path prefix : this defaults(/AdobeDocumentServices/Config?style=rpc)
2. Login to Visual Administration
Navigate to Server Services Destinations and select HTTP drop down.
Create the RFC destination as FP_ICF_DATA_<SID>.
Destination Name: FP_ICF_DATA_<SID>
Destination Type: HTTP
Connection settings:
u2022 URL :http://<hostname>:<ABAP-portno>
u2022 system Id :--NIL
u2022 client : ABAP system client no(200 or 300)
u2022 Language :--NIL
Logon Data:
u2022 Authentication: BASIC
BASIS Authentication:
u2022 Username:ADS_AGENT
u2022 Password:xxxxx
3. Please activate SOAP service:
Login your ABAP System
u2022 Use transaction: SICF execute and Select default hostselect sap---select bcu2014select-SOAP Select and activate -
Calling adobe form from Web Dynpro ABAP
Hi Friends,
This is the following error, which i got when i tested my application. Calling adobe form from Web Dynpro ABAP.
WebDynpro Exception: ADS: Request start time: Tue Nov 16 14:00:22 YEKT
2010(200,101).
Can some one tell me how to solve this....
Regards
SankarHi,
Please refer to this same link in forum
WebDynpro Exception: ADS: Request start time, start Interactive Form
WebDynpro Exception: ADS: Request start time
Thanks
Pradeep -
Problems when printing help topics from OHJ
We have encountered some persistent problems when printing help topics from Oracle Help for Java (Ice Browser).
NOTE: When we print the same source files from Oracle Help for the Web, the printing problems are gone.
(1) Spacing Errors (all printers had identical results)
Text with special formatting (<b>, <i>) often has either too much space or not enough space.
Links often have extra spaces underlined before or after the link, itself.
(2) When printing multiple help topics from the TOC (an entire branch in the tree):
On some printers, no graphics print correctly, but instead print as one of the following: 1. empty box the size of one character, 2. black box the size of one character, 3. black box the size of the original graphic. We could not detect a pattern that caused 1, 2, or 3.
NOTE: all graphics are bit maps (screen captures) that were generated in the same manner.
NOTE: if these same help topics are printed one at a time form Oracle Help for Java, the graphics print fine.
Is this a problem with the Ice Browser?
Thanks for the help,
Wendy StudinskiThere are a known issue with the ICEBrowser printing in some circumstances. The laying out of text by the ICE Browser relies on font metrics (being able to measure the width of a run of text in a given font). On screen it looks great, but when printing, even though the GraphicsConfiguration for the printer is being used, these widths are sometimes off, which can result in text running together at boundaries between text styles. We're not sure what to do about this problem, and we've reported it to IceSoft.
Not every font has this problem, so varying the font you are using might help the appearance when printed.
The other problem you report, problems with the images when printing multiple topics, is something that we will look into. -
Text getting cut off when printing to PDF from Excel
Hello,
I've seen a lot related to this subject but nothing that shows a real solution.
Using Excel 2003-sp3 and Adobe Acrobat v.9 Standard, the right half of the last character in the string gets cut off. It prints from excel fine.
It's not always the text that is the right-most on the page either. An affected PDF file is attached - note the cut off "S" on the last line (NET ASSETS OF GOVERNMENTAL ACTIVITIES).
Any assistance is appreciated.
Thanks,
Kevin Murphyplease delete me from your mailing list. tks.
Date: Wed, 10 Feb 2010 11:20:28 -0700
From: [email protected]
To: [email protected]
Subject: Text getting cut off when printing to PDF from Excel
Hello,
I've seen a lot related to this subject but nothing that shows a real solution.
Using Excel 2003-sp3 and Adobe Acrobat v.9 Standard, the right half of the last character in the string gets cut off. It prints from excel fine.
It's not always the text that is the right-most on the page either. An affected PDF file is attached - note the cut off "S" on the last line (NET ASSETS OF GOVERNMENTAL ACTIVITIES).
Any assistance is appreciated.
Thanks,
Kevin Murphy
> -
When printing to PDF from webpage, the pdf is compressed on the bottom of each page and with markedly smaller print, the top of the page is fine. How do I correct this?
Open Contacts and click Preferences on the menu named Contacts. On the General tab of the Preferences window, select Show First Name: Before Last Name and then print. You can change that Preference back to the other way after printing if desired.
-
Test inside the table is truncated when integrating Adobe forms with WD4A
Hi All,
I am facing issue in table when integrating adobe forms with web dynpro for ABAP.
Whenever the pagination happens the text in the table row cells is truncated and it starts from next row in next page. Is there any properrty of table in Form builder which I can use to allow the test to go to the next page?
Best Regards,
Arti.Hi. You should place your question in "SAP Interactive Forms by Adobe" forum. You will get advice quicker there.
Maybe you are looking for
-
How to load a xml file from a package inside of a jar file
hi@all my application has got a xml configuration file which is saved inside the package tree of the class that reads this file. when i`m developing using eclipse the class can find that file, everything works fine. but when i create a jar file of my
-
I downloaded quick time because i tried watching a movie i purchased on itunes and and have watched it before on my laptop but paused and continued. i tried opening it today and it said i needed to download quicktime and i did. it still says i need t
-
Hi, I am trying to do a mass update of Element links using API "pay_element_link_api.update_element_link" and getting the below error. We are on R12.1.3 Error at line 2 ORA-20001: The external account flexfield structure is invalid. ORA-06512: at "AP
-
Plz: Replication 9i Job Network Problem Hang
Hi ,This problem is posted on this forum by other users but all of them remained unresponsed! I hope somebody will help me now: I have a hang problem in 9i We are using bidirectional Replication (Materialized View Replication) and when mview refresh
-
hi actually i tried to get the order item notes through READ_TEXT fm. in that if i give any text name directly it s working but if i give through any variable say for example variable name olino = sale order no + line item number , it s not working.