Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Crystal error: A summary has been specified on a non-recurring field.

Hi,

Im encountering the following error while trying to aggregate a formula field in one of my reports:

"A summary has been specified on a non-recurring field"

The report calls a subreport in the details section which returns a shared currency variable for every record generated. Im capturing this varaiable using a formula field say Temp1 as below,

Temp1

====================

WhilePrintingRecords;

Shared CurrencyVar ExRate;

ExRate

Im using Temp1 in another formula field Temp2 to perform calculation using another formula field as below,

Temp2

=====================

@Temp1 * @Actual

I have to aggregate Temp2 for each group of records the report generates.

But the report isnt letting me do so via the insert menu. On manually adding the sum function in a formula, it says "cannot summarize field". If i add sum(temp2) to an existing formula field on the report, it gives the error 'A summary has been specified on a non-recurring field' while running it.

Have been stuck on this for a while.

Any Pointers will be appreciated.

Thanks

Dhiraj

Former Member
Former Member replied

A summary cannot be done on a shared variable or on a formula that has an evaluation time of whileprintingrecords;

A summary can only be done on formuals that are evaluated Whilereadingrecords.or on a database field

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question