I´ve written a report Z1 which executes submit to a report type alv z2 (after loading parameters by screen), and shows the results.
As information is always changing, the user does not want to return to enter the parameters and to again execute the report, but that he wants to select a button (type refresh) and to see the updated data.
Then I´ve defined a function so that when it is chosen, the program executes a SUBMIT of himself (z2), in order to simulate the generation of data again:
SUBMIT z2 WITH kkber IN kkber
WITH sbgrp IN sbgrp
WITH cmngv IN cmngv
WITH knkli IN knkli
The problem is that after choosing 6 times the function then an error message appears:
"the Maxima amount of internal ways has been reached".
I have used this not to again write the generation of data.