Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for the Microsoft platform
Viewing all articles
Browse latest Browse all 1545

BPC 10 MS: script logic calculates zeros for REC statements

$
0
0

We did a migration from a BPC MS 7.5 to a BPC MS 10 according to the migration guide. The functionality of running a script logic via a data manager package did work before and was used a lot. After the migration of the system the same procedure of calling up a script logic with a data manager package was used but gave different results. The log showed that all data was set to zero and this was written back to the database. There was data in the source record but the system just made it zero and wrote that back to the database. An example of the script logic:

 

*XDIM_MEMBERSET VERSIE=%VERSIE_SET%

*XDIM_MEMBERSET PERIODE=%PERIODE_SET%

*XDIM_MEMBERSET BRON=A9

*XDIM_MEMBERSET GROEP=PG_TOT

 

*WHEN ENTITEIT.PG_PI

*IS "Y"

*REC(FACTOR=1,GROEP="PG_PI",BRON="A99")

*ENDWHEN

 

*COMMIT


The log file show that only zeros are written back to the database:

Model: FINANCIEEL - Records to be posted are 97  (calc diff = 0)

 

PERIODE,VERSIE,BRON,ENTITEIT,GROEP,INTCO,KOSTENDRAGER,KOSTENPLAATS,REKENING,SPECIFICATIE,VERLOOP,SIGNEDDATA

  1. 2014.JAN,ACTUAL,A99,FI001,PG_PI,IC040,KD999,KP999999,L136500,SP999,F_ARES,0
  2. 2014.JAN,ACTUAL,A99,FI001,PG_PI,IC040,KD999,KP999999,L136500,SP999,F_CLO,0
  3. 2014.JAN,ACTUAL,A99,FI001,PG_PI,IC040,KD999,KP999999,L145000,SP999,F_ARES,0

 

However, if we run the same logic using the logic debugger in the BPC administration client with options ‘run logic and save result’ and ‘calc diff=0’ then the logic script works as it should be. When we look at the log of this file it calculates the value correctly:

Model: FINANCIEEL - Records to be posted are 97  (calc diff = 0)


PERIODE,VERSIE,BRON,ENTITEIT,GROEP,INTCO,KOSTENDRAGER,KOSTENPLAATS,REKENING,SPECIFICATIE,VERLOOP,SIGNEDDATA

  1. 2014.JAN,ACTUAL,A99,FI001,PG_PI,IC040,KD999,KP999999,L136500,SP999,F_ARES,45179.7400000000
  2. 2014.JAN,ACTUAL,A99,FI001,PG_PI,IC040,KD999,KP999999,L136500,SP999,F_CLO,45179.7400000000
  3. 2014.JAN,ACTUAL,A99,FI001,PG_PI,IC040,KD999,KP999999,L145000,SP999,F_ARES,-45179.7400000000

 

No Sap note could be found on this issue.


Viewing all articles
Browse latest Browse all 1545

Trending Articles



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