CALC_DUMMY_ORG

Hello folks,
does the calc_dummy_org instruction work in BPC 7.5 (SP4). I have the following code
*SELECT (%CENTERS%,"[ID]","ENTITY","ID LIKE 'CC%'")
*XDIM_MEMBERSET ENTITY=%CENTERS%
*CALC_DUMMY_ORG entity=parenth1
*WHEN POS(TIME)
*IS <POS(FIRSTMONTH)
*REC(FACTOR=-1)
*ENDWHEN
*COMMIT
the logic log shows that the values posted to the DB are still the base members.
The code above used to work previously.
Thx for your help
Elio

Hello Sorin,
the code I gave is only an excerpt. However, my objective is to save records using another entity member using the property INPUTMBR of the entity dimension. Something like this (taken from the Script Logic guide..)
// create the memory variables (in this case the parents in H1, for example #SALES, #WORLDWIDE1)
*CALC_DUMMY_ORG ENTITY=PARENTH1
// Some parent might have a corresponding input member specified in a property
*WHEN ENTITY.INPUTMEMBER
*IS<>u201Du201D
*REC(ENTITY=ENTITY.INPUTMEMBER)
*ENDWHEN
However, it seems this script doesn't work to me. Is it possible it something due to some configuration setting about the use of memory variable? I have tried any possible change in the syntax but nothing. it doesn't work.
Moreover if I change the *CALC_DUMMY_ORG ENTITY=PARENTH1 into *CALC_ORG ENTITY=PARENTH1, DUMMY which is another accepted syntax (according to the guide), I get an SQL error saying that PARENTH1,DUMMY doesn't exist.
Elio

