Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Getting Dump "ASSERTION_FAILED " when executing ABAP unit with Coverage

Former Member
3,354

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

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

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,998

Please post the full short dump as text file because the first few lines are not sufficient to analyze the cause.