Concatenate in Business rule

Dear All,
I have requirement to concatenate a variable with a member. I have various routes in the outline like route1 , route2 etc., I have a business rule with RTP to capture the number like 1,2,3 etc.,
based on the number entereed in the RTP ,  I need to append the number with the string "Route"  to make the membername (Route1, route2 etc.,). I tried with the @concatenate function but it doesnt work.
it is  not accepting the RTP as a parameter. @Concatenate("Route" , {routenumber})  will not work.
Can you please suggest ...
Regards.

Hi Anthony /Rahul , Dear All
I am getting an issue .. I have registered the above CDF on the production
The calculation manager I was getting the error as  The function @JgetStringFromDouble is not found. I was able to see this function in the list in Calculation manager.
I wanted to check the function in Essbase , when I tried to connect from the CONSOLE ,  after loggibng into the Console , I am not able to connect to the Essbase Server.
When I tried connecting from the Planning. I am not able to open that Application.
I restarted the services multiple times.
I am able to connect the Essbase server from the MAXL from command prompt.
I tried connecting from th Excel Addin .. I am able to coonect to the server and the application and I am able to retreive the data in excel.
Even from Planning , I am able to connect to other applications. Except this application where I registered the CDFs.
Later I unregistered the CDFs and restarted the services . Even then I am not able to connect to this application..
the Admin console is getting hanged when I click on the Essbase Server.
Planning is just keep trying to  connect to this application but couldnt connect.
What could be the problem,? Please help me . this is a Production server ....

