on 09-12-2007 1:12 PM
Hi,
I am passing range of invoice numbers using select options from driver program.I have to get form(one per page) for each invoice number.ie form for first invoice number should be displayed in first page.form for 2nd invoice number should be displayed in 2nd page and so on..if i select 3 invoice numbers in select options i should get 3 forms in 3 pages..how to do this?if anybody knows kindly help me.
Thanks in advance.
kavitha
Hi,
Loop at the itab at the start of the all the windows.
Regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It depends on how you would like to see the output
If you also want to see them in print preview that way then
You will have to create a loop in main window of yopur page
The loop should contain all the logic for 1 invoice.
At the end of each loop iteration place a command node to break to a new page
Another way of doing this is trapping all the individual smartform outputs in one spool request. But u will have problems with print preview i think.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
here are the steps:
1) Create a Internal tabel inside Smartforms (SF) which will contain the Invoice numbers.
2) Pass all the Invoice numbers from the range to the Internal Table
3) Loop at the internal table
4) In the Loop pass the Invoice number in begin of Sort and end of Sort.
5) at the Begin of Sort Print all the data for the Invoice
6) At end of Sort Give a command to go to Next Page.
Hope That helps
Anirban M.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.