Similar Messages

  • *CALC_DUMMY_ORG in sap nw

    Hello BPC lovers,
    I know that *CALC_DUMMY_ORG can't be used in BPC NW version.
    Could someone please help me in alternate solution for below script code in sap nw as this is in microsoft version.
    *CALC_DUMMY_ORG COSTCENTER=PARENTH1
    *CALC_DUMMY_ORG PARTNERPROFITCTR=PARENTH1
    *CALC_DUMMY_ORG MODEL=PARENTH1
    *WHEN COSTCENTER
         *IS #TOT_CC
              *WHEN PARTNERPROFITCTR
                   *IS #PP0000
                        *WHEN MODEL
                             *IS #M0000
                                  *WHEN ACCOUNT.ALLOC_TF
                                       *IS "D"
                                            *REC(FACTOR=-1,ACCOUNT="ALLOC_D",COSTCENTER="C9999",PARTNERPROFITCTR="PP9999",MODEL="M9999",DATASRC="UC")
                                  *ENDWHEN
                        *ENDWHEN
              *ENDWHEN
    *ENDWHEN

    Hi Vadim,
    Below is my complete code for that you have asked.
    *CALCULATE_DIFFERENCE = 0
    *SELECT(%ICCO%,"[ID]","COMPANY","INTCO='Y'")
    *SELECT(%ALLOCN_A%,"[ID]","ACCOUNT","ALLOC_TF='A'")
    *SELECT(%ALLOCN_D%,"[ID]","ACCOUNT","ALLOC_TF='D'")
    *XDIM_MEMBERSET COMPANY=%ICCO%
    *XDIM_MEMBERSET ACCOUNT=%ALLOCN_A%,ALLOC_A
    *XDIM_MEMBERSET INTCO=NON_INTERCO
    *XDIM_MEMBERSET DATASRC=UC,UPLOAD_GDW,UPLOAD_ECC
    *XDIM_MEMBERSET SKU=SKU9999
    *CALC_DUMMY_ORG COSTCENTER=PARENTH1
    *CALC_DUMMY_ORG PARTNERPROFITCTR=PARENTH1
    *CALC_DUMMY_ORG MODEL=PARENTH1
    *WHEN COSTCENTER
         *IS #TOT_CC
              *WHEN PARTNERPROFITCTR
                   *IS #PP0000
                        *WHEN MODEL
                             *IS #M0000
                                  *WHEN ACCOUNT.ALLOC_TF
                                       *IS "A"
                                       *REC(FACTOR=1,ACCOUNT="ALLOC_A",COSTCENTER="C9999",PARTNERPROFITCTR="PP9999",MODEL="M9999",DATASRC="UC")
                                  *ENDWHEN
                        *ENDWHEN
              *ENDWHEN
    *ENDWHEN
    *COMMIT
    ////////////////////////////////////////////////////////////////CONDITIONAL LOGIC TO ZERO OUT ALLOC_A IF LESS THAN 0
    *XDIM_MEMBERSET COSTCENTER=C9999
    *XDIM_MEMBERSET PARTNERPROFITCTR=PP9999
    *XDIM_MEMBERSET MODEL=M9999
    *XDIM_MEMBERSET ACCOUNT=ALLOC_A
    *XDIM_MEMBERSET COMPANY=%ICCO%
    *XDIM_MEMBERSET DATASRC=UC
    *WHEN GET(ACCOUNT="ALLOC_A")
         *IS > 0
         *REC(FACTOR=0)
    *ENDWHEN
    *COMMIT
    /////////////////////////////////////////////////////////////////LOGIC TO SUM UP ACCOUNT WHERE ALLOC_TF=D
    *CALCULATE_DIFFERENCE = 0
    *XDIM_MEMBERSET COMPANY=%ICCO%
    *XDIM_MEMBERSET ACCOUNT=%ALLOCN_D%,ALLOC_D
    *XDIM_MEMBERSET INTCO=NON_INTERCO
    *XDIM_MEMBERSET DATASRC=UC,UPLOAD_GDW,UPLOAD_ECC
    *XDIM_MEMBERSET SKU=SKU9999
    *CALC_DUMMY_ORG COSTCENTER=PARENTH1
    *CALC_DUMMY_ORG PARTNERPROFITCTR=PARENTH1
    *CALC_DUMMY_ORG MODEL=PARENTH1
    *WHEN COSTCENTER
         *IS #TOT_CC
              *WHEN PARTNERPROFITCTR
                   *IS #PP0000
                        *WHEN MODEL
                             *IS #M0000
                                  *WHEN ACCOUNT.ALLOC_TF
                                       *IS "D"
                                            *REC(FACTOR=-1,ACCOUNT="ALLOC_D",COSTCENTER="C9999",PARTNERPROFITCTR="PP9999",MODEL="M9999",DATASRC="UC")
                                  *ENDWHEN
                        *ENDWHEN
              *ENDWHEN
    *ENDWHEN
    *COMMIT
    ////////////////////////////////////////////////////////////////CONDITIONAL LOGIC TO ZERO OUT ALLOC_D IF LESS THAN 0
    *XDIM_MEMBERSET COSTCENTER=C9999
    *XDIM_MEMBERSET PARTNERPROFITCTR=PP9999
    *XDIM_MEMBERSET MODEL=M9999
    *XDIM_MEMBERSET ACCOUNT=ALLOC_D
    *XDIM_MEMBERSET COMPANY=%ICCO%
    *XDIM_MEMBERSET DATASRC=UC
    *WHEN GET(ACCOUNT="ALLOC_D")
         *IS > 0
         *REC(FACTOR=0)
    *ENDWHEN
    *COMMIT

  • Problem with CALC_DUMMY_ORG

    I can't get CALC_DUMMY_ORG to work on rollup members and I would like suggestions on how I can debug the problem.
    My logic looks like this (thanks Joost).  Note: DEPARTMENT is of type ENTITY:
    *XDIM_MEMBERSET ACCOUNT=<ALL>
    *XDIM_MEMBERSET DEPARTMENT=<ALL>
    CALC_DUMMY_ORG ACCOUNT=PARENTH1
    CALC_DUMMY_ORG DEPARTMENT=PARENTH1
    *WHEN ACCOUNT
    *IS #IncomeBeforeTaxes
    *WHEN DEPARTMENT
    *IS #AllDepartments
    *REC(EXPRESSION=555,DEPARTMENT="99992", ACCOUNT="900000")
    *ENDWHEN
    *ENDWHEN
    *COMMIT
    Eventually the *REC  expressions will be a *REC factor, but I am trying to keep it simple for now.
    When I check DebugLogic.log there are lots of records in source data. 
    In the destination region there is 1 record, and I think that is correct.
    Then the log describes:
    5520 scanned records
    5520 skipped records
    0 processed records
    0 records generated
    If I replace the #memory rollups with leaf members, the logic works fine.  It seems it is unable to locate #IncomeBeforeTaxes and #AllDepartments in the dataset.  Those members are part of PARENTH1, but they have several layers of rollups below them.
    Any suggestions on how I can figure where I am going wrong?
    Thanks...Marv

    Joost --
    Thanks very much!  It seems substituting <>INVALID for =<ALL> made all the difference. 
    Note: I also had to add a *CALCULATE_DIFFERENCE 0 to make the code work.  Possibly I should include NOADD to the REC statement?
    *CALCULATE_DIFFERENCE 0
    *XDIM_MEMBERSET ACCOUNT<>INVALID
    *XDIM_MEMBERSET DEPARTMENT<>INVALID
    *CALC_DUMMY_ORG ACCOUNT=PARENTH1
    *CALC_DUMMY_ORG DEPARTMENT=PARENTH1
    *WHEN ACCOUNT
    *IS "#IncomeBeforeTaxes"
    *WHEN DEPARTMENT
    *IS "#AllDepartments"
    *REC(EXPRESSION=555,DEPARTMENT="99992", ACCOUNT="900000")
    *ENDWHEN
    *ENDWHEN
    *COMMIT

  • Opebal script logic issue

    Hi All
    The below logic is used to calculate opening and closing balances.
    The logic works fine for 1st month.
    ex: for acct TI if i capture 2 in my first month and run the logic its posts closing bal for 1st mnth as 2 which is right
    and from feb to dec it posts opening bal as 2 which is right.(we run for whole year)
    But for acct To if i capture 5 in 2nd month and run the logic its posting wrong opening bal for accout chc.
    for feb my opening bal should be 2. it showing as 7.
    please tell me where i am doing wrong.
    i cann't use calc_dummy_org.
    *SELECT(%Year%,"[YEAR]","Z_Version","[ID]='BUD'")
    *SELECT(%Months%,"[ID]","Z_Time","[YEAR]=%Year% AND [LEVEL] = 'MONTH'")
    *XDIM_MEMBERSET Z_TIME=%Months%
    *XDIM_MEMBERSET Z_VERSION = BUD
    *XDIM_MEMBERSET EB_DATASOURCE = MANUAL
    *XDIM_MEMBERSET EB_ACCT = CHC,TI,TO,AP,RT
    *XDIM_MEMBERSET Z_CC = DEF_CC
    *XDIM_MEMBERSET Z_PCC = PCC_DEF_CC
           *WHEN EB_ACCT
               *IS CHC,TI,TO,AP,RT         
                  *FOR %MonthCopy% = %Months%
                      *REC(FACTOR=1,EB_ACCT="CHC",Z_TIME=TMVL(1,%MonthCopy%))
                   *NEXT
            *ENDWHEN

    Nilanjan,
    Thanks for your prompt reply as always.  Somehow I was able to get this thing working, please don't ask me how.  It was just a piece of bigger logic code. 
    I have awarded you full points..
    Thx,
    Rockdy

  • LOOKUP in Script Logic

    Dear experts,
    I am doing a look up in different application for multiple measures. Also for a DATASRC member, I need to look up at the TOT_SRC level for which I am doing CALC_DUMMY_ORG
    Is it supported in BPC NW? The SAP 420 book says it's not supported. If it so, then what's the alternative approach?
    I know in MS, we have SUB/ENDSUB to group logic instructions and can invoke wherever we want. Is it supported on NW?
    My code is like the below
    *LOOKUP TAUX
    *CALC_DUMMY_ORG
    *ORG DONNEES_SRC = PARENTH1
    *WHERE TYPE_TAUX = PCT_TAUX_AUG, SAL_MOY, ECHELON, SAL_MAX
    *WHERE CENTRE_COUTS = NA_CENTRE_COUTS
    *ENDCALC
    *DIM CENTRE_COUTS = "NA_CENTRE_COUTS"
    *DIM CLASSE_TAUX=%CLASSE_TAUX_SET%
    *DIM DEVISE_ENTREE="CAD"
    *DIM DONNEES_SRC = "TOTAL_SRC"
    *DIM TEMPS = %TEMPS_SET%
    *DIM TITRE_DEMPLOI="NA_TITRE_DEMPLOI"
    *DIM VERSION=%VERSION_SET%
    *DIM PCTTAUXAUG:TYPE_TAUX = "PCT_TAUX_AUG"
    *DIM AVGSAL:TYPE_TAUX = "SAL_MOY"
    *DIM ECHELON:TYPE_TAUX = "ECHELON"
    *DIM SALMAX:TYPE_TAUX = "SAL_MAX"
    *ENDLOOKUP
    Appreciate any advice.
    Prabhakar

    Hi Prabhakar
    Could you explain a bit further what you are trying to do with the DUMMY_ORG? Is this in your source or in your target app?
    For the Lookup I think this should work?
    *LOOKUP TAUX
    *DIM TAUX:CENTRE_COUTS = "NA_CENTRE_COUTS"
    *DIM TAUX:CLASSE_TAUX=%CLASSE_TAUX_SET%
    *DIM TAUX:DEVISE_ENTREE="CAD"
    *DIM TAUX:DONNEES_SRC = "TOTAL_SRC"
    *DIM TAUX:TEMPS = %TEMPS_SET%
    *DIM TAUX:TITRE_DEMPLOI="NA_TITRE_DEMPLOI"
    *DIM TAUX:VERSION=%VERSION_SET%
    *DIM TAUX:PCTTAUXAUG:TYPE_TAUX = "PCT_TAUX_AUG"
    *DIM TAUX:AVGSAL:TYPE_TAUX = "SAL_MOY"
    *DIM TAUX:ECHELON:TYPE_TAUX = "ECHELON"
    *DIM TAUX:SALMAX:TYPE_TAUX = "SAL_MAX"
    *ENDLOOKUP
    Cheers
    Sabine

  • GET doesn't work in script logic

    Hi
    Yesterday I tried this logic script and it doesn't record a value
    *XDIM_MEMBERSET ENTITY=<ALL>
    *XDIM_MEMBERSET ACCOUNT=EXTSALES
    *CALC_DUMMY_ORG ENTITY=PARENTH1
    *WHEN ENTITY
    *IS #CONUS
    *REC(FACTOR=1/GET(ENTITY=#CONREGION),ACCOUNT="XXX",ENTITY="STORE1")
    *ENDWHEN
    *COMMIT
    If I remove the GET and put static value it works
    *XDIM_MEMBERSET ENTITY=<ALL>
    *XDIM_MEMBERSET ACCOUNT=EXTSALES
    *CALC_DUMMY_ORG ENTITY=PARENTH1
    *WHEN ENTITY
    *IS #CONUS
    *REC(FACTOR=1/10,ACCOUNT="XXX",ENTITY="STORE1")
    *ENDWHEN
    *COMMIT
    What happen to the GET ?
    Please help. Thanks.
    Regards,
    Halomoan

    Perfect answer
    Regards,
    Halomoan

  • LOGIC QUESTION - Posting to an alternate account based on parent value

    Hi
    I need to calculate the value of an aggregate account and then if the value of that aggregate account is negative, post all of its base level accounts (whose values might be DR and CR values) to an alternate account stored as a property in the account dimension.
    I started with the logic below with PKBS11002 being the aggregate account.
    *MEMBERSET(%AccountsList%,"Descendants([Account].[PKBS110022],999,LEAVES)")
    *XDIM_Memberset ACCOUNT = %AccountList%
    *CALC_DUMMY_ORG ACCOUNT = Parenth1
    *WHEN ACCOUNT
    *IS #PKBS110022
    *WHEN %VALUE%
    *IS <0
    //In this section i need to determine all the base accounts for PKBS110022 and then post their values to the alternate account.
    *ENDWHEN
    *ENDWHEN
    Regards,
    Byron

    I tried removing the line
    *XDIM_Memberset ACCOUNT = %AccountList%
    but no luck
    The two processes that I go through are as follows:
    Unsuccessful process
    Step 1: Import data
    Step 2: Run logic as above
    Result: No records posted
    Successful process
    Step 1: Import data
    Step 2: Delete records that are not a parent of PKBS110022
    Step 3: Run optimize to ensure update of OLAP
    Step 2: Run logic as above
    Result: Records posted correctly
    What i did notice is that in the Unsuccessful Log contains "failed test:GET(ACCOUNT="#PKBS110022")<0  : 0<0"
    Link to log files: [2 x Log Files (Successful and Unsuccessful)|http://sites.google.com/site/byronwahl/home/bpc]

  • Having issue using TMVL in script logic

    Hello experts,
    We need to replicate the behaviour of the copy opening Bal through script logic.
    Below is my code:
    where user selects only entity when he runs package,time is derived from property.
    // Year from version property
    *SELECT(%YEAR%,"[YEAR]","Z_VERSION","[ID]='BUD'")
    // Months
    *SELECT(%MONTHS%,"[ID]","Z_TIME","[YEAR]=%YEAR% AND LEVEL='MONTH'")
    *XDIM_MEMBERSET Z_TIME=%MONTHS%   (for ex:My first month is 2009.jan(ope month)
       *WHEN ACCT
               *IS CHC          
            *REC(FACTOR=1, ACCT="CHC",Z_TIME=TMVL(1,%MONTHS%))  ( for ex:2009.feb,nxt month)
        *ENDWHEN
    When i run the above logic in debugger TMVL doesn't show next month.
    If i hardcode time in my xdimmemberset to (*XDIM_MEMBERSET Z_TIME=2009.JAN) and change my TMVL in my REC statement to TMVL(1,2009.JAN)).Logic works fine.
    Please tell me how can we pass dynamic variables to TMVL.
    *REC(FACTOR=1, ACCT="CHC",Z_TIME=TMVL(1,%MONTHS%))
    Thanks

    copying closing bal of prev month to nxt month.
    for ex:
    Account     jan 2009    Feb 2009    Mar 2009
    HC_PLAN     10.00      11.00      21.00
    CHC          10.00      11.00        11
    TI                     1.00                      1.00
    TO                      2.00      1.00          2.00
    AP                      3.00                       3.00
    RT                       4.00                        4.00
    My logic needs to copy values from HC_PLAN (parent) to CHC. I have written ope_bal logic in MS version.
    In NW i cannot use next (i am using TMVL),calc_dummy_org,calc_each_period.
    Please tell me how can i get values from a parent (HC_PLAN).
    Is Calculate_Difference is supported in BPC7.5NW?
    Below is my updated code
    *SELECT(%Year%,"[YEAR]","Z_Version","[ID]='ACTUAL'")
    *SELECT(%Months%,"[ID]","Z_Time","[YEAR]=%Year% AND [LEVEL] = 'MONTH'")
    *XDIM_MEMBERSET Z_TIME=%Months%
    *XDIM_MEMBERSET EB_ACCT = CHC,TI,TO,AP,RT
    *WHEN EB_ACCT
               *IS CHC,TI,TO,AP,RT         
                      *FOR %MonthCopy% = %Months%
                           *REC(FACTOR=1,EB_ACCT="CHC",Z_TIME=TMVL(1,%MonthCopy%))
                        *NEXT
                 *ENDWHEN

  • Time Base / Carry Forward / Copy Last years balances

    Hi Experts,
    Can anyone throw light on how would the TIME=BASE function as used in the script below help in carry forward ?
    Is the below syntax correct ?
    *XDIM_MEMBERSET DATASRC=%MyDataSrc%
    *XDIM_MEMBERSET TIME=BASE,%TIME_SET%
    *XDIM_MEMBER ACCTDETAIL=%TFCLO% TO %TFBEG%
       *WHEN TIME
       *IS BASE
          *WHEN ACCOUNT.ACCTYPE
          *IS "AST","LEQ"
             *REC(TIME="%TIME_SET%")
          *ENDWHEN
       *ENDWHEN
    *COMMIT
    Regards,
    Pankti Shroff

    Hi
    I am also facing an issue with this script in 7.0 version.
    I am trying to arrive at the difference if 2 dparent account (Current accounts ) for Cash flow analysis by using the below script
    *XDIM_MEMBERSET measures = YTD
    *XDIM_MEMBERSET CATEGORY = ACTUAL
    *XDIM_MEMBERSET ACCOUNTL =<ALL>
    *CALC_DUMMY_ORG ACCOUNTL=PARENTH1
    *WHEN ACCOUNTL
    *IS #211
    *REC(EXPRESSION=-GET(ACCOUNTL="#211",TIME=BASE)+%VALUE%,ACCOUNTL="CF_0015",ACCTDETAIL="F_NONE",DATASRC="INPUT")
    *ENDWHEN
    *COMMIT
    This does not pick up any value as available in Mar'08 (prev year -- i have Apr to Mar as the accounting year)
    Pl let me know if there is some error on this script logics and how can i best work it out
    Regards
    Manoj

  • Time total in script logic

    hi,
      i am using bpc 7.0 MS sp 2
      i have a situation where i need to do a simple formula using only 2 dimensions, i.e. account and time.
      the formula goes like this:
    (accountA, time monthA) - (accountB, aggregate of Jan till Dec of the year shared by time monthA) = (accountC, time monthA)
      what i have done is this:
    *xdim_memberset account=A,B
    *xdim_memberset time=%year%.jan,%year%.dec
    *calc_each_period
    *calc_dummy_org time=parenth1
    *when account
    *is "A"
    *when time.year
    *is "2010"
      *rec(expression=%value%-get(account="B",time.id="#2010.total"),account="C")
    *endwhen
    *endwhen
    *commit
      i have entered the following test values:
    accountA, 2010.mar - 3
    accountB, 2010.jan - 1,
    accountB, 2010.feb - 2,
    accountB, 2010.mar - 3,
    accountB, 2010.apr - 4,
      and the result i am expecting is 7 that corresponds to accountC, 2010.mar, however i am getting the value "3" in accountC, 2010.mar
      it's as if the aggregate is not getting aggregated, and it's just 3-0 = 3.
      any ideas?
    cheers,
    lip chean

    Brother, did you have any luck trying to get this to work?
    If so, can you share?
    Best regards,
    Leandro Brazil

  • Copy data between accounts on BPC 7.5 default logic

    Hi gurus,
    I have default logic code that does not work. I need to copy value from an account to another from real to budget data.
    I have this code:
    *XDIM_MEMBERSET PERIODO=%PERIODO_SET%
    *XDIM_MEMBERSET ESCENARIO=REAL,PPTO
    *XDIM_MEMBERSET SOCIEDAD=%SOCIEDAD_SET%
    *XDIM_MEMBERSET GROUPS=LC
    *XDIM_MEMBERSET FLOW=F_CIE
    *CALC_DUMMY_ORG CUENTA = PARENTH1
    *IGNORE_STATUS
    *WHEN ESCENARIO
    *IS PPTO
    *WHEN CUENTA
    *IS #BAI
    *WHEN SIGNEDDATA
    *IS <>0
    *REC(EXPRESSION=GET(ESCENARIO="REAL",CUENTA="630"),NOADD,ESCENARIO="PPTO",CUENTA="630")
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *COMMIT
    Where is my mistake???
    Thanks a lot for your help!!!!
    Have a nices day!

    Hi Jordi,
    Could you try to replace *IS #BAI with a single account (any one account that contains data) and see if that works.
    BR,
    Arnold

  • *OLAPLOOKUP Filter

    Hi experts
    is there a way to filter an OLAPLOOKUP within a script logic, like the suppress function in EvDRE schedule?
    The problem is the OVERFLOW of the execution of the package, we have already used the XDIM_MAXMEMBERSET for two dimensions, but the OVERFLOW still exists.
    thanks in advance.

    Hi John, thanks primarily
    below there is the code where i've replaced the OLAPLOOKUP function with the *CALC_DUMMY_ORG.
    My goal is to copy the value between two accounts. In particular, i must to copy from a source account to a destination account where the destination id is a member of a property of the source member.
    Example:
    Before:
    ID             DES            Value
    01             D_01           5000
    D_01                              0
    After:
    ID             DES            Value
    01             D_01           5000
    D_01                            5000
    Source account could be a parent member, and the number of records involved is very high due to the profit center and trading partners.
    Large number of members causes delays in the execution of the package or overflow.
    *XDIM_MEMBERSET CATEGORY=%CATEGORY_SET%
    *XDIM_MEMBERSET TIME=%TIME_SET%
    SOURCE ACCOUNT
    *SELECT(%MYACC%, ID, ACCOUNT, "[CPM]='BPC' AND [CPMREF]<>''")
    DESTINATION ACCOUNT
    *SELECT(%MYCPMACC%, ID, ACCOUNT, [CPM]='EAP') 
    *XDIM_MEMBERSET ACCOUNT=%MYACC%
    *XDIM_MEMBERSET DATASOURCE=descendants([DATASOURCE].[H1].[TOT_DS],9999,leaves)
    *XDIM_MEMBERSET DATATYPE=DT_V
    *MEMBERSET(%MYTP%,descendants([TRADING].[H1].[TP_ALL],9999,leaves))
    *XDIM_MEMBERSET TRADING=%MYTP%
    *XDIM_MEMBERSET PRODUCT=descendants([PRODUCT].[H1].[ALL],9999,leaves)
    *XDIM_MEMBERSET ENTITY=descendants([ENTITY].[H1].[TOT_ENTITY],9999,leaves)
    *XDIM_MEMBERSET RPTCURRENCY=LC,EUR
    *CALC_DUMMY_ORG ACCOUNT=ID
    *WHEN ACCOUNT.CPMREF
    *IS <> ""
    *REC(PRODUCT="ZZZZZZZ",DATATYPE="DT_V_EAP",ACCOUNT=ACCOUNT.CPMREF)
    *ENDWHEN
    *COMMIT
    Edited by: SAP_Mattia_SAP on Nov 3, 2011 11:19 AM

  • Missing field {Dim}

    Hi Expert,
    Product: BPC MS 7, sp4
    I am experiencing a strange problem and I dont know how to resolve it...
    I have written the following logic which validates correctly but only fails when I run it through DM, and returns the error: Missing Field Product:
    <><><><>
    *XDIM_MEMBERSET SALESVALUES=OTHERVC,VARIABLECOSTS
    *MEMBERSET(%AllcDFR_Prod%,"descendants([PRODUCT].[MATGRP_08],,LEAVES)")
    *XDIM_MEMBERSET PRODUCT=%AllcDFR_Prod%
    *CALC_DUMMY_ORG PRODUCT = PARENTH1
    *WHEN SALESVALUES
    *IS "OTHERVC"
    REC(EXPRESSION=%VALUE%(GET(SALESVALUES="VARIABLECOSTS",PRODUCT="MATGRP_08_INP")/GET(SALESVALUES="VARIABLECOSTS",PRODUCT="#MATGRP_08")),SALESVALUES=u201DOTHERVCu201D)
    *ENDWHEN
    <><><><>
    and when I comment out calc dummy org, i dont get the error but obviously this wont help because i need calc dummy org.
    I have looked at the system_constants.lgl and think maybe the product wasn't list... unfortunately it is.

    Hi!
    You can use CALC_DUMMY_ORG instruction correct if all members of dimension loaded in memory.
    Try use such logic
    *XDIM_MEMBERSET PRODUCT = <ALL>
    *CALC_DUMMY_ORG PRODUCT = PARENTH1
    I think it helps.

  • GET 1 parent member

    Hi expert,
    in my script:
    *XDim_Memberset Product = <ALL>
    This will scan all of my children product only when i use  WHEN/ENDWHEN...
    but now i want include 1 parent member call : PD_SHEET  only one !!
    I dunt want use: *CALC_DUMMY_ORG Product=PARENTH1
    because this will make my system scan all the parent member ..and i have 100++ parent member..
    is there any idea??

    Hi Chiam,
      Since you're quite certain you only wanted to grab the value of 1 particular parent, i.e. PD_SHEET, i suggest that you hardcode the filtering of the PD_SHEET's children. I assume the necessary *SELECT and *XDIM_MEMBERSET statements have been done accordingly.
      For example, assuming the children of PD_SHEET are:
    1. PD_SHEET_Child1
    2. PD_SHEET_Child2
    3. PD_SHEET_Child3
      Then in your script logic, you can do the following:
    *WHEN PD_SHEET.ID
    *IS "PD_SHEET_CHILD1","PD_SHEET_CHILD2","PD_SHEET_CHILD3"
      *REC(EXPRESSION=%VALUE%  ......)
    *ENDWHEN
      I believed you can also do the following:
    *WHEN PRODUCT.PARENTH1
    *IS "PD_SHEET"
      *REC(EXPRESSION+%VALUE%......)
    *ENDWHEN
      You'll have to experiment with the last one, since the property PARENTH1 doesn't work with in some aspects of BPC, for example "Insert Member" in BPC Excel the last i checked, but in anycase the first logic though appearing clumsier, should work.
    Cheers,
    Lip Chean

  • BPC Intra-App Data transfer

    We need to copy data from APP1 to APP2,  In APP1, the source members are all calculated members and in APP2 they are leaf members.  The member names are the same in both apps.  We've wrestled with CALC_DUMMY_ORG and have gotten records returned from APP1, but they're not loading to APP2.
    We have a property in the source dim with a flag set to "Y" for those members that need to copy over, so our WHEN statement says *WHEN Dim.Property
    *IS "Y"
    Any help would be apprecated.
    Thanks
    Tom

    Hi Tom,
    I always do it a little bit different, but it works.
    I create a dimension in the source application with an extra property called somethin like: 'link_to_consol'. I set the value for all base members to which account the number must go in the destination app.
    The following piece of logic does in this case the trick:
    //this logic will copy the data from GL to CONSOL
    *xdim_memberset intco=<all>
    *xdim_memberset accountGL=<all>
    *xdim_memberset finspec=<all>
    *xdim_memberset costcenter=<all>
    *xdim_memberset jobnr=<all>
    *xdim_memberset groups=LC
    *calculate_difference
    *DESTINATION_APP =CONSOL
    *SKIP_DIM = jobnr
    *RENAME_DIM AccountGL = Account
    *ADD_DIM Datasrc = dUPLOAD
    *clear_destination
    *WHEN accountgl.link_to_consol
    *IS <> ""
        *REC(AccountGL=AccountGL.Link_TO_Consol)
    *ENDWHEN
    *COMMIT
    Alwin

Maybe you are looking for

  • External Monitor Problem-Only shows Background

    First off, I am a new mac user and just got a macbook last week. So far the only problem I have occurs when I try to connect it to my PC's Monitor (yes, I have the adaptor). The problem is only the background appears on the Monitor when I plug it in

  • Quicktime Stopped Working...

    every time i open up quicktime it instantly says "Quicktime has stopped working. Windows is searching for a solution to this problem." when it never finds a solution. I need quicktime for iTunes, and i want to buy a new ipod but can't unless i know i

  • Tune XSQL performance

    Hi, I wish to explore what would be the scope of tuning an XSQL query for performance apart from generic tuning of the SQL query embedded within the XSQL. I can think of two potential locations when seeking to improve XSQL performance: (a) Tuning the

  • Faster, better loading ...

    I am trying to establish where (if any) the problems are with this site. http://ardswe.com Please post back any problems you have with the site, and I will compile a list of problem areas that we can avoid, making all our sites load better and faster

  • Safari on Ipad3 IOS 7 can't open website in https with url with ip address

    Hi, After update on IOS7 i'm not able to open our website based on https with an url based on ip address. It 'possible that the website is not among those with a valid SSL certificate ?