Ximi Elga


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: Vonos Fausho
Country: Antigua & Barbuda
Language: English (Spanish)
Genre: Video
Published (Last): 9 December 2011
Pages: 278
PDF File Size: 10.26 Mb
ePub File Size: 14.28 Mb
ISBN: 196-4-64297-399-7
Downloads: 92388
Price: Free* [*Free Regsitration Required]
Uploader: Gall

Does anyone have a better way of performing this action? Search or use up and down arrow keys to select an item. Now you have to print this PDF. These are unsupported command lines, but have worked for some developers.

Now go and check you cl_gui_frontend_servixes the print outs waiting to be picked at your windows printer. Where did it originate from?

– Printing Attachments Of Work Order Via IW32

Stack Overflow works best with JavaScript enabled. Anything you can do using your “C: IF sy-subrc Cl_gui_frlntend_services 0. All examples below use Adobe Reader, but cl_ugi_frontend_services to Acrobat as well. Now Identify the URL means: Call below method with parameters as shown here to print the PDF file at your windows default printer.


Email Required, but never shown. By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. Hi Amit, I think it would be 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. 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.

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?

CL_GUI_FRONTEND_SERVICES print and delete file

From the selection screen allow a user to select a printer. Open link in a new tab. It could also be printed on a totally different printer dependant on the users printer settings.

The development can be broken into steps: Fetch file from your machine and print it. When pdf file prints then it opens the acrobat reader and the program waits until I close the acrobat reader. Finally at the end I close the spool request. Why not just print it on the PC?


Post as a guest Name. April 25, 3 minute read. There is no documentation for these commands other than what is listed below. Regards Rich Abap KC: See below string as example:. Could we use SAP to create it and print using Adobe forms. No search term specified. Thanks and happy new year! Identify the URL 2.

Board index All times are UTC. IF sy-subrc EQ 0. Snowythx4allthefishYuriT, Gothmog. Seems pretty simple but challenge here is the file is at some server and you are having the path to file in the form of URL and not the file with you.

If you are using Acrobat, substitute Acrobat. Hi antho59, I’m very interested on your topic “print PDF file”.