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 directly

The 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

.

NameTypeData TypeDescriptionDefault Value
ACTImportingTYPE
CSEQUENCE
Data Object with Current Value
EXPImportingTYPE
CSEQUENCE
Data Object with Expected Type
LEVELImportingTYPE
AUNIT_LEVEL
Error Severity
MSGImportingTYPE
CSEQUENCE
Message in Case of Error
QUITImportingTYPE
AUNIT_FLOWCTRL
Flow Control in Case of Error
TOLImportingTYPE
F
Tolerance Range for Floating Point Numbers
ASSERTION_FAILEDReturningTYPE
ABAP_BOOL
Condition not met



Exceptions of Method ASSERT_EQUALS_IGNORE_CASE

This method does not have any exceptions

Example 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



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!