Automatically prompt to save PDF when Print Preview for Purchase Order?
We recently upgraded to EP7.
I have an end user that does our PO's.
She swears up and down that she used to be able to go into any given PO, be it new or existing, and click on the print preview button. She says when she did this she was prompted to save or open the file.
She is set to PDF Preview when doing a print preview of the PO.
When we first upgraded the system, it was broken. When she tried to do this it would give you a Page Cannot Be Displayed error as in unable to find the page. We learned that there was an issue with name resolution within the system. We fixed this and now she can view the files as PDF when doing a print preview.
But she still claims it did not used to work like this that when she went to preview she would be prompted to save or view which worked great for her because she could click save, save it to her computer, and then email it to whomever she needed to send it to.
Seems clear to me that that when you do PDF Preview that an SAP browser session is created and sent to an web site (internal to SAP of course) to view the PDF. How can I tell SAP to give me the option to view or save?
For now the user is repeating the output when she needs to reprint another copy of the PO.
I should also say that we use Free PDF Creator. After setting her default printer to this, she says that now when she creates a new PO, it is working like before. So its possible that the prompt was the one from PDF Creator.
The user says she swears she could simply print preview would allow her to save local. I never saw it for myself prior to the upgrade.
Anyone seen this before or can offer any clues? Is there away to issue output at print preview?
How did you fix 'page cannot be displayed' error?
It looks like issue was at browser/pdfreader side.
Similar Messages
-
How to find print preview for purchase order like what we find in va03
hi guru's
how to find print preview for purchase order like what we find in va03
let me share ur information
thank uHi
You can see the Print Preview/printout etc using the Transaction ME9F for Purchase Order
Execute the ME9F tcode and execute you will get lot of PO's select any Po and press display message
you will see the print preview
Similarly for RFQ output use the Tcode ME9A
for Contrat use ME9K
for GR output use MB90
Reward points for useful Answers
Regards
Anji -
Not able to see Print Preview of Purchase Order.
Dear All ,
I m not able to see the Print preview of Purchase Order , as the P.O is well release , but as i m click on Print Preview , an info displays in task bar , -> " Error in OPEN_FORM for document 4501472103
Message no. ME142
Procedure
Report the error to your system administrator.
I request you to pl help how to fix this problem.
Rgds,
sap11thanx for your support , here i need to know one thing that i had gone to MN06 to display the cond. record , here for the output type i m using in P.O
Given below different key comb. are maintained for same p.o , but as p.o was created then in message tab the first combination of fax was displayed and for this combi when clicking on print preview the message came for " Error in open _form " .
1) P doc type / P. org./ Vendor = Medium = 2 ( fax) / Date / time = 1 , is maintained
2) P Doc. Type / P.org / Pgrp = Medium = 1 / date/ time = 1 is maintained.
3) P Doc. Type / P.org = Medium = 1 / date/ time = 1 is maintained
4)P org. = Medium = 1 / date/ time = 3 is maintained
Here my querry is that as medium = 1 ( print output ) is also maintain then why Other comb, were not triggered , why only Comb. for medium -=2 ( fax ) was trigered , and after that as i changed the medium to 1 , i m able to see print preview , why ?
why i m not able to see p prwe for medium 2 ?
Thanx n rgds,
sap11 -
Runtime error in print preview of Purchase Order
Hi,
I am facing a problem regarding the Print Preview of Purchase Order. This is happening after applying the patch no SAP_APPL Level 15.
The error is "<b>Z_ME_PO_FOR_PRINTING IS NOT FOUND IN THE FUNCTION GROUP ZMEDRUCK"</b> which is the copy of MEDRUCK.
How to solve the problem please guide.
Please Reply Soon
Thank you
Sankhajeet.
Message was edited by:
Sankhajeet BhowmickHi
You have customized your layout and print programs.
Suggest you to sit with your ABAP programmer and they are the best ones to go through this problem.
Your print program is looking for a function module which is missing
Best regards
Ramki -
What is the standard print prg for Purchase Order
Hi,
I am working on forms, what is the standard print program for purchase order.
Already i have gone to nace and found that the program assigned to the customized print prg, so i am not able to find out the print program, so can u tell me how to solve it.
Regards,
claraHere are the default entries in the configuration
NEU Purchase order 1 SAPFM06P ENTRY_NEU MEDRUCK
NEU Purchase order 2 SAPFM06P ENTRY_NEU MEDRUCK
NEU Purchase order 6 RSNASTED EDI_PROCESSING
NEU Purchase order A RSNASTED ALE_PROCESSING
Regards,f
Ravi
Note : Please mark the helpful answers -
Print Preview of purchase order
Hi All,
when i am trying to see the print preview for a purchase order, system showing a message like
"No messages found (Please check your input)"
please suggest me in this regard ASAP.
Thanks,
SrinuGo to MN04 trxn & create the Output messages for the Key combination you want..
also Please maintain the Communication data & Printer details in MN04 trxn...
and then open your PO in ME22N trxn & Save..
So that the output will trigger automatically for already created Po's..
for New PO's the Output will trigger automatically, once you maintain the settings in MN04 trxn.. -
How to set print form for Purchase order in SPRO txn.
Hi,
I need to find out the name of the smartform used to print purchase order.
Cheers
SenthilHI,
go to SPRO - MM - Purchasing - Messages - Output Control - Message Types - Define Message Types for Purchase Order
select the message tyoe and then click on processing routines and you will get the form name..
Thanks & Regards,
Kiran -
Pricing conditions are not picked in print preview of purchase order.
Dear experts
Purchase order was created for imports vendor.
there is difference of amount in purchase order and purchase order print preview.
In purchase order print preview the system is not picking the values of custom value and custom clearing charges.
Import pricing procedure is assigned to vendor.
what else more be checked since the print preview is not picking the conditions , custom value and custom clearing charges.
Any solutions.
Thanks & Regards.
Erfan.Hi,
Purchase order was created for imports vendor & must have separate documement type for Import Purchase order or new PO output type for import.
Check FORM or PDF/SmartForm Form used for your Import PO out put type for application EF in NACE t.code. Check SmartForm in t.code: SMARTFORMS and see condition types of custom value and custom clearing charges is there or not. Just consultant with ABAP consultant about condition types of custom value and custom clearing charges inclusion in SmartForm.
Regards,
Biju K -
Net Price in Print Preview of Purchase Order
Hi all,
I have a typical issue over here,,,
1. Created two similar materials A, B with material type HALB, data in all the fields were same except material description.
2. maintained all excise details in J1ID
3. Created a PO for these two materials and saved.
4. Display PO, ME23N - print preview,,, noticed that the details like below:
SrNo.-- Material -- Desc - Qty- Unit Rate --- Total Value
1. -
A -
xxx -
05 -
100 -
500.00
2. -
B -
yyy -
01 -
0.00----
0.00
Total Net amount ======= 600.00 (500 + 100)
if u can observe for slno 2 , material B, its not picking up the unit rate and total value,,, what may be the problem,,
for info: all the data including excise details were maintained similar to these two materials,,,
please help me out,,, its urgent,,
regards,
urendraHi,
Check in pricing procedure for PB00 and PBXX both are having print control as X and subtotal as 9. i think for the second material you may have entered the price PO.
Regards,
Ramakrishna -
How to send PDF attachment through Email For Purchase Order
Hi,
Can you please tell me how to send the Purchase Order with PDF attachment. Thank you.
Thanks & Regards,
Rani.Find the below example
*& Report ZSPOOLTOPDF *
*& Converts spool request into PDF document and emails it to *
*& recipicant. *
*& Execution *
*& This program must be run as a background job in-order for the write *
*& commands to create a Spool request rather than be displayed on *
*& screen *
REPORT zspooltopdf.
PARAMETER: p_email1 LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_sender LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_delspl AS CHECKBOX.
*DATA DECLARATION
DATA: gd_recsize TYPE i.
Spool IDs
TYPES: BEGIN OF t_tbtcp.
INCLUDE STRUCTURE tbtcp.
TYPES: END OF t_tbtcp.
DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
wa_tbtcp TYPE t_tbtcp.
Job Runtime Parameters
DATA: gd_eventid LIKE tbtcm-eventid,
gd_eventparm LIKE tbtcm-eventparm,
gd_external_program_active LIKE tbtcm-xpgactive,
gd_jobcount LIKE tbtcm-jobcount,
gd_jobname LIKE tbtcm-jobname,
gd_stepcount LIKE tbtcm-stepcount,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
DATA: w_recsize TYPE i.
DATA: gd_subject LIKE sodocchgi1-obj_descr,
it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
gd_sender_type LIKE soextreci1-adr_typ,
gd_attachment_desc TYPE so_obj_nam,
gd_attachment_name TYPE so_obj_des.
Spool to PDF conversions
DATA: gd_spool_nr LIKE tsp01-rqident,
gd_destination LIKE rlgrap-filename,
gd_bytecount LIKE tst01-dsize,
gd_buffer TYPE string.
Binary store for PDF
DATA: BEGIN OF it_pdf_output OCCURS 0.
INCLUDE STRUCTURE tline.
DATA: END OF it_pdf_output.
CONSTANTS: c_dev LIKE sy-sysid VALUE 'DEV',
c_no(1) TYPE c VALUE ' ',
c_device(4) TYPE c VALUE 'LOCL'.
*START-OF-SELECTION.
START-OF-SELECTION.
Write statement to represent report output. Spool request is created
if write statement is executed in background. This could also be an
ALV grid which would be converted to PDF without any extra effort
WRITE 'Hello World'.
new-page.
commit work.
new-page print off.
IF sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
Alternative way could be to submit another program and store spool
id into memory, will be stored in sy-spono.
*submit ZSPOOLTOPDF2
to sap-spool
spool parameters %_print
archive parameters %_print
without spool dynpro
and return.
Get spool id from program called above
IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
PERFORM convert_spool_to_pdf.
PERFORM process_email.
if p_delspl EQ 'X'.
PERFORM delete_spool.
endif.
IF sy-sysid = c_dev.
wait up to 5 seconds.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.
ELSE.
SKIP.
WRITE:/ 'Program must be executed in background in-order for spool',
'request to be created.'.
ENDIF.
FORM obtain_spool_id *
FORM obtain_spool_id.
CHECK NOT ( gd_jobname IS INITIAL ).
CHECK NOT ( gd_jobcount IS INITIAL ).
SELECT * FROM tbtcp
INTO TABLE it_tbtcp
WHERE jobname = gd_jobname
AND jobcount = gd_jobcount
AND stepcount = gd_stepcount
AND listident <> '0000000000'
ORDER BY jobname
jobcount
stepcount.
READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
IF sy-subrc = 0.
message s004(zdd) with gd_spool_nr.
gd_spool_nr = wa_tbtcp-listident.
MESSAGE s004(zdd) WITH gd_spool_nr.
ELSE.
MESSAGE s005(zdd).
ENDIF.
ENDFORM.
FORM get_job_details *
FORM get_job_details.
Get current job details
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
eventid = gd_eventid
eventparm = gd_eventparm
external_program_active = gd_external_program_active
jobcount = gd_jobcount
jobname = gd_jobname
stepcount = gd_stepcount
EXCEPTIONS
no_runtime_info = 1
OTHERS = 2.
ENDFORM.
FORM convert_spool_to_pdf *
FORM convert_spool_to_pdf.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spool_nr
no_dialog = c_no
dst_device = c_device
IMPORTING
pdf_bytecount = gd_bytecount
TABLES
pdf = it_pdf_output
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
CHECK sy-subrc = 0.
Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf_output.
TRANSLATE it_pdf_output USING ' ~'.
CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_mess_att = gd_buffer.
APPEND it_mess_att.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
ENDFORM.
FORM process_email *
FORM process_email.
DESCRIBE TABLE it_mess_att LINES gd_recsize.
CHECK gd_recsize > 0.
PERFORM send_email USING p_email1.
perform send_email using p_email2.
ENDFORM.
FORM send_email *
--> p_email *
FORM send_email USING p_email.
CHECK NOT ( p_email IS INITIAL ).
REFRESH it_mess_bod.
Default subject matter
gd_subject = 'Subject'.
gd_attachment_desc = 'Attachname'.
CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
it_mess_bod = 'Message Body text, line 1'.
APPEND it_mess_bod.
it_mess_bod = 'Message Body text, line 2...'.
APPEND it_mess_bod.
If no sender specified - default blank
IF p_sender EQ space.
gd_sender_type = space.
ELSE.
gd_sender_type = 'INT'.
ENDIF.
Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_mess_bod
it_mess_att
using p_email
'Example .xls documnet attachment'
'PDF'
gd_attachment_name
gd_attachment_desc
p_sender
gd_sender_type
changing gd_error
gd_reciever.
ENDFORM.
FORM delete_spool *
FORM delete_spool.
DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
ld_spool_nr = gd_spool_nr.
CHECK p_delspl <> c_no.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
spoolid = ld_spool_nr.
ENDFORM.
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
FORM send_file_as_email_attachment tables it_message
it_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
data: t_packing_list like sopcklsti1 occurs 0 with header line,
t_contents like solisti1 occurs 0 with header line,
t_receivers like somlreci1 occurs 0 with header line,
t_attachment like solisti1 occurs 0 with header line,
t_object_header like solisti1 occurs 0 with header line,
w_cnt type i,
w_sent_all(1) type c,
w_doc_data like sodocchgi1.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = it_attach[].
Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
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.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM.
Reward if helpful.
Thanks,
Kishore S N -
Warning info when run MIGO for purchase order
Dear everyone:
When i use the MIGO to receipt the purchase order ,i want that the system can give my one warning infomation only if the field of "posting date "(in MIGO screen) is less than the field of create date of the <b>purchase order</b>.
I want to use the user exits "EXIT_SAPLMIGO_001" ,but it looks that it does not works.
so, any advice to me anyone?Dear Rico:
i follow your advice to get it ,but failed:(.
my code like this:( in inlude :ZXQSMU06)
*& Include ZXQSMU06 *
data: zebeln like mseg-ebeln.
data: zeindt like eket-eindt.
tables: eket.
zebeln = S7_TAB_MSEG-EBELN.
select single * from eket where ebeln = zebeln.
zEINDT = eket-eindt.
field-symbols: <fs> type mkpf.
data: field(30) type c.
field = '(SAPMM07M)mkpf'.
assign (field) to <fs>.
check sy-subrc = 0.
check not <fs>-budat is initial.
if zeindt <> <fs>-budat.
message 'info' type 'I'.
endif.
is it correct? -
I am unable to see print preview for my sales orders in VA03.
Hi All,
I am unable to see print preview for my sales orders in VA03.
When ever i am selecting an order and from
menu-> sales document-> issue output to
it is raising information message on my status bar no output
has been selected for printing.
How can i view may print preview for sales order other
than from va02/vao3.
Can we view preview of a sales order if there is no output type is mapped to
form. if yes can please give me the steps.
Thanking in advance.
Best Regards,
TRS GUPTAHi,
Go to NACE transaction , from there choose the V1 application,now click on Output types. now see the Output types for print related.
Now use them for your preview.
you need to provide Output type to view the preview
May be you are missing some configuration(in your case Order type may be Z* so it requires Some Config ).
Regards
vijay -
how do i fix my printer when it won't show the print preview for web pages? it worked for a while and now it doesn't. printer is an hp officejet 7310 all-in-one.
I would suspect this is a hardware issue. The rollers are probably having issues picking up the relatively smooth thick media. You might have better results be cleaning the paper pickup rollers with a damp paper towel. Also make sure the paper is snugly loaded and the paper guides have been correctly positioned.
Regards,
Bob Headrick, MS MVP Printing/Imaging
Bob Headrick, HP Expert
I am not an employee of HP, I am a volunteer posting here on my own time.
If your problem is solved please click the "Accept as Solution" button ------------V
If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V -
After I installed the recent Apple security patch, I can no longer save PDFs when using Safari. And Firefox no longer can open website PDFs. Any suggestions?
Dansyacht wrote:
If the previous Safari suggestion doesn't work try the following:
In Finder, go to Macintosh HD/Library/Internet Plug-ins and move AdobePDFViewerNPAPI.plugin to the Disabled Plug-ins Folder. Restart Safari. If this works you may just want to delete that FUBAR plug-in.
Thanks. This was the solution for me.
Message was edited by: tvdowntown -
Text in samrtforms when print preview display as ####
Dear friends,
I have got the problem about smartforms, I have created my own smartform with original language TH and created the text node with Thai and English including Numeric Character. But when I executed the form to print preview, any texts cannot be read, its display as ###### neither I logon with TH nor EN Language. Please advise.
Ps. any texts in text node when seeing in smartforms can be read normally, it got the problem when print preview.
More information of my smartforms:
1. Language Attributes: Original is TH, Translate to all language, do not tick any checkboxes of Access area.
2. SAP version is ECC 5.0, Basis and ABAP Support Package is 014 Release 640, Application Support Package is 008 Release 500.
3. Kernel Release 640 Patch Level 101, Oracle 8.1.7, DBSL version 640, Patch Level 101.
4. OS Windows 2000 Service Pack 4
Thank you in advances,
SeMsHi!
Which printer do you use?
Check in the transaction spad which printer and printerdriver you use. Dobbleclick on the printerdriver and check which codepade is assigned.
I think it has to be one of the following codepages:
8600 Thai Codepage ISO988/2533
8604 Microsoft Windows 874 for Thai
8611 Thai Printer Codepage 1 (EPSON ESC/P2)
8616 Printer HPLJIIID (Thai)
8617 Thai Postscript printing
8634 Thai Printer codepage (THSAPWIN)
Pleas try this.
BR
Silvio Hey
Maybe you are looking for
-
I have successfully set up a Bluetooth connection with my PC. Can anyone tell me it is possible with either (or both) versions of the Desktop Manager software? (i.e. update all info without need for a cable connection using a Blackberry Bold 9900)
-
The battery in my iPhone 4 drained really fast today. When I plugged it in I just got the itunes logo on the screen. When I try to restore the phone now i get unknown error 2001 Anyone else had this problem?
-
"Open-code" statements / dynamic class-loading
Hi! I am using reflection to dynamically load classes in an application where the classes are read dynamically from a text-box (or a file) in a running Java-session. When a class is loaded, instances can be made. All this works fine. Now consider the
-
Can someone tell me what is difference betwen all these formats of columns a12 , a32 and if its possible send the link or list of all format types.... And how much space does a single timestamp column value takes.
-
necesito hacer filtrado de contenido y cuento con un ASA 5512-X investigando me encontré que necesito agregar un disco ssd al asa y agregar la licencia wse mi pregunta es si desde el Asa puedo hacer el filtrado y administracion a todos los usuario y