Do you have any question about this error?
Message type: E = Error
Message class: /STMC/CR_LOG -
Message number: 120
Message text: Rest aggregation must be disabled (Top N &1)
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
/STMC/CR_LOG120
- Rest aggregation must be disabled (Top N &1) ?The SAP error message
/STMC/CR_LOG120 Rest aggregation must be disabled (Top N &1)
typically occurs in the context of SAP BW (Business Warehouse) or SAP HANA when you are trying to execute a query that involves a "Top N" filter or aggregation, but the system requires that the "Rest aggregation" option be disabled for that specific query.Cause:
- Top N Filter: The error is triggered when a query is set to retrieve only the top N records based on a certain measure or characteristic, but the query is also trying to perform a rest aggregation (i.e., aggregating the remaining records that are not included in the Top N).
- Query Design: The query design may not be compatible with the aggregation settings. If the query is set to show only the top N results, the system cannot perform a rest aggregation simultaneously.
Solution:
To resolve this error, you need to adjust the query settings in the SAP BW Query Designer or the relevant tool you are using:
Disable Rest Aggregation:
- Open the query in the Query Designer.
- Navigate to the properties of the query or the specific InfoProvider.
- Look for the option related to "Rest Aggregation" or similar settings.
- Disable the "Rest Aggregation" option.
Adjust Top N Settings:
- Ensure that the Top N settings are correctly configured. You may need to review the criteria for the Top N selection to ensure it aligns with your reporting requirements.
Test the Query:
- After making the changes, save the query and execute it again to see if the error persists.
Related Information:
By following these steps, you should be able to resolve the error and successfully execute your query.
Get instant SAP help. Start your 7-day free trial now.
/STMC/CR_LOG119
Repository Global Touch
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/STMC/CR_LOG118
Dependencies of tile catalog entry &2 were repaired
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/STMC/CR_LOG121
Navigation &1 (&2) is still used by &3 (&4)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/STMC/CR_LOG122
Screen deleted; delete folder &1&2
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.