SAP RSDG_ACT_DEL_DDIC_OBJECTS Function Module for Activates or Deletes Generated DDIC Objects
RSDG_ACT_DEL_DDIC_OBJECTS is a standard rsdg act del ddic objects SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Activates or Deletes Generated DDIC Objects 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 act del ddic objects FM, simply by entering the name RSDG_ACT_DEL_DDIC_OBJECTS into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSDG_DDIC
Program Name: SAPLRSDG_DDIC
Main Program: SAPLRSDG_DDIC
Appliation area: B
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RSDG_ACT_DEL_DDIC_OBJECTS 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_ACT_DEL_DDIC_OBJECTS'"Activates or Deletes Generated DDIC Objects.
EXPORTING
I_MODE = "Mode (A: Activate, D: Delete)
* I_PROTNM = "Prefix for Mass Activation Program Log
I_T_MAGE = "Object List
* I_DELNOREF = RS_C_TRUE "= 'X': Only Delete Objects Without External Reference
* I_TEXT = ' ' "Text for Log and Progress Indicator
* I_PROGRESS = RS_C_TRUE "= 'X': With Progress Indicator
* I_PERCENTAGE = 0 "Percent for Progress Indicator
* I_DELETE_TADIR = RS_C_FALSE "='X': Also Delete TADIR Entries During Deletion
* I_DETLEVEL = '2' "Application Log: Level of Detail
IMPORTING
E_T_TAB_CNV = "Table with Names of Tables to Be Converted
E_SUBRC = "Return Code (>0: Error)
CHANGING
C_T_MSG = "Log
IMPORTING Parameters details for RSDG_ACT_DEL_DDIC_OBJECTS
I_MODE - Mode (A: Activate, D: Delete)
Data type: CHAR1Optional: No
Call by Reference: Yes
I_PROTNM - Prefix for Mass Activation Program Log
Data type: PROTNAMEOptional: Yes
Call by Reference: Yes
I_T_MAGE - Object List
Data type: RSDG_T_MAGEOptional: No
Call by Reference: Yes
I_DELNOREF - = 'X': Only Delete Objects Without External Reference
Data type: RS_BOOLDefault: RS_C_TRUE
Optional: No
Call by Reference: Yes
I_TEXT - Text for Log and Progress Indicator
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PROGRESS - = 'X': With Progress Indicator
Data type: RS_BOOLDefault: RS_C_TRUE
Optional: Yes
Call by Reference: Yes
I_PERCENTAGE - Percent for Progress Indicator
Data type: IOptional: Yes
Call by Reference: Yes
I_DELETE_TADIR - ='X': Also Delete TADIR Entries During Deletion
Data type: RS_BOOLDefault: RS_C_FALSE
Optional: No
Call by Reference: Yes
I_DETLEVEL - Application Log: Level of Detail
Data type: BALLEVELDefault: '2'
Optional: No
Call by Reference: Yes
EXPORTING Parameters details for RSDG_ACT_DEL_DDIC_OBJECTS
E_T_TAB_CNV - Table with Names of Tables to Be Converted
Data type: RSD_T_C30Optional: No
Call by Reference: Yes
E_SUBRC - Return Code (>0: Error)
Data type: SYSUBRCOptional: No
Call by Reference: Yes
CHANGING Parameters details for RSDG_ACT_DEL_DDIC_OBJECTS
C_T_MSG - Log
Data type: RS_T_MSGOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for RSDG_ACT_DEL_DDIC_OBJECTS 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_i_mode | TYPE CHAR1, " | |||
| lv_c_t_msg | TYPE RS_T_MSG, " | |||
| lv_e_t_tab_cnv | TYPE RSD_T_C30, " | |||
| lv_e_subrc | TYPE SYSUBRC, " | |||
| lv_i_protnm | TYPE PROTNAME, " | |||
| lv_i_t_mage | TYPE RSDG_T_MAGE, " | |||
| lv_i_delnoref | TYPE RS_BOOL, " RS_C_TRUE | |||
| lv_i_text | TYPE C, " SPACE | |||
| lv_i_progress | TYPE RS_BOOL, " RS_C_TRUE | |||
| lv_i_percentage | TYPE I, " 0 | |||
| lv_i_delete_tadir | TYPE RS_BOOL, " RS_C_FALSE | |||
| lv_i_detlevel | TYPE BALLEVEL. " '2' |
|   CALL FUNCTION 'RSDG_ACT_DEL_DDIC_OBJECTS' "Activates or Deletes Generated DDIC Objects |
| EXPORTING | ||
| I_MODE | = lv_i_mode | |
| I_PROTNM | = lv_i_protnm | |
| I_T_MAGE | = lv_i_t_mage | |
| I_DELNOREF | = lv_i_delnoref | |
| I_TEXT | = lv_i_text | |
| I_PROGRESS | = lv_i_progress | |
| I_PERCENTAGE | = lv_i_percentage | |
| I_DELETE_TADIR | = lv_i_delete_tadir | |
| I_DETLEVEL | = lv_i_detlevel | |
| IMPORTING | ||
| E_T_TAB_CNV | = lv_e_t_tab_cnv | |
| E_SUBRC | = lv_e_subrc | |
| CHANGING | ||
| C_T_MSG | = lv_c_t_msg | |
| . " RSDG_ACT_DEL_DDIC_OBJECTS | ||
ABAP code using 7.40 inline data declarations to call FM RSDG_ACT_DEL_DDIC_OBJECTS
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.| DATA(ld_i_delnoref) | = RS_C_TRUE. | |||
| DATA(ld_i_text) | = ' '. | |||
| DATA(ld_i_progress) | = RS_C_TRUE. | |||
| DATA(ld_i_delete_tadir) | = RS_C_FALSE. | |||
| DATA(ld_i_detlevel) | = '2'. | |||
Search for further information about these or an SAP related objects