on 05-28-2008 7:27 PM
Hi,
Actually i have to calculate the Counter of unique products., and print this value in the Smartform. Can you please help me out (the logic for this) please.
I need to print a text called "**TOTALS** ". Also print the counter. Actually this is a modification to the existing layout. The line items are printed in the ITEM linetype. Do i need to print these TOTALS and Counter fields in the footer Line type, as I also need to print the literal **DATA CONTINUED ON NEXT PAGE** if data rolls onto next page in the footer. Please help me out.
Example:
QTY PRODUCT field1 field2 field3
1 270
2 270
3 270
4 271
5 272
6 272
**TOTALS**
-
3
**DATA CONTINUED ON NEXT PAGE**
Thanks....
Determine the internal table in which the data is stored. Now add coding (right mouse click on node) to loop over this internal table and determine the totals. Define a global parameter for the totals and use this in the footer.
In stead of adding some coding in the smartform itself, you can also do this in the initialization (form / subroutines).
The data is either part of the import parameters, or is retrieved somewhere in the initialization (form / subroutines).
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 | |
10 | |
7 | |
6 | |
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.