CLEAN_REQREQ_UP is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report
If you would like to execute this report or see the full code listing simply enter CLEAN_REQREQ_UP 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: LOGSYS_P = Logical system
Selection Text: REFNO_P = Backend document number
Selection Text: REQNO_P = Shopping cart number
Title: cleans the reqreq entrys up according to the core system
Text Symbol: 001 = SPOOL_RQ_WRITE_BAPI_IMPORTS
Text Symbol: 100 = Abort caught for BBP_DOCUMENT_TAB entry:
INCLUDE CLEAN_REQREQ_UP_TOP . "
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_E_REQREQ_CLEANER CALL FUNCTION 'ENQUEUE_E_REQREQ_CLEANER' EXPORTING mode_bbp_clean_lock = 'E' client = sy-mandt the_lock = 'X' * X_THE_LOCK = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
SPOOL_RQ_WRITE_BAPI_IMPORTS CALL FUNCTION 'SPOOL_RQ_WRITE_BAPI_IMPORTS' EXPORTING reqno = selarea-reqno requis_number = requis_number EXCEPTIONS internal_error = 1 retry_later = 2 OTHERS = 3.
SPOOL_PD_RQ_WRITE_BAPI_IMPORTS CALL FUNCTION 'SPOOL_PD_RQ_WRITE_BAPI_IMPORTS' EXPORTING iv_reqno = selarea-reqno iv_rq_number = requis_number EXCEPTIONS internal_error = 1 retry_later = 2 OTHERS = 3.
SPOOL_PO_WRITE_BAPI_IMPORTS CALL FUNCTION 'SPOOL_PO_WRITE_BAPI_IMPORTS' EXPORTING reqno = selarea-reqno po_number = po_number EXCEPTIONS internal_error = 1 retry_later = 2 OTHERS = 3.
SPOOL_PD_PO_WRITE_BAPI_IMPORTS CALL FUNCTION 'SPOOL_PD_PO_WRITE_BAPI_IMPORTS' EXPORTING iv_reqno = selarea-reqno iv_po_number = po_number EXCEPTIONS internal_error = 1 retry_later = 2 OTHERS = 3.
SPOOL_RS_WRITE_BAPI_IMPORTS CALL FUNCTION 'SPOOL_RS_WRITE_BAPI_IMPORTS' EXPORTING reqno = selarea-reqno res_number = res_number EXCEPTIONS internal_error = 1 OTHERS = 2.
SPOOL_PD_RS_WRITE_BAPI_IMPORTS CALL FUNCTION 'SPOOL_PD_RS_WRITE_BAPI_IMPORTS' EXPORTING iv_reqno = selarea-reqno iv_rs_number = res_number EXCEPTIONS internal_error = 1 retry_later = 2 OTHERS = 3.
SPOOL_OR_WRITE_BAPI_IMPORTS CALL FUNCTION 'SPOOL_OR_WRITE_BAPI_IMPORTS' EXPORTING reqno = selarea-reqno EXCEPTIONS internal_error = 1 OTHERS = 2.
BBP_PD_PO_ACT_VAL_UPDATE CALL FUNCTION 'BBP_PD_PO_ACT_VAL_UPDATE' EXPORTING iv_po_number = selarea-reqno EXCEPTIONS po_locked = 2 internal_error = 2 OTHERS = 2.
BBP_PD_SC_RESET_BUFFER CALL FUNCTION 'BBP_PD_SC_RESET_BUFFER'.
BBP_DELETE_FROM_DOCUMENT_TAB CALL FUNCTION 'BBP_DELETE_FROM_DOCUMENT_TAB' IN UPDATE TASK TABLES i_deleted_docs = selsuccessful.
BBP_DELETE_FROM_DOCUMENT_TAB CALL FUNCTION 'BBP_DELETE_FROM_DOCUMENT_TAB' IN UPDATE TASK TABLES i_deleted_docs = selsuccessful.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
CLEAN_REQREQ_UP - cleans the reqreq entrys up according to the core system CLEAN_REQREQ_UP - cleans the reqreq entrys up according to the core system CLEAN_MMSITEREFTOP - Include ZCCO_CLEAN_MMSITEREFTOP CLEAN_MMSITEREF - Clean Purchasing Site Grouping Database Table CLEAN_MMSITEREF - Clean Purchasing Site Grouping Database Table CLEANUP_SAACONT - Clean Up Table SAACONT for Delivery