SF_XSF_DEMO_MAIL 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 SF_XSF_DEMO_MAIL 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.
Selection Text: S_CARRID = Airline
Selection Text: S_CUSTID = Customer Number
Selection Text: S_FORM = Smart Form
Selection Text: S_MAIL = E-Mail/SAP User
Title: Send Form and Graphics by E-Mail
Text Symbol: 001 = Error in cl_document_bcs=>create_from_multirelated()
Text Symbol: 002 = Error in cl_document_bcs=>create_from_multirelated()
Text Symbol: 003 = Error in cl_document_bcs=>create_from_multirelated()
Text Symbol: 004 = Error in cl_bcs=>create_persistent()
Text Symbol: 005 = Error in
Text Symbol: 006 = Error in cl_sapuser_bcs=>create()
Text Symbol: 007 = Error in cl_cam_address_bcs=>create_internet_address()
Text Symbol: 008 = Error in
Text Symbol: 009 = Error in
Text Symbol: T01 = SAP Web Form as E-Mail
INCLUDE SF_XSF_DEMO_MAIL_TOP.
No SAP DATABASE tables are accessed within this REPORT code!
SSF_FUNCTION_MODULE_NAME call function 'SSF_FUNCTION_MODULE_NAME' exporting formname = p_form importing fm_name = fm_name exceptions no_form = 1 no_function_module = 2 others = 3.
SCP_TRANSLATE_CHARS call function 'SCP_TRANSLATE_CHARS' exporting inbuff = html_xstr incode = '4110' " utf-8 * OUTCODE = '0000' " actual codepage csubst = 'X' substc_space = 'X' importing outbuff = html_str outused = html_len 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.