RM06BD47 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RM06BD47 deletes all the purchase requisitions of a file that exists in the storage system from the database...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RM06BD47 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_DELPRD = D .
Selection Text: P_DELTST = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Title: Archiving of Purchase Requisitions: Delete Program
Text Symbol: 001 = Purchase requisition deleted
Text Symbol: 002 = Purchase requisition will be deleted
Text Symbol: 003 = &1 purchase requisitions deleted
INCLUDE ARCH_DELETE_PRG_STANDARD2.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_PROTOCOL_INIT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT_APPL' EXPORTING i_detailprotocol = p_prot.
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = 'MM_EBAN' IMPORTING commit_count_for_delete_prg = cust_commit_count.
ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING object = 'MM_EBAN' test_mode = p_deltst IMPORTING archive_handle = g_handle EXCEPTIONS file_already_open = 01.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = g_handle EXCEPTIONS end_of_file = 01.
ARCHIVE_DELETE_OBJECT_DATA CALL FUNCTION 'ARCHIVE_DELETE_OBJECT_DATA' EXPORTING archive_handle = g_handle.
ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = g_handle IMPORTING record_flags = l_flags record_structure = l_structure record_ref = l_record EXCEPTIONS end_of_object = 01.
PROGRESS_INDICATOR_APPL CALL FUNCTION 'PROGRESS_INDICATOR_APPL' EXPORTING i_text = text-003 i_msgv1 = g_processed i_processed = g_processed.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object =
-banfn i_msgtype = '01' i_text = text-001.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object =
-banfn i_msgtype = '01' i_text = text-002.
PROGRESS_INDICATOR_APPL CALL FUNCTION 'PROGRESS_INDICATOR_APPL' EXPORTING i_text = text-003 i_msgv1 = g_processed i_processed = g_processed i_output_immediately = 'X'.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = g_handle.
ARCHIVE_PROTOCOL_WRITE_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE_APPL'.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = g_handle.
CUCB_CHECK_AND_DELETE_CONF * CALL FUNCTION 'CUCB_CHECK_AND_DELETE_CONF' "#EC * * EXPORTING * root_instance =
-cuobj * owner = l_object * EXCEPTIONS * invalid_instance = 1 * not_a_root_instance = 2 * invalid_owner = 3 * OTHERS = 4.
RSDB_DELETE_WITH_EBAN CALL FUNCTION 'RSDB_DELETE_WITH_EBAN' EXPORTING banfn =
-banfn bnfpo = -bnfpo rsnum = -arsnr rspos = -arsps EXCEPTIONS record_not_exist = 0.
MD_LOESCHEN_KOMPONENTEN CALL FUNCTION 'MD_LOESCHEN_KOMPONENTEN' EXPORTING rsnum =
-rsnum TABLES mdsbx = lt_tmdsbl.
ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = g_handle TABLES table = gt_statistics.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RM06BD47 - Archiving of Purchase Requisitions: Delete Program RM06BD47 - Archiving of Purchase Requisitions: Delete Program RM06BD30SOI_CONV_BUFFERSEG2TAB - Requisition archiving, delete IS-Oil table RM06BD30 - Deletion Program, Archiving of Purchase Requisitions RM06BD30 - Deletion Program, Archiving of Purchase Requisitions RM06BCUS_TOP - RM06BCUSTOP