on 04-15-2010 5:16 PM
Hi SDNer,
Suppose a table contain Studet info like the following one:
ID Name Sub1 Sub2 Sub3
1 xxx sb11 sb12 sb13
2 yyy sb21 sb22 sb23
3 zzz sb31 sb32 sb33
Think that the smartform contain only a single page(Suppose smartform of student result).In the Selection screen User can put the range of ID.When User put 1-3 the smartform print 3 pages---1st for the student with id 1,2nd for student with id 2 and 3rd for student with id 3.when user put the input 1-2 the smartform print 2 pages.I need your help to accomplish such a scenario.
Thanks in advance.
Regards,
Sarbajit.
Hi,
As per user's selection criteria you need fetch data in your driver program and need to store it in an internal table. The same internal table you need to pass to smartform. to handle your requirement of displaying one student record per page you need to use COMMAND node (with some condition). Using this you can force your smartform for page-break.
I hope this will help you to start and explore further.
Regards,
Sambaran Ray
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If in the selection screen range 1-3 is given, Internal table with three records will be passed to Smartforms
Use a command node to insert a dynamic page break within a main window with codition &SFSY-PAGE& NOT EQUAL TO total number of lineitmes in the internal table to go to the next page.
Thanks,
Jeyabalasubramanian.J
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.