aggregate functions are not allowed in window RANGE
[Description]
aggregate functions are not allowed in window RANGE.
[System Processing]
Processing will be aborted.
[Action]
To investigate the cause of the occurrence from the message, and remove cause.