BPC Logic Script: Copy from calculated members (non-base) to base members

Hi experts,
I want to copy some values from some calculated members to base members in the same dimension. It appears I have a hard time scoping the calculated members.
This is my C_ACCOUNT dimension:
And this is the COPYCALC.LGF script I am running:
LGX:
*XDIM_MEMBERSET C_ACCOUNT = 450
*WHEN C_ACCOUNT
*IS 450
*REC( EXPRESSION = %VALUE%, C_ACCOUNT = 50)
*ENDWHEN
LOG:
LOG BEGIN TIME:2014-02-26 17:21:12
FILE:\ROOT\WEBFOLDERS\STEP_UNIT_TEST \ADMINAPP\BUDGET_CASH\TEST.LGF
USER:KAROLISB
APPSET:STEP_UNIT_TEST
APPLICATION:BUDGET_CASH
[INFO] GET_DIM_LIST(): I_APPL_ID="BUDGET_CASH", #dimensions=16
AA_NUMBER,AUDITTRAIL,BUDGET_OBJECT,BUDGET_TYPE,CATEGORY,COFOG,CURRENCY,C_ACCOUNT,C_ACCOUNT_DT,ENTITY,FLOW,GRANTS,MEASURES,TIME,TIME_DT,VERSION
#dim_memberset=4
CATEGORY:RES,1 in total.
CURRENCY:LC,1 in total.
TIME:2012,1 in total.
C_ACCOUNT:450,1 in total.
SCRIPT RUNNING TIME IN TOTAL:1.00 s.
LOG END TIME:2014-02-26 17:21:12
My model structure:
So as you can see I am trying to copy from account 450 (which is non base) to account 50 ( which is base member). Also you can see that in the previous example no record was generated.
Whereas,  if I replace the account 450 with 4500 I get record generated in order:
LGX:
*XDIM_MEMBERSET C_ACCOUNT = 4500
*WHEN C_ACCOUNT
*IS 4500
*REC( EXPRESSION = %VALUE%, C_ACCOUNT = 50)
*ENDWHEN
LOG:
LOG BEGIN TIME:2014-02-26 18:26:26
FILE:\ROOT\WEBFOLDERS\STEP_UNIT_TEST \ADMINAPP\BUDGET_CASH\TEST.LGF
USER:KAROLISB
APPSET:STEP_UNIT_TEST
APPLICATION:BUDGET_CASH
[INFO] GET_DIM_LIST(): I_APPL_ID="BUDGET_CASH", #dimensions=16
AA_NUMBER,AUDITTRAIL,BUDGET_OBJECT,BUDGET_TYPE,CATEGORY,COFOG,CURRENCY,C_ACCOUNT,C_ACCOUNT_DT,ENTITY,FLOW,GRANTS,MEASURES,TIME,TIME_DT,VERSION
#dim_memberset=4
CATEGORY:RES,1 in total.
CURRENCY:LC,1 in total.
TIME:2012,1 in total.
C_ACCOUNT:4500,1 in total.
REC :%VALUE%
CALCULATION BEGIN:
QUERY PROCESSING DATA
QUERY TIME : 0.00 ms. 1  RECORDS QUERIED OUT.
QUERY REFERENCE DATA
CALCULATION TIME IN TOTAL :0.00 ms.
1  RECORDS ARE GENERATED.
CALCULATION END.
ENDWHEN ACCUMULATION: 1  RECORDS ARE GENERATED.
DATA TO WRITE BACK:
AA_NUMBER AUDITTRAIL BUDGET_OBJECT BUDGET_TYPE CATEGORY COFOG CURRENCY C_ACCOUNT C_ACCOUNT_DT ENTITY FLOW GRANTS TIME TIME_DT VERSION SIGNEDDATA
AA_NONE LIM NONE 10 RES FA_NONE LC 50 CAD_NONE A00 F99_1 NONE 2012 TD_NONE CURRENT 222.00
1  RECORDS HAVE BEEN WRITTEN BACK.
WRITING TIME :1.00  ms
Why can I not copy value from 450 ? How do I solve this problem ?
PS: currently I am testing this as a DM package run script but in the future I would like to make it a Default.lgf functionality.
I am working on:
BPC 10 SP5 for NW, calculation engine ABAP, BW 7.4

