on 09-17-2007 2:55 PM
We have come across rquirements like converting OTF to PDF but my requirement is to read a PDF file in SAP and convert it to OTF format for printing.
Can anyone please help me with the Function Modules to do so.
The PDF file is on the SAP system itself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want to convert <b>PDF format to OTF</b> and not OTF to PDF....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If the PDF is on an external system (maybe the client, or another server)
I think it is best to not print the PDF through SAP, but print it on OS level using
1. class <b>CL_GUI_FRONTEND_SERVICES</b> and method <b>EXCECUTE</b> to execute client side actions
2. use this to open Acrobat and directly print PDF:
<b>acrord32 /p my_pdf_file.pdf</b>
/p starts the print process in Acrobat
regaqrds,,
Joris Bots
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Try the following FM:
CONVERT_OTF Convert SAP documents (SAPScript) to other types.
Example:
CALL FUNCTION "CONVERT_OTF"
EXPORTING FORMAT = "PDF"
IMPORTING BIN_FILESIZE = FILE_LEN
TABLES OTF = OTFDATA
LINES = PDFDATA
EXCEPTIONS ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4.
Hope this helps.
Reward if helpful.
Regards,
Vasanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.