CHECK_DRULE_BEFORE_SAVE SAP Method Einträge vor Sichern der Zuordnungen prüfen (Regelart DRULE)
Below is documentation, parameters and attributes of ABAP Method CHECK_DRULE_BEFORE_SAVE within SAP class IF_EX_BADI_GMDERIVE. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_EX_BADI_GMDERIVE into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method CHECK_DRULE_BEFORE_SAVE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_DRULE_BEFORE_SAVE
.| Name | Type | Data Type | Description | Default Value |
| I_ENV | Importing | TYPE ABADR_ENV | Environment ID | |
| I_STEPID | Importing | TYPE ABADRSTEPID | Step rule definition | |
| I_TABLENAME | Importing | TYPE ABADRPARAM | Table Name | |
| I_TAB_DELETED_ENTRIES | Importing | TYPE ABADR_TAB_RULE_ENTRIES | Entries to be deleted | |
| I_TAB_NEW_ENTRIES | Importing | TYPE ABADR_TAB_RULE_ENTRIES | Entries to be inserted | |
| E_REJECT | Changing | TYPE ABADR_FLAG | Reject indicator | |
| E_USE_CHANGEDOC | Changing | TYPE ABADR_FLAG | Indicate whether to record change history for updates |
Exceptions of Method CHECK_DRULE_BEFORE_SAVE
This method does not have any exceptionsExample ABAP coding
DATA: lv_E_REJECT TYPE ABADR_FLAG,
lv_E_USE_CHANGEDOC TYPE ABADR_FLAG,
lv_I_ENV TYPE ABADR_ENV,
lv_I_STEPID TYPE ABADRSTEPID,
lv_I_TABLENAME TYPE ABADRPARAM,
lv_I_TAB_DELETED_ENTRIES TYPE ABADR_TAB_RULE_ENTRIES,
lv_I_TAB_NEW_ENTRIES TYPE ABADR_TAB_RULE_ENTRIES,
lv_other TYPE c.
CALL METHOD IF_EX_BADI_GMDERIVE=>CHECK_DRULE_BEFORE_SAVE(
EXPORTING
I_ENV = lv_I_ENV
I_STEPID = lv_I_STEPID
I_TABLENAME = lv_I_TABLENAME
I_TAB_DELETED_ENTRIES = lv_I_TAB_DELETED_ENTRIES
I_TAB_NEW_ENTRIES = lv_I_TAB_NEW_ENTRIES
CHANGING
E_REJECT = lv_E_REJECT
E_USE_CHANGEDOC = lv_E_USE_CHANGEDOC ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects