SMIR_DELETE_DATA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Deletion of SMI messages where all items have the status SENT or OBSOLETE and are older than the current date...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 SMIR_DELETE_DATA 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_DATE_S = Number of days
Selection Text: P_SLOG = Show Application Log
Selection Text: P_TEST = Test run only
Selection Text: S_KUNNR = D .
Title: Deletion of completely sent or obsolete models
Text Symbol: 001 = Selection Section
INCLUDE SBAL_CONSTANTS.
No SAP DATABASE tables are accessed within this REPORT code!
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING I_S_LOG = GS_LOG IMPORTING E_LOG_HANDLE = GV_LOG_HANDLE EXCEPTIONS OTHERS = 1.
BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING E_S_DISPLAY_PROFILE = GV_DISPLAY_PROFILE EXCEPTIONS OTHERS = 1.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING I_S_DISPLAY_PROFILE = GV_DISPLAY_PROFILE EXCEPTIONS OTHERS = 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.
SMIR_DELETE_DATA - Deletion of completely sent or obsolete models SMIR_DELETE_DATA - Deletion of completely sent or obsolete models SMIR_CALL_APPLICATION_LOG - Call of the application log SMIR_CALL_APPLICATION_LOG - Call of the application log SMIPRTOP - documentation and ABAP source code SMIPRF04 - documentation and ABAP source code