EFG_SPOOL_CHECK_OUTPUT_STATUS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report
If you would like to execute this report or see the full code listing simply enter EFG_SPOOL_CHECK_OUTPUT_STATUS 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: P_DEL1 = Delete All Requests with RC=0
Selection Text: P_DEL2 = Do Not Delete Any Requests
Selection Text: P_DEL3 = Delete All Requests
Selection Text: P_SLOG = Save Message Log
Selection Text: P_TIME = D .
Selection Text: R_DATE = D .
Selection Text: R_IDENT = D .
Selection Text: R_SPOID = D .
Title: Print Request: Status Request for Output Requests
Text Symbol: F01 = Selection Criteria
Text Symbol: F02 = Options
Text Symbol: F03 = Deletion Option for Request Buffer ...
INCLUDE EFG_GEN.
INCLUDE EFG_MSGX.
No SAP DATABASE tables are accessed within this REPORT code!
BP_SET_APPLICATION_RC call function 'BP_SET_APPLICATION_RC' exporting app_rc = l_rc exceptions others = 0.
EFG_SPOOL_GET_SPOOLIDS CALL FUNCTION 'EFG_SPOOL_GET_SPOOLIDS' EXPORTING x_tab_rng_spoolids = r_spoid[] x_tab_rng_identifier = r_ident[] x_tab_rng_timestamp = l_tab_rng_timestamp IMPORTING y_tab_spoolids = l_tab_spoolids y_tab_spool_buff = l_tab_buff EXCEPTIONS not_qualified = 1 OTHERS = 2.
EFG_SPOOL_OUTPUT_STATUS_CHECK CALL FUNCTION 'EFG_SPOOL_OUTPUT_STATUS_CHECK' EXPORTING x_tab_spoolid = l_tab_spoolids x_wait_timeout = p_time x_flg_call_badi = 'X' IMPORTING y_tab_tsp02 = l_tab_tsp02 y_tab_spoolid_error = l_tab_spoolid_error EXCEPTIONS not_qualified = 1 OTHERS = 2.
EFG_SPOOL_DELETE_SPOOLIDS CALL FUNCTION 'EFG_SPOOL_DELETE_SPOOLIDS' EXPORTING x_tab_spool_buff = l_tab_buff_del EXCEPTIONS not_qualified = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
EFG_SPOOL_CHECK_OUTPUT_STATUS - Print Request: Status Request for Output Requests EFG_SPOOL_CHECK_OUTPUT_STATUS - Print Request: Status Request for Output Requests EFG_SLG1 - EFGSLG1 EFG_SLG1 - EFGSLG1 EFG_RESOLVE_LINKS - Print Workbench: Replacement of Links with Originals EFG_RESOLVE_LINKS - Print Workbench: Replacement of Links with Originals