on 2019 Dec 02 2:54 AM
Hi
Trying to run allocation using RUNALLOCATION in SAP BPC Script logic (Version - S4/HANA - SAP BPC 11.0)
As shown in the attached excel we have
Account Dimension
PERCENT - This is entered for each product SKU
COST - This will be input only at PRODA_INPUT level which we are expecting to be allocated basis the % entered
ALLOC_COST - This is the account where the allocated cost to be computed.
Product Dimension
PRODA_TOTAL is Parent and having 6 base level members below it
PRODA_INPUT is the member where total cost will be entered.
SCRIPT LOGIC is as below
*XDIM_MEMBERSET S_TIME = %S_TIME_SET%
*XDIM_MEMBERSET S_CATEGORY = %S_CATEGORY_SET%
*XDIM_MEMBERSET S_ENTITY = %S_ENTITY_SET%
*XDIM_MEMBERSET S_ACCOUNT = PERCENT,COST,ALLOC_COST
*XDIM_MEMBERSET S_PRODUCT = PRODA_INPUT,BAS(PRODA_TOTAL)
*RUNALLOCATION *FACTOR=USING/100
*DIM S_ACCOUNT WHAT=COST; WHERE=ALLOC_COST; USING=PERCENT
*DIM S_VEHICLE WHAT=PRODA_INPUT; WHERE=BAS(PRODA_TOTAL); USING=<<<
*ENDALLOCATION
Expecting output as shown in the image file for account ALLOC_COST. However when I execute the above script it shows as succeeded but do not see anything computed under ALLOC_COST when I refresh the sheet.
Please read S_VEHICLE as S_PRODUCT.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
14 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.