on 08-05-2010 2:03 PM
Hi Friends,
I've an requirment to print a PDF data through ABAP program and PDF data is in Binary format.
Could you please suggest me any function module realted to this!
I need to re-build the program in CRM box, Currently their is a program to get data from CRM box as per the GUI ID it will fetch all the attachments and we are fittering for PDF.
At the End of program we have final internal table with Binary formate and we are sending PDF through email. But, client is asking us for addtion future to Print PDF through ABAP Program as per the PDF.
Kinldy suggest me how to go about this.!!
Thanks in Advance!
Regards,
Mallik
The method suggested by archana works but with a prerequisite that adobe reader needs to b installed on the system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
PDF printing is possible. But, for that when you convert your report output to PDF, you will have to download that PDF file to local system.
After downloading this file. You can use below FM to print that file, passing file path and file type as 'BIN'.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
EXPORTING
DOCUMENT = FILEPATH
OPERATION = 'PRINT'.
It worked in my case. It should work for you as well.
Thanks,
Archana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
SAP supports PDF conversion in 2 way's:
1. Convert using program RSTXPDFT4 , RSTXPDFT2 , RSTXPDF
2. Convert using printer device type ZPDF<x>
See SAP note 317851 - Creating PDF format using the SAP spooler
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.