larshp / abapOpenChecks

Open source checks for SAP Code Inspector / ABAP Test Cockpit
https://docs.abapopenchecks.org
MIT License
270 stars 79 forks source link

Check 59: Short dump due to INITIAL ref in MT_CHILDREN #1055

Closed kjetil-kilhavn closed 3 years ago

kjetil-kilhavn commented 3 years ago

The statement which fails on the form: IF ( struc-comp1 = var1 AND struc-comp2 => var2 ) OR struc-comp3 > var3.

I am trying to figure out why it fails, but first I need to understand better how the check code works.

kjetil-kilhavn commented 3 years ago

Found the problem. The problem is in our source code of course ;-) However, the checks can be made more robust so that it handles '=>' as well as '>='.

There are two problems - they are probably related, but I will propose to implement code changes for them separately to increase the robustness of the code as well as detect this type of problem early on.