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.
|Published (Last):||19 June 2013|
|PDF File Size:||12.44 Mb|
|ePub File Size:||2.58 Mb|
|Price:||Free* [*Free Regsitration Required]|
These are unsupported command lines, but have worked for some developers. IF sy-subrc NE 0.
Why not just print it on the PC? What I’ve got so far, which more or less works is this: Have you got succeed to print a pdf directly from SAP? Search or use up and down arrow keys to select an item. Kind Regards, Ron Johns.
I dont need to view or modify. Post as a guest Name. When pdf file prints then it opens the acrobat reader and the program waits until I close the acrobat reader. Fetch file from your machine and print it.
To add your printer instead of default printer here just add printer details in parameter: Identify the URL 2.
Printing a PDF from URL on windows printer without opening. | SAP Blogs
From the selection screen allow a user to select a printer. Sign up using Facebook. Tables explanation is out of scope of this document. Hi all, Putting on my functional hat, I’d be interested to know what the Business Requirement for the intial post was.
No search term specified. Now Identify the URL means: This allowed the file to be printed as is expected, but without all the control cl_gui_frontendd_services and it remembered to put in the blank lines as they are in the actual text file. Anything you can do using your “C: Other options for the command line are: IF sy-subrc EQ 0.
CL_GUI_FRONTEND_SERVICES print and delete file
It might happens with you that you are able to open the URL in browser but not able to fetch file in sap. 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.
When the report is ran the cl_gui_frontend_servicee of the uploaded file should be sent to the specified printer to be printed. JRSofty 1 16