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

Replacement for FLD in BPC10NW logic

$
0
0

Hi guys,

 

So we know we can't use GET in script logic anymore, and to use MDX tuples instead.

But what about the FLD statement? If I need to get the value of a field (member property) as part of my MDX, how do I now do that?

 

This is a made-up example, but should help to explain:

*REC(EXPRESSION=%VALUE%*([AUDITIDC].[TAX_INPUT],[LEGALENTITY].[COUNTRY],[ACCOUNTC].[VAR_TAX_RATE],[RPTCURRENCY].[LC],[FLOW].[F_CLO],[INTERCO],[NON_INTERCO]),ACCOUNTC="TAX_ISELIM_001")

 

Everything in the tuple instruction points to a particular member EXCEPT the LEGALENTITY, for which I need to look up this value from the COUNTRY member property. Whatever value is in this property (for the legal entity being run) will give me my LEGALENTITY value for the tuple. This will be dynamic, and I need to ascertain this at runtime.

The end result should be to multiply the %VALUE% by the tax % for the country of the legal entity the user selected.

 

Hope that makes sense - I've been bashing my head against the wall on this one!

 

Any suggestions?

Thanks very much,

Jason


Viewing all articles
Browse latest Browse all 5414

Trending Articles



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