Hi Junooni,
Try any of the following:
RSTXPDFT4-to convert the spool file from SAP forms or Abap-list use the standard tool
ALEWEB_DOWNLOAD - download PDF file created from the spool file
CONVERT_OTFSPOOLJOB_2_PDF - downloads the data from the created print program spool into a PDF format using the standard
Good Luck
Add a comment