2011 Nov 11 10:57 AM
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
Post the fragment of the dump that has the source code.
matt
2011 Nov 11 11:27 AM
2011 Nov 11 11:31 AM
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.
2011 Nov 11 12:35 PM
What kind of ALV is it? ALV Grid Control, old style ALV, SALV, ALV for webdynpro?
2011 Nov 11 12:37 PM
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.
2011 Nov 11 1:05 PM
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
2011 Nov 11 1:27 PM
Hi Kiran,
Thanks for the reply. I have already checked them ...
2011 Nov 11 5:13 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |