SAP Reports / Programs

BBP_PD_ARCH_SET_STATUS SAP ABAP Report - Status Conversion Program: Archiving of SRM Documents







BBP_PD_ARCH_SET_STATUS 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 BBP_PD_ARCH_SET_STATUS 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 BBP_PD_ARCH_SET_STATUS. "Basic submit
SUBMIT BBP_PD_ARCH_SET_STATUS AND RETURN. "Return to original report after report execution complete
SUBMIT BBP_PD_ARCH_SET_STATUS 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: ARCH_OBJ = Archiving Object
Selection Text: TESTRUN = Test Run
Title: Status Conversion Program: Archiving of SRM Documents


INCLUDES used within this REPORT BBP_PD_ARCH_SET_STATUS

INCLUDE BBP_PD_ARCH_INCLUDE.
INCLUDE BBP_PD_ARCH_F01.
INCLUDE BBP_PD_ARCH_F02.
INCLUDE BBP_PD_ARCH_F03.
INCLUDE BBP_PD_ARCH_F04.
INCLUDE BBP_PD_ARCH_F05.
INCLUDE BBP_PD_ARCH_F06.
INCLUDE BBP_PD_ARCH_F07.
INCLUDE BBP_PD_ARCH_F08.
INCLUDE BBP_PD_ARCH_F09.
INCLUDE BBP_PD_ARCH_F10.


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:

ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING archive_name = ar_name object = arch_obj test_mode = testrun IMPORTING archive_handle = archive_handle.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = archive_handle EXCEPTIONS end_of_file = 1 file_io_error = 2 internal_error = 3 open_error = 4 wrong_access_to_archive = 5 OTHERS = 6.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = archive_handle.

BBP_PROCDOC_RESET_BUFFER CALL FUNCTION 'BBP_PROCDOC_RESET_BUFFER'.

ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = archive_handle record_structure = 'CRMD_ORDERADM_H' all_records_of_object = 'X' TABLES table = lt_crmd_orderadm_h.

ARCHIVE_DELETE_OBJECT_DATA CALL FUNCTION 'ARCHIVE_DELETE_OBJECT_DATA' EXPORTING archive_handle = archive_handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.

BBP_PD_PCO_DB_DELETE CALL FUNCTION 'BBP_PD_PCO_DB_DELETE' EXPORTING iv_header_guid = ls_crmd_orderadm_h-guid iv_save_on_db = iv_save_db TABLES et_messages = ct_messages.

BBP_PD_AUC_DB_DELETE CALL FUNCTION 'BBP_PD_AUC_DB_DELETE' EXPORTING iv_header_guid = ls_crmd_orderadm_h-guid iv_save_on_db = iv_save_db TABLES et_messages = ct_messages.

BBP_LA_UTILITY_DELETE_ALL CALL FUNCTION 'BBP_LA_UTILITY_DELETE_ALL' EXPORTING i_auction_guid = ls_crmd_orderadm_h-guid.

BBP_PD_CTR_DB_DELETE CALL FUNCTION 'BBP_PD_CTR_DB_DELETE' EXPORTING iv_header_guid = ls_crmd_orderadm_h-guid iv_save_on_db = iv_save_db TABLES et_messages = ct_messages.

BBP_AUTH_PD_DELETE CALL FUNCTION 'BBP_AUTH_PD_DELETE' EXPORTING iv_doc_guid = ls_crmd_orderadm_h-guid.

BBP_PD_BID_DB_DELETE CALL FUNCTION 'BBP_PD_BID_DB_DELETE' EXPORTING iv_header_guid = ls_crmd_orderadm_h-guid iv_save_on_db = iv_save_db TABLES et_messages = ct_messages.

BBP_PD_QUOT_DB_DELETE CALL FUNCTION 'BBP_PD_QUOT_DB_DELETE' EXPORTING iv_header_guid = ls_crmd_orderadm_h-guid iv_save_on_db = iv_save_db TABLES et_messages = ct_messages.

BBP_PD_INV_DB_DELETE CALL FUNCTION 'BBP_PD_INV_DB_DELETE' EXPORTING iv_header_guid = ls_crmd_orderadm_h-guid iv_save_on_db = iv_save_db TABLES et_messages = ct_messages.

BBP_PD_CONF_DB_DELETE CALL FUNCTION 'BBP_PD_CONF_DB_DELETE' EXPORTING iv_header_guid = ls_crmd_orderadm_h-guid iv_save_on_db = iv_save_db TABLES et_messages = ct_messages.

BBP_PD_PO_DB_DELETE CALL FUNCTION 'BBP_PD_PO_DB_DELETE' EXPORTING iv_header_guid = ls_crmd_orderadm_h-guid iv_save_on_db = iv_save_db TABLES et_messages = ct_messages.

BBP_PD_SC_DB_DELETE CALL FUNCTION 'BBP_PD_SC_DB_DELETE' EXPORTING iv_header_guid = ls_crmd_orderadm_h-guid iv_save_on_db = iv_save_db TABLES et_messages = ct_messages.

BBP_PD_AVL_DB_DELETE CALL FUNCTION 'BBP_PD_AVL_DB_DELETE' EXPORTING iv_header_guid = ls_crmd_orderadm_h-guid iv_save_on_db = iv_save_db TABLES et_messages = ct_messages.

BBP_PD_SUSPO_DB_DELETE





CALL FUNCTION 'BBP_PD_SUSPO_DB_DELETE' EXPORTING iv_header_guid = ls_crmd_orderadm_h-guid iv_save_on_db = iv_save_db TABLES et_messages = ct_messages.

BBP_PD_SUSPCO_DB_DELETE CALL FUNCTION 'BBP_PD_SUSPCO_DB_DELETE' EXPORTING iv_header_guid = ls_crmd_orderadm_h-guid iv_save_on_db = iv_save_db TABLES et_messages = ct_messages.

BBP_PD_SUSASN_DB_DELETE CALL FUNCTION 'BBP_PD_SUSASN_DB_DELETE' EXPORTING iv_header_guid = ls_crmd_orderadm_h-guid iv_save_on_db = iv_save_db TABLES et_messages = ct_messages.

BBP_PD_SUSCF_DB_DELETE CALL FUNCTION 'BBP_PD_SUSCF_DB_DELETE' EXPORTING iv_header_guid = ls_crmd_orderadm_h-guid iv_save_on_db = iv_save_db TABLES et_messages = ct_messages.

BBP_PD_SUSINV_DB_DELETE CALL FUNCTION 'BBP_PD_SUSINV_DB_DELETE' EXPORTING iv_header_guid = ls_crmd_orderadm_h-guid iv_save_on_db = iv_save_db TABLES et_messages = ct_messages.



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