Sorry to keep you in darkness. My code has developed since I have started this thread:
*SELECT(%ADMISSIBLE%, "[ID]", C_ACCOUNT, " [THIERARCHY]<>'' AND [ACCTYPE]<>INC ")         // DEFINE THE SET OF REAL(ACTUALY EXISTING), NON-REVENUE AND NOT ANCIENT CASH ACCOUNTS HERE.
*SELECT(%INADMISSIBLE%, "[ID]", C_ACCOUNT, " [ID] <> %ADMISSIBLE% ")
*SELECT(%L1%, [ID], C_ACCOUNT, "[ID] = %C_ACCOUNT_SET%")       // DEFINE BASE LEVEL ACCOUNTS
*SELECT(%L2%, "[THIERARCHY]",C_ACCOUNT, "[ID] = %L1% ")       // DEFINE FIRST(COUNTING FROM BASE) LEVEL PARENTS
*SELECT(%L3%, "[THIERARCHY]",C_ACCOUNT, "[ID] = %L2% ")       // DEFINE SECOND(COUNTING FROM BASE) LEVEL PARENTS
*SELECT(%L4%, "[THIERARCHY]",C_ACCOUNT, "[ID] = %L3% ")
*SELECT(%L5%, "[THIERARCHY]",C_ACCOUNT, "[ID] = %L4% ")
*SELECT(%L6%, "[THIERARCHY]",C_ACCOUNT, "[ID] = %L5% ")
*SELECT(%LALL%, "[ID]", C_ACCOUNT, "[ID] = %L1%,%L2%,%L3%,%L4%,%L5%,%L6%")  //UNION OF ALL LEVELS
*XDIM_MEMBERSET AUDITTRAIL = INPUT
*XDIM_MEMBERSET VERSION = CURRENT
*XDIM_MEMBERSET AA_NUMBER = AA_NONE
*XDIM_MEMBERSET TIME_DT = TD_NONE
*XDIM_MEMBERSET C_ACCOUNT_DT = CAD_NONE
*XDIM_MEMBERSET C_ACCOUNT = %INADMISSIBLE%     //SCOPE LEAVES ALL POTENTIAL DESTINATIONS FOR MEMBERS IN %PARS%
*FOR %A% = %PARS%    //LOOP OVER ALL ADMISSIBLE PARENTS
*WHEN C_ACCOUNT
*IS L_C_%A%
*REC( EXPRESSION = [C_ACCOUNT].[%A%], C_ACCOUNT = L_C_%A%)         //SUM UP THE VALUES OF LEAVES AND WRITE THE SUM TO DESTINATION ACCOUNT
*ENDWHEN
*NEXT
screen shot of part of member table for C_ACCOUNT:
continuation in next reply (I have problems with my text editor)

