Overblog
Editer l'article Suivre ce blog Administration + Créer mon blog
http://dshlmw.over-blog.com/

dshlmw.over-blog.com/

Print Documents Directly To Pdf



It's common that customers need to quickly and easily generate a PDF from SAP for a document. Typically, we do this by setting up an output type that has a PDF output defined. But what if this is a last minute request from a user and no output is defined?

  1. I am not trying to create a pdf from some other content, then print. The problem is with PDF files that we have uploaded to the file cabinet. We cannot print them from the File Cabinet without first downloading them. This forces us to take 2 additional steps when we want to print PDF files that we have uploaded to the File Cabinet.
  2. Hi, It would nice to have the ability to print directly to a PDF email attachment. A lot of times my users are printing out of an application to PDF and saving it, only to attach it to an email. If there were an option to skip saving it and attach the PDF to an email it would save a few clicks.

Here you can simply call JavaScript print function to print document. On successfull update you can call 'window.print ' to print your document. Or in better way you can call this window.print function on onload event of javascript. You can add this onload event in you 'SMPDFre' vf page. Print Documents to PDF Files Lightning Fast Fast & Efficient Print any file to PDF quickly Use with any Application Word, Excel, OpenOffice, and more Editable & Searchable PDFs Create with the Text Format option.

An undocumented feature in SAP allows you to generate a PDF directly from an SAP print preview. Here's how:

How Do I Pdf Documents

You can execute this in any transaction that has print preview. (Note: this works for documents in your spooler as well since the feature is incorporated into the preview app itself.) The only caveat is that this only works for SMARTFORM-based forms up to NetWeaver 701. Newer version support both form types.

Print Documents Directly To Pdf

Generate a PDF directly from an SAP

In this example, I'll bring up VL03n and pull up a delivery note in print preview by selecting Outbound Delivery->Issue Delivery Output from initial screen.

Select the output type you want to use as shown below in Fig. 1 and press the print preview button (4th from the left).

You'll now be in the print preview app.

Why Can't I Print A Pdf Document

In the command window, type 'PDF!' and press ENTER. Bluestacks online version.

You'll now be in the PDF preview and can save the PDF to your desktop. (Of course, you could print the PDF directly from the print preview, but that isn't new.)

Print Documents Directly To Pdf

If you are on Netweaver 701 and newer, this feature is now available using a menu option by accessing Go To->PDF Preview from the print preview menu.

Hope this quick tip helps.

Resources
Can't Print A Pdf Document
  • Transportation (LE-TRA) – Printing Outputs from Document Processing at: https://help.sap.com/viewer/70c00d8f54f845aea4fe7d9a21320afa/6.00.31/en-US/bd95c95360267214e10000000a174cb4.html

Advanced Solutions is a leading provider of third party SAP support, our experts provide Application Management services , post implementation support and are considered experts in their respective practice areas of SAP. To learn more contact us today!

Related




Partager cet article
Repost0
Pour être informé des derniers articles, inscrivez vous :
Commenter cet article