SAP RSDG_IOBJ_MULTI_DELETE Function Module for Data Basis: Deletes a Range of InfoObjects









RSDG_IOBJ_MULTI_DELETE is a standard rsdg iobj multi delete SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Data Basis: Deletes a Range of InfoObjects processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for rsdg iobj multi delete FM, simply by entering the name RSDG_IOBJ_MULTI_DELETE into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSDG_IOBJ_DB
Program Name: SAPLRSDG_IOBJ_DB
Main Program: SAPLRSDG_IOBJ_DB
Appliation area: B
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RSDG_IOBJ_MULTI_DELETE pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'RSDG_IOBJ_MULTI_DELETE'"Data Basis: Deletes a Range of InfoObjects
EXPORTING
I_T_IOBJNM = "InfoObjects to Be Deleted
* I_WRITE_PROTOCOL = RS_C_TRUE "Write Log? (Indicator)
* I_CHECK_DEPENDENT = RS_C_TRUE "Currently Not Interpreted - = 'X': Check Dependencies
* I_MANUAL = RS_C_TRUE "= ' ': After-Import Method

IMPORTING
E_T_MSG = "Messages
E_SUBRC = "Return Code <> 0: Not All Objects Deleted
E_T_IOBJNM_DEL = "Deleted InfoObjects
E_TH_TLOGO_ERROR = "Incorrect Objects
.



IMPORTING Parameters details for RSDG_IOBJ_MULTI_DELETE

I_T_IOBJNM - InfoObjects to Be Deleted

Data type: RSD_T_C30
Optional: No
Call by Reference: Yes

I_WRITE_PROTOCOL - Write Log? (Indicator)

Data type: RS_BOOL
Default: RS_C_TRUE
Optional: Yes
Call by Reference: Yes

I_CHECK_DEPENDENT - Currently Not Interpreted - = 'X': Check Dependencies

Data type: RS_BOOL
Default: RS_C_TRUE
Optional: Yes
Call by Reference: Yes

I_MANUAL - = ' ': After-Import Method

Data type: RS_BOOL
Default: RS_C_TRUE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for RSDG_IOBJ_MULTI_DELETE

E_T_MSG - Messages

Data type: RS_T_MSG
Optional: No
Call by Reference: Yes

E_SUBRC - Return Code <> 0: Not All Objects Deleted

Data type: SY-SUBRC
Optional: No
Call by Reference: Yes

E_T_IOBJNM_DEL - Deleted InfoObjects

Data type: RSD_T_IOBJNM
Optional: No
Call by Reference: Yes

E_TH_TLOGO_ERROR - Incorrect Objects

Data type: RSO_TH_TLOGO
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSDG_IOBJ_MULTI_DELETE Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_e_t_msg  TYPE RS_T_MSG, "   
lv_i_t_iobjnm  TYPE RSD_T_C30, "   
lv_e_subrc  TYPE SY-SUBRC, "   
lv_i_write_protocol  TYPE RS_BOOL, "   RS_C_TRUE
lv_e_t_iobjnm_del  TYPE RSD_T_IOBJNM, "   
lv_i_check_dependent  TYPE RS_BOOL, "   RS_C_TRUE
lv_i_manual  TYPE RS_BOOL, "   RS_C_TRUE
lv_e_th_tlogo_error  TYPE RSO_TH_TLOGO. "   

  CALL FUNCTION 'RSDG_IOBJ_MULTI_DELETE'  "Data Basis: Deletes a Range of InfoObjects
    EXPORTING
         I_T_IOBJNM = lv_i_t_iobjnm
         I_WRITE_PROTOCOL = lv_i_write_protocol
         I_CHECK_DEPENDENT = lv_i_check_dependent
         I_MANUAL = lv_i_manual
    IMPORTING
         E_T_MSG = lv_e_t_msg
         E_SUBRC = lv_e_subrc
         E_T_IOBJNM_DEL = lv_e_t_iobjnm_del
         E_TH_TLOGO_ERROR = lv_e_th_tlogo_error
. " RSDG_IOBJ_MULTI_DELETE




ABAP code using 7.40 inline data declarations to call FM RSDG_IOBJ_MULTI_DELETE

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_e_subrc).
 
DATA(ld_i_write_protocol) = RS_C_TRUE.
 
 
DATA(ld_i_check_dependent) = RS_C_TRUE.
 
DATA(ld_i_manual) = RS_C_TRUE.
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!