DATABASE_INDEX_EXISTS SAP Method Check if ddic database index exists
Below is documentation, parameters and attributes of ABAP Method DATABASE_INDEX_EXISTS within SAP class /BOBF/CL_CONF_TOOLBOX. 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 /BOBF/CL_CONF_TOOLBOX 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 DATABASE_INDEX_EXISTS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method DATABASE_INDEX_EXISTS
.| Name | Type | Data Type | Description | Default Value |
| IV_ID | Importing | TYPE DDOBJECTID | Additonal ID of an ABAP Dictionary object (MC ID, index) | |
| IV_NAME | Importing | TYPE DDOBJNAME | Name of ABAP Dictionary Object | |
| IV_STATE | Importing | TYPE DDOBJSTATE | Status of Objects | |
| EV_EXISTS | Exporting | TYPE BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') |
Exceptions of Method DATABASE_INDEX_EXISTS
This method does not have any exceptionsExample ABAP coding
DATA: lv_EV_EXISTS TYPE BOOLE_D,
lv_IV_ID TYPE DDOBJECTID,
lv_IV_NAME TYPE DDOBJNAME,
lv_IV_STATE TYPE DDOBJSTATE,
lv_other TYPE c.
CALL METHOD /BOBF/CL_CONF_TOOLBOX=>DATABASE_INDEX_EXISTS(
EXPORTING
IV_ID = lv_IV_ID
IV_NAME = lv_IV_NAME
IV_STATE = lv_IV_STATE
IMPORTING
EV_EXISTS = lv_EV_EXISTS ).
Links to Related Class(s)
/BOBF/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects