Dynamic script - User defined dimension

Hi
I have the following problem.
When i create a task in the data manager, and i want the user to select some menbers of the dimensions to be used in the script logic, for example, if i want him to select the time all i do is a PROMPT tag with the %TIME_DIM% variable.
What if i want a user defined dimention, lets say product for instance.
If i use the variable %DIMS% i get the product dimension and all others, but i want only the PRODUCT dimension.
Any ideas?
Thanks

Hi Leandro,
You can try something like below:
PROMPT(SELECTINPUT,%SELECTION%,,"Select the members to CLEAR",%DIMS%)
You can replace the above statement by
PROMPT(SELECTINPUT,%SELECTION%,,"Select the members to CLEAR",CATEGORY)
In the above statement, CATEGORY is just the name of the dimension. You can try similarly with other dimensions too.
Hope this helps.

Similar Messages

  • PROMPT(SELECTINPUT, ...) and user defined dimensions

    Hi,
    I created a custom package that should enable the user to select members of  the TIME, Account and Category dimensions and also members of some user defined dimension called "Costcent". After that, a scriptlogic file should be called.
    I tried:
    1)
    PROMPT(SELECTINPUT, ... %TIME_DIM%%ACCOUNT_DIM%%CATEGORY_DIM%"Costcenter")
    which doesn't work, bc. compiler doesnt seem to like %var%"fixedexpression"
    2)
    PROMPT(SELECTINPUT, ... "Costcenter")
    PROMPT(SELECTINPUT, ... %TIME_DIM%%ACCOUNT_DIM%%CATEGORY_DIM%)
    running the package only allows to select a costcenter, 2nd prompt ignored?
    3) similar, the other way round.
    Any ideas?
    Moreover, I need to be able to access the selection of the Costcenter members in the script logic. For the std. dimensions, there is %TIME_SET%, %CATEGORY_SET% etc.I am using successfully, but how to define or access the set (or list) for the selected members of user-def. "CostCent" dimension ?
    Thanks for your help!

    Clear Bug: Using the DataManager to modify the .dtsx file sometimes modifies the prompt lines in an unpredictable way... So the file that is safed doesn't get the content it is intended to get... - Guess "this should never happen", but it is...

  • Difference between UDA & User-Defined Dimension

    Hi all,
    I need to know what the difference between UDA and User-Defined Dimension and when can i use each one??
    thanks in advance

    UDAs are descriptive words that you can use to categories members of a dimension.
    http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin/uda_tab.html
    Using UDA, For ex: in Customer Dim you can divide customers into CAT A, B or C and then can use these UDAs in calc scripts, query them later in reports etc.
    User defined Dimension: Is any new dimension that you add to planning application apart from default ones.
    http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin/ch10s04s09.html

  • Maximum number of User defined dimensions in Planning v11.1.2

    Hi guys,
    I am new to Hyperion Planning version 11.1.2, just wanted to clarify what is the maximum number of User defined dimensions that can be added in a planning application.
    I've also learnt that the number of Alias tables is more than the previous versions. What is the maximum number of Alias tables in Planning version 11.1.2 ?
    Regards.

    Maximum number of alias tables is 10 including the default alias table
    As for custom dimensions then I wouldn't expect you to hit a maximum unless you want to design a planning application destined to fail.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • User Defined Dimension

    I am getting the following Error (when I try to Process members for an user defined dimension)
    ""Object reference not set to an instance of an object.""
    I am creating the following User Definied Dimension : Dept
    Deptname           25
    Deptno                10
    Evedescription     50
    Scaling                  2
    ID............     NEWID.....EVDESCRIPTION.......PARENTH1  ...SCALING     Deptno     ....Deptname
    dept .........................accounts............................... .......                    ..........         10     ....      a
    computers.................computer............... ....      dept     ...............................      20...           b
    accounts     ............     accounting        ........  ............   dept..........      ........................            30.....           c
    What am I doing wrong? Please help me. Thanks.
    YV
    Edited by: Yedi Viladin on May 14, 2009 3:20 AM

    Hi,
    This is a very generic Error.
    u2022You can try re-booting the server.
    u2022Prior to re-boot log-in to the server and verify that the +COM objects are working or all started
    u2022You may also get this error if a dimension has not processed, which means the application is not processed
    u2022Another problem that can cause this problem is that the password for the installation user has been changed or that the installation user is locked out.
    u2022Do you see error in BPC Server Manager -> Diagnostic?
    There are several SAP Notes also available for this Error u2013 1246092, 1223846
    Regards,
    Ankita

  • Numbers assigned to user defined dimensions

    Dear Experts
    I have created application set from APPSHELL and created three user defined dimensions viz., A, B and C
    Then removed all not required dimensions including 'P_ACTIVITY' which was a User defined dimension.
    System has assigned numbers as U4, U8 and U9 to these dimensions on its own (I do not know what is the logic system is following to assign numbers to these dimensions)
    Questions:
    1. What is the logic system is following for assignment of the numbers to User defined dimensions?
    2. Can I change these numbers to U1, U2 and U3 (for ease in ad-hoc reporting). If YES how can I do that?
    Thanks

    Hi,
    The userdefined dimensions are named Sequentially as they are created and these are not constant for them, the same dimension may have different names in different applications.
    Also the user defined dimensions are named as Ua to Ux in NW.
    For example, in App1 some dimension X may be named as Uc, the same dimension X in App2 may be named as Ud or some other.
    We need to manually work betweeen "a to x" with the below macro to find the exact name for the user defined dimension in the application.
    "MNU_eTOOLS_MEMBERSELECTOR_X"
    Eg:
    MNU_eTOOLS_MEMBERSELECTOR_Ua
    Also as suggested in earlier replies i dont think this naming can be changed.
    Hope this helps,
    Regards,
    G.Vijaya Kumar

  • Unable to process the user defined  Dimensions

    Dear Experts,
    When i am Create User defined Dimension and i fill the Dimension Members after this i am Processing the Dimension at that time i am getting the following errors.
    Exception error has occured;check the log id=122 for more details
    Call was rejected by callee.(Exception from hresult:0x80010001(rpc_e_call_rejected))
    Could you please help me how to Solve this issue.
    Thanks in Advance,
    Regards,
    Srinivasan.

    Hi Srini,
    Please check your log table in Appserver database.
    Please check your log file in the Server with the ID.
    The log file will have clear details of the errors faced.
    Hope this helps.
    Karthik AJ

  • How to Manage index of user define dimensions

    When I create a new rate application,The BPC system throw the message"Index was out of range:must be non-negative and less than the size of the collection parameter name :Index".
    I searched oss notes:1323195 saying :"A user can change the index of user-defined dimensions by clicking a button named "Manage Index" in "Modify application". The button will be shown if**
    *there are user-defined dimensions already assigned to an application or at*
    *the moment of assigning a user-defined. If the button is clicked a windows*
    *will popup, and the user can maintain a user-defined dimension index from*
    *the window."*
    But  i can't find the menu "manage index" .
    could someone tell me how to find it?
    thanks

    Just go trough Manage application and Modify application and use reindex and full process.
    This normally should fix your issue.
    Regards
    Sorin Radulescu

  • Need help: unable to change user defined dimension

    Hi,
    I have a problem with BPC. I installed BPC Server and BPC Client NW7.5 SP9. I can duplicate, create and modify all standard dimensions (Account, Category, Entity, Time) in my own application as also in appshell.
    I can duplicate or create a user defined dimension, but I cannot modify that user defined dimension. I change the elements, then I process my changes. But after I have refreshed the dimension all changes are reverted.
    I looked in UJFS and can see that .xls and .xlt are uploaded on NW correctly. Even on my local machine it is changed, but BPC does not recognize that.
    Has anyone an idea what to do? I need not only the standard dimensions but also user defined dimensions.
    Regards

    We've got this problem on non-unicode system on SP08, as Frank. Corrected with SP09.
    Maybe you have to check if all components patched well (NW, .Net and client):
    - In NW Go to System-Status-Component Information. CPMBPC must have level 0009.
    - On .Net Server check Server Version in Planning and Consolidation Server utility (.09)
    - In client for Excel check ETools-About Planning and Consolidation (7.50.09).
    If that's correct, first check, if new records occur in BW object for your dimension (in rsa1). Or maybe that info-object somehow become inactive.
    And did you mark checkbox "Process members from member shett" during processing the dimension?
    Edited by: Anton Kuznetsov on Oct 26, 2011 4:43 PM

  • User defined dimensions in planning

    hi all can any one tell me where are the user defined dimensions in planning are stored in the backend realtional tables ? I am learning about the worlkflow of the backend tables and how will they react to any changes that are made in the front end. I got the tables where pre defined dimensions are stored but i created a dimension called "CUSTOM" and checked it in the HSP_OBLECT, HSP_DIMENSION tables but did not find it. Can any one tell me whats actually going on in the backend ??
    thanks in advance,
    Ranjith Kumar. P

    You can find the dimension name in HPS_Object under Object_Name column and for the dimension Id you can check HSP_Dimension.
    Something like:
    Select Object_Name from HSP_OBJECT WHERE (Object_ID in (Select Dim_ID from HSP_Dimension))
    and just for finding the object_id of dimension name "Custom":
    Select * from HSP_OBJECT where Object_Name like 'Custom'
    Here is more information on all the relational data-models:
    http://docs.oracle.com/cd/E17236_01/epm.1112/epm_data_models_1112200.zip
    Cheers..!!
    Rahul S.

  • Journal Problem with Replicating another dimension on User Defined

    Hi experts,
    A curious thing is happing on development, I follow the HTG "SAP Business Planning and Consolidation for NetWeaver - Journals.pdf"; and this generate fine the journal, but when I was testing, doing a simple journal entry, a trouble occurred, the template has the structure below:
    Header:
    Category
    Time
    Group
    Row:
    DataSrc
    Entity
    Account
    Intco
    Flow - SubTable
    CLucro - User Defined
    CCusto - User Defined
    So when I fill all the information to every dimension and put the amount, I save, and don't get any error message, but on CLucro and CCusto appears the value of flow, and if I consult the Infocube on listcube I get this dimensions in blank.
    Fonte Empresa Conta        TipMov CLucro CCusto IntCo Remark Debit     Credit
    AJUSTE 1161 PC011101010001 BLK BLK BLK C1161                      100
    AJUSTE 1161 PC013604030001 BLK BLK BLK C1161       100
    Does anybody know what could be ? Journal can't has user defined dimension ?
    Best Regards
    Alexandre Mendoza Collepicolo

    Hi Ethan,
    I'm on BPC version NW 7.5 SP04. The HTG is on this link:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00497d6a-0f38-2d10-bfb5-d50b91c9c0e5
    I'm with the same problem related by M. Weisheit on this thread
    Re: Journal entry disappear
    Someone knows what could be ?
    Best regards

  • What is user defined planning dimension?

    What is user defined planning dimension?
    6. What is user-defined custom planning dimension?

    Hi,
    If Your company needs further level of plan details than is provided,yOu can create user defined dimensions like Customer,Product...ETc.

  • User define dimention in prompt of data pachage

    I am trying to add a user define dimension as a data selection criteria in the dynamic script of data package, the dimension name is companycode, I add %companycode_dim% after %time_dim%, but when I run the package, all the orginal selection dimensions is replace by the companycode which does display and member list.
    My question is can we add User define dimension in prompt of data package?

    Hi,
    You are absolutely right. These dynamic constants have been created based on the type of the dimension. Because, the name of the dimension can change anytime. However, the type will remain as it is. That is the reason, I asked you to check U1_SET, because for user defined diensions, the types will be represented by U1, U2, and so on. But, I thought so that this will not work.

  • How to change the text of a user defined field in dynamic selections?

    Logical Database PSJ is used by t code CJI3 - we added a couple of user fields into the dynamic selections of CJI3.
    Now - how to change the text of this user filed (USR01 of structure PRSP_R in logical database PSJ)?
    Found an OSS note - 86980 - that tells that this is not possible.
    But when we read the documentation on the user field (CJI3 - dynamic selections  - double click on user field - F1), it shows the following text:
    User-defined field in which you can enter general information with a length of up to 20 characters.
    Dependencies
    The names (key words) for  user-defined fields depend on the field key.
    Now the question is where to change the field key..
    Thanks,
    Ven

    Madhu - you did not get the question I think.
    Anyways - I found an OSS note 1266643 - this code change should take care of the issue - it will then reflect the details maintained in custoizng at transaction code OPS1..
    Thanks,

  • Error in User defined function for dynamic file naming

    Hi,
    While creating User Defined function with this following code for dynamic fieldname
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    return ourSourceFileName;
    which options should i select for cache Value, Context, Queue
    for Augument , what name shd i mention.
    Regards,
    Varun

    Hi Varun,
    I guess I have answered a similar question just a few minutes before on very similar post from you. Just pasting the same here .................
    Are you trying to access the ASMA values from the SOAP header of the XI message for the source file name?
    First of all you need to Set the Sender File Adapter for Set ASMA and then file name. So it will work fine when you actually run the scenario end to end.
    But in the mapping tool when you test the mapping - there is not message header updated with the actual source filename - and whenever you try to read the FileName attribute in the message header from the UDF - it cannot find the object and returns a NullPointerException.
    I would suuggest for your mapping tool testing to be successful, have a check in the java code for null values,
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    If (ourSourceFileName != null)
       Return ourSourceFileName;
    Return "NoFileName.txt";
    Let us know if this works.
    Regards,
    Suddha

Maybe you are looking for