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

EFG_TEMPL_COLL_MAIN SAP ABAP INCLUDE - EFGTEMPLCOLLMAIN







EFG_TEMPL_COLL_MAIN 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_COLL_MAIN 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_COLL_MAIN. "Basic submit
SUBMIT EFG_TEMPL_COLL_MAIN AND RETURN. "Return to original report after report execution complete
SUBMIT EFG_TEMPL_COLL_MAIN 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_COLL_MAIN

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_DB_GET_COLL_TITLE CALL FUNCTION 'EFG_DB_GET_COLL_TITLE' EXPORTING x_client = con_client x_collection = con_collection x_collkey = x_collkey x_langu = x_langu IMPORTING y_title = y_title EXCEPTIONS not_qualified = 1 not_found = 0 OTHERS = 3.

EFG_SEND CALL FUNCTION 'EFG_SEND' EXPORTING x_recipient = x_recipient x_sender = x_sender x_tabn_docs = l_tabn_docs x_archive_index = c-archive_index x_archive_params = c-archive_params x_title = l_title x_armod = c-itcpo-tdarmod x_tab_bcs_attachments = g_tab_bcs_attachments x_senddate = c-itcpo-tdsenddate x_sendtime = c-itcpo-tdsendtime EXCEPTIONS not_qualified = 1 failed = 2 OTHERS = 3.

EFG_PRINT_CLOSE CALL FUNCTION 'EFG_PRINT_CLOSE' EXPORTING X_FLG_OUTPUT = l_c-itcpo-tdimmed X_FLG_FINALIZE = l_c-itcpo-tdfinal X_FLG_CLEAR_SPOOLIDS = '' X_TAB_SPOOLID = l_tab_spoolid.

EFG_PRINT CALL FUNCTION 'EFG_PRINT' EXPORTING x_header = l_strn_sel-header x_printparams = l_printparams x_archive_index = c-archive_index x_archive_params = c-archive_params x_dialog = '' x_recipient = x_recipient x_sender = x_sender x_strn_collinfo = l_strn_collinfo IMPORTING y_itcpp = y_itcpp y_rdi_result = y_rdiresult Y_PRINTPARAMS = y_printparams y_sf_result = y_sf_result y_tab_gendata = l_tab_gendata y_tabn_sel_per_fclass = l_tabn_sel_per_fclass y_pdf_result = l_strn_pdf_result y_langu = l_langu TABLES xt_ranges = l_strn_sel-ranges xt_ranges1 = l_strn_sel-ranges1 xt_ranges2 = l_strn_sel-ranges2 xt_ranges3 = l_strn_sel-ranges3 xt_ranges4 = l_strn_sel-ranges4 xt_ranges5 = l_strn_sel-ranges5 xt_ranges6 = l_strn_sel-ranges6 xt_ranges7 = l_strn_sel-ranges7 xt_ranges8 = l_strn_sel-ranges8 xt_ranges9 = l_strn_sel-ranges9 yt_otf_data = c-t_otf[] EXCEPTIONS not_qualified = 1 formclass_not_found = 2 form_not_found = 3 formclass_invalid = 4 print_failed = 5 form_invalid = 6 cancelled = 8 OTHERS = 10.

EFG_SEND CALL FUNCTION 'EFG_SEND' EXPORTING x_recipient = x_recipient x_sender = x_sender x_tabn_docs = l_tabn_docs x_archive_index = c-archive_index x_archive_params = c-archive_params x_title = l_title x_armod = l_printparams-tdarmod x_tab_bcs_attachments = g_tab_bcs_attachments x_senddate = c-itcpo-tdsenddate x_sendtime = c-itcpo-tdsendtime EXCEPTIONS not_qualified = 1 failed = 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_COLL_MAIN or its description.