Change content in adobe forms of Print Preview in Appointment screen
Hi ,
I have a requirement in which I have to change content of adobe forms which comes after clicking on Print Preview in Appointment screen,
I am new to Smart forms and Adobe forms , request expert suggestion onto this.
Thanks.
Try opening in Chrome or Firefox and inspecting the elements. You can turn easily locate the CSS that's driving the background and experiment with settings. You get there by right clicking on an element and select Inspect Element from the options. It's much easier than trying to go through all of that HTML code without a style sheet to go along with it.
Similar Messages
-
In my smart form why main's content din't display in print preview?Plz help
In my smart form why main's content din't display in print preview?Plz help me.
Regards
Indu
Moderator message: too vague, help not possible, please describe problems in all technical detail when posting again.
Edited by: Thomas Zloch on Jan 5, 2011 3:27 PMmake sure u've specified da style in output options of text element as
TIMES 10 in style field and select da desired paragraph and charcter format in general attributes tab of da text element.activaTE AND CHECK.
if problem still persists u can ask again.
reward points if it helps. -
Get number of pages of adobe form before printing
Dear Experts,
I want to get number of pages adobe form will print before printing the form.
Please suggest.Hello Sagar,
Without executing the generated Function Module, it is not possible to get the page count of a form in driver program because the generated FM itself is responsible to execute the whole layout and determine the number of pages in the PDF output. The below screenshot shows the number of pages in the structure /1BCDWB/FORMOUTPUT of generated FM after the generated FM is executed successfully.
I really don't know why you need the number of pages before calling the generated FM. But if you still need it, then you might need to call the whole FM cycle twice( FP_JOB_OPEN , Generated FM, and FP_JOB_CLOSE ).
1) First time while calling the FM FP_JOB_OPEN, you need to modify the contents of SFPOUTPUTPARAMS structure. Send the blank values in fields GETPDF, REQNEW and REQIMM, and send the "X" in fields NOPREVIEW, NOPRINT and NOARCHIVE and 000 in field COPIES.
The reason for doing this is, we do not want actual PDF output. We only want to determine the number of pages.
2) Now execute the generated FM . You will get the number of pages in the structure /1BCDWB/FORMOUTPUT-PAGES as shown in screenshot above.
3) Now call the FM FP_JOB_CLOSE as usual.
4) Again call the FM FP_JOB_OPEN. This time you again need to modify the contents of SFPOUTPUTPARAMS structure reversely. Send the "X" in fields GETPDF, REQNEW and REQIMM, and send the blank values in fields NOPREVIEW, NOPRINT and NOARCHIVE and 001 in field COPIES.
This time we need the actual PDF output.
5) Now do the required processing with previously fetched number of pages before calling the generated FM.
6) Now call the FM FP_JOB_CLOSE as usual. -
Adobe Form for printing Pay Cheque
Does anyone know / tried using adobe form for printing pay cheque using payment medium workbench (PMW) instead of using traditional sapscript and using RFFOUS_C program ?
Regards,
Trikanth BasettyHi Praveen,
Find out the data what is being printed for the first time, and check what is the flag that is making the change. Hope that should resolve your issue.
Thanks,
Rakesh. -
Help reqd to display the form without print preview call
Hi all,
I did one gate pass form and i want to view the form in my selection screen or output screen(just in monitor) as a display by giving one Z-code.
i.e, we can view the form thru Print preview...the same preview, i want to display after i give my parameter in the selection screen.
For example.ZGPOUT if i enter as a t-code.
it should ask my Gate Pass number in the Selection screen...if its right then my Form will come out to the display screen. (instead of going by Print method).,
Pls post ur comment and reply me with examples of code,if possible.
thanks & regards
sankar.the following code are suitable for SMARTFORMS print,please refer to the BOLD section:
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = v_form_name
VARIANT = ' '
DIRECT_CALL = ' '
importing
fm_name = v_fm_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 Smart form
<b>data: t_control like ssfctrlop.</b>
if not p_fax is initial.
t_control-device = 'TELEFAX'.
endif.
<b> t_control-PREVIEW = ' '. "space means no print preview.</b>
call function v_fm_name
exporting
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
<b>control_parameters = t_control</b>
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
tables
l_xcredit = icredit
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. -
Not able to print the script form from print preview
Hi Experts,
I need to print one of the script form from print preview. As per the req. first i need to generate a print preview of this form and if required should be able to print it from this preview.
i am able to generate print preview and also able to see the print option but when i try to print it is going to the spool (which i dont want). I want it to be printed directly to the printer instead of sending it to the spool.
Please suggest me
The way i coded it is
DATA: arcpar TYPE arc_params,
pripar TYPE pri_params.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
layout = 'X_65_132'
line_count = 65
line_size = 132
IMPORTING
out_parameters = pripar
out_archive_parameters = arcpar
valid = val
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
pr_options-tddest = ''.
pr_options-tdpreview = 'X'.
pr_options-tdnoprint = ''.
pr_options-tdsuffix1 = 'STUFF'.
pr_options-tdsuffix2 = matnr.
pr_options-tdimmed = ''.
pr_options-tdlifetime = '2'.
pr_options-tdprogram = Form-name.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
device = 'PRINTER'
dialog = space
form = "purchase or"
language = sy-langu
OPTIONS = pr_options
EXCEPTIONS
canceled = 01
device = 02
form = 03
OPTIONS = 04
unclosed = 05.
CALL FUNCTION 'START_FORM'.
ENDFORM. " open_and_start_form
Thank you.Hi,
Just pass the value 'X' to "pr_options-tdimmed" field.Try this.
I hope,it help you
<=<< Sharing Knowledge is a way to Innovative >=>>
By,
Yoga -
Change title for Adobe form for PO in subsequent print of the form
Hi experts,
I am printing PO output using a customized adobe form using me21.I have a requirement that if the PO has been printed once any subsequent print should print with change in the title.How to achieve this.
Thanks in advance.Hello ,
You can identify whether a PO is output for display or for actual O/P using the Tcode ME9f.
SAP identifies this by a parameter in nast
To check whether it is PO modification or new print
IF nast-aende = 'X'.
g_mod = 'X'.
ENDIF.
Through Me9f , you have 2 buttons 'Display Message' & 'Output message' . If you press Output message the actual Print command is triggered and in the driver program of PO you get value of AENDE as 'X'.
You can identify whether it is PO creation or PO change.
Also with customization in SPRO for the changed elements ,you can track the changes done in PO using table t166t.
regards,
Radhakrishnan -
How to print adobe form immediately without preview?
Hi, Experts.
I made a WD4A using Interactive Form control
and the app is working fine and displays Adobe Form.
But I meet a new client needs on how to print immediately without display the form.
My client says that "I don't wanna see the form and just print form immediately when I click the print button".
I think there are some option parameters for solving those problem...
Plz. Help.
Regards Junha.Hello Junha,
you need to send the pdf to spool. There's a function module for it as far as I know. Can't remember the
name at the moment and having no access to a SAP system. A good way to find it would be searching
for SPOOL and PDF in the name.
Best regards,
Thomas -
Adobe 9 standard print preview not updating
I am having a issue with Adobe 9 stardard on win7 64bit. The issue is happening on more then on pc. The issue is, when the page size is changed in the print menu, by clicking the properties button. The preview of the document does not update to the page size that I chose. For instance the user is usually changing the page size to 11 x 17 and when they choose that the preview does not change the 11x17, but when they print it will print at 11x17. Is there anything that I can do so that the preview image updates. If they go back in and change the paper size again it updates the preview image.
Thank YouHi Sonika,
That is not required functionality. it should display a Adobe Form for Invoice processing.
I doubt there might be some problem with ADS configuration.
Can you please do the following test and let me know the result ?
If the Adobe Interactive Forms have been installed correctly, the
following tests should run without errors:
First test:
1) Call transaction SE38.
2) Enter the report name "FP_PDF_TEST_00" and choose "Execute" (or press F8).
3) Enter "ADS" in the entry field for the connection, and choose
"Execute" (or press F8).
4) The system should issue a dialog box containing the current version
information.
Second test:
1) Call transaction SE38.
2) Enter the report name "FP_TEST_00" and choose "Execute" (or press
F8).
3) Enter "FP_TEST_00" for the form, "2" for the number of output pages,
and "ADS" for the ADS connection. The choose "Execute".
4) Enter a valid output device and choose "Print Preview".
5) The Adobe Reader should be displayed in the GUI, and display two
pages with numbered lines.
Third test:
1) Call transaction SE38.
2) Enter the report name "FP_TEST_IA_01" and choose "Execute" (or press
F8).
3) Enter "FP_TEST_IA_01" for the form, "ADS" for the ADS connection, and
any data in the other entry fields (these are already filled with
default values). Then choose "Execute" (or press F8).
4) Enter a valid output device and choose "Print Preview".
5) The Adobe Reader should be displayed in the GUI, and display a page
with address fields.
6) Scroll down to the frame for the new address, and fill in those
fields.
At the end of the form, an entry field for the date and a value help
exists. Choose the input help button and check if the system displays
the datepicker.
Now you will know yourself if there is any problem with ADS configuration.
Cheers
Satya -
Adobe forms multiple print issue
Hi All,
I am new to ADOBE forms and my development involves generating prints of the same form with different data on it in one go. Now everythign is working fine except for the print preview bit. I want to disable print preview and dialog. I have passed all necessary parameters for FP_JOB_OPEN but that is not providing desired results. Could anyone please advice me on how to fix this issue?
Regards,
RenjithHello Renjith,
Please try the below code. It should work.
DATA : ls_params TYPE sfpoutputparams.
ls_params-dest = <dummy printer maintain in your table TSP03 like 'LP01'>.
ls_params-nopreview = 'X'.
ls_params-nodialog = 'X'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = ls_params
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
Reward point if it solve your issue.
Thanks and Regards,
Gopi -
Using the Adobe Forms for printing through portal
Hi All,
I've got a problem with the fact that I do not know exactly how to use the Adobe Forms from the portal.
I've got the Form Objects done (Interface & Form using SE80) and they work OK when testing the form. The Interface gathers all the datas etc. and the form displays this correctly.
My problem now is that I need to have this form available from the portal, and this I presume needs some WebDynPro stuff or something else? I'm totally lost on this part ...
The customer wants to have a button or link in the portal that opens a new window with the produced PDF opened in the new window, much like opening a static PDF file. The user then has the option to print the PDF him/herself using Adobe Readers own print mechanism.
My interface has only one Import parameter (PERNR number) and one EXPORT parameter (default). The PERNR number must be supplied to the interface so that it can gather all the needed data based on this number.
Any help on this will be greatly appreciated and rewarded accordingly.
Thankyou in advance,
KimHi Arnab,
from a forms point of view:
(I assume you have the ADS up and running on the Java stack. Without it, the form generation doesn't work.)
If you create your form in transaction SFP and execute the corresponding program that calls the form for testing in SE38, you get to the print dialogue. Here you may choose either locl or lp01 (or any other printer accessible through your network) and then select Print Preview. This should then display the PDF in SAP GUI.
If you are asking about general printer setup within SAP, check the corresponding documentation: http://help.sap.com/saphelp_nw04s/helpdata/en/d9/4a8eb751ea11d189570000e829fbbd/frameset.htm
Hope this helps,
Markus -
Adobe form not printing on A4 paperbut printing on letter format
Hi All,
We have made a form on letter format and its working fine.
However when treid tofire output to A4 size paper its not working.
Can some please help me with this,its not that I can change the paper size in my form from letter size to A4.
I want the smartform to be in letter format but I should be able to take the printout in A4 also along with letter format.
Please help me on this. Thank you in advance.
Regards,
Kishore Kumar Dasari.Hi,
Do you use a smartform or an Adobe form? You mention both. If it is a smartform and you specify LETTER in the form, then acommand is sent to the printer to select paper size LETTER. Similarly if you specify DINA4 in the form, then acommand is sent to the printer to select paper size A4.
You can specify page format INCH12 in the form and then no command is sent to the printer so the default paper size of the printer will be used.
Regards,
Aidan -
Hello experts,
I am execute pc00_m40_f16 and after list display when i click on print form and then on print preview button i am not able to display print preview. If i only click on customer layout then preview will display but it is a smart form or sapscript display i want to display it in PDF. Is there any setting regarding this.
Thanks in advance
UnmeshHello Unmesh
For PDF display and print preview ,you need to have ADS configured.
having done this ,Please implement the Note 1447617 to resolve the issue. Please implement
the correction instructions attached with the Note.
Also, please note that the note involves changes in Job profile change
in the ADS server
1 Preparation for JobProfile on ADS server
Refer to SAP note 886572. This note has section for 'JobProfile'.
Follow steps in this note.
2. Copy JobProfile xml file to ADS server
Download attached Remove_Annote.zip and extract.
Copy Remove_Annote.xml file to ADS server
/usr/sap/<SID>/SYS/global/AdobeDocumentServices/JobProfiles/Custom/print
Thanks and Kind Regards
Ramana -
Change font in Adobe Form in the interface
Hi all,
I have one issue changing the font in adobe forms.
In the interface I have as import one string. With this string I have to generate the PDF and I need to change the font.
Here is an example:
Import string: "this is an [[FONT=CURIEL]]example of [[N]] adobe [[SIZE=15]] forms"
the characters [[ ]] indicate an scape sequence.
[[FONT=CURIEL]] means that all the following text should be in curiel font.
[[N]] means new line
[[SIZE=15]] menas that all the following text should be in size 15.
All this text I has to be added to a string variable and paste in the PDF.
I know that I can add a new line with "cl_abap_char_utilities=>newline"
I know that with Javascrit I can change the font and the size, but for that I have to change all the text.
Is there any way to change some text inside the variable and not all of it?
Thanks!
Regards,
AndresHi UmaS,
Thanks for your answer.
I can't use floating text because I don't know how many different fonts I will have and I can't create floating text dynamically.
Any other idea?
Thanks,
Regards,
Andres. -
ADOBE Form Table printing Multiple pages
Hi,
I am having a suituation that in ADOBE Forms I need to display same internal table data in multiple pages. But while i display it the data only printing in first page. I want to print the same data in the second page also. How to do this? any idea please.
Regards
Srikanth SHy Otto,
his requirement was a bit different from what you answered I am saying this because i've stumbled on the same problem. I have a table that varies between 4 or 8 rows and let's say half of the page it's enough for it. But i need this table to appear on every page. I created the table in the Master Page, but it shows only on the first page. The other pages will not display the table.
Thanks,
Alex
Maybe you are looking for
-
When receiving a call, my phone only vibrates once even if its on silent or not. I have checked all the settings and all appears ok. It works sometimes and doesn't other times. Does anyone know how this can be fixed? Thanks
-
Iphone contacts won't sync to mac
Hi Very new to mac but have searched for this; too many answers with too much variance so I have to ask myself, sorry. I've had an iphone 4 for 2 years, always syncing contacts with outlook on my old PC. Everything worked fine until icloud; I then fo
-
Hi, I have started experiencing a problem this past week (Aug 2012) that I see sometimes reported here. When I run iTunes 10.6.3.25 on a Win7 machine that is connected by ethernet to my router, the airport express speakers would regularly disappear.
-
Sender Communication Channel Error
Hi all, iam working on JDBC scenario.For this iam using party and business service. iam getting following error at jdbc sender communication channel. Error occurred while sending message: com.sap.aii.af.ra.ms.api.ConfigException: SLDAccess set to tru
-
ViFindRsrc is have a problem with three or more crates
I have customer who has 4 crates of VXI hardware and in each of the crates it has 1394 VXI Control. When he runs our client software with three crates or more, viFindRsrc command will give him a error code VI_ERROR_RSRC_NFOUND. The DLL that is being