on 09-01-2009 10:41 AM
Hi All,
I am working on Smartforms and have few queries:
1. Can we control the generation of the invoices at the form level? In my example, through the driver program I am passing all the tables at one go and not in a 'loop'. Now I want to control that after the generation of invoice for 1st customer, the form should start generating the invoice for the next customer.
say, for customer 1, there were 10pages generated. On completion of this, it should start with the next customer.
2. Can the tables inside the smartforms be controlled dynamically?
Scenario:
a) The data which i am getting in the table:
Carrier Line Flight date Departure Price
LH 407 2/9/2009 11:00:00 768 USD
LH 407 12/9/2009 11:00:00 768 USD
LH 407 21/9/2009 11:00:00 768 USD
The output required:
Carrier Line Flight date Departure Price
LH 407 2/9/2009 11:00:00 768 USD
407 12/9/2009 11:00:00 768 USD
407 21/9/2009 11:00:00 768 USD
If there are multiple records for the same carrier, the rows should be mergedfor that particular column.
Kindly suggest what should be done?
Warm Regards
Amit
Hi,
Skeptical abt the 1st --may not be possible.
The 2nd Scenario is possible in smartforms.Sort the internal table before print, then compare the value with the pervious record and print.
Regard,
Aditya
Edited by: aditya on Sep 1, 2009 3:22 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Any opinions on this...?
Regards
s.a.k
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you come again on my concern...
for customer 1, there were 10pages generated. On completion of this, it should start with the next customer.
Means you want to generate different spools for each customer..or else...?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkat,
What I meant was that after generating invoice for the first cutomer, without going back to the driver program, it should start generating invoice for the next customer.
For example, there are ten customers. Through the driver program I have passed all the required data to the smartform at one go and not in a Loop(i am not calling the smartform separetly for each customer). Now the control comes to the smartform and it starts the processing for the first customer and generated around 10 pages. Now, for the second customer, it should refer back to the first page and start the processing again. This will follow for the rest of the customers.
All this should happen in the smartform only(Function module).
Hope this is clear.
Please suggets.
Regards
Amit
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.