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

maximum loops *for *next allowed in bpc logic script

$
0
0

Hi,

  I am trying the below logic script but I get the following error. I have 5 loops for 5 variable using *for/*next. Is it because of more looping? I did not get this error when tried with 2 loops.

at UJKT:

"no more space for extending..

 

at validation in BPC web client:

error: "unhandled error(HTTP Status:500):unmarshal.invalid.xml"

 

*XDIM_MEMBERSET TIME AS %TIME_VAR%=BAS(2014.TOTAL)

*SELECT(%PROD_SKU_VAR%,"[ID]",PRODUCT_SKU,"[CALC]='N'")

*SELECT(%PROD_VAR%,"[ID]",PRODUCT,"[CALC]='N'")

*SELECT(%UOM_VAR%,"[ID]",UOM,"[CALC]='N'")

*XDIM_MEMBERSET COMPANY AS %COMPANY_VAR%=DR01,DV01

 

 

 

 

*XDIM_MEMBERSET UOM=NO_UOM

*XDIM_MEMBERSET VERSION=BUDV0_2014

*XDIM_MEMBERSET TIME=2014.INP

*XDIM_MEMBERSET INPUTCURRENCY=AED

*XDIM_MEMBERSET PRODUCT_SKU=NO_PRDSKU

*XDIM_MEMBERSET PRODUCT=NO_PRD

*XDIM_MEMBERSET METRICS=COGS_PRICE

 

 

*WHEN PRODUCT_RM

*IS "<>NO_RM"

*FOR %TIME_LOOP%=%TIME_VAR%

  *FOR %PROD_SKU_LOOP%=%PROD_SKU_VAR%

   *FOR %PROD_LOOP%=%PROD_VAR%

    *FOR %UOM_LOOP%=%UOM_VAR%

     *FOR %COMP_LOOP%=%COMPANY_VAR%

*BEGIN

   *REC(EXPRESSION=([TIME].[%TIME_LOOP%],[PRODUCT].[%PROD_LOOP%],[PRODUCT_SKU].[%PROD_SKU_LOOP%],[INPUTCURRENCY].[NO_INPUTCURR],[UOM].[%UOM_LOOP%],[METRICS].[COGS_VOL],

    [COMPANY].[%COMP_LOOP%])*%VALUE%,TIME=%TIME_LOOP%,PRODUCT=%PROD_LOOP%,PRODUCT_SKU=%PROD_SKU_LOOP%,METRICS="COGS_AMT",COMPANY=%COMP_LOOP%,UOM=%UOM_LOOP%)

*END

     *NEXT

    *NEXT

   *NEXT

  *NEXT

*NEXT

*ENDWHEN

 

Regards,
Draksharam


Viewing all articles
Browse latest Browse all 5414

Trending Articles