SPOOL_OBJECTS 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 SPOOL_OBJECTS 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.
Title: Program SPOOL_OBJECTS
INCLUDE SPOOL_OBJECTS_TOP . "
No SAP DATABASE tables are accessed within this REPORT code!
SPOOL_PO_CREATE_DO CALL FUNCTION 'SPOOL_PO_CREATE_DO' EXPORTING reqno = lreqno po_number = lpo_number IMPORTING error = lerror EXCEPTIONS internal_error = 1 OTHERS = 2.
CONTROL_RECORD_ADD_VALUE CALL FUNCTION 'CONTROL_RECORD_ADD_VALUE' EXPORTING key = 'ERROR' value = 'Spool PO create do - NOT SUCCESSFUL ' TABLES control_record = control_record. "#EC NOTEXT
SPOOL_DPO_TRANSFER_DO CALL FUNCTION 'SPOOL_DPO_TRANSFER_DO' EXPORTING iv_guid = lbbp_guid iv_targetappl_type = ltargetappl_type IMPORTING ev_error = lerror EXCEPTIONS internal_error = 1 OTHERS = 2.
CONTROL_RECORD_ADD_VALUE CALL FUNCTION 'CONTROL_RECORD_ADD_VALUE' EXPORTING key = 'ERROR' value = 'Spool DPO transfer do - NOT SUCCESSFUL ' TABLES control_record = control_record. "#EC NOTEXT
SPOOL_PO_DELETE_DO CALL FUNCTION 'SPOOL_PO_DELETE_DO' EXPORTING reqno = lreqno po_number = purchaseorder po_item = lv_po_item IMPORTING error = lerror EXCEPTIONS internal_error = 1 OTHERS = 2.
CONTROL_RECORD_ADD_VALUE CALL FUNCTION 'CONTROL_RECORD_ADD_VALUE' EXPORTING key = 'ERROR' value = 'Spool PO delete do - NOT SUCCESSFUL ' TABLES control_record = control_record. "#EC NOTEXT
SPOOL_RQ_DELETE_DO CALL FUNCTION 'SPOOL_RQ_DELETE_DO' EXPORTING reqno = lreqno req_number = number req_item = lv_req_item IMPORTING error = lerror EXCEPTIONS internal_error = 1 OTHERS = 2.
CONTROL_RECORD_ADD_VALUE CALL FUNCTION 'CONTROL_RECORD_ADD_VALUE' EXPORTING key = 'ERROR' value = 'Spool RQ delete do - NOT SUCCESSFUL ' TABLES control_record = control_record. "#EC NOTEXT
SPOOL_RS_DELETE_DO CALL FUNCTION 'SPOOL_RS_DELETE_DO' EXPORTING reqno = lreqno res_number = reservation res_item = lv_res_item IMPORTING error = lerror EXCEPTIONS internal_error = 1 OTHERS = 2.
CONTROL_RECORD_ADD_VALUE CALL FUNCTION 'CONTROL_RECORD_ADD_VALUE' EXPORTING key = 'ERROR' value = 'Spool RS delete do - NOT SUCCESSFUL ' TABLES control_record = control_record. "#EC NOTEXT
SPOOL_RQ_CREATE_DO CALL FUNCTION 'SPOOL_RQ_CREATE_DO' EXPORTING reqno = lreqno requis_number = lrequis_number IMPORTING error = lerror EXCEPTIONS internal_error = 1 OTHERS = 2.
CONTROL_RECORD_ADD_VALUE CALL FUNCTION 'CONTROL_RECORD_ADD_VALUE' EXPORTING key = 'ERROR' value = 'Spool RQ create do - NOT SUCCESSFUL ' TABLES control_record = control_record. "#EC NOTEXT
SPOOL_RS_CREATE_DO CALL FUNCTION 'SPOOL_RS_CREATE_DO' EXPORTING reqno = lreqno res_number = lres_number IMPORTING error = lerror EXCEPTIONS internal_error = 1 OTHERS = 2.
CONTROL_RECORD_ADD_VALUE CALL FUNCTION 'CONTROL_RECORD_ADD_VALUE' EXPORTING key = 'ERROR' value = 'Spool RS Create do - NOT SUCCESSFUL' TABLES control_record = control_record. "#EC NOTEXT
SPOOL_ES_CREATE_DO CALL FUNCTION 'SPOOL_ES_CREATE_DO' EXPORTING i_guid = lbbp_guid IMPORTING error = lerror EXCEPTIONS internal_error = 1 OTHERS = 2.
CONTROL_RECORD_ADD_VALUE CALL FUNCTION 'CONTROL_RECORD_ADD_VALUE' EXPORTING key = 'ERROR' value = 'Spool ES create do - NOT SUCCESSFUL ' TABLES control_record = control_record. "#EC NOTEXT
SPOOL_ES_CANCEL_DO CALL FUNCTION 'SPOOL_ES_CANCEL_DO' EXPORTING i_guid = lbbp_guid IMPORTING error = lerror EXCEPTIONS internal_error = 1 OTHERS = 2.
CONTROL_RECORD_ADD_VALUE CALL FUNCTION 'CONTROL_RECORD_ADD_VALUE' EXPORTING key = 'ERROR' value = 'Spool ES cancel do - NOT SUCCESSFUL ' TABLES control_record = control_record. "#EC NOTEXT
CALL FUNCTION 'SPOOL_OR_CREATE_DO' EXPORTING reqno = lreqno IMPORTING error = lerror EXCEPTIONS internal_error = 1 OTHERS = 2.
CONTROL_RECORD_ADD_VALUE CALL FUNCTION 'CONTROL_RECORD_ADD_VALUE' EXPORTING key = 'ERROR' value = 'Spool OR create do - NOT SUCCESSFUL ' TABLES control_record = control_record. "#EC NOTEXT
CONTROL_RECORD_ADD_VALUE CALL FUNCTION 'CONTROL_RECORD_ADD_VALUE' EXPORTING key = 'ERROR' value = 'Spool OR create do - NOT SUCCESSFUL ' TABLES control_record = control_record. "#EC NOTEXT
SPOOL_CREATE_JOB CALL FUNCTION 'SPOOL_CREATE_JOB' EXPORTING reqno = lreqno bbp_guid = lbbp_guid core_key = lcore_key retry = lretry busobj = lbusobj method = lmethod targetappl_type = ltargetappl_type EXCEPTIONS internal_error = 1 OTHERS = 2.
CONTROL_RECORD_ADD_VALUE CALL FUNCTION 'CONTROL_RECORD_ADD_VALUE' EXPORTING key = 'ERROR' value = 'Spool Create Job - NOT SUCCESSFUL ' TABLES control_record = control_record. "#EC NOTEXT
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 SPOOL_OBJECTS or its description.