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

Script Logic - unexpected results

$
0
0

Hi Gurus,

 

There are 12 records in the cube:

 

A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.100628 095
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.100615 128
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.10068 233
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.100825 000
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.100813 462
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.10087 326
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.3001179 101
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.300196 439
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.300152 484
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.30047 458
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.30044 016
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.30042 185

 

Then I run a following Logic scripts:

 

*XDIM_MEMBERSET VERSION = %VERSION_SET%
*XDIM_MEMBERSET TIME = 2013.03

*XDIM_MEMBERSET ENTITY = BAS(E1_UGE)
*XDIM_MEMBERSET RPTCURRENCY = LC
*XDIM_MEMBERSET CAR = CAR1_NA

*WHEN ACCOUNT
*IS BAS(A5.2)
*REC(FACTOR = 1, ACCOUNT = "A1.111", AUDITTRAIL = "DS1.811")
*REC(FACTOR = 1, ACCOUNT = "A1.5836", AUDITTRAIL = "DS1.811")
*ENDWHEN

 

 

After that 10 records were added in the cube: 10 correct records are blue and 2 wrong results are red.

They have to be as bold records in the bottom (8715 and 8815).

 

 

A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.10027 882
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.10031 089
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.100628 095
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.100615 128
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.10068 233
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.1006-42 741
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.10071 365
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.100825 000
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.100813 462
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.10087 326
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.1008-36 973
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.3001179 101
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.300196 439
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.300152 484
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.30047 458
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.30044 016
A1.1112013.03DS1.811V1.BUDGETE1.S000LCF1.30042 185
A1.58362013.03DS1.811V1.BUDGETE1.S000LCF1.10027 882
A1.58362013.03DS1.811V1.BUDGETE1.S000LCF1.10031 089
A1.58362013.03DS1.811V1.BUDGETE1.S000LCF1.10068 715
A1.58362013.03DS1.811V1.BUDGETE1.S000LCF1.10071 365
A1.58362013.03DS1.811V1.BUDGETE1.S000LCF1.10088 815

 

I have found out that -42741 is equal to (28095 + 15128 + 8233)*-1 + 8715.

 

If I try to rec on different scope, for example AUDITTRAIL = "DS1.812", then results are completely right.

 

Is it bug or my mistake?

 

Looking forward to hearing from you,

Oleksandr


Viewing all articles
Browse latest Browse all 5414

Trending Articles



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