on 06-27-2011 10:20 AM
Hi @ll,
ist it possible, that sapscript generate a PDF format in the Spool ?
Hi Heidi,
Yes this is possible if you create the spool via device type PDF1. if you want to save the created PDF to your Frontend PC, then you need to create a printer with port FILE on your PC.(see SAP Note #576973):
Regards,
Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Aidan,
thanks you for your help , I run program in the background. it generates a binary document in the spool, but i need a PDF-Format in the spool.
here is my Coding:
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = t_tsp01-rqident
dst_device = 'PDF1'
no_dialog = 'X'
pdf_destination = 'S'
no_background = 'X'
IMPORTING
pdf_bytecount = bin_size
bin_file = pdf_xstring
pdf_spoolid = pdf_spoolid.
TABLES
pdf = it_pdf.
Best regards
Heidi
Edited by: Heidi Heinzberger on Jun 27, 2011 11:42 AM
Hi,
check this out:This document tells in detail how to do it.
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/49e15474-0e01-0010-9cba-e62df8244556?quicklink=index&overridelayout=true].
I am not sure if its possible inbackground.
Try giving a default filenale instead of the popup.
Hi Heidi,
When PDF conversion runs in background, the spool is first converted to a new spool with binary format.
You can need to download this new binary format spool to the Frontend via report RSTXPDFT5. Try using RSTXPDFT5 download this new binary format spool to your Frontend. it should come in PDF format.
Regards,
Aidan
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.