I have a module pool that is designed to allow users to input budget data. As part of the functionality of these screens, there is a button that the user can click to review the data that he just input. This data is being displayed via ALV grid.
In the ALV grid, I have a hot-key defined to take the user back to a specific point in the module pool, editing the data that was clicked on from the ALV grid.
The problem is that I am getting "Maximum Internal Sessions" error. I understand why, but cannot figure out a resolution.
From the module pool, I am doing a SUBMIT ALVPROGRAM. (with no return).
From the ALV Grid program, I am doing a CALL TRANSACTION. (to get back into my module pool at a specific point.).
Is there a way to cancel or exit an internal session so that I do not leave all of these 'orphaned' sessions after I return from the ALV Grid program?