WD ABAP ALV: Selections are lost

[] [] [] []

  1. WD ABAP ALV selections in ALV are incorrectSymptom In a Web Dynpro ABAP ALV list, selections are displayed incorrectly: The system should not display any selections. The system displays a selection in the user interface that differs from the...
  2. WD ABAP ALV: first_visible_scroll_col not resetSymptom Beim Umschalten aus einer Sicht “A”, in der die Anzahl der angezeigten Spalten explizit begrenzt wurde, auf eine Sicht “B” (bspw. die [Standardsicht]), in der die angezeigten Spalten auf “Alle” konfiguriert...
  3. WD ABAP ALV: Internal improvements (change logs)Symptom This note concerns internal improvements: Change log classes on new interfaces have been adjusted. Other terms Web Dynpro ABAP ALV Reason and Prerequisites This problem is caused by a program error....
  4. WD ABAP ALV Values displayed in empty cells after “Enter”Symptom In a WD ABAP ALV list, you enter initial values in an editable column and then you enter valid values. You then choose “Enter”. The initial values contain the value of...
  5. WD ABAP ALV error messages in filter row disappearSymptom You activate the filter row in a Web Dynpro ABAP ALV list. You enter an invalid entry in the filter row for a column. The system issues an error message. The...
  6. WD ABAP ALV CheckMan in IF_SALV_BS_MODEL_COLUMNSymptom There is a CheckMan message in the interface IF_SALV_BS_MODEL_COLUMN. Other terms Web Dynpro ABAP ALVIF_SALV_BS_MODEL_COLUMN GET_POSITION Reason and Prerequisites This problem is caused by a program error. Solution SAP NetWeaver 6.40...
  7. WD ABAP ALV: Toolbar contains redundant separatorsSymptom In a Web Dynpro ABAP ALV list, the system displays redundant separators in the ALV toolbar. The system displays a separator as the first toolbar element. Other terms Web Dynpro ABAP...
  8. WD ABAP ALV: SALV_WD_TABLE_INDEX incorrect after sortingSymptom In a Web Dynpro ABAP ALV list, you use the internal key SALV_WD_TABLE_INDEX. After you sort the ALV list, information such as attribute properties, null cells, and selections is no longer...

Symptom

In a Web Dynpro ABAP ALV list, you select more than one row. You select the rows from bottom to top (row 5, 4, 3). The system retains only the first selection (row 5); all other selections are lost.
In a Web Dynpro ABAP ALV list, the system should display several messages referring to a line. The system displays only one message for the line.
Other terms
Web Dynpro ABAP ALVSelections, multiple selectionsMessages, messages are lostCL_SALV_WD_C_TABLE_V_TABLE, MAP_TO_RESULT_ROWReason and Prerequisites

This problem is caused by a program error.
When the system copies the selections from the ALV context node to the result controller, it calls the method me->if_salv_wd_comp_table_data_map~map_to_result_row. Here, you assume that the sequence of selections is sorted. Since this is not the case, the system cannot determine the result row correctly and it returns initial rows.
The data controller sorts the selections and inserts them in the table attribute and always ensures that the sequence of the selections is sorted.
If the messages are mapped to the result controller, the system skips the mapping position that was last processed. For this reason, the system cannot map the line.
Solution
SAP NetWeaver 6.40
Import Basis Support Package 25.SAP NetWeaver 7.00
Import Basis Support Package 20.SAP NetWeaver 7.01
Import Basis Support Package 5.SAP NetWeaver 7.02
Import Basis Support Package 2.SAP NetWeaver 7.10
Import Basis Support Package 9.SAP NetWeaver 7.11
Import Basis Support Package 3.

Exception:
Certain applications, for example, SRM 6.0 Support Package 02 (Note 1048612), require a certain SAP NetWeaver Support Package. You must check for these prerequisites before you import the specified SAP NetWeaver Support Package.

In urgent cases, you can implement the correction instructions as an advance correction.
Before you do this, see Note 875986 for information about transaction SNOTE.
Before you implement the advance correction (if it is available and you want to implement it), see Note 875986. It contains current corrections that refer to the SAP Note Assistant and prevent problems during an import. After you implement the composite SAP Note, you must call transaction SNOTE again.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment