Endless loop while redefining "display"
Closed this issue · 2 comments
xczar0 commented
When you redefine "Display" method and inside of this method access "super->Display" FALV will jump into "endless loop execution".
Example below:
CLASS ZCL_TEST_FALV definition
public
inheriting from ZCL_FALV
final.
public section.
methods: DISPLAY redefinition.
ENDCLASS.
"Implementation:
CLASS ZCL_TEST_FALV IMPLEMENTATION.
METHOD DISPLAY.
raise event event_handler_set.
super->DISPLAY( ).
ENDMETHOD.
ENDCLASS.
fidley commented
Display method calls itself recoursively, that's why it should be final. I will change the method definition.
fidley commented
display method set as final.