2014 Apr 11 5:48 PM
We have a custom clone of a bank check form. We have a requirement, when on a certain condition(
How do we suppress the printing of NEXT page ?
2014 Apr 11 6:20 PM
One of the simplest things you can do is to calculate how many lines you have already printed to main and block all main calls after your max is reached.
Neal
2014 Apr 12 3:24 PM
Hi Shareen,
You can do as below :
In the very first window that is called , you can set a flag depicting the status of Payment Method supplement ,like
if PAYM_METH_SUPPL = 'F',
then make GV_FLAG = 'X' .
now in MAIN window , make it like as below :-
if GV_FLAG ne 'X'.
......
contents..
.......
else.
if &page& < 2.
.....
same contents...
.....
endif.
endif.
hope it will be useful
2014 Apr 12 7:45 PM
Shareen
I believe you can suppress this stuff via your driver program...only write data on first page....and check if limit of main window has reached just exit from the loop so that next page does not print
Nabheet