Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

List to PDF

Hi all,

Is there any function module to convert ABAP list output to PDF?

Thanks,

Riyaz

Tags:
replied

Hi Riyaz,

SAP has provided a standard program , RSTXPDFT4, which you can use to convert any Spool request or ABAP Lists to a PDF File.

Also you can check

CONVERT_ABAPSPOOLJOB_2_PDF

convert abap spool output to PDF

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.

CONVERT_OTFSPOOLJOB_2_PDF

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

Regards,

Sameena

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question