The below was recovered from web.archive.orgI’ve been doing quite a few upgrades recently. Here are a few tips.1. Reset to original where possible.Use version management to see if you can reset to original. This is should always be preferred over acc...
A Rant
I've been working my way through the excellent opensap.com course, Building Apps with the ABAP RESTful Application Programming Model, when I came across the most egregious anti-pattern built into the very fabric of RAP.
(Fun fact, egregious u...
New install of Eclipse Version: 2023-09 (4.29.0) Build id: 20230907-1323 and ADT 3.36.2. Using JRE SAPMachine 21.
I can create objects in $TMP, but can't create anything in a package. I get the message:
java.lang.reflect.InvocationTargetException...
Check the activity? ACTVT is typically 01 for create, 02 for change and 03 for display.But it's arbitrary - any field could be used, and any value, since it's mostly handled via an ABAP statement checking for a particular field/value.
As Sandra referenced the style guide, I'd also add that prefixes such as lv_ are discouraged. Just use meaningful names as in all strongly typed programming languages.
Given as how SAP are determined to disallow this, I think it's unstable to rely on the workarounds - although they are fun - in a production environment. Use CL_GUI_ALV_TABLE instead. It's really not that difficult and rather more stable across relea...
I've only ever had problems when I've upgraded Eclipse. In those cases, I just do a clean re-install. You might also check you've got the latest JDK - I recommend SAP Machine (currently release 21).