on 10-18-2010 2:26 PM
I am unable to show the net and gross weight in a form. Any suggestions? Partial code below:
CLEAR gv_net_wt.
SELECT SUM( ntgew ) "loading weight of handling unit
FROM vekp
INTO gv_net_wt
WHERE exidv2 EQ gwa_hu_identi AND vpobjkey EQ gv_delivery.
IF sy-subrc EQ 0.
gv_head_netwt = gv_head_netwt + gv_net_wt.
ENDIF.
In debugging are you getting any values in the variable. Please elaborate.
Thanks
Nabheet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If it's fail to get sum with aggregate function, select data into internal table and loop though it for sum of net weight.
Thanks,
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.