SAP Reports / Programs | Supplier Relationship Management | Enterprise Buyer | R/3 Plug-In Interfaces(SRM-EBP-INT) SAP SRM

SPOOL_OBJECTS SAP ABAP Report - Program SPOOL_OBJECTS







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


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


Text pool values


Title: Program SPOOL_OBJECTS


INCLUDES used within this REPORT SPOOL_OBJECTS

INCLUDE SPOOL_OBJECTS_TOP . "


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:

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

SPOOL_OR_CREATE_DO





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



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