Similar Messages

  • Shipment category not copied from deliveries because none exist

    Dear Gurus,
    Can u please let me know what this 2 errors means:
    1) Shipment category not copied from deliveries because none exist
    2) Shipping material not copied as means of transport not unique
    The above two warning message are getting from Inbound IDOC. its strange, First time I have seen u201C SHIPMENT CATEGORYu201D
    Appreciate your supportu2026thanks
    Rgds,
    Shafiq

    Hi Eric, can you please tell me how you resolved the issue. I am having the same problem and i don't know whether the fact that I can't map back to the IDOC that created the SHIPMENT, if it related to this error message or not.

  • Logic Script (Copying records while save from input screen)

    Hi Gurus,
    How to handle below requirement in script logic:
    Input screen column = Time (5 years)
    User want to input forecast data in current year and same data should be copied over to rest of the 4 years.
    I am new to Logic Script!
    Thanks.

    Another option is to add 4 properties to TIME dimension: SHIFT1,SHIFT2,SHIFT3 and SHIFT4 and fill them with members:
    2014.01 -> 2015.01 2016.01 2017.01 2018.01
    2014.02 -> 2015.02 2016.02 2017.02 2018.02
    ... etc
    Some maintenance work...
    The code will be simple and without FOR/NEXT loop:
    *WHEN CATEGORY
    *IS FORECAST
    *REC(EXPRESSION=%VALUE%,TIME=TIME.SHIFT1)
    *REC(EXPRESSION=%VALUE%,TIME=TIME.SHIFT2)
    *REC(EXPRESSION=%VALUE%,TIME=TIME.SHIFT3)
    *REC(EXPRESSION=%VALUE%,TIME=TIME.SHIFT4)
    *ENDWHEN
    Vadim

  • Logic script copy

    Hi expert,
    part of my script:
    *DESTINATION_APP = FINANCE
    *SKIP_DIM = MATERIAL,Product
    *ADD_DIM Location = Entity.Loc
    what I concern that is  *ADD_DIM Location = Entity.Loc ......is not working fine
    when store to database, it store the "Entity.Loc" to my column Location.
    but what actually I want is store the value from the PROPERTY call "Loc" from my dimenson ENTITY.
    any idea how to do this??
    Thanks...

    Hi Nilanjan
    I have a similar issue...
    Can you explain please how can I use the variable  for many members...
    Im performing correctly some data copy to another app.
    The problem is that when I use add_dim it is not possible to input more than 1 member per dim.
    How can i fix this?
    I.e.
    Conceptos.vap (all this members) --> account 40000 (destination member)
    Conceptos "toner" ---> account 50010 (destination member)
    I wanted to simplfy my script by typing this (to me this is supposed to work, is very simple, also running a script separately works for both Conceptos)
    *select(%conceptos%,"id","conceptos","vap='i'")
    *xdim_memberset conceptos=%conceptos%
    *xdim_memberset moneda=mxn,usd
    *xdim_memberset lob=servicios_out
    *xdim_memberset metrica=importe_p
    *xdim_memberset consumibles=consumibles_dummy
    *xdim_memberset tiempo=%tiempo_set%
    **WHEN conceptos
    **IS %conceptos%,toner*
    WHEN metrica
    *IS importe_p,importe_r
    *REC(FACTOR=1,metrica="dummy_metrica")
    *ENDWHEN
    *ENDWHEN
    *COMMIT
    *DESTINATION_APP= ALLDORA_FINANZAS
    *xdim_memberset moneda=mxn,usd
    *xdim_memberset lob=servicios_out
    *xdim_memberset metrica=dummy_metrica
    *xdim_memberset tiempo=%tiempo_set%
    *skip_dim = conceptos
    *skip_dim = consumibles
    *add_dim ceco=A010ops001
    *add_dim cuenta=40000, 50010 ---> ERROR !!!!
    *add_dim empleado=empleado_dummy
    *WHEN conceptos
    *IS %conceptos%
    *REC(FACTOR=1,cuenta="40000")
    *IS toner
    *REC(FACTOR=1,cuenta="50010")
    *ENDWHEN
    *commit
    If I just type separately the logic for each one WITHIN the same script, the Account destination member taken is the one found at the bottom of the script, i mean, it is not performing the input in the final Account (40000 and 50010), just for one of them.
    However... since i have to do 14 different logics, it is very awkward to execute 14 scripts... in order for this logic to work,
    Thanx
    Velázquez

  • Transferring saved workspaces, brushes, scripts, etc. from CS6 to CC on a PC using Windows 7

    This is what I came up with...
    Transfer saved workspaces, brushes, scripts, etc. from CS6 (Indesign, Illustrator and Photoshop) to CC on a PC using Windows 7.
    Go to start menu < computer < (OS) C: drive < documents and settings* < user (your user name) < application data** < adobe < adobe illustrator (or adobe photoshop)***
    *To see the ‘documents and settings’ folder, I had to go to start menu < control panel < folder options –  select view tab – uncheck hide protected operating system files (recommended). The computer will prompt you to go ahead, say ‘yes’ then hit apply.
    ** There is another folder above ‘application data’ named ‘appdata’, this is not the correct folder.
    * & ** I could not access these folders no matter what user settings I selected or logged in as administrator. I did an internet search and found the following successful:
    If the the folder denies you access to share… right click on the folder < select properties < select the ‘security’ tab < click the ‘edit’ button < select any and all users named ‘everyone’ < select ‘remove’
    After I removed the ‘everyone’ users, I was able to successfully share the folder to my user and access.
    *** I did not have an ‘adobe indesign’ folder, scrolling down the list it was labeled just as ‘indesign’. So was ‘bridge’, ‘dreamweaver’, etc.
    INDESIGN: Below are my exact paths for my particular system:
    < adobe < Indesign (inside this folder I have three folders: Version 7.0, Version 8.0 and Version 9.0 – which correlates? to CS5, CS6 and CC.) < Version 8.0 < en_US < Workspaces (inside this folder I have two files of each workspace – for example named: ‘xyz.xml’ and ‘xyz_CurrentWorkspace.xml’, I don’t why there are two similarly named files??, so I copied both and pasted both (and it worked.)
    < copy the workspaces you want to bring into CC
    >Go back, to the Indesign folder and then to < Version 9.0 < en_US < Workspaces and paste the workspaces.
    I did the same for scripts: copied from the Version 8.0 folder to the Version 9.0 folder *Please note that, with updated versions, your scripts may not work…
    < Version 8.0 < en_US < scripts < scripts panel (copy scripts.)
    You can do the same for Greps, Glyphs, Find/Change, etc.
    I copied entire folders over from the en_US folders: ‘Indesign Shortcut Sets’ and ‘Glyph sets’
    PHOTOSHOP: Below are my exact paths for my particular system: * please note I also have a ‘photoshop’ folder in the ‘adobe’ folder, which did not have what I was looking for to carry over.
    < adobe < adobe photoshop CS6 < adobe photoshop CS6 settings – copy all files < go back to adobe < adobe photoshop CC < adobe photoshop CC settings – paste all files

    To turn off UAC, go to the Control Panel, then User Accounts.
    Under the header, "Make changes to your user account", there is an entry titled "Change User Account Control Settings".
    Pick it, and drag the slider all the way down to "Never Notify".
    Access of Japan is the company Palm hired to write Palm Desktop 6.2.2.  
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Inventory movement using logic script - BPC NW 10

    Hello BPC experts,
    I'm working on inventory movement using logic script. The idea is that the initial stock of the first period equals the final stock of the previous period.
    Here is an example of my inventory report : (Dimension INVT in function of dimension TIME)
                                                  2014.01       2014.02      2014.03        2014.04
    F01 Stock first period                  12            
    F02 Initial Stock                          12                 11              10                 9
    F03 Inventory Inputs                    2                   4                6                   8
    F04 Inventory Outputs                 3                   5                7                   9
    F05 Final Stock                          11                 10               9                   8
    The Stock of the first period is entered
    The initial Stock = Stock first period (12 in our case)
    Inventory inputs and Outputs are entered
    Final Stock = Initial Stock + Inventory Inputs - Inventory Outputs
    I tried the following script but it does not work :
    *XDIM_MEMBERSET TIME = 2014.01 //we should then retrieve the first period of each year which is not necessary the first month of the year
    *WHEN TIME
    *IS 2014.01
    *REC(EXPRESSION = [INVT].[F01], INVT = F02)
    *ENDWHEN
    *SELECT(%TIME_LIST%,"[ID]","TIME","[PREVMEMBER]"<>"") // PREVMEMBER is a property of TIME
    *XDIM_MEMBERSET TIME = %TIME_LIST%
    *XDIM_MEMBERSET INV = F05
    *WHEN TIME
    *IS %TIME_LIST%
    //Something is missing here.. How to retrieve F05 values related to all periods and copy them in F02
    *REC(EXPRESSION =[INVT].[F05],INVT = F02)
    *ENDWHEN
    Please how can I achieve this ?
    Thanks
    Maha

    Hi Vadim,
    Thank you for your reply
    I'm working with BPC NW 10 SP 05 (CPMBPC 801 SP 05), Engine ABAP
    My model contains the following dimensions ACCOUNT (A), TIME (T), CATEGORY (C), ENTITY (E), CURRENCY (R), INVT (User Def)
    In the INVT dimension we have members like (Stock first period, Initial Stock, Inventory Inputs, Inventory Outputs, Final Stock)
    - [INVT].[Stock first period] is entered
    - [INVT].[Initial Stock] = [INV].[Stock first period]
    - [INVT].[Inventory input] and [INVT].[Outputs] are entered
    - [INVT].[Final Stock] = [INVT].[Initial Stock] + [INVT].[Inventory Inputs] - [INVT].[Inventory Outputs]
    We want to calculate Initial Stock in DEFAULT.lgf :
    [INVT].[Initial Stock] when (TIME=2014.01) = [INVT].[Stock First Period] when (TIME= 2014.01)
    [INVT].[Initial Stock] when (TIME=2014.02) = [INVT].[Final Stock] when (TIME= 2014.01)
    [INVT].[Initial Stock] when (TIME=2014.03) = [INVT].[Final Stock]  when (TIME=2014.02)
    [INVT].[Initial Stock] when (TIME=2014.04) = [INVT].[Final Stock]  when (TIME=2014.03)
    When a user enters the values of "Stock first period", "Inventory Inputs" and "Inventory Outputs", Initial Stock and Final stock should be calculated via logic script
    Regards
    Maha

  • Cannot modify logic script on BPC 10.0

    Hello All,
    I need to change a simple logic in our existing logic script. I changed, validated and hit a save button. It says that "The Script Logic file has been updated". However, my change is not saved. When I open a script Logic after I saved, I see the original one only.
    I talked to BASIS team to check the PROCTIMEOUT on server and found that it has 3600. Which is two times higher than SAP recommended. There are about 200 lines in logic scripts.
    Could you please help why I can not modify the logic scripts?
    Thank you very much in advance!!!
    Thanks
    Indra

    Hi Indra,
    I dont think its related to the timeout settings of a DIA process. Could you please check if you have proper authorizations to Update the script Logic in BPC  ?
    Regards
    Ram

  • Can I send a link to a photo book so family members can choose to order a copy from Apple?

    I woud like to share the photo book that I created so that family members in other states can consider purchasing a copy from I Photo.  Is there a way they can view it?

    Before ordering your book preview it using this method - http://support.apple.com/kb/HT1040 - and save the resulting PDF for reference - the delivered book will match it.
    you can share the PDF via drobbok or other file sharing service
    LN

  • How do i copy music on my nano to a new computer (the old computer hard drive crashed).  None of the music was purchased from itunes, it was copied from cd's

    my old computer hard drive crashed.  i have music on my ipod nano - none of it purchased through itunes, all copied from cd's.  how do i copy what is on the nano to a new computer.

    How to use your iPod to move your music to a new computer using iTunes7
    http://docs.info.apple.com/article.html?artnum=300173
    How to use your iPod to move your music to a new computer using iTunes6
    http://docs.info.apple.com/article.html?artnum=304304
    Copying from iPod to Computer threads...
    http://discussions.apple.com/thread.jspa?threadID=776996&tstart=0
    http://discussions.apple.com/thread.jspa?threadID=805256&tstart=0
    http://discussions.apple.com/thread.jspa?messageID=797432&#797432
    Also these useful internet articles...
    http://www.engadget.com/2004/11/02/how-to-get-music-off-your-ipod/
    http://playlistmag.com/help/2005/01/2waystreet/
    iPod: Frequently Asked Questions
    http://docs.info.apple.com/article.html?artnum=60920
    Patrick

  • Logical system on QAS after remote client copy from PRD to QAS

    I wander after remote client copy from PRD to QAS do I have to change Logical system on QAS. Do I have to run some postprocessing program?
    Thank you in advance

    Hi Branko,
    After the system copy, go to transaction SALE -> Sending and receiving Systems -> Logical systems -> Define Logical System , click New Entries and create a new logical system for your QAS; then go to SALE -> Sending and receiving Systems -> Logical systems -> Assign Client to Logical System, click on the client, click change and assign the new Logical system.
    Other activities, check Jobs, RFC's, etc...
    Regards
    Juan
    Please reward with points if helpful

  • Passing variables from DM to logic script problem (REPLACEPARAM)

    Dear All,
    I would like to send variables from data manager to a logic script. The script copies values from an account to an other. If I hardcode two accounts in the script, it works fine, but I want to pass these two accounts dynamically from data manager to the script.
    My advanced script in DM looks as follows:
    PROMPT(SELECTINPUT,%ENTITY_M%,,"Select entity:","ENTITY_DIM")
    PROMPT(SELECTINPUT,%SOURCE%,,"Select source account:","ACCOUNT_DIM")
    PROMPT(SELECTINPUT,%TARGET%,,"Select target account:","ACCOUNT_DIM")
    INFO(%EQU%,=)
    INFO(%TAB%,;)
    TASK(PROCESS_CHAIN_RUNL,TAB,%TAB%)
    TASK(PROCESS_CHAIN_RUNL,EQU,%EQU%)
    TASK(PROCESS_CHAIN_RUNL,SUSER,%USER%)
    TASK(PROCESS_CHAIN_RUNL,SAPPSET,%APPSET%)
    TASK(PROCESS_CHAIN_RUNL,SAPP,%APP%)
    TASK(PROCESS_CHAIN_RUNL,SELECTION,%ENTITY_M%)
    TASK(PROCESS_CHAIN_RUNL,LOGICFILENAME,ACCOUNT_COPY_LOGIC.LGF)
    TASK(PROCESS_CHAIN_RUNL,MEMBERSELECTION,SOURCE%EQU%%SOURCE%%TAB% TARGET%EQU%%TARGET%)
    In the logic script, I'm using $SOURCE$ and $TARGET$ as variables, but it seems that only the first of them gets the value from DM, the other one not, and I always get an error message:
        Member "$TARGET$" not exist
    The second variable doesn't seem to get the value. If I use only one variable, either SOURCE or TARGET, it works fine...
    ...and I also tried to replace the MEMBERSELECTION statement with a REPLACEPARAM statement:
    TASK(PROCESS_CHAIN_RUNL,REPLACEPARAM,SOURCE%EQU%%SOURCE%%TAB% TARGET%EQU%%TARGET%)
    This way I got an other error message, saying: "Member .../PrivatePublications/user not exist"
    Do you have any idea? How to pass two user selected parameters to a logic script?
    Thanks for your help,
    A.

    Hi CsernusAttila
    You cannot use ACCOUNT_DIM with promp SELECT  and variable $SOURCE$ because it only works with variable ACCOUNT_SET in your script logic.
    instead of you can use TEXT
    PROMPT(TEXT,%,ENTITY_M%%,"Select Entity",)
    PROMPT(TEXT,%,SOURCE%%,"Select Source",)
    PROMPT(TEXT,%,TARGET%%,"Select Target",)
    INFO(%EQU%,=)
    INFO(%TAB%,;)
    TASK(PROCESS_CHAIN_RUNL,TAB,%TAB%)
    TASK(PROCESS_CHAIN_RUNL,EQU,%EQU%)
    TASK(PROCESS_CHAIN_RUNL,SUSER,%USER%)
    TASK(PROCESS_CHAIN_RUNL,SAPPSET,%APPSET%)
    TASK(PROCESS_CHAIN_RUNL,SAPP,%APP%)
    TASK(PROCESS_CHAIN_RUNL,SELECTION,%SELECTION%)
    TASK(PROCESS_CHAIN_RUNL,LOGICFILENAME,ACCOUNT_COPY_LOGIC.LGF)
    TASK(PROCESS_CHAIN_RUNL,REPLACEPARAM,SOURCE%EQU%%SOURCE%%TAB% TARGET%EQU%%TARGET%)
    or you can modify your script like this
    *XDIM_MEMBERSET ACCOUNT=%ACCOUNT_SET%
    *XDIM_MEMBERSET ENTITY=%ENTITY_SET%
    And your Prompt like this
    PROMPT(SELECTINPUT,,,,"%ACCOUNT_DIM%,%ENTITY_DIM%,")
    TASK(PROCESS_CHAIN_RUNL,TAB,%TAB%)
    TASK(PROCESS_CHAIN_RUNL,EQU,%EQU%)
    TASK(PROCESS_CHAIN_RUNL,SUSER,%USER%)
    TASK(PROCESS_CHAIN_RUNL,SAPPSET,%APPSET%)
    TASK(PROCESS_CHAIN_RUNL,SAPP,%APP%)
    TASK(PROCESS_CHAIN_RUNL,SELECTION,%SELECTION%)
    TASK(PROCESS_CHAIN_RUNL,LOGICFILENAME,ACCOUNT_COPY_LOGIC.LGF
    I hope it helps
    Regards!!

  • Excluding Shared members from calculations

    Hi,How can I exclude shared members from calculations so that shared members are not calculated twice?Regards

    Hi Mayank,
    Try *SELECT
    *SELECT(%H%,"[ID]",HR_ACCOUNT,"[ID]<>Shift,Education_Assist")
    *XDIM_MEMBERSET HR_ACCOUNT=%H%
    Vadim
    P.S. Or:
    *SELECT(%H%,"[ID]",HR_ACCOUNT,"[ID]<>Shift AND [ID]<>Education_Assist")
    Both will work
    Message was edited by: Vadim Kalinin - P.S. Added

  • BPC Security - Edit Logic Script

    Trying to find the security task that give edit access to Logic Script(BPC 10 NW SP9). Is this combined with the "Edit Packages" Data Manger task?
    Thank you.
    Regards,
    Vinod Swarnapuri

    Vinod,
    I think the one you are looking for is Manage Business Rules.
    Akos

  • Excluding members from calculation

    I am trying to get this calculation to not include 2001 & 2002 members from the time dimension. I have tried adding this to the IF statements:AND (@CURRMBR(TIME) <> (@IDESCENDANTS(YR2001))) AND (@CURRMBR(TIME) <> (@IDESCENDANTS(YR2002))))It's not working. Please Help me.FIX(&CURRDAY, @UDA(TIME, "LastDay"), @UDA(TIME, "HistMthEnd"), @LEVMBRS(Entity, 0), @LEVMBRS(Accounts, 0)) ACTYTD_LOAD( IF ((@CURRMBR(TIME) <> #MISSING) AND (@ISUDA(TIME, "HistMthEnd"))) @ANCEST(TIME,3) = @CURRMBR(TIME); @ANCEST(TIME,2) = @CURRMBR(TIME); ELSEIF (@ISUDA(TIME, "HistMthEnd")) @ANCEST(TIME,3) = #MISSING; @ANCEST(TIME,2) = #MISSING; ELSEIF ((@CURRMBR(TIME) <> #MISSING) AND (@ISUDA(TIME, "LastDay")) AND (NOT (@ISISIBLING(&CURRDAY)))) @ANCEST(TIME, 4) = @CURRMBR(TIME); @ANCEST(TIME,3) = @CURRMBR(TIME); @ANCEST(TIME,2) = @CURRMBR(TIME); ELSEIF ((@ISUDA(TIME, "LastDay")) AND (NOT (@ISISIBLING(&CURRDAY)))) @ANCEST(TIME, 4) = #MISSING; @ANCEST(TIME,3) = #MISSING; @ANCEST(TIME,2) = #MISSING; ELSEIF ((@CURRMBR(TIME) <> #MISSING) AND (@ISMBR(&CURRDAY))) @ANCEST(TIME, 4) = @CURRMBR(TIME); @ANCEST(TIME,3) = @CURRMBR(TIME); @ANCEST(TIME,2) = @CURRMBR(TIME); ELSEIF (@ISMBR(&CURRDAY)) @ANCEST(TIME, 4) = #MISSING; @ANCEST(TIME,3) = #MISSING; @ANCEST(TIME,2) = #MISSING; ENDIF);

    Could This Work ?/****************************//* Set &CurYear == "YR2003" *//****************************/If(@IsMbr(&CurYear)) {Your Code Here }else/* do nothing */endif;/* refactored but then maybe not */If (@curMbr("TIME") <> #Missing) then If (@isUda("TIME","HistMthEnd") then @ANCEST(TIME,3) = @CURRMBR(TIME); @ANCEST(TIME,2) = @CURRMBR(TIME); Else If (@isUda("TIME","LastDay") then If (NOT (@IsSib(&CurDay)) then @ANCEST(TIME,4) = @CURRMBR(TIME); @ANCEST(TIME,3) = @CURRMBR(TIME); @ANCEST(TIME,2) = @CURRMBR(TIME); Endif; Else If (@IsMbr(&CurDay)) then @ANCEST(TIME,4) = @CURRMBR(TIME); @ANCEST(TIME,3) = @CURRMBR(TIME); @ANCEST(TIME,2) = @CURRMBR(TIME); Endif; Endif; Endif;Else If(@isUda("TIME","HistMthEnd") then @ANCEST(TIME,3) = #MISSING; @ANCEST(TIME,2) = #MISSING; Else If (@isUda("TIME","LastDay") then If (NOT (@IsSib(&CurDay)) then @ANCEST(TIME,4) = #MISSING; @ANCEST(TIME,3) = #MISSING; @ANCEST(TIME,2) = #MISSING; Endif; Else If (@IsMbr(&CurDay)) then @ANCEST(TIME,4) = #MISSING; @ANCEST(TIME,3) = #MISSING; @ANCEST(TIME,2) = #MISSING; Endif; Endif; Endif;Endif;

  • How to SIMPLY use the %DIMENSION_TO_SET% variables into logic scripts

    hello,
    I'm using a prompt of type "COPYMOVE" or "COPYMOVEINPUT". In this type of prompt, there are 2 columns of dimension members list, one for defining the "source zone" and one for defining the "target zone" of logics.
    The left colum of the prompt (for source zone) feeds the variables %DIMENSION_SET% : %ACCOUNT_SET%, %ENTITY_SET%, %CATEGORY_SET%, etc...and these variables can be used in the logic scripts in *XDIM_MEMBERSET instructions for example.
    The right colum of the prompt feeds the variables %DIMENSION_TO_SET% : %ACCOUNT_TO_SET%, %ENTITY_TO_SET%, %CATEGORY_TO_SET%, etc...and I don't know how to SIMPLY use these variables in the logic scripts.
    I've found a tricky way to do that but I meet 2 problems :
    - it is complicated
    - the multi-info instruction (BEGININFO/ENDINFO) seems to be bugged as blank lines are added all the time in the code and sometimes I have to wait for minutes when I try to modifiy the package code through BPC for excel eData/modify package menu.
    So the question is how to SIMPLY get the %DIMENSION_TO_SET% variables into logic scripts and use them ? Thanks, R.
    Here is the tricky package code I use at this time (I build one function for each %DIMENSION_TO_SET% variable and I pass these functions to the logic) :
    PROMPT(COPYMOVE,,,,"ACCDETAIL,ACCOUNT,CATEGORY,DATASRC,ENTITY,TIME,YEARS")
    TASK(Execute formulas,USER,WS-WW\PlauchuR)
    TASK(Execute formulas,APPSET,US)
    TASK(Execute formulas,APP,SV)
    TASK(Execute formulas,SELECTION,D:\BPC\Data\WebFolders\US\SV\PrivatePublications\PlauchuR\TempFiles\FROM_1561_.TMP)
    TASK(Execute formulas,TOSELECTION,D:\BPC\Data\WebFolders\US\SV\PrivatePublications\PlauchuR\TempFiles\TO_1561_.TMP)
    BEGININFO(%FSS%)
    *FUNCTION TARGETACCDETAIL=%ACCDETAIL_TO_SET%
    *FUNCTION TARGETACCOUNT=%ACCOUNT_TO_SET%
    *FUNCTION TARGETCATEGORY=%CATEGORY_TO_SET%
    *FUNCTION TARGETDATASRC=%DATASRC_TO_SET%
    *FUNCTION TARGETENTITY=%ENTITY_TO_SET%
    *FUNCTION TARGETTIME=%TIME_TO_SET%
    *FUNCTION TARGETYEARS=%YEARS_TO_SET%
    ENDINFO
    TASK(Execute formulas,FORMULASCRIPT,%FSS%)
    TASK(Execute formulas,LOGICFILE,D:\BPC\Data\WebFolders\US\SV
    ..\AdminApp\SV\_TEST.Lgf)
    TASK(Execute formulas,RUNMODE,1)
    TASK(Execute formulas,LOGICMODE,1)
    Edited by: ALEXANDRE BEDIER on Jun 16, 2010 3:15 PM

    hello,
    finally I've discovered that there is no need of BEGININFO instruction.
    One can pass several functions to a logic with one FORMULASCRIPT task. The functions definitions have to be separated by instructions. See below :
    PROMPT(COPYMOVEINPUT,%FTARGETS%,,"select source and target zone for category and datasource.","ACCDETAIL,ACCOUNT,CATEGORY,DATASRC,ENTITY,TIME,YEARS")
    TASK(Execute formulas,FORMULASCRIPT,*FUNCTION TACCDETAIL=%ACCDETAIL_TO_SET% *FUNCTION TACCOUNT=%ACCOUNT_TO_SET% *FUNCTION TCATEGORY=%CATEGORY_TO_SET% *FUNCTION TDATASRC=%DATASRC_TO_SET% *FUNCTION TENTITY=%ENTITY_TO_SET% *FUNCTION TTIME=%TIME_TO_SET% *FUNCTION TYEARS=%YEARS_TO_SET%)
    TASK(Execute formulas,USER,%USER%)
    TASK(Execute formulas,APPSET,%APPSET%)
    TASK(Execute formulas,APP,%APP%)
    TASK(Execute formulas,SELECTION,%SELECTIONFILE%)
    TASK(Execute formulas,LOGICFILE,%APPPATH%\..\AdminApp\%APP%\_TEST.LGF)
    TASK(Execute formulas,RUNMODE,1)
    TASK(Execute formulas,LOGICMODE,1)
    Then one will be able to use the functions TACCDETAIL, TCATEGORY, TACCOUNT,... in the logic script.
    Edited by: ALEXANDRE BEDIER on Jun 24, 2010 10:31 AM
    Edited by: ALEXANDRE BEDIER on Jun 24, 2010 10:33 AM

Maybe you are looking for

  • Event 4740 Not Logged for a Single Account Lockout

    Domain Functional Level: 2003 PDC Emulator: 2008 R2 Lockout Origin DC (also the RADIUS server): 2003 R2 For quite a while now I have been relying on Event 4740 on the PDC Emulator to track account lockouts.  Usually when the RADIUS server causes an a

  • File upload on different server. URGENT need help.

    hi, I am using struts common file upload to upload file from client. My problem is my application is running on server A but i want to store uploaded stream on server B without storing it on server A(i,e. without using FTP or rsync from server A to s

  • CS3 hangs when saving as PDF

    Having another issue today. When saving my file as Acrobat(PDF), the program just lock up. Only way out is to task manager and close down. Am running Vista Home Pro, Core2 Quad with 3gb memory. It had worked for about a week then all of a sudden, thi

  • Just wanted to say Hi before Posting...

    I just wanted to pop in and say hi before I start troubling you all with my problems... Any help is greatly appreciated, we all need some support sometimes...

  • Rebuilding an old G4 (pci)

    So far, everything is falling into place, too. MacMall has the PC-100 memory I need to max it out and a Mac-to-VGA adapter so I don't have to use that bloody huge monitor that comes with it (anybody wanna buy a monitor as big as an original imac?). H