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

Allocation of Cost based on Match for 2 Dimensions

$
0
0

Hi Experts,

We are running an allocation where we assign an expense account balance (transportation costs) based on the combination of the dimensions entity and country.  Please see the attached for a full example.
A brief example:
ORIGINAL DATA
Entity:  Country AI Units (Currency)
1120  Holland AI_01 50
1120 Holland AI_03 30
1120 France  AI_02 10

 

PRICING DATA
Entity:  Country USD
1120 Holland 8
1120 France  10

 

DESIRED RESULT
1120 Holland AI_01 (50*8)=400
1120 Holland AI_03 (30*8)=240
1120 France AI_02 ((10*10)=100


ACTUAL RESULT
1120 Holland AI_01 (50+30) *8=640
1120 Holland AI_03 (50+ 30)*8=640

 

The original data is multiplied by a "pricing table" data that resides in a statistical account with similar dimensions for Entity and Country.  Based on the match between Entity and Country between the data and country we assign the cost.

Issue is that other dimensions e.g. AI or other should be ignored for this calculation and the postings occur as they were originally.  However the actual result based on the script below is duplicating data
Any ideas?

Thanks in advance

Eyal Feiler

 

SCRIPT USED

*RUNALLOCATION       
*FACTOR=USING*1       
*DIM CURRENCY WHAT=KL_Q ; WHERE=USD; USING=USD; 
*DIM COUNTRY WHAT=[ALLOCATION]="y" ; WHERE=<<<; USING=<<<;
*DIM ACTIVE_INGREDIEN WHAT=[AI_ALLOCATION]="X"; WHERE=[AI_ALLOCATION]="X"; USING=AI_NONE;
*DIM ACCOUNT WHAT=411113; WHERE=612313; USING=411113;
*DIM AUDITID WHAT=AD3000; WHERE=AD5130; USING=AD4130; 
*ENDALLOCATION       
*COMMIT      


Viewing all articles
Browse latest Browse all 5414

Trending Articles



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