ABAP Types N, D and T in the COMPUTE EXACT statement

[] [] [] []

  1. 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...
  2. 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....
  3. WD ABAP ALV: Selections are lostSymptom 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...
  4. WD ABAP ALV: Cell variant configuration and exportSymptom You configure a Web Dynpro ABAP ALV list and use cell variants for one or several columns. When you export to Excel, the system does not display the information that is...
  5. WD ABAP ALV Einstellungsdialog Eingaben nicht validiertSymptom Im WD ABAP ALV Einstellungsdialog werden Benutzereingaben nicht immer korrekt validiert. Zum Beispiel die Benutzereingabe “Angezeigte Zeilen” im Tabreiter “Darstellung” wird nicht validiert, wenn man ohne ENTER zu bet鋞igen auf einen...
  6. 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...
  7. 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...
  8. WD ABAP ALV WD context change log contains duplicate entriesSymptom You transfer an ABAP Dictionary (DDIC) input help (F4) value to the SAP List Viewer (ALV) table. Afterwards, a duplicate entry is displayed in the Web Dynpro context change log. Other...

Symptom

The statement COMPUTE EXACT allows operands of the types N, D and T at runtime although there is a syntax error if the operand types are known at compile time.

Reason and Prerequisites

The symptom can only occur if a NetWeaver 7.20 Kernel is used in a system that is of NetWeaver Release 7.10 or 7.11. (At the time of writing this, the NetWeaver 7.20 Kernel has not yet been released as a downward-compatible kernel for the NetWeaver Releases 7.10 and 7.11.)
In the NetWeaver Releases 7.10 and 7.11, the statement COMPUTE EXACT does not support operands of the types N, D and T. This is checked both at compile time and at runtime. The runtime check was missing in early 7.20 Kernels.
Solution

Use the NetWeaver 7.20 Kernel Patch specified in this note.

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

Leave a Comment