If it is a little extra you need in your report, you could simply use the WRITE
lists in a popup. From a report, a module pool, from ALV, from anywhere you like.
Before starting the first WRITE
statement, set a window with
WINDOW STARTING AT x1 y1 ENDING AT x2 y2. * WITH FRAME TITLE 'Johnny'. "< doesn't work anymore...
Then produce the (sub) report output and it is presented in a popup which already shows a close/back/quit option.
How can the report data (lines) of a sub-report be read (READ LINE
) and modified (MODIFY LINE
) ? There is an option INDEX n
which indicates the intermediate list is being dealt with by the statement, for example:
READ CURRENT LINE INDEX 1.
Another menu status can (optional) be activated as well for a second report with SET PF-STATUS ....
An incidental circumstance: When the new report is closed with F3 the last-but-one menu will automatically be activated.