Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Analysis, edition for Microsoft Office
Viewing all articles
Browse latest Browse all 1521

SAP BO-IP accessing virtual class upon recalculation function

$
0
0

Hi,

 

currently using SAP Analysis for Office Excel as planning tool and integrated with SAP BI-IP. We have a requirement where the calculation of the values are done at the virtual class and feed to the excel. User could change this calculated values in the frontend. However, by changing this value it will affect the calculation components of the values calculated. These components are also being feed into the excel.

 

Now if the user change the calculated value to something else, we need to have the capability for user to perform "RECALCULATION" as per in the planning ribbon by recalculation the components as well. However, the button recalculation doesn't go back to the virtual class where we code all the calculation.

 

My question is, is there a way to trigger the class again upon clicking Recalculation button. The SAVE button does it but we do not want to SAVE until user is happy with the data. It doesn't have to be triggering the same REcalculation button, just a service, VBA functions or etc that we can utilise to retrigger the virtual class to recalculate and push the revised value of the calculation components back to the excel. Below is a mock up (sort of) of what we are trying to achieve. It is a very simple mock up and doesn't represent the complexity of the calculation and why we have to perform the calculation at the backend (virtual class) rather than in the query. So please bear with me.

 

 

1. Virtual Class calculates KF "Amount" in virtual class based on "Price" x "Quantity".

2. Planning Layout (Excel) will display  all 3 values - Amount, Price and Quantity

3. User changes the "Price" value in the Excel

4. requirement -> user need to see the "Amount" being recalculated and reflected in the excel BEFORE Saving

 

I can only achieve step 4 by reaccessing the virtual class, recalculate and push back the recalculated value "Amount" to planning layout. How can i do that? understood the data is stored in the Planning Buffer and the RECALCULATION function uses these to perform the recalculation. is there any way or method that we can access the planning buffer?

 

 

thanks all!

 

Eddie


Viewing all articles
Browse latest Browse all 1521

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>