Show TOC

SET_TASK_RENDERPDFLocate this document in the navigation structure

Use

You use this method to instruct the PDF Document object to create PDF output. You must have called the methods SET_TEMPLATE and SET_DATA first. After SET_TASK_RENDERPDF, call EXECUTE. You then use the method GET_PDF to get the PDF.

Import parameters

Parameter

Typing

Meaning

PDFFILE

TYPE STRING OPTIONAL

File to which the PDF is written

TAGGED

TYPE FPBOOLEAN OPTIONAL DEFAULT ABAP_TRUE

Creates a tagged PDF. This is a prerequisite for creating accessible PDFs.

DYNAMIC

TYPE FPBOOLEAN OPTIONAL

Creates a dynamic PDF.

PRINTABLE

TYPE FPBOOLEAN OPTIONAL DEFAULT ABAP_TRUE

Enables a PDF to be printed from Adobe Reader.

CHANGESRESTRICTED

TYPE FPCHANGESRESTRICTED OPTIONAL

Restricts the changes that can be made to a PDF form after it has been created.

More information: Form Interface Parameters of the Application

PDFVERSION

TYPE FPPDFVERSION OPTIONAL

Specifies the version of the PDF you are creating.

More information: Form Interface Parameters of the Application

SHELLPDF

TYPE FPBOOLEAN OPTIONAL

Creates a shell PDF. This container (shell) contains the layout and other separate data and is not rendered until the PDF is displayed in Adobe Reader.

CONCATENATED

TYPE FPBOOLEAN OPTIONAL

For internal use only

Exception class

  • CX_FP_RUNTIME_USAGE