To create the PDF Document object, you use the constructor method in the class CL_FP.
L_FP = CL_FP=>GET_REFERENCE( ).
L_PDFOBJ = L_FP->CREATE_PDF_OBJECT( ).
RESET
This method resets the status of the PDF Document object.This is not necessary if the PDF Document object has only just been created.If you want to use the same object for a different document, however, you should reset it using RESET.