Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

*xdim_addmemberset in default logic to extend the scope

$
0
0

Hi all,

 

I have a dimension called parameters and members of parameters are unit_price,volume and revenue.I also have a badi called calc_revenue which is called by default.lgf

 

What I want is to extend ct_data of that badi i.e whatever the user inputs, I always want to see unit_price and volume in ct_data.Because:

 

When the user inputs unit price and volume and then saves data, badi calculates revenue(ct_data populates according to the data that is sent which is as desired), this is OK. But if he changes just price and does not change volume then badi does not calculate revenue since ct_Data is not populated by volume.I then have to read the cube with the same combination of user's filters and calculate the result again in badi.So I am searching for a simpler way like extending the scope of the logic if possible:

 

I tried xdim_addmemberset before calling this badi in default logic but ct_data still cares only the user's input.But I want user's input combination + volume and price which are the members of the dimension paremeters.


Viewing all articles
Browse latest Browse all 5414

Trending Articles



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