Passing Dimension Members to Logic Task in SSIS

I have a package that pulls data from a source and loads it into BPC. As a part of the package, if data is loaded into prior periods (I identify this through a query and put the prior periods and accounts into variables), we then need to run a piece of script logic that rolls forward the necessary balances based on the time periods and the accounts included. Right now, the package generates an email and includes an expression noting the prior time periods and accounts, and and then the users go and manually run the logic for the time periods and accounts specified in that notification email. However, we want to automate that step at the end of the package. What is the best way to pass the time period and account variables into script logic to limit the scope to just those accounts and the time periods specified?

Thanks Roberto. That certainly is an option. I can't define the appropriate accounts and time periods through any BPC tables, so I believe that I would need set a Property, something like "RunLogic", in the mbrTime and mbrAccount tables using a query in an Execute SQL task first, and then in the script logic use the Select statements to set a variable like you mentioned, and then use that variable to define the scope in the XDIM_MEMEBERSET statements.
But, is this the best, cleanest way to do this? Given that the Logic task was built for SSIS, it seems to me that there would be a direct way to simply define the scope in the task using an expression and/or variables, or through ModifyScript. Is there a way to simply pass the variables through and leverage a dynamic constant or something else that is already built into BPC?

Similar Messages

  • How to auto-update of script logics after adding new dimension members?

    Hi Experts,
    Just wanna ask if BPC has a functionality that would automatically update/validate and save my script logic whenever I add new dimension members. I've added new PL accounts but they are not automatically added to my calculated BS Net Income. I had to re-validate and save my logic for it to be included in my logic and for the amounts to be computed correctly.
    Thanks,
    Marvin

    Hi Marvin,
    There is no functionality as such. we need to configure the script as and when we make any changes in the dimension members.
    Regards
    Raman

  • Maintain dimension members directly into the data base

    Hi,
    We need to update the dimension members directly into the data base.
    Instead of going into the administration and entering manually.
    I tried just updating the table mbr and dim. but that didn't work.
    Any insight on that?

    To update the dimension members from the backend tables, update the mbr<dimension>> table and process the dimension either from BPC Admin Console or a SSIS BPC Admin Task. The dimension processing will automatically update the dim<<dimension>> table in the backend.
    However, the updated dimension members can not be seen from the frontend in the BPC Admin. To see the updated dimension member sheet in the current client machine, use Export Dimension option in BPC Admin Console.
    To see the updated dimension an all client machines and get reflected in the current view, please follow this URL:
    Re: BPC 7 MS Update dimension (Make_dim task)
    Hope this helps.

  • Cannot maintain dimension members in SAP BPC

    Hello, Masters in BPC
    I have just create mention and want to input data, I used maintain dimension members CUSTOMER in SAP BPC but It seem not effect although I press Process dimension already and I open excel and paste data also saved them already. When I open other dimension and reopen CUSTOMER but nothing is shown.
    Please give me a advice to resolve the problem.
    Thanks you so much.
    Best Regards
    Chinh

    Dear Raju,
    Yes, I did it some times but nothing is happen,
    I maintain dimension members, I did it as below:
    - Choose maintain dimension members
    - copy data from excel file and paste into the dimension
    - click process dimension
    Show a dialog
    - Uncheck Take system offine
    This task is successful.
    but I go to dimension ACCOUNT in order to insert data,
    I came back maintain dimension members : CUSTOMER but I see no data is displayed.
    It is the same for ACCOUNT when I want to see data on that dimension
    when I try one more time , I click save to server, The Error message show that : Dump Error
    I reinstall BPC client and its patch but nothing to change
    How can I do???
    Thanks

  • Concatenate text and property of dimension in script logic

    hello experts,
    how to concatenate text and property of dimension in script logic?
    as example:
    dimension : interco
    property    : mgmtallocdefcc
    *WHEN TIME.YEAR
    *IS %YEAR_VAR%
    *REC(EXPRESSION=%VALUE%,ACCOUNT=12345,ENTITY="I_" [INTERCO],MGMTALLOCDEFCC)
    *NEXT
    then it will read all as text: I_[INTERCO].MGMTALLOCDEFCC
    for example the value of property mgmtallocdefcc in interco dimension (INTERCO.MGMTALLOCDEFCC) is ABCDE.
    what i expect is :I_ABCDE
    thanks!

    Hi Yoki,
    Concatenation is only possible between text and variables %VAR% or $VAR$.
    Like ENTITY=I_%SOMEVAR%
    But in your case instead of concatenate you have to use other property like TARGETENTITY having valid ENTITY members:
    ENTITY=INTERCO.TARGETENTITY
    B.R. Vadim

  • Import Comments data and Dimension Members from csv file via Data Manager

    Dear Experts,
    I have two questions regarding the data manager.
    Q1.Is it possible to import "Comments" from the csv file via Data Manager?
    We'd like to import the amount with "Comments".
    My image of csv file is like below;
    ACCOUNT,CATEGORY,TIME,ENTITY,INPUTCURRENCY,AMOUNT,COMMENTS
    1100000,ACTUAL,2010/06,LC,30000,This is comment
    Q2.Is it possible to import the dimension "members" from the csv file via Data Manager?
    We have a user-defined dimension named "Project"
    and would like to import the members, instead of maintaining them in BPC administration manually.
    I found an online help information which says "Import Master Data from a Data File Example",
    but I could not find any relevant sample package for this.
    (I tried to import the members by using "Import" package, but it failed...)
    reference:http://help.sap.com/saphelp_bpc75/helpdata/en/86/8b1bfc12c94fb0b585cca70d6f1b61/content.htm
    Thanks in advance for your help.
    Fumi

    Hi Fumi,
    In this case, I would suggest you to create a customized SSIS package which will fill-in the "Comment<APP>" table, according to the csv file you have. I do not know any standard package that allows you to import comment the way you would like...
    Best Regards,
    Patrick

  • [ASK] Get One Row of Property Value From Dimension in Script Logic

    Hello, i need help about how to get one row of property value from dimension in script logic.
    Let say there is CATEGORY dimension and the members are like this :
    ID                                                  YEAR   Status
    PLAN_2011                                   2011        A
    PLAN_2011_V1                            2011        I
    ACTUAL_2011                              2011        I
    FORECAST_2011                         2011        I
    FORECAST_2011_V1                  2011        A
    PLAN_2012                                  2012        A
    PLAN_2012_V1                           2012        I
    ACTUAL_2012                             2012        I
    FORECAST_2012                         2012        I
    FORECAST_2012_V1                  2012        A
    If i scope CATEGORY like this :
    *XDIM_MEMBERSET CATEGORY = [CATEGORY].PROPERTIES("YEAR") = "2011"
    Then i will get member scope like this :
    PLAN_2011                                   2011        A
    PLAN_2011_V1                            2011        I
    ACTUAL_2011                              2011        I
    FORECAST_2011                         2011        I
    FORECAST_2011_V1                  2011        A
    Question :
    In script logic, how can i read the second record of scope and move it to variable ?
    Ex. : I read second record, so i can get the data of second record (PLAN_2011_V1, 2011, A).
    Is there any function to read all record that had been scope ? So i can read all those 5 records.
    Is there any substring or offset function in script logic ? How to use it ?
    Thank you.

    Hi,
    Firstly, when we scope the logic, it doesnt fetch the entire record from the member sheet. It just fetches the ID.
    Secondly, we dont have the feasibility to read only the second ID and skip the others. However, one alternative is that you use the SELECT statement to store all the IDs in a variable, and then use a FOR loop. But this will loop through all the 5 IDs, as per your example. If you want to skip all the IDs except one, you should maintain some property, so that all the IDs are neglected which doesnt have a particular property value.
    Hope you got the idea.

  • XML Task in SSIS 2012

    Hi All,
    I need help on one requirement in SSIS 2012, Please let me know for any suggestions or solution.
    I have two XML files having different structure, I have to manipulate data by applying XSLT and creating single output xml. (Which needs to pass these 2 Xml files and 1 xslt to SSIS task)
    In SSIS we have in-built XMLTask which will take XSLT operation of 1 xml and 1 xslt to deliver new output xml, Is there any way to pass 2 xml files and 1 xslt to get new output xml?
    Thanks for any help

    Hi visakh,
    i have tried  as you said.but still i am not able to load multiple Xml files.
    I'm having a problem using the Foreach Loop container that contains an XML Task followed by a data flow task. When I run my package in the debugger,
    the XML Task fails with the following errors: [XML Task] Error: An error occurred with the following error message: "Data at the root level is invalid. Line 1, position 1.". [XML Task] Error: Property "New Source" has no source Xml Text; Xml Text is either
    invalid, null or empty string.
    The Foreach Loop container is a file enumerator. The XML Task validates XML files using an XSD file. The XML Task SourceType is a XSLTand the Source has the variable set by the Foreach Loop (index 0). I have an XML file which I know is valid. For some reason,
    the XML Task Source is not referencing the variable, set by the Foreach loop.
    If I use a file connection to the existing XML file, instead of using the variable, the XML Task validates the file successfully. I believe there might be a bug in the XML Task when a variable is specified. If I disable the task and let my data flow task run,
    it has no problem importing each XML file, in the directory, using an XML Source that uses the Foreach loop variable for the Source. My data flow completes correctly.
    Thanks

  • Activating audit for Dimension Members in BPC 7.5 NW

    Hi,
    Is it possible to activate dimension member audit in BPC 7.5 NW. Meaning, can we trace changes to master data (dimension members) in BPC 7.5 NW?
    Best regard
    SSC

    Hi,
    The Activity Auditing tracks Administrative and User tasks at the Appset level.
    This will be controlled by the Administrators to check whether activity auditing is enabled or not.
    To enable this future go to -> Administration for the Web, choose Manage Activity Audit -> then choose one or both types of activities to audit.
    Please check the help file for the same.
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/a0/2d2e0ec3da472c82a3f0ff5a96d9ce/content.htm
    Regards,
    Raghu

  • Dimension Members in BPC is not updating

    Dear Friends,
    I have trasfered the values of the 0GL_ACCOUNt to the account dim of my appset in BW using the transformation and i could see the values in the BPC display dimension members.
    But simillary i have created the transformation and uploaded  the values of the 0Move_type to the flow dimension and am trying to view the same in the BPC but am not getting any valuess in dimension member list of the Flow dim.
    I too closed and reopened the admin console. What could be the reason, kindly suggest.
    Thanks
    Prem

    There is a task in the Action Pane from BPC Administration to Refresh client dimension members.  Try it.  Also try to save and process your dimension again.  Finally, hate to state the obvious but make sure your DTP loaded to the right infoobject which was generated from BPC.  Do you see the master data in BW from RSD1?
    Best regards,
    [Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
    SAP BusinessObjects
    Enterprise Performance Management
    Regional Implementation Group

  • Dimension members -Question???

    Is it possible to add dimension members using script logic?

    Thanks for your reply.
    i am working on TOP down allocation..since we cannot  write data to a parent member, i want to create a dummy base  member for an entity to  store the total and then do the allocation.
    how to do this? currently i manually updated the entity dimension by adding a dummy base member.
    is there anyother way to do this?

  • Issue while Maintaining Dimension Members

    Hi Gurus,
    I have upgraded my MS Office from 2010 to 2013. Below is the screen shot of my MS office version.
    Now issue is I am not able to maintain dimension members. Every time we click on a "Maintain Dimension Members" nothing happens. It was working fine while I had 2010. We are at the latest service pack (BPC MS10.0 SP16).
    Not able to figure out what is the issue as I don't get any errors.
    Any Idea?
    Thanks,
    Charly

    Hi Charly / David,
    Please review Note 2040480 - Limitation of maintaining dimension member in BPC Administration
    [Workaround]
    To avoid this issue, users should close Microsoft Excel before managing the dimension member in SAP Business Planning and Consolidation for Administration client.
    If the issue persists:
    1. Close BPC Admin
    2. Open Windows task manager and end all Excel.exe processes
    3. Open Excel, )standalone) to see if there is a prompt or user action. (usually an error stating that Excel crashed due a plugin/error, Do you want to disable this plugin Yes or No)
    4. Click no the prompt (or yes depending on the message).
    5. Re-open BPC Admin and try to maintain dimension members
    Does that work for you?
    I have been successful in using Excel 2013 with BPC 10 to maintain dimension members.
    Thanks,

  • Sorting Attribute dimension members

    Other then reloading attribute dimension members in a different order. Is there a possbility with ODI or the SortMember.cmd utility to perform such a task?
    I ask since I know presently while reloading the attribute dimension with ODI it drops the latest member to the bottom. This is not the order I need it in. I tried to mess with the load in ODI and still no fix. I tried to use the SortMember and it only appears to work on all dimension but currency, period, and years as it reads in the planning admin guide. This is for 11.1.2.1.
    Does anybody have any input? If so please reply.
    Thanks,
    DjSmeadly

    It is one area that has never been addressed so sorting attribute members is not so easy, as far as I aware the sortmember utility does not work on attribute dimensions.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • BPC Dimension Members displayed as numbers/index in HANA tables

    Hi,
    I used the following post from Selva BPC tables in HANA to lookup a BPC model in HANA. However all the dimensions members are represented by numbers/index instead of the actual dimension member description. Is there a way in HANA to see the actual dimension member instead of an index value?
    e.g. Category Actual is displayed as 2 and Category Plan as 3 and so on.
    Please refer to the screenshot
    yogesh

    BW also has the values in text correctly. I am not sure if only the dimension member index value is passed on to HANA.
    yogesh

  • Getting "Couldnot find Installable ISAM" error in script task in SSIS 2005 when trying to open (.xlsx files) Excel 2007-2010 files using VB script in Visual Studio 2005

    Hi Experts,
    I am trying to open .xlsx file in script task of SSIS 2005. I am using the 32-bit AccessDatabaseEngine driver with the Connection string as "Provider= Microsoft.ACE.OLEDB.12.0; Data Source=xlsx file path; Extended Properties="Excel 12.0 Xml;
    HDR=YES"" in script task.
    When we debug the VB script in Visual Studio 2005 and encounters the statement app.open() it throws the error "Couldn't find installable ISAM".
    My SQL server version is 2005 SP2 DE
    OS is Windows server 2003 EE SP2
    Could anyone please let me know what is the resolution for this error?
    Thanks and Regards,
    Adesh

    Hi Adesh,
    First, make sure the package runs in 32-bit runtime mode (set Run64BitRuntime property to False) because you are using the 32-bit ACE OLE DB Provider. If it is not the case, the issue may occur due to the corrupted drivers or registry keys. You can try to
    reinstall the 2007 Office System Driver: Data Connectivity Components as Arthur suggested.
    Regards,
    Mike Yin
    TechNet Community Support

Maybe you are looking for