ASSERT_EQUALS_IGNORE_CASE SAP Method Ensure Equality of 2 data Objects
Below is documentation, parameters and attributes of ABAP Method ASSERT_EQUALS_IGNORE_CASE within SAP class CL_ESD_AUNIT_ASSERT. 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 CL_ESD_AUNIT_ASSERT 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 ASSERT_EQUALS_IGNORE_CASE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ASSERT_EQUALS_IGNORE_CASE
.| Name | Type | Data Type | Description | Default Value |
| ACT | Importing | TYPE CSEQUENCE | Data Object with Current Value | |
| EXP | Importing | TYPE CSEQUENCE | Data Object with Expected Type | |
| LEVEL | Importing | TYPE AUNIT_LEVEL | Error Severity | |
| MSG | Importing | TYPE CSEQUENCE | Message in Case of Error | |
| QUIT | Importing | TYPE AUNIT_FLOWCTRL | Flow Control in Case of Error | |
| TOL | Importing | TYPE F | Tolerance Range for Floating Point Numbers | |
| ASSERTION_FAILED | Returning | TYPE ABAP_BOOL | Condition not met |
Exceptions of Method ASSERT_EQUALS_IGNORE_CASE
This method does not have any exceptionsExample ABAP coding
DATA: lv_ACT TYPE CSEQUENCE,
lv_ASSERTION_FAILED TYPE ABAP_BOOL,
lv_EXP TYPE CSEQUENCE,
lv_LEVEL TYPE AUNIT_LEVEL,
lv_MSG TYPE CSEQUENCE,
lv_QUIT TYPE AUNIT_FLOWCTRL,
lv_TOL TYPE F,
lv_other TYPE c.
CALL METHOD CL_ESD_AUNIT_ASSERT=>ASSERT_EQUALS_IGNORE_CASE(
EXPORTING
ACT = lv_ACT
EXP = lv_EXP
LEVEL = lv_LEVEL
MSG = lv_MSG
QUIT = lv_QUIT
TOL = lv_TOL
RECEIVING
ASSERTION_FAILED = lv_ASSERTION_FAILED )
"Alternate coding for Method Call with returning parameter
lv_ASSERTION_FAILED = CL_ESD_AUNIT_ASSERT=>ASSERT_EQUALS_IGNORE_CASE(
EXPORTING
ACT = lv_ACT
EXP = lv_EXP
LEVEL = lv_LEVEL
MSG = lv_MSG
QUIT = lv_QUIT
TOL = lv_TOL ).
Links to Related Class(s)
CL_ESD_A...Full list of available SAP object classes
Search for further information about these or an SAP related objects