Skip to Content
0
Former Member
Jun 17, 2009 at 06:18 AM

Dump when doing Table sort.

30 Views

Hi Experts,

Does anyone has an idea on this:

I have applied Sort on a table. but if I click on the particalr col for the sor it goes to dump.

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.

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_TABLE_METHOD_HNDL======CP" or "CL_WDR_TABLE_METHOD_HNDL======CM00I"

"IF_WD_TABLE_METHOD_HNDL~MAKE_ELEMENT_VISIBLE"

If you cannot solve the problem yourself and want to send an error

notification to SAP, include the following information:

1. The description of the current problem (short dump)

To save the description, choose "System->List->Save->Local File

(Unconverted)".

2. Corresponding system log

if m_wd_table->get_first_visible_row( ) <> 0.

m_wd_table->set_first_visible_row( 0 ).

endif.

return.

ndif.

source Code:

rowarrangement = get_row_arrangement( ).

f l_row_arrangement is not bound.

" Flat table -> easy

l_row = l_element->get_index( ).

l_bottom_row = l_row.

l_row_count = m_wd_table->get_row_count( ).

if l_row_count = -1.

l_row_count = l_data_source->get_element_count( ).

endif.

lse.

get_table_data(

exporting

data_source = l_data_source

importing

row_datas = l_row_datas

row_count = l_row_count

).

read table l_row_datas into l_row_data

with key

context_element = l_element.

" Assert element visible?

**assert sy-subrc = 0.**

" bottom row: The row of the last children of the "row"

l_row = sy-tabix.