RSTXSFPREVIEW is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter RSTXSFPREVIEW into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Smart Forms: Preview (for internal use)
INCLUDE RSTXSFCONST.
No SAP DATABASE tables are accessed within this REPORT code!
FUNCTION_IMPORT_INTERFACE call function 'FUNCTION_IMPORT_INTERFACE' exporting funcname = l_func inactive_version = space tables import_parameter = import_parameter changing_parameter = changing_parameter tables_parameter = tables_parameter export_parameter = export_parameter exception_list = exception_list exceptions others = 1.
DDIF_NAMETAB_GET call function 'DDIF_NAMETAB_GET' exporting tabname = l_tabname all_types = 'X' importing ddobjtype = l_objtype exceptions others = 1.
SSF_GET_DEVICE_TYPE call function 'SSF_GET_DEVICE_TYPE' exporting i_language = sy-langu importing e_devtype = l_output_options-tdprinter exceptions others = 0.
CONVERT_OTF call function 'CONVERT_OTF' exporting format = 'PDF' max_linewidth = 134 importing bin_filesize = l_pdf_len tables otf =
-otfdata[] lines = preview_pdf[] exceptions others = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.