cancel
Showing results for 
Search instead for 
Did you mean: 

ASSERTION_FAILED in WDA

Former Member
0 Kudos

Hello,

I have developed a WDAbap (Welcome) program for Portal which is very simple. In this program all I have is Mayo logo picture and text in text field "Welcome to portal".

Then I ran this from EPD and EPQ with no problem. However when we moved it to EPP we are getting short dump "ASSERTION_FAILED". Following is the message we get.

***********************

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.

**********************************

Since it doesn't happen in CRD and CRQ I believe it's could be a system varian as the message says.

Any help is highly appreciated.

Thanks.

Bijay

Accepted Solutions (0)

Answers (2)

Answers (2)

raja_thangamani
Active Contributor
0 Kudos

For more details about ASSERT statment, settings, deactivation etc, please refer below link.

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9090ee61-b6e5-2910-c4b3-bcc55bebea3e">Assert Statement & Setings</a>

<b>*Reward each useful answer</b>

Raja T

Former Member
0 Kudos

Hi Raja,

Thanks for the document. This one looks very good document.

I have assigned you point too.

Thanks.

Bijay

raja_thangamani
Active Contributor
0 Kudos

Looks like there is statement called "ASSERT", in your code

ASSERT logical_expr.

When an ASSERT statement is executed, the logical expression logical_expr is evaluated. If the expression is true, processing continues with next statment. If the expression is false, program execution is <b>aborted</b> by issubg the runtime error <b>ASSERTION_FAILED</b>.

If you want to check some condition use IF & remove this ASSERT statement.

<b>*Reward each useful answer</b>

Raja T

Former Member
0 Kudos

Hi Raja,

I solved my problem immediately after I posted this message. Actually it's not the issue with Program. Our Basis people have turned on Tivoli monitor to check the heartbeat of our CRM system. This dump was created by them it was just strange that my program name was there in the dump. When we restarted system it went away for a while until the monitor was turned back again.

When I generated WDA program using some object it automatically called that Assert logic which I'm not familiar at this point. I'll do some more research on it where and how it's called. For now my problem is solved.

Thanks for your help anyway.

Bijay