SAP IUUC_ADBC_DEL_TRIG_CRE Function Module for create delete triggers
IUUC_ADBC_DEL_TRIG_CRE is a standard iuuc adbc del trig cre SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for create delete triggers 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 iuuc adbc del trig cre FM, simply by entering the name IUUC_ADBC_DEL_TRIG_CRE into the relevant SAP transaction such as SE37 or SE38.
Function Group: IUUC_ADBC
Program Name: SAPLIUUC_ADBC
Main Program: SAPLIUUC_ADBC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function IUUC_ADBC_DEL_TRIG_CRE 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 'IUUC_ADBC_DEL_TRIG_CRE'"create delete triggers.
EXPORTING
TRIG_TAB = "Table name
* I_EXEC_CONDITION = '' "execution subject to condition
I_SHADOWTAB = "Table Name
* I_ACTIVE_MT_ID = "execution subject to switch
* I_DBSYS = SY-DBSYS "R/3 System, Name of Central Database System
* PRID = 0 "Internal table, current line index
FLAG_FIELD = "Field name
TRIG_NAME = "
* SCENARIO = 'PREUPG' "Sscenario (graph) of a conversion
* CNVSCHEMA = ' ' "Starting Schema
IT_DD03P = "DMC: Table type for the field list of a structure
* IT_SPECIFIC_CONDITIONS = "table type for field-content-specific process option assign.
I_PHASE = "phase in which trigger is to be changed from delta to freeze
IMPORTING
E_ERROR_MESSAGE = "SQL Error Message
TABLES
* STATEMENTS = "
EXCEPTIONS
PROGRAM_NOT_GENERATED = 1
IMPORTING Parameters details for IUUC_ADBC_DEL_TRIG_CRE
TRIG_TAB - Table name
Data type: DD02L-TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
I_EXEC_CONDITION - execution subject to condition
Data type: BOOLEANDefault: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SHADOWTAB - Table Name
Data type: TABNAMEOptional: No
Call by Reference: Yes
I_ACTIVE_MT_ID - execution subject to switch
Data type: CHAR3Optional: Yes
Call by Reference: No ( called with pass by value option)
I_DBSYS - R/3 System, Name of Central Database System
Data type: SY-DBSYSDefault: SY-DBSYS
Optional: Yes
Call by Reference: No ( called with pass by value option)
PRID - Internal table, current line index
Data type: SY-TABIXOptional: Yes
Call by Reference: No ( called with pass by value option)
FLAG_FIELD - Field name
Data type: X031L-FIELDNAMEOptional: No
Call by Reference: No ( called with pass by value option)
TRIG_NAME -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SCENARIO - Sscenario (graph) of a conversion
Data type: TICNV-SCENARIODefault: 'PREUPG'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CNVSCHEMA - Starting Schema
Data type: TICNV-SCHEMA1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_DD03P - DMC: Table type for the field list of a structure
Data type: DMC_DD03P_TABOptional: No
Call by Reference: No ( called with pass by value option)
IT_SPECIFIC_CONDITIONS - table type for field-content-specific process option assign.
Data type: ABAPPROGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PHASE - phase in which trigger is to be changed from delta to freeze
Data type: IUUC_FREEZE_PHASEOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for IUUC_ADBC_DEL_TRIG_CRE
E_ERROR_MESSAGE - SQL Error Message
Data type: DBSQLMSGOptional: No
Call by Reference: Yes
TABLES Parameters details for IUUC_ADBC_DEL_TRIG_CRE
STATEMENTS -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
PROGRAM_NOT_GENERATED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for IUUC_ADBC_DEL_TRIG_CRE 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_trig_tab | TYPE DD02L-TABNAME, " | |||
| lt_statements | TYPE STANDARD TABLE OF DD02L, " | |||
| lv_e_error_message | TYPE DBSQLMSG, " | |||
| lv_program_not_generated | TYPE DBSQLMSG, " | |||
| lv_i_exec_condition | TYPE BOOLEAN, " '' | |||
| lv_i_shadowtab | TYPE TABNAME, " | |||
| lv_i_active_mt_id | TYPE CHAR3, " | |||
| lv_i_dbsys | TYPE SY-DBSYS, " SY-DBSYS | |||
| lv_prid | TYPE SY-TABIX, " 0 | |||
| lv_flag_field | TYPE X031L-FIELDNAME, " | |||
| lv_trig_name | TYPE X031L, " | |||
| lv_scenario | TYPE TICNV-SCENARIO, " 'PREUPG' | |||
| lv_cnvschema | TYPE TICNV-SCHEMA1, " ' ' | |||
| lv_it_dd03p | TYPE DMC_DD03P_TAB, " | |||
| lv_it_specific_conditions | TYPE ABAPPROG, " | |||
| lv_i_phase | TYPE IUUC_FREEZE_PHASE. " |
|   CALL FUNCTION 'IUUC_ADBC_DEL_TRIG_CRE' "create delete triggers |
| EXPORTING | ||
| TRIG_TAB | = lv_trig_tab | |
| I_EXEC_CONDITION | = lv_i_exec_condition | |
| I_SHADOWTAB | = lv_i_shadowtab | |
| I_ACTIVE_MT_ID | = lv_i_active_mt_id | |
| I_DBSYS | = lv_i_dbsys | |
| PRID | = lv_prid | |
| FLAG_FIELD | = lv_flag_field | |
| TRIG_NAME | = lv_trig_name | |
| SCENARIO | = lv_scenario | |
| CNVSCHEMA | = lv_cnvschema | |
| IT_DD03P | = lv_it_dd03p | |
| IT_SPECIFIC_CONDITIONS | = lv_it_specific_conditions | |
| I_PHASE | = lv_i_phase | |
| IMPORTING | ||
| E_ERROR_MESSAGE | = lv_e_error_message | |
| TABLES | ||
| STATEMENTS | = lt_statements | |
| EXCEPTIONS | ||
| PROGRAM_NOT_GENERATED = 1 | ||
| . " IUUC_ADBC_DEL_TRIG_CRE | ||
ABAP code using 7.40 inline data declarations to call FM IUUC_ADBC_DEL_TRIG_CRE
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 TABNAME FROM DD02L INTO @DATA(ld_trig_tab). | ||||
| DATA(ld_i_exec_condition) | = ''. | |||
| "SELECT single DBSYS FROM SY INTO @DATA(ld_i_dbsys). | ||||
| DATA(ld_i_dbsys) | = SY-DBSYS. | |||
| "SELECT single TABIX FROM SY INTO @DATA(ld_prid). | ||||
| "SELECT single FIELDNAME FROM X031L INTO @DATA(ld_flag_field). | ||||
| "SELECT single SCENARIO FROM TICNV INTO @DATA(ld_scenario). | ||||
| DATA(ld_scenario) | = 'PREUPG'. | |||
| "SELECT single SCHEMA1 FROM TICNV INTO @DATA(ld_cnvschema). | ||||
| DATA(ld_cnvschema) | = ' '. | |||
Search for further information about these or an SAP related objects