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

EFG_FORM_MASSTEST SAP ABAP Report - Print Workbench: Mass Test







EFG_FORM_MASSTEST 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 EFG_FORM_MASSTEST 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_FORM_MASSTEST. "Basic submit
SUBMIT EFG_FORM_MASSTEST AND RETURN. "Return to original report after report execution complete
SUBMIT EFG_FORM_MASSTEST 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: P_XSF = D .
Selection Text: P_XFP = D .
Selection Text: P_TDDEST = D .
Selection Text: P_STYPE = D .
Selection Text: P_RDI = D .
Selection Text: P_LSTDOC = D .
Selection Text: P_FKEY = D .
Selection Text: P_BP = D .
Selection Text: P_TIMES = Loop Count
Selection Text: P_SYNC = Check Output Requests
Selection Text: P_SNDCTR = D .
Selection Text: P_SAVE = Save Log
Selection Text: P_PARAM1 = Parameters -Second Ranges Tab
Selection Text: P_PARAM = Parameters - First Ranges Tab
Selection Text: P_OCL = Open/Close Logic Active
Selection Text: P_ID = ID for Spool ID Persistence
Selection Text: P_FKEY2 = Application Form 2
Selection Text: P_DEBUG = Debugging
Title: Print Workbench: Mass Test
Text Symbol: T02 = List COM Addresses
Text Symbol: T01 = Print Parameters
Text Symbol: O10 = Runtime [msec]
Text Symbol: O09 = End Time
Text Symbol: O07 = Application Form 2
Text Symbol: O05 = Loop Count
Text Symbol: O04 = Open/Close Optimization
Text Symbol: O03 = XSF
Text Symbol: O02 = RDI
Text Symbol: O01 = Application Form
Text Symbol: O00 = Start Time
Text Symbol: I02 = Change Print Parameters
Text Symbol: I01 = Create Print Parameters
Text Symbol: F01 = Print Parameter
Text Symbol: E11 = Address String
Text Symbol: E10 = Trans.Method
Text Symbol: E04 = SMS Address
Text Symbol: E03 = Remote Mail Address
Text Symbol: E02 = Fax Address





Text Symbol: E01 = E-Mail Address
Text Symbol: E00 = Determine Address Data for Business Partner
Text Symbol: B01 = Bus. Partner (for COM Address)


INCLUDES used within this REPORT EFG_FORM_MASSTEST

INCLUDE EFG_GEN.
INCLUDE EFG_MSGX.


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_PRINT_INIT CALL FUNCTION 'EFG_PRINT_INIT' EXPORTING x_itcpo = l_itcpo x_tab_formkey = l_tab_formkey IMPORTING y_tab_errorforms = l_tab_errorforms.

EFG_DB_FORM_SELECT CALL FUNCTION 'EFG_DB_FORM_SELECT' EXPORTING x_client = sy-mandt x_formkey = p_fkey x_actual = 'X' x_no_formclass = 'X' x_flg_get_link = 'X' x_flg_only_header = 'X' IMPORTING y_efrm = l_efrm EXCEPTIONS not_qualified = 1 not_found = 2 failed = 3 OTHERS = 4.

EFG_DB_FORM_SELECT CALL FUNCTION 'EFG_DB_FORM_SELECT' EXPORTING x_client = sy-mandt x_formkey = p_fkey2 x_actual = 'X' x_no_formclass = 'X' x_flg_get_link = 'X' x_flg_only_header = 'X' IMPORTING y_efrm = l_efrm EXCEPTIONS not_qualified = 1 not_found = 2 failed = 3 OTHERS = 4.

EFG_PRINT_EXPANDED CALL FUNCTION 'EFG_PRINT_EXPANDED' EXPORTING x_printparams = l_printparams x_rec_addr = g_str_addr_data-addrnum x_sendcontrol = p_sndctr x_rec_persnumber = g_str_addr_data-persnum TABLES xt_ranges = l_tab_ranges xt_ranges1 = l_tab_ranges1 EXCEPTIONS OTHERS = 10.

EFG_PRINT_EXPANDED CALL FUNCTION 'EFG_PRINT_EXPANDED' EXPORTING x_printparams = l_printparams x_rec_addr = g_str_addr_data-addrnum x_rec_persnumber = g_str_addr_data-persnum TABLES xt_ranges = l_tab_ranges xt_ranges1 = l_tab_ranges1 EXCEPTIONS OTHERS = 10.

EFG_PRINT_CLOSE CALL FUNCTION 'EFG_PRINT_CLOSE' EXPORTING x_flg_output = g_printparams-last_doc_act x_flg_finalize = 'X' x_flg_clear_spoolids = 'X' IMPORTING y_tab_spoolid = y_tab_spoolid.

EFG_GET_PRINT_PARAMETERS CALL FUNCTION 'EFG_GET_PRINT_PARAMETERS' EXPORTING x_printparams = g_printparams x_no_archive = 'X' x_check_archive = '' x_no_preview = 'X' x_only_sendtype_printer = '' x_suppress_bci_dialog = 'X' IMPORTING y_printparams = g_printparams EXCEPTIONS cancelled = 1 input_error = 2 failed = 3 OTHERS = 4.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = l_icon text = text-t01 info = l_quickinfo add_stdinf = '' IMPORTING result = printpar EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_OVERVIEW' info = text-t02 IMPORTING result = checkbp EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

EFG_PP_CONVERT_FROM_XML CALL FUNCTION 'EFG_PP_CONVERT_FROM_XML' EXPORTING x_xstring = p_xstr IMPORTING y_printparams = g_printparams EXCEPTIONS not_qualified = 1 failed = 2 OTHERS = 3.

EFG_PP_CONVERT_TO_XML CALL FUNCTION 'EFG_PP_CONVERT_TO_XML' EXPORTING x_printparams = g_printparams IMPORTING y_xstring = p_xstr.

EFG_SPOOL_OUTPUT_STATUS_CHECK CALL FUNCTION 'EFG_SPOOL_OUTPUT_STATUS_CHECK' EXPORTING x_tab_spoolid = x_tab_spoolid x_wait_timeout = 600 IMPORTING y_tab_tsp02 = l_tab_tsp02 y_tab_spoolid_error = l_tab_error EXCEPTIONS not_qualified = 1 OTHERS = 2.

EFG_SPOOL_SAVE_SPOOLIDS CALL FUNCTION 'EFG_SPOOL_SAVE_SPOOLIDS' EXPORTING x_tab_spoolids = x_tab_spoolid x_identifier = x_id EXCEPTIONS not_qualified = 1 OTHERS = 2.

EFG_GET_ADDRESS_TO_SENDTYPE CALL FUNCTION 'EFG_GET_ADDRESS_TO_SENDTYPE' EXPORTING x_addr_id = g_str_addr_data-addrnum x_sendtype = l_sendtype x_persnumber = g_str_addr_data-persnum x_alt_addr_id = g_str_addr_data-addrnum_com IMPORTING y_addr_string = l_str_sellist-text EXCEPTIONS not_qualified = 1 addr_not_found = 2 addr_not_valid = 3 OTHERS = 4.

EFG_SELECTION_LISTX CALL FUNCTION 'EFG_SELECTION_LISTX' EXPORTING x_title = l_title x_popup = 'X' x_select_mode = 'D' x_str_header = l_str_header TABLES t_selectlist = l_tab_sellist EXCEPTIONS cancelled = 1 OTHERS = 2.



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