Application Development 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: 

ASSERTION_FAILED

Former Member
0 Kudos

Hi,

I am getting ASSERTION_FAILED dump during ALV display. Following is the dump details:

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_DATAPTABLECACHE============CP" or "CL_DATAPTABLECACHE============CM00P"

"TRANSMIT_PACKET"

I am not able to solve this issue.

Could some please let me know the solution.

Regards,

Alok Mehta

7 REPLIES 7

matt
Active Contributor
0 Kudos

Is it a Z program or a SAP program?

Former Member
0 Kudos

Hi,

Yes its a Z program on which I am trying. I am also getting same dump on other program when I scroll the ALV.

matt
Active Contributor
0 Kudos

What kind of ALV is it? ALV Grid Control, old style ALV, SALV, ALV for webdynpro?

Former Member
0 Kudos

Hi,

I am using OOPs alv method set_table_for_first_display.

Following is the code

IF g_cust_cont101 IS INITIAL.

CREATE OBJECT g_cust_cont101

EXPORTING

container_name = 'ALV101'.

CREATE OBJECT alv101

EXPORTING

i_parent = g_cust_cont101.

ENDIF.

CALL METHOD alv101->set_table_for_first_display

EXPORTING

  • is_variant = gs_variant

is_layout = gs_layout

CHANGING

it_outtab = gt_zdms_queue

it_fieldcatalog = gt_fieldcat.

0 Kudos

Hi,

I believe it might be the Fieldcatalog issue. Check your field catalog whether col_pos and field names are correctly entered.

Thanks & Regards,

Kiran

Former Member
0 Kudos

Hi Kiran,

Thanks for the reply. I have already checked them ...

matt
Active Contributor
0 Kudos

Post the fragment of the dump that has the source code.

matt