‎2007 Oct 26 11:50 AM
Hi all,
Select ckmlpp~vnkumo ckmlpp~meins mbew~bwkey
into (ckmlpp-vnkumo, ckmlpp-meins, mbew-bwkey)
from ckmlpp
inner join mbew on ckmlpp~kalnr eq mbew~kaln1
where mbew~matnr eq itab-matnr and
mbew~bwkey in urt and
ckmlpp~poper eq current_month and
ckmlpp~bdatj eq year.
<b>ADD ckmlpp-vnkumo TO p_fs.</b>
""p_fs is the fiedl symbol.
I do not know much on field symbols, does it add the value that comes from select loop each time to the fs?
For example at first loop assume ckmlpp-vnkumo is 50 and at second one it is 100, so the p_fs value is 150 or what?
Thanks.
Thanks.
‎2007 Oct 26 11:52 AM
well, your code will not work.
If you want add a number to the value represented by the fieldsymbol you have to code it like
ADD ckmlpp-vnkumo TO <p_fs>.
regards,
Hans