Do you have any question about this error?
Message type: E = Error
Message class: AQ - Message texts for SAP Query
Message number: 879
Message text: Subtotals for sorted numeric columns are not allowed
You attempted to calculate sub-totals for a sort field which itself
contains numeric values, but this is not possible.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
AQ879
- Subtotals for sorted numeric columns are not allowed ?The SAP error message AQ879, which states "Subtotals for sorted numeric columns are not allowed," typically occurs in the context of SAP reporting tools, such as SAP Query or SAP List Viewer (ALV), when you attempt to create subtotals for a numeric column that has been sorted.
Cause:
The error arises because SAP does not allow subtotals to be calculated on numeric columns that are sorted. This is due to the way the data is processed and displayed. When a numeric column is sorted, the system cannot accurately compute subtotals because the order of the data may not align with the subtotal calculations.
Solution:
To resolve this error, you can take the following steps:
Remove Sorting: If possible, remove the sorting on the numeric column for which you are trying to create subtotals. You can do this in the report layout or settings.
Change the Order of Operations: If you need both sorting and subtotals, consider changing the order of operations. For example, you can first calculate the subtotals and then sort the results afterward, if your reporting tool allows for this.
Use Alternative Columns: If the subtotal is essential, consider using a different column that is not sorted for the subtotal calculation, or create a separate report that calculates subtotals without sorting.
Check Report Settings: Review the settings in your report or query to ensure that you are not inadvertently applying sorting to numeric columns when subtotals are required.
Consult Documentation: Refer to SAP documentation or help resources specific to the reporting tool you are using for additional guidance on handling subtotals and sorting.
Related Information:
By following these steps, you should be able to resolve the AQ879 error and successfully create your report with the desired subtotals.
Get instant SAP help. Start your 7-day free trial now.
AQ878
Subtotals are only allowed for sorted columns
What causes this issue? You attempted to calculate sub-totals for the numeric values in your table by selecting the appropriate columns, but you must...
AQ877
Unable to search in columns containing numeric values
What causes this issue? You can use the <LS>Find...</> and <LS>Continue find...</> functions only with columns which contain ...
AQ880
Not all lines can be suppressed
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
AQ881
Column operation results in loss of sort and totals
What causes this issue? You sorted your data in the table display by your own criteria and calculated totals on this basis. Then, you either switched...
Click on this link to search all SAP messages.