2009 Oct 11 8:33 PM
Hi All,
I am developing the SAPscript , there are total 48 records are available,Now its displaying around 43 records in Main window but I wanted to restrict the MAIN window for only 30 records and the remaining records should print in the NEXT window, please help me out,
Thanks in advance,
Mounesh
Hi All,
I am developing the SAPscript , there are total 48 records are available,Now its displaying around 43 records in Main window but I wanted to restrict the MAIN window for only 30 records and the remaining records should print in the NEXT window, please help me out,
Thanks in advance,
Mounesh
2009 Oct 12 1:40 AM
Hi,
Inside the MAIN window, you can put an explicit NEW-PAGE for a given condition. Or you can play around with the height of your window until it goes to the next page after 30 records.
Hope it helps...
2009 Oct 12 4:32 AM
Hi Mounesh,
Try this way in the driver program explicitly.
Thanks
Venkat.O
LOOP AT itab.
lv_count = lv_count + 1.
CALL FUNCTION 'WRITE_FORM' " THis is used to print data in the form.
IF lv_count EQ 25.
CALL FUNCTION 'CONTROL_FORM' " start on new page
EXPORTING
command = 'NEW-PAGE'.
CLEAR lv_count.
ENDIF.
ENDLOOP.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |