Hi,
I have to convert a sapscript to pdf but I don't know exactly how. I converted a smartform to pdf using the FM
CALL FUNCTION 'CONVERT_OTF_2_PDF'
EXPORTING
use_otf_mc_cmd = 'X'
IMPORTING
bin_filesize = L_PDF_LEN
TABLES
otf = OUTPUT_DATA-OTFDATA
doctab_archive = itab2
lines = l_t_pdfdata_tab
EXCEPTIONS
err_conv_not_possible = 1
err_otf_mc_noendmarker = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
But I don't know if it's the same to sapscript and how to obtain the data.
Thanks