on 04-10-2009 11:47 AM
Hi vijetasap,
for example - if we have two vendor 1000 and 2000
Vendor - qty
1000 - 5
3
7
9
-
24
-
2000 - 9
3
4
1
-
17
-
Now plz reply in details plz
Regards,
Jyotsna
Hi Jyotsna,
Create the on the event begin sort on vendor display the vendor and at the event end display the subtotals.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For your requirement use two events event begin sort ,Event End on Sort which are available in Table node.
Create those events on Vendor number.
In Begin on sort put one Programlines node for clearing subtotal value of quantity.
in main area put one program lines node to calculate the subtotal of quantity.
in end of sort display the subtotal value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
declare a variable of for sum on global declarations,
in the loop under sort tab,mention the field of sum,create total on main window and go to program lines and write the code for total like total = total + variable.
Regards,
jaya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
reffer into this wiki.It explains SUBTOTAL in details with example and screen shots.
https://wiki.sdn.sap.com/wiki/display/ABAP/SUBTOTALINSAP+SMARTFORMS
Gr., Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.