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

incorrect figures from script

$
0
0

The following script brings the correct value for Acctdetail A_600 and an incorrect one für Acctdetail F_CLO. In other words, the value is
correct in case the when-condition points to the segment element that is to be read, while the explicit instruction ([segment].[S20]) does not work properly.
S20 is member of BAS(S99)

 

*XDIM_MEMBERSET CONSOSCOPE=G_NONE

*XDIM_MEMBERSET ACCOUNT=KS99090

*XDIM_MEMBERSET ACCTDETAIL=F_CLO

*XDIM_MEMBERSET CATEGORY=%CATEGORY_SET%

*XDIM_MEMBERSET TIME=%TIME_SET

*XDIM_MEMBERSET ENTITY=E.1101,E.1202

*XDIM_MEMBERSET DATASRC=LIC_FEE

*XDIM_MEMBERSET CURRENCY=USD,EUR,LC

*XDIM_MEMBERSET SEGMENT=BAS(S99)

*XDIM_MEMBERSET MEASURES=YTD

*WHEN SEGMENT

*IS S20             
          *REC(EXPRESSION=([SEGMENT].[S20]),ACCOUNT=K599911,SEGMENT=S20,ACCTDETAIL=A_600)

*IS S10

         *REC(EXPRESSION=([SEGMENT].[S20]),ACCOUNT=K599911,SEGMENT=S20,ACCTDETAIL=F_CLO)

*ENDWHEN

 

 

Any idea why this is the case? How to get correct figures?

 

 

Background is, that I need to calculate values on the basis of several segment elements like this:

 

*WHEN SEGMENT

*IS S10

      *REC(EXPRESSION=((%VALUE%+([SEGMENT].[S20]))*-%VALUE%/([SEGMENT].[S30])*-0.122),ACCOUNT=K599911,ACCTDETAIL=A_600)

*IS S20

     *REC(EXPRESSION=((%VALUE%+([SEGMENT].[S10]))*-%VALUE%/([SEGMENT].[S30])*-0.122),ACCOUNT=K599911,ACCTDETAIL=A_600)

*ENDWHEN


Viewing all articles
Browse latest Browse all 5414

Trending Articles



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