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

Allocation in BPC 10.1 Data Package

$
0
0

Dear All,

 

 

Can I execute Run Allocation script via data package "Default formulas" (with modifying the script to call my own script? Or should I use dedicated "allocation" data package?

 

 

Script:

 

// To allocate the QTY for each employee to budget cycle monthly

*RUNALLOCATION

  *FACTOR = 1/12

  *DIM TIME WHAT = NONE ;WHERE = BAS(2006.TOTAL); Using = <<<

*ENDALLOCATION

 

// To calculate Total cost for each employee

*WHEN ZKF

  *IS QTY

  *REC(EXPRESSION = %VALUE% * ([ZKF].[PRICE],[TIME].[NONE],[ZEMPLOYEE_T].[NONE]), ZKF = TOT)

*ENDWHEN


 

Existing Transaction Data:

 

TimeZKFEmployeeData
NONEQTYXXX2
NONETOTXXX500
NONEPRICENONE800

 

Expected Result for each month in 2006
TimeZKFEmployeeData
2006.01QTY   XXX=(2/12)
2006.01TOT  XXX=(2/12) * 800
NONETOTNONE1600

 

 

 

System throws errors (data package status is failed) : "Suppressed zero value records =12". But when I see the formula log, it already capture my expectation results. What could be the reasons?

 

 

 

Thanks.


Viewing all articles
Browse latest Browse all 5414

Trending Articles



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