Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Conversion to pdf File

Former Member
0 Kudos

Dear Friend,

I am trying to convert my Sapscript output to pdf format.

I am using function convert_otf. I am getting the pdf file correctly. But I have following requirements.

-- I want to secure my pdf file, ie. I want that pdf file should be uneditable. Kindly guide.

Thanks in advance.

3 REPLIES 3

Lakshmant1
Active Contributor
0 Kudos

Hi rakesh,

Check program RSTXPDFT4

Thanks

Lakshman

Former Member
0 Kudos

Hi Rakesh,

This is not possible.

See the similar threads:

http://www.abapforum.com/forum/viewtopic.php?t=318&highlight=pdf

vinod_gunaware2
Active Contributor
0 Kudos

CONVERT_OTF Convert SAP documents (SAPScript) to other types.

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.

CONVERT_OTFSPOOLJOB_2_PDF converts a OTF spool to PDF (i.e. Sapscript document

OTF_CONVERT wraps several other function modules. Will convert OTF to ASCII or PDF

CONVERT_ABAPSPOOLJOB_2_PDF convert abap spool output to PDF

SAVE_OTF_TO_MEMORY Write OTF format to memory export|import OTF internal table to|from memory id ...

READ_OTF_FROM_MEMORY Read OTF from memory

PRINT_OTF print OTF from internal table

DISPLAY_OTF Display an OTF table on the screen

DISPLAY_POSTSCRIPT Display a postscript table on the screen tables postscript structure itcps

CONVERT_OTF Convert OTF format to various formats (TLINE table) ASCII or PDF

CONVERT_OTF_2_PDF Convert OTF to PDF (TLINE table). OTF can be filled used archivelink. Calls CONVERT_OTF.

CONVERT_OTF_2_PDF_ARCHIVELINK Convert OTF to PDF (TLINE table). Calls CONVERT_OTF.

CONVERT_OTF_AND_FAX

CONVERT_OTF_AND_MAIL

CONVERT_OTFSPOOLJOB_2_PDF Input: spool # (SAPscript: tsp01-rqdoctype='OTF'); Output: PDF as internal table (TLINE)

CONVERT_ABAPSPOOLJOB_2_PDF Input: spool # (ABAP listing: tsp01-rqdoctype='LIST'); Output: PDF as internal table (TLINE)

regard

vinod