RM06BD30 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 RM06BD30 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: TESTRUN = Test Run
Title: Deletion Program, Archiving of Purchase Requisitions
Text Symbol: 001 = List of Deleted Documents
Text Symbol: 002 = List of Read Documents
Text Symbol: 004 = Error deleting the purchase requisition:
Text Symbol: 005 = Number of purchase requisitions deleted:
Text Symbol: 006 = Number of purchase requisitions read:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_DELETE_OBJECT_DATA CALL FUNCTION 'ARCHIVE_DELETE_OBJECT_DATA' EXPORTING archive_handle = handle.
ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING object = object test_mode = testrun IMPORTING archive_handle = handle EXCEPTIONS file_already_open = 01.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = handle EXCEPTIONS end_of_file = 01.
ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = handle IMPORTING record = buffer-segment record_flags = buffer-flags record_structure = buffer-rname EXCEPTIONS end_of_object = 01.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = handle.
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = object IMPORTING commit_count_for_delete_prg = cust_commit_count.
MD_LOESCHEN_KOMPONENTEN CALL FUNCTION 'MD_LOESCHEN_KOMPONENTEN' EXPORTING rsnum = xresb-rsnum TABLES mdsbx = tmdsbl.
CUCB_GET_OWNER_OF_CFG call function 'CUCB_GET_OWNER_OF_CFG' "986622 exporting i_instance = xeban-cuobj exceptions invalid_instance = 1 instance_is_a_classification = 2 unknown_owner = 3 others = 4.
CUCB_CHECK_AND_DELETE_CONF CALL FUNCTION 'CUCB_CHECK_AND_DELETE_CONF' EXPORTING root_instance = xeban-cuobj owner = ls_object EXCEPTIONS invalid_instance = 1 not_a_root_instance = 2 invalid_owner = 3 OTHERS = 4.
ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = handle TABLES table = arch_stat EXCEPTIONS internal_error = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.