SAP Reports / Programs

RSDMDD_DELETE_KERNEL SAP ABAP Report - Core operations for deleting master data can be executed as a job







RSDMDD_DELETE_KERNEL 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 RSDMDD_DELETE_KERNEL 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 RSDMDD_DELETE_KERNEL. "Basic submit
SUBMIT RSDMDD_DELETE_KERNEL AND RETURN. "Return to original report after report execution complete
SUBMIT RSDMDD_DELETE_KERNEL 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_SIMUL = Simulation
Selection Text: P_SCEN = Scenario for Deletion
Selection Text: P_RESTRT = Restart will be Performed
Selection Text: P_PROT = Create Log
Selection Text: P_PARALL = Program Called in Parallel
Selection Text: P_LOGHDL = Log Handle
Selection Text: P_LOG = Write Log Entries
Selection Text: P_IOBJNM = Name of InfoObject
Selection Text: P_FORCE = Force
Selection Text: P_DELTXT = Delete Texts
Selection Text: P_DELSID = Delete SIDs
Selection Text: P_DELALL = Delete All Master Data
Title: Core operations for deleting master data can be executed as a job
Text Symbol: 086 = Deleted SID Entries
Text Symbol: 085 = Use of Master Data from
Text Symbol: 083 = Hierarchy
Text Symbol: 082 = Near-Line Archive
Text Symbol: 081 = Characteristic Attribute
Text Symbol: 080 = Compound of Characteristics
Text Symbol: 075 = Start Deletion
Text Symbol: 072 = Determine Use of Master Data
Text Symbol: 071 = Deletion of Master Data Completed
Text Symbol: 070 = Master Data Deleted, Start Change
Text Symbol: 069 = Start Deletion with Algorithm 3
Text Symbol: 068 = Start Deletion with Algorithm 2
Text Symbol: 067 = Start Deletion with Algorithm 1
Text Symbol: 060 = Delete Master Data
Text Symbol: 010 = Output is Limited to 1000 Rows
Text Symbol: 008 = On
Text Symbol: 007 = Off
Text Symbol: 006 = in Simulation Mode
Text Symbol: 004 = Invalid System Status
Text Symbol: 003 = InfoObject Not Specified
Text Symbol: 002 = Error During Load of Basic Characteristic Properties
Text Symbol: 001 = Cannot find InfoObject


INCLUDES used within this REPORT RSDMDD_DELETE_KERNEL

INCLUDE RSDMDD_DELETE_KERNEL_STATUSO01.
INCLUDE RSDMDD_COMMON_FORMS.
INCLUDE RSDMDD_DELETE_KERNEL_USER_CI01.





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:

FREE_SELECTIONS_EX_2_WHERE CALL FUNCTION 'FREE_SELECTIONS_EX_2_WHERE' EXPORTING expressions = l_t_expr IMPORTING where_clauses = g_t_where EXCEPTIONS expression_not_supported = 1 OTHERS = 2.

FREE_SELECTIONS_EX_2_WHERE CALL FUNCTION 'FREE_SELECTIONS_EX_2_WHERE' EXPORTING expressions = l_t_expr IMPORTING where_clauses = g_t_wheresid EXCEPTIONS expression_not_supported = 1 OTHERS = 2.

RSDMDD_SET_DELETION_TSTMP CALL FUNCTION 'RSDMDD_SET_DELETION_TSTMP' EXPORTING i_iobjnm = p_iobjnm.

RRHI_HIERMOD_SET CALL FUNCTION 'RRHI_HIERMOD_SET' "note 707974 beg EXPORTING i_chabasnm = p_iobjnm.

RSENQ_ENQUEUE CALL FUNCTION 'RSENQ_ENQUEUE' EXPORTING i_action = rsenq_c_delete_master i_t_object = l_t_object IMPORTING e_lockid = c_lockid CHANGING c_t_msg = l_t_msg EXCEPTIONS locked = 1 OTHERS = 2.

