on 09-18-2007 8:28 AM
hi all ,
i have a problem in my voucher printing form, actually when i give single voucher in my selection criteria it displays the content of that voucher number but when i give the range say 100 to 110 it still gives the line item corresponding to the voucher range but i want it to display seperately in each page ,say in my first page starts with voucher no. 100 and the contents of 100 and similarly for 101 in next page it shpuld break the page when ever a new voucher number is found and it should display the content of it in that page. can anybody help me out on this.
this can be done by modifying your print program, Try to use control break-statements
EX:
LOOP AT <itab>
At new <voucher number >
CALL FUNCTION 'CONTROL_FORM'
EXPORTING'
COMMAND = 'NEW-PAGE' .
ENDIF.
CALL FUNCTION 'WRITE_FORM'
Regards,
Sairam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.