My problem was to print a pdf from SAP document management system I solved this using the classic function cl_gui_frontend_services=>execute giving as. For printing the attahcments, we need to read the contents of the attachment ‘ CL_GUI_FRONTEND_SERVICES’ to get the attachment path and to print them. CL_GUI_FRONTEND_SERVICES is a standard SAP object class available within R/3 SAP systems depending on your version and release level. Below is the.

Author: Mugami Kesar
Country: Iraq
Language: English (Spanish)
Genre: Life
Published (Last): 24 January 2004
Pages: 179
PDF File Size: 4.70 Mb
ePub File Size: 18.51 Mb
ISBN: 644-4-64157-767-9
Downloads: 63978
Price: Free* [*Free Regsitration Required]
Uploader: Zulukazahn

Fetch file from your machine and print it. See below string as example:.

Sap DMS – direct print of pdf drawings on Windows frontend – Problem Solved Problem Solved

Sign up using Facebook. I dont need to view or modify. All examples below use Adobe Reader, but apply to Acrobat as well. April 26, at 6: See below string as example: When I say this more or less works, basically I’m getting an output to the printer, but if there are empty lines separating text then these are not carried over during the print process.


Email Required, but never shown. April 25, at Search or use up and down arrow keys to select an item. Snowythx4allthefishYuriT, Gothmog.

Tables explanation is out of scope of this document. You must be Cl_gui_frnotend_services on to comment or reply to a post. Stack Overflow works best with JavaScript enabled.

CL_GUI_FRONTEND_SERVICES SAP Class – Frontend Services

Hi Amit, I think it would cl_gki_frontend_services nice to have an additional information in your blog regarding the use of Adobe Acrobat Reader command line parameters, that is exactly what your example does. When pdf file prints then it opens the acrobat reader and the program waits until I close the acrobat reader.

From the selection screen allow a user to upload a file. Fetch the file from URL on your machine. Now you have to print this PDF. From the selection screen allow a user to select a printer. No search term specified. The development can be broken into steps: So I would say why, before I would say how to cl_gui_frontend_serviecs it Anything you can do using your “C: Sign up using Email and Password.

April 25, 3 minute read.


Thanks Christian for adding valuable info to the blog. Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies. Sign up or log in Sign up using Google. JRSofty 1 16 Just create a logical unit in your user’s PC pointing the server you want to use. The fact is that my file is not on my PC but on a server which it’s necessary to connect to reach it, have you a idea to help me?


The exercise pdint are: When the report is ran the contents of the uploaded file should be sent to cl_gui_frontend_servicex specified printer to be printed.

Hi antho59, I’m very interested on your topic “print PDF file”. Have you got succeed to print a pdf directly from SAP?