Skip to Content
0
Oct 21, 2020 at 04:39 PM

Getting Dump "ASSERTION_FAILED " when executing ABAP unit with Coverage

1350 Views

Hi Experts,

I am Getting Dump "ASSERTION_FAILED " when executing ABAP unit with Coverage, my program calls cl_abap_unit_assert=>assert_equals method.

Dump details:

Category : ABAP programming error

Runtime Errors : ASSERTION_FAILED

ABAP Program: CL_SCV_MD_PROVIDER============CP

Application Component: BC-DWB-TOO-COV

Short Text :The ASSERT condition was violated.

What happened?

The current application program has detected a situation with the ASSERT statement that should not occur. The reason for this runtime error was one of the following: - For the checkpoint group specified with the ASSERT statement, the activation mode is "abort". - A system variant has been used to set the activation mode to "abort" globally for all checkpoint groups in this system. - The activation mode is set to "abort" at program level. - The ASSERT statement is not assigned to any checkpoint groups.

Error analysis

The following checkpoint group was used: No checkpoint group specified If the FIELDS addition was used in the ASSERT statement, you can find the content of the first 8 fields specified in the following overview: (not used) (not used) (not used) (not used) (not used) (not used) (not used) " (not used) "

I also understand some thing we need to do with Check point group activation for ASSERT statement. but not sure how to do that.Also please note that my SAP system is recently configured. Kindly assist.

Thanks,

Sankar