larshp / upDOWNci

Upload and download SAP Code Inspector variants in XML format - ABAP
MIT License
27 stars 12 forks source link

Is not supporting checks from "code pal for ABAP" #19

Closed larsip closed 3 years ago

larsip commented 3 years ago

Have exported a ATC variant containing "code pal for ABAP (open source plugin)" - "CALL METHOD Usage". Program ZUPDOWNCI is dumping because the tool is not supporting that the test class is not implementing method PUT_ATTRIBUTES directly in the class. Class Y_CHECK_CALL_METHOD_USAGE method PUT_ATTRIBUTES is inherit from superclass Y_CHECK_BASE.

larshp commented 3 years ago

hmm, yea, thanks

probably need some workaround, pull requests welcome

larsip commented 3 years ago

I have investigated what is wrong and can see that it is not the inherence that is the issue. The reason why it don't work for checks from "code pal for ABAP (open source plugin)", is that in method PUT_ATTRIBUTES instead for just importing data into attributes of the ATC test class, the data is imported into a structure and the structure is appended to attribute table CHECK_CONFIGURATIONS. And then the logic about generation of dynamic structures and exporting the data in the XML structure is not working.

larshp commented 3 years ago

closing, this is fixed in #20