12-04-2007 7:13 PM
Keeps saying field (LABST)not there. It is. and I can select alone but cannot do sum...why? Thanks.
select sum(LABST) from MARD into (tlabst)
where MATNR = tlocations-MATERIAL
and WERKS = tlocations-PLANT
and LFGJA = year
and LABST > 0.
endselect.
12-04-2007 7:17 PM
12-04-2007 7:17 PM