on 10-29-2007 1:04 PM
Hi Experts,
My doubt is i have 15 records , i want print 10 records per page , So in first i printed 10 records and second page i want print remaining 5 records and following 5 records as blank records, how can i achieve this, helpful answers are going award,
thanks.
You can acheive this by placing a templet inside your loop, also place a command for triggering the next page if first page is filled with 10 records... don't forget to tick the check box in command goto next page and give the next page attribute and place your condition in output options of your command(i.e if > 10).
Note: in smartform templets helps us to print blank spaces or records.
go through this link, it helps you in creating templets...
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985">Sample</a>
Close the thread once your question is answered.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
in the code you have to handle this
first read the Internal table records into a variable
absed on that variable value fire the new page command
IF V_VAR > 10.
NEW-PAGE.
ENDIF.
Regards
anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.