Do you have any question about this error?
Message type: E = Error
Message class: KE -
Message number: 789
Message text: Aspect contains fields with aggregation <> SUM
The aspect you specified contains fields with aggregation <> SUM.
You cannot create summarization levels for this aspect. Consequently,
the function abended.
Error message extract from SAP system. Copyright SAP SE.
KE789
- Aspect contains fields with aggregation <> SUM ?The SAP error message KE789 indicates that there is an issue with the aggregation method used in a report or query related to the Controlling (CO) module, specifically in the context of Profitability Analysis (CO-PA). The error occurs when the system encounters fields in the report that are not aggregated using the SUM function, which is required for certain types of data processing in CO-PA.
Cause:
The error typically arises due to one of the following reasons:
- Incorrect Field Configuration: The fields included in the report or query are not set up to be aggregated correctly. For example, if you have fields that should be summed but are configured to use a different aggregation method (like average, count, etc.), this error will occur.
- Data Model Issues: The data model or the characteristics used in the report may not be compatible with the expected aggregation method.
- Custom Reports: If you are using a custom report or query, the logic implemented may not adhere to the aggregation rules required by SAP.
Solution:
To resolve the KE789 error, you can take the following steps:
Check Field Aggregation Settings:
- Review the fields included in your report or query. Ensure that all fields that require aggregation are set to use the SUM function.
- You can do this by going to the report definition or query definition and checking the aggregation settings for each field.
Modify the Report/Query:
- If you are using a custom report, modify the logic to ensure that all relevant fields are aggregated correctly. This may involve changing the aggregation method for specific fields to SUM.
Review Data Model:
- Ensure that the data model used in the report is appropriate for the type of analysis you are performing. If necessary, adjust the characteristics or key figures to align with the aggregation requirements.
Consult Documentation:
- Refer to SAP documentation or help resources for guidance on the specific report or query you are working with. This can provide insights into the expected configurations and aggregation methods.
Testing:
- After making changes, test the report or query to ensure that the error is resolved and that the output is as expected.
Related Information:
By following these steps, you should be able to identify the cause of the KE789 error and implement a solution to resolve it.
Get instant SAP help. Start your 7-day free trial now.
KE788
Field & needs to be added to the definition
What causes this issue? The definition of a summarization level is incomplete without the field &V1&. This could therefore lead to errors dur...
KE787
Field & is not used
What causes this issue? The field &V1& is no longer used to define summarization levels, because it is no longer relevant for reporting. (One...
KE790
& is not an allowed field name for index
What causes this issue? You chose an invalid field name for a database index. You can only use those fields which are defined with "*" in t...
KE791
Entry required
What causes this issue? You have not entered a key.System Response The entry was not accepted.How to fix this error? Enter a key.Error message extr...
Click on this link to search all SAP messages.