Hi Lars,
Thanks for your advice, in fact I've got a lot help from my colleagues, at first the problem is found in a BEx query of a big Calculation View, and now we are sure that the problem is caused by the aggregation. In a very simple Calculation View, just like this one, the problem accures.
In fact the most weird thing is that if I add 'and belnr is not null' in 'where', the result is totally different, I mean I can get the right result.(and belnr <> '' also works). I tried 'and belnr is null' but get nothing.
The script I use:
SELECT
sum("HSL")
FROM "_SYS_BIC"."tmp.fi.rtc.cube/ZRTC_C_ACDOCA_AONLY"
where rclnt = '500' and rldnr = '0L' and rbukrs = 'ZFA2'
and racct in (select saknr from saper9.ska1 where bilkt = '0003020000' )
-- and belnr is not null
I even think this is caused by the system cache or something for better performance, because I'm working on a develop system which I think might consist something under development.