on 05-06-2008 6:33 PM
When we issue to output the order in SAP it looks fine. When we open it in the web, using PDF, the lines are spaced differently.
We have never had an issue before, but now we added a lot of text to a final page of the sapscript.
Any suggestion how to adjust the PDF line spacing for output via our SAP Function Modules that create OTF to PDF?
Thanks,
Resolved issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The SAPscript must generate an OTF output and then you convert the OTF into PDF format.
There are 2 possibilities :
1.Without generating any spool :
2.When calling OPEN_FORM function module, export parameter OPTIONS-TDGETOTF = 'X', and when calling CLOSE_FORM function module, use returned parameter OTFDATA
call CONVERT_OTF function module to convert the OTF to PDF. Returned parameters are BIN_FILE (the PDF binary) and BIN_FILESIZE (the length of the PDF binary). See below how to save a PDF binary to a file.
If an OTF spool has been generated, you may convert it using CONVERT_OTFSPOOLJOB_2_PDF function module. Returned parameters are PDF table (the PDF binary) and PDF_BYTECOUNT (the length of the PDF binary).
Thanks
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.