SAP Reports / Programs | Cross-Application Components | General Application Functions | Print Workbench(CA-GTF-PWB) SAP CA

EFG_TEMPL_GENPROG_SMARTFORM SAP ABAP INCLUDE - EFGTEMPLGENPROGSMARTFORM







EFG_TEMPL_GENPROG_SMARTFORM is a standard ABAP INCLUDE 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 EFG_TEMPL_GENPROG_SMARTFORM 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 EFG_TEMPL_GENPROG_SMARTFORM. "Basic submit
SUBMIT EFG_TEMPL_GENPROG_SMARTFORM AND RETURN. "Return to original report after report execution complete
SUBMIT EFG_TEMPL_GENPROG_SMARTFORM VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT EFG_TEMPL_GENPROG_SMARTFORM

No INCLUDES are used within this REPORT code!


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:

EFG_GET_SMARTFORM_PARAMS CALL FUNCTION 'EFG_GET_SMARTFORM_PARAMS' EXPORTING X_ITCPO = c-itcpo X_DEVICE = x_device X_LANGU = c-langu X_XSF = c-xsf X_STARTPAGE = c-startpage X_GET_XSF = x_get_xsf x_sponumiv = x_sponumiv IMPORTING Y_CONTROL_PARAMETERS = c-sf_control_parameters Y_OUTPUT_OPTIONS = c-sf_output_options.

SSF_OPEN CALL FUNCTION 'SSF_OPEN' EXPORTING ARCHIVE_PARAMETERS = c-archive_params USER_SETTINGS = '' MAIL_SENDER = c-sender MAIL_RECIPIENT = c-recipient OUTPUT_OPTIONS = c-sf_output_options CONTROL_PARAMETERS = c-sf_control_parameters EXCEPTIONS FORMATTING_ERROR = 1 INTERNAL_ERROR = 2 SEND_ERROR = 3 USER_CANCELED = 4 OTHERS = 5.

SSF_CLOSE CALL FUNCTION 'SSF_CLOSE' IMPORTING JOB_OUTPUT_INFO = y_sf_result EXCEPTIONS FORMATTING_ERROR = 1 INTERNAL_ERROR = 2 SEND_ERROR = 3 OTHERS = 4.

SSF_FUNCTION_MODULE_NAME call function 'SSF_FUNCTION_MODULE_NAME' exporting formname = c-smartform importing fm_name = l_func exceptions no_form = 1 no_function_module = 2 others = 3.



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 EFG_TEMPL_GENPROG_SMARTFORM or its description.