Trigger Second Page
I have two defined page formats for a Script namely
The second page format is a new addition to this script.
The first page generally prints everything and has it's Next page as FIRSTPAGE and it has to be so, so that the existing pages print correctly...
I already see a NEW-PAGE command in FIRSTPAGE script line which trigger Main Window of FIRSTPAGE...
Now after the end of the printing of FIRSTPAGE how do I trigger SECONDPAGE... Is there any command line for this purpose
Let me know...
call function 'CONTROL_FORM' exporting command = 'NEW-PAGE SECOND' exceptions unopened = 1 unstarted = 2. if sy-subrc ne 0. message 'COMMAND CANNOT BE EXECUTED' type 'I'. endif.