I got a function which is just a simple SELECT from a table. I have a screen with a button. I want to call the function and write out the result table on the screen when the button is activated. I do not get any error, just nothing happens, what's wrong?
CASE ok_code.
WHEN 'SELECTALL'.
CALL FUNCTION 'ZRL_ZH12FU_MONUMENTALL'
TABLES
MONUMENTLIST = monumentresult.
LOOP AT monumentresult INTO monumentresultline.
WRITE: / monumentresultline-monumentid,
monumentresultline-monumenttitle,
monumentresultline-theatre,
monumentresultline-year,
monumentresultline-part,
monumentresultline-picture.
ENDLOOP.
WHEN 'SELECT'.
...