
The lowest levels from which the application reads data are the segment table and the segment level. These levels contain the data from the line item in a primary summarized form.
The segment table contains the profitability segments and their characteristic values.
The segment level contains the value fields for profitability segments and the time characteristics.
The segment level always contains the most recent data because the system updates it in real time with each transaction. The division of this information into two tables according to characteristics, segment table, value fields, and segment level reduces data volume by eliminating redundancy.
The advantages of the performance settings method are as follows:
Saving historic data:
If you do not need the original information for data from the previous periods, you can archive the line items and retain only the segment level.
Realigning posted data:
You can retroactively assign a customer to a different sales representative. This realignment only changes the segment table. The line items remain assigned in the same way as they were when you originally posted the documents. No change is required in the segment level because the change in the segment table implicitly affects the data for the periods in the segment level.
The realignment is available in Margin Analysis and in costing-based CO-PA. However the initial Characteristics values are still available for the "as posted view’’ of the document. In case of Margin Analysis these values are stored in the dedicated table ACDOCA_KENC. For Costing Based CO-PA these values are stored in table CE4****_KENC.
The data in CO-PA is stored at the individual document level. As a result, every item in a sales order is sent to the CO-PA database as a line item. This can lead to a huge amount of data within a short period of time. As a result, you may experience a runtime of several hours when you run a report. This report displays data summarized to a high degree but the system has to read the entire dataset. You cannot select the data online. To improve system performance, reduce the volume of data that is to be read online by creating summarized versions of the dataset.
How Performance Settings Work

In reports, you can display the following data:
Only the data from the summarization level:
This is the data available since you most recently updated that level.
The current data:
This is the data from the system reading the summarization level and then adding the line items that have been posted since the last update.
If no suitable summarization level exists, the system displays a warning.
Use the current data when you want to display the data from the current period. If you only want to display data after the period has ended and the data is not going to change, use the most recent summarized data.
If you choose to store the summarization data for a report, the system creates this data. The system does this by reading a summarization level (if one exists) or the database tables. If you use fewer characteristics in the report, the system has to read less data from the summarization level. As a result, it takes less time to display the report.
Performance Settings Key Points

Use the Freeze Report Data function to save the data selected for your report. When you choose this function, the system also saves any changes you have made to the report definition.
If you want to call the same dataset later, you can also use the Freeze Report Data function. You can use variants and variant groups to freeze report data at specified times in the background.
By freezing the report data, you can execute the report online later without the system needing to read any data from the database. This reduces runtime substantially.