RSENQ_DEQUEUE CALL FUNCTION 'RSENQ_DEQUEUE' EXPORTING i_lockid = i_lockid EXCEPTIONS no_lock_found = 1.

RSD_CHKTAB_GET_FOR_CHA_BAS CALL FUNCTION 'RSD_CHKTAB_GET_FOR_CHA_BAS' EXPORTING i_chabasnm = l_chabasnm IMPORTING e_sidtab = l_sidtab EXCEPTIONS name_error = 1 OTHERS = 2.

RSD_OBJECT_IS_GENERATED CALL FUNCTION 'RSD_OBJECT_IS_GENERATED' EXPORTING i_objnm = l_sidtab IMPORTING e_object_generated = l_object_generated EXCEPTIONS nspacegen_invalid = 1 OTHERS = 2.

RSD_CHKTAB_GET_FOR_CHA_BAS CALL FUNCTION 'RSD_CHKTAB_GET_FOR_CHA_BAS' EXPORTING i_chabasnm = l_chabasnm IMPORTING e_txttab = l_txttab EXCEPTIONS name_error = 1 OTHERS = 2.

RSD_OBJECT_IS_GENERATED CALL FUNCTION 'RSD_OBJECT_IS_GENERATED' EXPORTING i_objnm = l_txttab IMPORTING e_object_generated = l_object_generated EXCEPTIONS nspacegen_invalid = 1 OTHERS = 2.

RSD_COB_PRO_GET_ALWAYS CALL FUNCTION 'RSD_COB_PRO_GET_ALWAYS' EXPORTING i_iobjnm = p_iobjnm i_with_atr_nav = rs_c_false i_objvers = rs_c_objvers-active i_bypass_buffer = rs_c_false IMPORTING e_s_cob_pro = l_s_cob_pro e_t_iobj_cmp = l_t_iobj_cmp.

RSD_IOBJ_GET CALL FUNCTION 'RSD_IOBJ_GET' EXPORTING i_iobjnm = l_s_iobj_cmp-iobjcmp i_objvers = rs_c_objvers-active i_bypass_buffer = rs_c_false IMPORTING e_s_viobj = l_s_iobj.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 1 text = 'Ermittle Verwendung der Stammdaten...'(072).

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_structure_name = 'RSDMDDUSAGEDETAIL' "#EC NOTEXT i_grid_title = l_grid_title TABLES t_outtab = l_t_usage_detail EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_structure_name = 'RSDMDD_SID_CHAVL' "#EC NOTEXT i_grid_title = l_grid_title TABLES t_outtab = l_t_sid_chavl EXCEPTIONS program_error = 1 OTHERS = 2.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = i_tabname state = 'M' IMPORTING gotstate = l_gotstate EXCEPTIONS OTHERS = 1.

RSDMD_INITIAL_LINE_INSERT CALL FUNCTION 'RSDMD_INITIAL_LINE_INSERT' EXPORTING i_chabasnm = p_iobjnm EXCEPTIONS iobjnm_not_found = 1 OTHERS = 2.

DDIF_OBJECT_DELETE CALL FUNCTION 'DDIF_OBJECT_DELETE' EXPORTING type = 'TABL' name = g_uctabname EXCEPTIONS illegal_input = 1 no_authority = 2 OTHERS = 3.

DDIF_OBJECT_DELETE





CALL FUNCTION 'DDIF_OBJECT_DELETE' EXPORTING type = 'TABL' name = g_uctabname_detail EXCEPTIONS illegal_input = 1 no_authority = 2 OTHERS = 3.

RRSI_SID_VAL_SINGLE_CONVERT CALL FUNCTION 'RRSI_SID_VAL_SINGLE_CONVERT' EXPORTING i_iobjnm = g_s_viobj-iobjnm i_sid = l_s_usage_detail-sid IMPORTING e_chavl = l_s_usage_detail-chavl.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_structure_name = 'RSDMDDUSAGEDETAIL' "#EC NOTEXT i_grid_title = l_grid_title TABLES t_outtab = l_t_usage_detail EXCEPTIONS program_error = 1 OTHERS = 2.



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