SAP IUUC_DEL_CRE_ADBC_TRIGGER Function Module for delete and create triggers (ADBC, MAX DB)









IUUC_DEL_CRE_ADBC_TRIGGER is a standard iuuc del cre adbc trigger SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for delete and create triggers (ADBC, MAX DB) 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 del cre adbc trigger FM, simply by entering the name IUUC_DEL_CRE_ADBC_TRIGGER 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): Remote-Enabled
Update:



Function IUUC_DEL_CRE_ADBC_TRIGGER 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_DEL_CRE_ADBC_TRIGGER'"delete and create triggers (ADBC, MAX DB)
EXPORTING
I_TABNAME = "name of original table
* 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
I_SHADOWTAB = "name of logging table
I_TABCLASS = "Table category
I_PROCESS_OPTION_NEW = "new process option
I_PROCESS_OPTION_OLD = "old process option
* I_SCENARIO = 'GBSL' "to distinghish IUUC and GBSL
* I_DATA_IN_LOGTAB = "data fields are included in logging table
* I_CONNECTION_NAME = 'R/3*' "Logical name for a database connection
* I_TRIGGER_STATE = 0 "trigger state (initial, created, activated, deactivated)

IMPORTING
E_RC = "Return Value, Return Value After ABAP Statements
ET_STATEMENTS = "Table Type for ABAP Programs
ET_ERROR = "SAPscript Smart Forms: Display table line (contents)
E_ERROR_MESSAGE = "SQL Error Message
.



IMPORTING Parameters details for IUUC_DEL_CRE_ADBC_TRIGGER

I_TABNAME - name of original table

Data type: TABNAME
Optional: 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: ABAPPROG
Optional: 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_PHASE
Optional: No
Call by Reference: No ( called with pass by value option)

I_SHADOWTAB - name of logging table

Data type: TABNAME
Optional: No
Call by Reference: No ( called with pass by value option)

I_TABCLASS - Table category

Data type: TABCLASS
Optional: No
Call by Reference: No ( called with pass by value option)

I_PROCESS_OPTION_NEW - new process option

Data type: NUM1
Optional: No
Call by Reference: No ( called with pass by value option)

I_PROCESS_OPTION_OLD - old process option

Data type: NUM1
Optional: No
Call by Reference: No ( called with pass by value option)

I_SCENARIO - to distinghish IUUC and GBSL

Data type: CHAR4
Default: 'GBSL'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DATA_IN_LOGTAB - data fields are included in logging table

Data type: BOOLEAN
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CONNECTION_NAME - Logical name for a database connection

Data type: DBCON_NAME
Default: 'R/3*'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TRIGGER_STATE - trigger state (initial, created, activated, deactivated)

Data type: IUUC_TRIGGER_STATE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for IUUC_DEL_CRE_ADBC_TRIGGER

E_RC - Return Value, Return Value After ABAP Statements

Data type: SYSUBRC
Optional: No
Call by Reference: No ( called with pass by value option)

ET_STATEMENTS - Table Type for ABAP Programs

Data type: ABAPPROG
Optional: No
Call by Reference: No ( called with pass by value option)

ET_ERROR - SAPscript Smart Forms: Display table line (contents)

Data type: TSFOTABL
Optional: No
Call by Reference: No ( called with pass by value option)

E_ERROR_MESSAGE - SQL Error Message

Data type: DBSQLMSG
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for IUUC_DEL_CRE_ADBC_TRIGGER 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_rc  TYPE SYSUBRC, "   
lv_i_tabname  TYPE TABNAME, "   
lv_it_specific_conditions  TYPE ABAPPROG, "   
lv_i_phase  TYPE IUUC_FREEZE_PHASE, "   
lv_i_shadowtab  TYPE TABNAME, "   
lv_et_statements  TYPE ABAPPROG, "   
lv_et_error  TYPE TSFOTABL, "   
lv_i_tabclass  TYPE TABCLASS, "   
lv_e_error_message  TYPE DBSQLMSG, "   
lv_i_process_option_new  TYPE NUM1, "   
lv_i_process_option_old  TYPE NUM1, "   
lv_i_scenario  TYPE CHAR4, "   'GBSL'
lv_i_data_in_logtab  TYPE BOOLEAN, "   
lv_i_connection_name  TYPE DBCON_NAME, "   'R/3*'
lv_i_trigger_state  TYPE IUUC_TRIGGER_STATE. "   0

  CALL FUNCTION 'IUUC_DEL_CRE_ADBC_TRIGGER'  "delete and create triggers (ADBC, MAX DB)
    EXPORTING
         I_TABNAME = lv_i_tabname
         IT_SPECIFIC_CONDITIONS = lv_it_specific_conditions
         I_PHASE = lv_i_phase
         I_SHADOWTAB = lv_i_shadowtab
         I_TABCLASS = lv_i_tabclass
         I_PROCESS_OPTION_NEW = lv_i_process_option_new
         I_PROCESS_OPTION_OLD = lv_i_process_option_old
         I_SCENARIO = lv_i_scenario
         I_DATA_IN_LOGTAB = lv_i_data_in_logtab
         I_CONNECTION_NAME = lv_i_connection_name
         I_TRIGGER_STATE = lv_i_trigger_state
    IMPORTING
         E_RC = lv_e_rc
         ET_STATEMENTS = lv_et_statements
         ET_ERROR = lv_et_error
         E_ERROR_MESSAGE = lv_e_error_message
. " IUUC_DEL_CRE_ADBC_TRIGGER




ABAP code using 7.40 inline data declarations to call FM IUUC_DEL_CRE_ADBC_TRIGGER

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_scenario) = 'GBSL'.
 
 
DATA(ld_i_connection_name) = 'R/3*'.
 
 


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!