Similar Messages

  • String CDF functions not working in business rules

    Working with EPM 11.1.2. I created a calc script on the planning cube and it works perfectly. I then put the same code in a business rule and it will not validate. Please see the code below.
    1) created udf folder in following directory
    essbase/Oracle/Middleware/EPMSystem11R1/products/Essbase/EssbaseServer/java
    2) modified udf policy to grant access to all
    3) saved CDF_String.jar file to new udf folder on server
    4) registered functions via maxl
    5) stop/start application
    6) stopped/started EAS services
    I get the following error in the message window (line 9 is the JGetStringFromDouble statement):
    "Encountered " "-> " "-> "" at line 9, column 35.
    Was expected one of:
    What do I need to do to get this code working as a business rule since I want to use RTPs in this routine?
    FIX("No_Profit_Center", FY07:&CapAppEndYr, "Working Plan", "Current", "Manual_Input", "LOC", @Relative("Period",0), @Relative("Project",0), @Relative("Entity",0))
    "AC_Unappr_Fcst_Depr"
      IF ( "AC_Unappr_Fcst_Depr"  == #Missing)
         IF ("FY07"->"No_Period"->"AC_Depr_CC" != #Missing)
              "AC_Unappr_Fcst_Depr"->(@MEMBER(@CONCATENATE("EN_",@JgetStringFromDouble("FY07"->"No_Period"->"AC_Depr_CC",@_False,@_False))))  = "AC_Unappr_Fcst_Depr_Temp";
        ELSE
              "AC_Unappr_Fcst_Depr" = "AC_Unappr_Fcst_Depr_Temp";
        ENDIF
      ENDIF
    ENDFIXEdited by: jjdubb on Jun 11, 2012 9:10 AM

    I've had this issue with a different string function. Business Rules does not like the boolean parameters (@_FALSE) used in these CDF's. I had a similar issue and had to rewrite my CDF without the parameters. You basically need to hardcode the "with quotes" and "with decimals" parameters in the java code.
    Hope this helps,
    - Jake

  • Network error in the business rule

    Hello, Experts!
    I have created a business rule, validated it but when I launch it, I get the message:
    +"The client or server timed out waiting to receive data using TCP/IP. Check network connections. Increase the NetRetryCount and/or NetDelay values in the ESSBASE.CFG file. Update this file on both client and server. Restart the client and try again."+
    The business rule works fine once I remove the following statement from it: @MEMBER(@CONCATENATE("A_", @SUBSTRING(@NAME(@CURRMBR("Entity")),6))) but it produces this error with this statement and I cannot do without this statement to perform the required calculation.
    I would be very grateful for any hints on how to resolve it!

    Hi,
    Try creating manually the update rule.
    Regards
    Rahul Bindroo

  • Business Rule form coding issue

    I have two cubes, one for salaries and one for the P&L, called finance. All members are identical between cubes, EXCEPT the department members, in the finance cube there are numbers,
    such as "662", in the Salary cube, all department members begin with "Sal_" which is "Sal_662"
    I want a salary form on save to execute calculations and then get pulled to the finance cube.
    I have a script that works from a finance cube form, but I want the salary cube form to execute the finance cube business rule. The issue is the different names.
    To do a transfer from the finance cube form, the code looks like :
    "DIRXOT" = @XREF("_Salarycube_" ,"DIRSAL","Total_Employee",(@CONCATENATE("SAL_",@NAME(@CURRMBR("Finance Department")))))
    The finance BR XREF adds the "SAL_ to the current member to reference the Salary cube department.
    Trying to reverse this, code it from the salary form point of view
    IF(@CONCATENATE("SAL_",@NAME(@CURRMBR("Finance Department"))) == [gv_Salary_SalDepartment])
    "DIRXOT" = @XREF("_Salarycube_" ,"PRDSAL","Total_Employee", [gv_Salary_SalDepartment]);
    But no validation. . . any suggestions as to what I am missing?
    thanks

    Thanks, i didn't pose the question quite correctly. . . The IF statement won't validate:
    IF(@CONCATENATE("SAL_",@NAME(@CURRMBR("Finance Department"))) == @NAME([gv_Salary_SalDepartment]))
    or
    IF(@CONCATENATE("SAL_",@NAME(@CURRMBR("Finance Department"))) == [gv_Salary_SalDepartment])
    I have to do a NAME comparison, and I don't know how to do that, with the mathematical operators. . .
    because there is no matching member between cubes for a numerical match. . .
    So I need to return TRUE when finance cube Member "662" equals salary cube Member "Sal_662" by adding "Sal_" to the finance member and then doing the comparison.
    I think it can be done, but not sure how. . . [gv_Salary_SalDepartment] is the global variable from the salary cube form passing the salary cube member to the business rule.
    thanks in advance. . . . .

  • Business Rule Issue in Planning

    Hi All,
    I am working on a business rule and I ve tried doing it many ways but still unable to achieve the desired results. Please find the BR below:-
    FIX(@CHILDREN("Vendor Expenses")
    ,{Scenario},@Relative("Year",0),"No VendorCategory")
    {UPKVendor}
    IF (@ISUDA({UPKVendor},Master))
    {UPKMasterVendor}= @MEMBER(@CONCATENATE("V",@NAME({UPKVendor})));
    {ToVersion}->@IDescendants({UPKMasterVendor}) = {FromVersion}->@IDescendants({UPKMasterVendor})
    ELSE
    {ToVersion}->{UPKVendor}={FromVersion}->{UPKVendor};
    ENDIF
    ENDFIX
    Assumptions :-
    {UPKVendor} is a runtime prompt of type "Member" who's value is initiated from the web form (Vendor Dimension which is tagged with UDA's to identify the type of project)
    {UPKMasterVendor} is a runtime prompt of type "Member" who's value is constructed by concatenating "V" to the {UPKVendor}
    {ToVersion} & {FromVersion} are runtime prompt's as well and the user can select the values for these prompts as part of the business rule.
    Desired Results:-
    IF A VENDOR IS A "MASTER" Vendor, WHICH IS IDENTIFIED USING THE UDA
    THEN COPY THE UPKMASTERVENDOR AND IT's DESCENDANTS FROM THE ONE VERSION (FROMVersion) to ANOTHER VERSION (TOVersion)
    For some reason, the calc manager is not formulating @IDescandants({UPKMasterVendor})
    {ToVersion}->@IDescendants({UPKMasterVendor}) = {FromVersion}->@IDescendants({UPKMasterVendor})
    Any help is greatly appreciated.
    Thanks,
    Cz

    Hi,
    The issue here is that you are trying to assign a member string in a variable on runtime which is not quite possible in Calc Script language. As discussed here number of times and once more quite recently, Calc Script does not support object type (including string) assignment. You can only assign numeric values to members and variables alike. You should try something like @Match function or If condition to achieve what you are doing. Another issue in your script is that you use @Descendants in an equation. You should use @Descendants to restrict the boundaries of your calculation (IF(@ISMBR..., FIX etc) but not in equations.
    Just to give an idea, have a look at below sample:
    IF (@ISUDA({UPKVendor},Master))
    IF(@ISMBR(@Descendants((@MEMBER(@CONCATENATE("V",@NAME({UPKVendor})))))
    {ToVersion}= {FromVersion};
    ENDIF
    ENDIF
    Cheers,
    Alp

  • Problem using "Create Business Rule Design Definition" utility

    Hi everyone,
    I tried to create a business rule with Headstart Utilities - Create Business Rule Design Definition (Revision 6.0.0.20) and I got the following errors :
    Errors
    Message
    Combination of Message Prefix and Message Number (SGM-ENG) does not match format AAA-NNNNN.
    Activity aborted with ORACLE internal errors.
    -1400 ORA-01400: cannot insert NULL into ("HST50"."QMS_MESSAGE_TEXT"."LANGUAGE")
    I suppose that the utility concatenate the message prefix and the language to build the error message.
    Our Oracle Designer version is 6.0.3.9.0, Headstart 2.1.2 with patch 12.4 and Developper is 6.0.5.35.3
    Any patch available?
    Regards,
    Jerome Couture

    Tim,
    Headstart should be able to check out any tables you need.
    We think we have the user settings
    done correctly, but there may be something that we
    have missed. How can we get Headstart to
    automatically check-out the table(s) for which we
    want to run the Business Rules design transformer?The user settings you need are (see also pages 5-7 and 5-10 in the Headstart User's Guide):
    - Under 'Process the following objects', choose 'Checked out by anyone'
    - Also check the check box '... also Checked In objects'
    - Choose whether you want to automatically check out with or without lock
    If this does not help, please run the utility with log level 'Debug Detailed' (can also be set in the User Preferences) and report the last few lines of the log messages. They should give an indication of why the check out does not succeed.
    Hope this helps,
    Sandra Muller

  • Error in business rule

    Hi,
    In my entity dimension, i have few members like Equifax,Equifax_Upside,Dell Portables,Dell Portables_Upside. "Equifax_Upside" is assigned as a UDA to "Equifax". "Dell Portables_Upside" is assigned as a UDA to "Dell Portables". "Dell Portables_Upside" and Equifax_Upside is assigned with a boolean attribute "Potential_Upside_Program". I have to calculate for these programs having true as the attribute values. Hence i have fixed it.
    In my Queue dimension, I have members like, "Dell Portables_Queue",Equifax_Queue. These are associated with the UDAs "Dell Portables_Upside" and "Equifax_Upside" respectively.
    I am getting this error when i launch the business rule.
    "Unable to assign object(DOUBLE) of different length".
    The rule is
    FIX(HSP_InputValue,Queue_None,@ATTRIBUTE(Potential_Upside_Program_True),ST_All)
    "Calculated Production Revenue" = ServiceType->@UDA(Entity,@NAME(@CURRMBR(Entity)))->@UDA(Queue,@NAME(@CURRMBR(Entity)))->"Revenue Upside";
    "Total Production Revenue" = "Calculated Production Revenue";
    ENDFIX

    you didnt get the error because:
    Typically, the @MEMBER function is used in combination with string
    functions that are used to manipulate character strings to form the name
    of a member. In the following example, the member name QTR1 is
    appended to the character string 2000_ to form the string 2000_QTR1. The
    @MEMBER function returns the member 2000_QTR1 and QTD is set to the
    value of this member.
    QTD=@MEMBER(@CONCATENATE("2000_", QTR1));
    Why dont you try to FIX on the basis of UDA.

  • Error while creating a Business rule dictionary in Jdevloper 11g

    Hi,
    I am getting the following error when i define the Inputs and outputs during creating on a new business rule dictionary.
    Some XML schemas are not in the "xsd" directory! gardes.xsd
    Please manually move or copy the Schemas
    I am following the "Creating a Rule-enabled Non-SOA Java EE Application" guide in Oracle® Fusion Middleware User's Guide for Oracle Business Rules, 11g Release 1 (11.1.1)
    The two schema files generated were having different content after creation of XML schema file so I copied the file to make them same. Its still giving me the same error.
    Please Help.
    Thanks,
    Mac

    Please post business rules questions on the SOA Suite forum:
    SOA Suite

  • Error while selecting planning app in Business Rules

    Hi ,
    I am not being able to select the planning outline while developing business rules (but I can select the Essbase Outline). Whenever I expand the Planning node, an error pops up the details of which says "Error connecting to Essbase server machinename/testapp." There is a details button which says: "Could not log into Planning "Detail:Could not log in to Planning Server".
    Can anyone help me out. I am not being able to view the rules in the planning UI .
    I have tried for recycle the EAS even though i am getting same error.
    could you please let me know the solution for this
    Thanks
    mahesh

    Hi,
    Always follow this process, stop the planning service and eas service.
    Start RMI service
    Start EAS
    Start Planning
    Log into the web planning application
    Then go into EAS and create a new rule, select an outline to the application you have just logged into via web.
    Also if you are using the default admin user to log into EAS try another user that has been provisioned with business rules roles
    If you still have problems then go to My Oracle Support (formely metalink3) then have a look at doc id - 763345.1
    Ok?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rules Instance disappeard in projects folder in Shared Services

    Hi all,
    I have this strange thing happend to me today morning. when i logged into the Shared Services i can find the Business Rules folder but i couldnt find the instance for it.Is there any way i can reconfigure it so that i can see the instance back again in Shared Services.
    Environment: Windows server, Hyperion version 9.3.1
    Any help on this would be greatly appreciated.
    Thanks in Advance

    Please find the error log below
    com.hyperion.cis.config.wizard.RunAllTasksWizardAction, ERROR, Error:
    java.lang.Exception: Registeration failed: error.generalSaveModel.Registeration failed: error.generalSaveModel.
         at com.hyperion.cis.config.CmsRegistrationUtil.registerApplication(CmsRegistrationUtil.java:222)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.executeHubRegistrationTask(RunAllTasksWizardAction.java:360)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.execute(RunAllTasksWizardAction.java:165)
         at com.installshield.wizard.RunnableWizardBeanContext.run(Unknown Source)
    Thanks

  • Get cell value in Planning Data form and using it in a business rule

    Hi Everybody,
    if i set the data type of an Account Member as text, is there a way to get the value inserted by the user in a dataform, turning it as dimensional member and using it in a business rule?
    So, if the user insert the value "USA" in a cell, can i use any functions to tell essbase that "USA" is a dimensional member and then using it in a business rule, for example in a cross-dimension like Period1->FY12->USA?
    I tried to use the function @Member and it doesn't work, but i'm wondering if there is a way that can let me get the value inserted and use it just like a dimensional member. What are the ways that can let user input value that can be used in a business rule? I think one is by using SmartList, is there any other ways? Maybe using variables?? As an alternative i tried to use Prompt Variable but there are too many members on which the rule must run.
    Please help me, i wanna know if i can or not let the user input the member on which the rule must run...
    Thank all guys
    Bye
    Maurizio

    Thanks EW for your answer,
    YesI could use SmartList even if i think it's very tough to handle. My experience on using SmartList in caclc script is not so good. I try to enter in details of my requirement:
    I have 500 account members.
    For each one, I have to calculate the monthly budget by sharing the amount among the months. The user wants to calculate it on the basis of the actual flow(over the months) of an unspecified account of the prior year. The unspecified account must be inserted in a data form.
    So, i could use a Smart List but it colud be of 500 elements and then i should make a rule with as many IF as how many are the accounts. Or im wrong? The only way to use smart list dynamically in a business rule is by referring its values in a IF condition. Or i'm wrong.
    I tried to use execution variable ma it seems don't work. In this case the user must pay attention to write the account correctly, otherwise as you say the rule doesn't work.
    The value in PD0A020 is "PD0A000" (that is a dimensional member). The value in PD0A000 is "hello". In PD0A040 the rule returns "PD0A000" and not "hello" as i would. The function @Member appears to be not able to catch the dimensional member by the value in PD0A000.
    {Example}="test"->"Input"->"Scenario_test"->"FY12"->"PD0A020";
    Fix("test1","Input","Scenario_test","FY12")
    "PD0A040"=@Member({Example});
    endfix
    So, my doubt is: is it possible for Essbase/Planning to use the value inserted in a data form and to turn it in a dimensional member? What are the practicable ways to let the user input/choose the member on which makes the rule run?
    Thank you Ew, thank you guys
    Maurizio

  • Business rule in MDS 2012 error: A database error has occurred. Contact your system administrator.

    I get the following information in my MDS log as well as the above error message when I execute a business rule that has a condition of AND and an Action of Attribute must be unique in combination with 2 other attributes. 
    I'm running SQL Server 2012 11.0.3000
    MDS database version 11.1.0.0
    Any ideas?
    MDS Error: 0 : SqlException message: A database error has occurred. Contact your system administrator.
       at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.HandleExceptions(Exception ex)
       at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.ExecuteDataSet(String spName, CloseConnectionBehavior closeBehavior, Object[] parameterValues)
       at Microsoft.MasterDataServices.Core.DataAccess.MasterDataAccess.<>c__DisplayClass5.<ValidateEntityMembers>b__4()
       at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.ExecuteMethodWithDeadlockProtection(MethodDelegate method)
       at Microsoft.MasterDataServices.Core.BusinessLogic.Validations.ValidateMembers(Int32 versionId, Identifier entityIdentifier, IList`1 memberIds, RequestContext context, OperationResult results)
       at Microsoft.MasterDataServices.Core.BusinessLogic.Validations.Process(ValidationProcessCriteria criteria, Boolean commitVersion, Boolean validateEntityAsync, Boolean returnValidationResults, RequestContext context, OperationResult results)
    SQL Error Debug Info: Number: 208, Message: Invalid object name 'cteDuplicates0a070e37b106b9e3efe35a455076efa7'., Server: SQLRS-01, Proc: udp_SYSTEM_3_38_CHILDATTRIBUTES_ProcessRules, Line: 230
    SQL Error Debug Info: Number: 266, Message: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1., Server: SQLRS-01, Proc: udp_SYSTEM_3_38_CHILDATTRIBUTES_ProcessRules, Line: 230
    SQL Error Debug Info: Number: 266, Message: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1., Server: SQLRS-01, Proc: , Line: 0
    SQL Error Debug Info: Number: 266, Message: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1., Server: SQLRS-01, Proc: udpBusinessRule_AttributeMemberController, Line: 0
    SQL Error Debug Info: Number: 266, Message: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1., Server: SQLRS-01, Proc: udpValidateMembers, Line: 0
        DateTime=2013-08-15T13:25:15.6684023Z
    MDS Error: 0 : <ArrayOfError xmlns="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <Error>
        <Code>208</Code>
        <Context i:nil="true" />
        <Description>A database error has occurred. Contact your system administrator.</Description>
      </Error>
    </ArrayOfError>
        DateTime=2013-08-15T13:25:15.7152026Z

    OK I bit the bullet and contacted support on this one.
    There is a known issue with MDS 2012 and business rules with a combination of "must be unique" attributes. If you do not list the attributes in the same order that they were created you will get the generic error I cited. At first they told me it must be
    in the same order the attributes are in and that worked on one entity but not the other. The difference was that in the second entity I previously rearranged the attributes in question. Once I changed the order in the business rule to reflect the *original*
    order it worked like a champ.
    Hopefully this helps save someone some time and money.

  • Business rule takes time to open

    Hi,
    Business rule takes much time when trying to open it.
    I'm new to essbase. Can any one tell in which log i can get the information like why it takes much time like that.
    Thanks
    Kumar

    we are facing this issue for particular user. In the same system, we tried with two different users. for 1st user that BR is opened in a minute, but the same BR took around 20mins to open for 2nd user
    OS - Window XP
    EAS version - 9.3.1
    Example
    A is 1st user --> XX business rule took 1min to open
    B is 2nd user --> XX business rule took 20mins to open
    Here both the users are having same access on the BR and the applications
    Thanks
    Kumar

  • User Variable Options: How can I use them in a Business Rule?

    How can I use a "User Variable" set in File / Preferences in a Business Rule? It doesn't seem to appear as an Essbase Substitution Variable or as a Global Variable of Business Rules. The only way I know how to use it is to place the dimension on the POV or Page dimension of a data form, then use a Global Variable in a run time prompt to pick the member and run a BR against it, or some function of it.
    What do I do if I want to have that dimension in Columns or Rows? How can I set a BR to directly reference the member chosen under User Variable Options?
    J

    Thanks Alp, but I can't seem to reproduce what you are writing below. I want to refer my Business Rule to address the value set in File / Preferences / User Variable Options; no matter what members I show elsewhere in the data form.
    My other workaround is through a run time prompt and hope the user selects the appropriate user variable at the very bottom of the selection list in order to calculate the appropriate list of members.
    J

  • How to get rid of Business Rule in JhsModel: JHS-00128 Allowable Values req

    JHeadstart 10.1.3.2
    We are using FlexItems in our application.
    The JhsModel implementation, shipped in Jar file jhsadfrt-10.1.3.jar, contains the underlying ADF BC objects for the FlexItem functionality.
    When we try to create (or remove) a FlexItemDefinition of type Dropdown List, we are stopped by the error: JHS-00128: Allowable Values are required for this Item Display Type.
    We do not want that - we have a UID that does not allow editing of master and details on the same page. Therefore, we will never be able to successfully create a dropdown list item since we cannot in the same transaction create the allowable values as well.
    How could we disable this business rule - or remove it altogether? I suppose it is implemented somewhere in the jar file that contains the JhsModel project. What is the recommended way of disabling this constraint?
    thanks for your help
    Lucas

    Hi Lucas,
    This error is raised if the number of allowable values is zero and the allowable values query of the flexitemdefinitions entity is 'empty'. You could write a (temporary) dummy allowable values query in the flexitemdefinitions entity in order to save the master, and then once you've input the allowable values in the details page, remove or reset the value in the allowable values query attribute of the flexitemdefinitions entity.
    Hope this helps,
    Regards,
    Ibrahim

Maybe you are looking for

  • Mac Mini slow - Help

    Looking for some help.  I am running a 2010 Mini, with Lion 10.7.5. I have 8GB of memory installed.  Contantly find that the computer slows down with only 2 Google Chrome tabs and maybe a couple other apps.  What can I do to troubleshoot the root cau

  • Pricing Condition Type - Not visible to the customer

    Dear All, What all the config need to set up in the pricing procuder for a condition type to ensure customer did not wish to see the value for the particular condition type on the invoice. However it should have the ability to value in the condition

  • Ping channel disabled for SFSF sender cc channel

    Hi, I am working with Successfactors Integration.  SF is my sender and 3rd party is my receiver. I just created a communication channel in ID for SFSF adapter and activated. I see the ping channel for this SFSF channel is disabled in CC monitor. and

  • Flex Builder 3 / Linux and flashplayer selection

    Hi all, I'm a Flex/AS/Eclipse newbie, and I'm learning all these ones at once in these days. I'm running Flex Builder 3 with Eclipse 3.3.2 (Europa) in Linux. Now I'm trying to write a simple project, I should have done something to my system so now I

  • How do I obtain a serial number for CS6?

    I have just purchased CS6 Design and Web Premium on disk, how do I obtain a serial number?