cancel
Showing results for 
Search instead for 
Did you mean: 

The ASSERT condition was violated.

santhosh_85
Explorer
0 Kudos

How to correct this.

Short text |

The ASSERT condition was violated.

-


-


What happened?

In the running application program, the ASSERT statement recognized a

situation that should not have occurred.

The runtime error was triggered for one of these reasons:

- For the checkpoint group specified with the ASSERT statement, the

activation mode is set to "abort".

- Via a system variant, the activation mode is globally set to "abort"

for checkpoint groups in this system.

- The activation mode is set to "abort" on program level.

| - The ASSERT statement is not assigned to any checkpoint group.

-


Error analysis

The following checkpoint group was used: "No checkpoint group specified"

If in the ASSERT statement the addition FIELDS was used, you can find

the content of the first 8 specified fields in the following overview:

" (not used) "

" (not used) "

" (not used) "

" (not used) "

" (not used) "

" (not used) "

" (not used) "

" (not used) "

-


-


How to correct the error

Probably the only way to eliminate the error is to correct the program.

-

If the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following

keywords:

"ASSERTION_FAILED" " "

"CL_WDR_VIEW_ELEMENT_ADAPTER===CP" or "CL_WDR_VIEW_ELEMENT_ADAPTER===CM01M"

"DISPATCH_EVENT"

|

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

What is your requirement exactly?? and where you are getting error?

Check in ST22.. you will find.

Can you paste your code?

Cheers,

Kris.

santhosh_85
Explorer
0 Kudos

when i generate a WD report if data is less its working fine both in development and production serve.But if data is more the in production system alone short dump is appearing .

as u asked Source extract

-


Information on where terminated

Termination occurred in the ABAP program "CL_WDR_VIEW_ELEMENT_ADAPTER===CP" -

in "DISPATCH_EVENT".

The main program was "SAPMHTTP ".

In the source code you have the termination point in line 5

of the (Include) program "CL_WDR_VIEW_ELEMENT_ADAPTER===CM01M".

-


-


Source Code Extract

-


Line

SourceCde

-


1

method dispatch_event.

2

data l_event_handler type ref to if_wdr_adapter_event_handler.

3

4

l_event_handler = get_event_handler( i_event_handler_id ).

>>>>>

assert l_event_handler is bound.

6

7

raise event on_handle_event

8

exporting

9

event_handler = l_event_handler

10

event_name = i_event_name.

11

12

l_event_handler->handle_event(

13

i_event_handler_id = i_event_handler_id

14

i_event_name = i_event_name

15

i_event_param_1 = i_event_param_1

16

i_event_param_2 = i_event_param_2

17

i_event_param_3 = i_event_param_3

18

i_event_param_4 = i_event_param_4

19

i_event_param_5 = i_event_param_5

20

i_update_data = i_update_data

21

i_event_queue = i_event_queue

22

).

23

endmethod.

-