Hi,
refering to this link
ABAP SQL: Multiplication in Select-Statement
they say it may be possible, but you should not do nativ-SQL Coding.
Stick to abap and do a loop.
it should be fast enough...
even changing millions of entries does only take a few sec.
regards
Stefan Seeburger