Google+ Profitability Management Database Structures - SAP ABAP

Profitability Management Database Structures

Segment Table and Segment Level

The lowest level from which the application reads data is the of the segment table and the segment level. This level contains 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 the profitability segments and the characteristics of time.

The segment level always contains the most up-to-date data, since it is updated simultaneously with each transaction instead of periodically. The division of this information into two tables according to characteristics (segment table) and value fields (segment level) reduces data volume by eliminating redundancy. This method also has two other important advantages: 

ŸStoring historic data: If you no longer need the origin information for data from previous periods, you can archive the line items and retain only the segment level.

Realigning posted data: For example, you can retroactively assign a customer to a different sales representative. This only changes the segment table, while the line items retain the assignment they had when you originally posted the documents. No change is necessary in the segment level, since the change in the segment table implicitly affects the data for the periods in the segment
level.


Summarization Levels

When defining a report in reporting, it is necessary to specify whether a report should continue with execution if it cannot find a suitable summarization level (which could take some time), or whether it should continue executing with a warning that it could take some time, or if it should stop executing. It is also necessary to define whether a report should access the data from a summarization level  alone, or whether it should read current data, requiring the addition of data from any line items that have posted since the level was last updated. Other CO-PA functions automatically access current data.
To use summarization levels, it is necessary to perform the following steps:

Ÿ1) Define the summarization levels (in configuration)
Ÿ2) Fill the summarization levels with data from the segment-level summary records (on user side)
Ÿ3) Update the summarization levels periodically in the background (on user side)
Each summarization level is physically two tables in the database, a key table and a summary record table, which act like the CE4… and CE3… tables in costing-based CO-PA. It's possible to analyze statistics on the levels in configuration to determine whether they are efficient or not (how many times they are being used by CO-PA functions, and their relative size compared with the std summary table).

Performing a realignment on CO-PA data automatically invalidates all the data that had been previously summarized in the summarization levels. After a realignment has been performed, the summarization levels have to be filled (rebuilt) from scratch again, rather than merely updated.






Summarization Data & Frozen Data

Summarization data refers to a set of summarized data for a specific report. When a report that has existing summarization data is executed, that summarization data is accessed and then actualized (meaning 'updated') with the information that has been posted in line items since the last time the report was executed (if current data is desired). The report output shows the new summarization data. Summarization data is usually more efficient than summarization levels for a specific report (if a report is executed frequently), but it is less efficient for the system overall, as each set of summarization data can only be used to enhance the performance of only a single report. Therefore, it is not recommended to have summarization data for many or all CO-PA reports.

When defining a report, it is necessary to specify whether that report will access summarization levels or whether it will use summarization data. Within an operating concern, it is possible for some reports to access summarization data and for some to access summarization levels. It is also necessary to specify the system reaction when no summarized data can be found during report execution.

Frozen data refers to data stored for a specific report and a specific set of variable values at a specific point in time. There can only be one set of frozen data for each combination of these. Frozen data, like summarization data, is valid for only a single report; the difference is that frozen data cannot be actualized. Frozen data is literally a snapshot in time of report data, which may have been generated directly from the database, or utilizing summarization data or summarization levels.



Related Posts

No comments :

Post a Comment