Professional Documents
Culture Documents
SAP - CV - Change - A calculationPART
SAP - CV - Change - A calculationPART
Views – Part 2
In this example we need to extend the model at the position2_14_Join and integrate a new
logic (see Figure 2).
Figure 2 – Extension of the Calculation View with NEW_CONTENT
I do this by making use of the definition of the Calculation View. First, I extend
NEW_CONTENT by adding DUMMY_UNION (see Figure 5). This step is not required and can
be ignored, but as explained in the first part of the blog, it is practical as a way to simplify
things when making extensions and changes later.
Figure 5 – Extension with DUMMY_UNION
Then all you have to do is save the modified Calculation View; no activation is required. Next,
it is exported locally to the computer in XML format in Developer Mode (see Figure 6). The
exported file “NameOFCalcview” with the ending “calculationview” can now be opened and
edited in the text editor of your choice.
In the text editor you search for the (Calculation:JoinView) in which the old data source to be
replaced is located (here: 2_16_Join) and you replace the logic there.
Figure 6 – Export XML Definition
And that concludes my short blog entry. I hope that this nice little trick will be of use to you
when modifying or extending old Calculating Views.