RM07IDELS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RM07IDELS deletes all the physical inventory documents 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 RM07IDELS 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 Physical Inventory Documents: Delete Program
Text Symbol: 001 = PI document will be deleted
Text Symbol: 002 = &1 phys. inventory docs deleted
Text Symbol: 010 = Test Mode
Text Symbol: 011 = Live Mode
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_INVBEL' importing COMMIT_COUNT_FOR_DELETE_PRG = CUST_COMMIT_COUNT.
ARCHIVE_OPEN_FOR_DELETE call function 'ARCHIVE_OPEN_FOR_DELETE' exporting OBJECT = 'MM_INVBEL' 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-002 I_MSGV1 = G_PROCESSED I_PROCESSED = G_PROCESSED.
ARCHIVE_PROTOCOL_COLLECT_APPL call function 'ARCHIVE_PROTOCOL_COLLECT_APPL' exporting I_OBJECT =
-IBLNR I_MSGTYPE = '01' I_TEXT = TEXT-001.
PROGRESS_INDICATOR_APPL call function 'PROGRESS_INDICATOR_APPL' exporting I_TEXT = TEXT-002 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.
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.
RM07IDELS - Archiving Physical Inventory Documents: Delete Program RM07IDELS - Archiving Physical Inventory Documents: Delete Program RM07ICN1_LIST - RM07ICN1LIST RM07ICN1_LIST - RM07ICN1LIST RM07ICN1 - Batch Input: Create Physical Inventory Documents For Cycle Counting RM07ICN1 - Batch Input: Create Physical Inventory Documents For Cycle Counting