SAP Reports / Programs | Sales and Distribution | Basic Functions | Supplier Managed Inventory(SD-BF-SMI) SAP SD

SMIR_DELETE_DATA SAP ABAP Report - Deletion of completely sent or obsolete models







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


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 SMIR_DELETE_DATA. "Basic submit
SUBMIT SMIR_DELETE_DATA AND RETURN. "Return to original report after report execution complete
SUBMIT SMIR_DELETE_DATA 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: 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


INCLUDES used within this REPORT SMIR_DELETE_DATA

INCLUDE SBAL_CONSTANTS.


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:

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.



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