2006 Jul 04 12:23 PM
what is wrong
select single sum( mzubb )
sum( wzubb )
into (z_mzubb , z_wzubb )
from s033
where werks = <ls_mard>-werks
and lgort = <ls_mard>-lgort
and matnr = <ls_mard>-matnr
2006 Jul 04 12:25 PM
Remove the keyword SINGLE from the select statement.
-Kiran
what is wrong
select single sum( mzubb )
sum( wzubb )
into (z_mzubb , z_wzubb )
from s033
where werks = <ls_mard>-werks
and lgort = <ls_mard>-lgort
and matnr = <ls_mard>-matnr
2006 Jul 04 12:25 PM
Remove the keyword SINGLE from the select statement.
-Kiran
2006 Jul 04 12:26 PM
Hi Rani,
Use GROUP BY statement for the fields which you will use claues.
select single sum( mzubb )
sum( wzubb )
into (z_mzubb , z_wzubb )
from s033
where werks = <ls_mard>-werks
and lgort = <ls_mard>-lgort
and matnr = <ls_mard>-matnr
<b>GROUP BY MZUBB WZUBB.</b>
Thanks,
Vinay
2006 Jul 04 12:28 PM
Hello Rani,
Add order by mzubb or group by mzubb.
and also check the field symbols are having values and the select stmt.
It is useful for u rewardthe points
Regards,
Vasanth
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |