SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Smart Forms(BC-SRV-SSF) SAP BC

SF_XSF_DEMO_MAIL SAP ABAP Report - Send Form and Graphics by E-Mail







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT SF_XSF_DEMO_MAIL. "Basic submit
SUBMIT SF_XSF_DEMO_MAIL AND RETURN. "Return to original report after report execution complete
SUBMIT SF_XSF_DEMO_MAIL VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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 ->set_document()
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 ->add_recipient()
Text Symbol: 009 = Error in ->send()
Text Symbol: T01 = SAP Web Form as E-Mail


INCLUDES used within this REPORT SF_XSF_DEMO_MAIL

INCLUDE SF_XSF_DEMO_MAIL_TOP.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SF_XSF_DEMO_MAIL or its description.