![]()
As for SAPscripts, you may generate a Smart Form in OTF format, so it's the same principle as above, with this minor difference to get OTF data without generating any spool : in the function module which opens the Smart Form output stream (either SSF_OPEN or the Smart Form generated FM), export parameter CONTROL_PARAMETERS-GETOTF = 'X', and in the function module which closes the Smart Form output stream (either SSF_CLOSE or the Smart Form generated FM), returned parameter is JOB_OUTPUT_INFO-OTFDATA. Belajar sap 2000 pdf how to#How to convert Smart Form output into PDF binary? Returned parameters are PDF table (the PDF binary) and PDF_BYTECOUNT (the length of the PDF binary). If an OTF spool has been generated, you may convert it using CONVERT_OTFSPOOLJOB_2_PDF function module.See below how to save a PDF binary to a file. Returned parameters are BIN_FILE (the PDF binary) and BIN_FILESIZE (the length of the PDF binary). call CONVERT_OTF function module to convert the OTF to PDF.when calling OPEN_FORM function module, export parameter OPTIONS-TDGETOTF = 'X', and when calling CLOSE_FORM function module, use returned parameter OTFDATA.The SAPscript must generate an OTF output and then you convert the OTF into PDF format.To transform the PDF binary into a file, see question below. Note: here PDF binary means that the PDF is stored in a variable in memory (handled using XSTRING variable for example), not a file.How to convert SAPscript output into PDF binary? See this wiki for creating an interactive form and a web dynpro step-by-step. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |