@DESCENDANTS Function in Business rule creation

Hi,
I am using the copy data system template to copy data between two forms.
Everything is working well when seleting one member from each dimension, but for the period dimension I need to select multiple months.
I know that is possible by using @DESCENDANTS function, but actually i couldn't figure out what is the Member Name,Generation Level number and Generation level name.
I referd to the epma_admin but couldn't understand it yet.
My period dimension is like that
YearTotal
Q1
Jan
Feb
Mar
Q2
May
and i need the 12 months to be used in the forms to copy the data from and to
I used a work around to edit the script manually but i need some help on how to use the functions.
Thank you

there is 2 sections in copy data
First section is 'static'
and the second section is source destination.
I think what you want to do is put IDescendants(Yeartotal) in the static section. So this will do it for all 12 months. for whatever you put in the source / destination section.
So if you are copying Acc1 to Acc2 for example. and use IDescendants(Yeartotal) for Period
The
Static
Period IDescendants(Yeartotal)
Source Destionatioin
Acc1 Acc2
In this example of a 2 dimensional cube. This will copy 12 months of Acc1 to 12 months of Acc2

Similar Messages

  • How to include the COUNT Function in business rule

    Hi all,
         I am working in oracle data quality in ODI.
         This is regarding the business rule in Data quality.
         I need to count the number of records when my status_type="A".
         But when i include the COUNT function in business rule.
         I find the following error as "*Unspecified Count Function*".
         Waiting for ur valuable reply.
         Thanks in advance,
         JayaPradha P

    Hi,
    The following is the condition I have to be used
    For eg:*Count records in DIM_SERVICE_ORDER_CODE where service_type = ‘P’*
    But when i use COUNT function.
    Im getting the error as "Unrecognised function count"
    waiting for ur valuable reply
    Thanks in advance,
    JayaPradha p

  • GRC PC 10.0 business rule creation: Wildcard for Currency field

    Hi,
    Currently I am designing a business rule that has standard price as a deficiency. I am using a blank check. But the system wants me to choose a specific currency. I want it to retrieve all records with the deficiency, regardless of currency.
    I've tried using "*" in the currency field, but it retrieves nothing. I am only able to retrieve records when I add a specific currency.
    Why is that? And what can I do to fix this problem?
    Thank you.

    Hi Raphael,
    Have you defined the Currency field as a filter criteria? If yes, can you please remove the field from filter selection and try to execute the rule again.
    Just make sure it comes under output format section.
    regards,
    Rajeshwari

  • Error in Business Rule Creation

    Hi,
    need help.
    I created a small business rule for clear. In select outline, Showing Available servers 1. planning 2. Essbase.
    I want to create new BR inside Planning DB. If i accesing the Planning, it throwing the error as *"Error connecting to planning server hypplan"*.
    Please guide me in this situtation.
    Thanks,
    PC

    Hi,
    In EAS, I am getting some for Planning Outline(Essbase outline is working fine), While starting the Planning service through start menu, it throwing error as
    Query Failed: SQL_SYSDB_DELETE_EXPIRED_EXTERNAL_ACTIONS:[100]
    java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00932: inconsistent datatypes: expected INTERVAL DAY TO SECOND got NUMBER
         at hyperion.jdbc.base.BaseExceptions.createException(Unknown Source)
         at hyperion.jdbc.base.BaseExceptions.getException(Unknown Source)
         at hyperion.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
         at hyperion.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at hyperion.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)
         at hyperion.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)
         at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
         at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
         at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unknown Source)
         at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source)
    Error encountered with Database connection, recreating connections.
    Nested Exception: java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00932: inconsistent datatypes: expected INTERVAL DAY TO SECOND got NUMBER
    Thanks,
    CP

  • Business Rules creation stops Essbase Admin Server

    I am trying to create a simple rules file to upload actual data but 4 out of 5 attempts causes Essbase Admin Server to Stop. In my rules file, I followed these steps:
    1. inserted three new columns using text
    2. skipped the first row under data source properties
    3. under field properties, selected the various dimensions to represent each column. I was not specific in the dimensions selection as the data has various accounts, market, product.
    4. some of them were prefixed with alphabets to correlate to Essbase data.
    5. validated the rules file - no errors - rules file is correct for loading data
    I was doing the rules file in stages ie. rule1 had only field properties set up. rule2 had three columns inserted in addition. rule3 while inserting the same three columns stopped the server !
    Essbase log dint show server disconnecting or error messages! is this some sign of server to crash soon :( or file corruption :(

    I haven't encountered a load rule crashing EAS before, but I have had other simple tasks, such as opening an outline, do it. The issue there was to change the Essbase ports from the default in the essbase.cfg file. We chose SERVERPORTBEGIN 42000 and SERVERPORTEND 43000. I have no way of knowing if this is your issue, but strange EAS crashes like that make me suspiscious that it might be. There is no reason I can think of why a load rule should crash EAS...
    Sabrina

  • 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

  • T-SQL functions & business rules

    Why can't I use T-SQL string functions in business rules?
    For example, REPLACE(my_attribute, 'xyz', '_')
    from Moscow with money

    The business rules is running under the account which is configured in web.config, which is likely an admin of the database.
    Expose T-SQL could cause of security issues.
    We are considering to support some limited TSQL or maybe store procedure or function in next release.

  • Business Rule in BPC 5.1

    Dear all,
    I got 2 questions regarding business rule:
    1. There are 2 types of business rule.
    Script-based = You write your own script ( MdX or SQL logic)?
    Table-based = The table is more like a parameter table. You configure the parameters in the business rule tables and use corresponding store procedure in some logic file to trigger the function.
    ex:
    You must setup the currency translation rule table and call SPRUNCONVERSION to execute currency translation function.
    Is this correct?
    2. According to the SAP BPC admin guide, the rule files will be converted to LGL file, is this still the same in BPC 5.1? I can't find any related LGL in the system.
    Best Regards,
    Jeff

    You're mixing termology and functionality.
    Business rules are configured under the application/business rule tab in administration.  They are SQL stored procecures that cannot be modified and are seutp using the business rules tables.  The values in the table are passed into the SP's as parameters.  SPRunConversion is an example of a business rules stored procedure.
    Separately, there is script based logic.  This is setup under the Applicaton/Script Logic tab in administration.  These are calculations that are written by the application administrator (a number of examples are provided) to peform calculations.  There is a script logic example (FXTrans) which perfroms the same process as SPRunConversion.  They are text based files which get "compiled" into executed code.  The file you write to is the LGF file.  This contains the source code along with comments and spacing for readability.  The compiled file has an LGX extension and is a text file which has extra spacing and comments removed and any *INCLUDE statements replaced with the underlying coce.

  • Where and how to create business rules?

    Hi All,
    1) Where and how to create business rules?
    2) How to configure Rule Engines (Ex: JRULE Engine or any other Rule Engines)?
    3) Whar products are available for Rule Engines?
    Thanks in advance

    Hi,
    You have some options on business rules.
    If you just want to create business rules that are easy for business owners to edit without a lot of training, Oracle BPM has a simple business rules creation and end user edit capability. The benefits to using the rules that come with Oracle BPM are:
    <li> they are simple and easy to edit
    <li> end users can get up to speed quickly to edit them
    <li> when changed, the business process is immediately impacted
    <li> they can use the Oracle BPM business parameters that also come with the product
    Drawbacks are:
    <li> you can only use Project variables as the variable content inside of them
    <li> if a company already has a business rules engine, they are different that the company's standard
    Business rules engines have been used with Oracle BPM. If you are a consultant, first ask if there is a standard business rules engine that the company already has purchased that they use (e.g. iLog from IBM, Corticon...). If this is the case, you typically integrate to the rules using a web service interface that the business rules engine exposes.
    If they do not already have a business rules engine, consider Jrules. The benefits are:
    <li> it is a part of the Oracle BPM Suite that they might have purchased
    <li> version 11g of the Jrules is coming out soon with a friendly front end
    Hope this helps,
    Dan

  • Usage of business rules

    I have a invoice (EDI X12 894) and sending to B2B in order to send to trading partner but before sending to trading partner, we have to perform some validations before to be sent to trading partner. We have various validations based on the customer, so creating dictionary with "if then" rule sets for each customer.
    But each invoice has various lines, how can I do the validation on the lines. I have to loop through all the lines in the invoice and verify few segments whether they exist or not. So planning to create function within business rules and with function args as list but how can I perform the loop for all the invoice lines with in the function in business rules.
    Here is the sample payload of the invoice
    <Receive_894_Dequeue_InputVariable>
    <part name="XXDPI_EDI894_INVLIST_TYPE">
    <XXDPI_EDI894_INVLIST_TYPE>
    <INVLIST>
    <INVLIST_ITEM>
    <INV_NUMBER>13073309</INV_NUMBER>
    <STORE_NUMBER>701608</STORE_NUMBER>
    <VENDOR_NUM NULL="TRUE"/>
    <DELIVERY_DATE>20121119</DELIVERY_DATE>
    <TOTAL_QTY>6</TOTAL_QTY>
    <TOTAL_AMT>14802</TOTAL_AMT>
    <SIGNATURE>SIGN</SIGNATURE>
    <CHECK_VALUE>ABC</CHECK_VALUE>
    <TP_NAME>DEF</TP_NAME>
    <LINES>
    <LINES_ITEM>
    <SEQUENCE_NUM>1</SEQUENCE_NUM>
    <QUANTITY>1</QUANTITY>
    <UOM>EA</UOM>
    <ITEM_NUMBER>0001</ITEM_NUMBER>
    <PRICE>10.47</PRICE>
    <PACK>1</PACK>
    <ITEM_DESC>SAMPLE1</ITEM_DESC>
    <ALL_CODE NULL="TRUE"/>
    <ALL_METHOD NULL="TRUE"/>
    <ALL_RATE NULL="TRUE"/>
    <ALL_QTY NULL="TRUE"/>
    <ALL_UOM NULL="TRUE"/>
    <ATTRIBUTE1 NULL="TRUE"/>
    <ATTRIBUTE2 NULL="TRUE"/>
    <ATTRIBUTE3 NULL="TRUE"/>
    <ATTRIBUTE4 NULL="TRUE"/>
    <ATTRIBUTE5 NULL="TRUE"/>
    <ATTRIBUTE6 NULL="TRUE"/>
    <ATTRIBUTE7 NULL="TRUE"/>
    <ATTRIBUTE8 NULL="TRUE"/>
    <ATTRIBUTE9 NULL="TRUE"/>
    <ATTRIBUTE10 NULL="TRUE"/>
    </LINES_ITEM>
    <LINES_ITEM>
    <SEQUENCE_NUM>2</SEQUENCE_NUM>
    <QUANTITY>1</QUANTITY>
    <UOM>EA</UOM>
    <ITEM_NUMBER>0002</ITEM_NUMBER>
    <PRICE>8.55</PRICE>
    <PACK>1</PACK>
    <ITEM_DESC>SAMPLE2</ITEM_DESC>
    <ALL_CODE NULL="TRUE"/>
    <ALL_METHOD NULL="TRUE"/>
    <ALL_RATE NULL="TRUE"/>
    <ALL_QTY NULL="TRUE"/>
    <ALL_UOM NULL="TRUE"/>
    <ATTRIBUTE1 NULL="TRUE"/>
    <ATTRIBUTE2 NULL="TRUE"/>
    <ATTRIBUTE3 NULL="TRUE"/>
    <ATTRIBUTE4 NULL="TRUE"/>
    <ATTRIBUTE5 NULL="TRUE"/>
    <ATTRIBUTE6 NULL="TRUE"/>
    <ATTRIBUTE7 NULL="TRUE"/>
    <ATTRIBUTE8 NULL="TRUE"/>
    <ATTRIBUTE9 NULL="TRUE"/>
    <ATTRIBUTE10 NULL="TRUE"/>
    </LINES_ITEM>
    <LINES_ITEM>
    <SEQUENCE_NUM>3</SEQUENCE_NUM>
    <QUANTITY>1</QUANTITY>
    <UOM>CS</UOM>
    <ITEM_NUMBER>0003</ITEM_NUMBER>
    <PRICE>18.9</PRICE>
    <PACK>6</PACK>
    <ITEM_DESC>SAMPLE3</ITEM_DESC>
    <ALL_CODE>47</ALL_CODE>
    <ALL_METHOD>02</ALL_METHOD>
    <ALL_RATE>2.88</ALL_RATE>
    <ALL_QTY>1</ALL_QTY>
    <ALL_UOM>CS</ALL_UOM>
    <ATTRIBUTE1 NULL="TRUE"/>
    <ATTRIBUTE2 NULL="TRUE"/>
    <ATTRIBUTE3 NULL="TRUE"/>
    <ATTRIBUTE4 NULL="TRUE"/>
    <ATTRIBUTE5 NULL="TRUE"/>
    <ATTRIBUTE6 NULL="TRUE"/>
    <ATTRIBUTE7 NULL="TRUE"/>
    <ATTRIBUTE8 NULL="TRUE"/>
    <ATTRIBUTE9 NULL="TRUE"/>
    <ATTRIBUTE10 NULL="TRUE"/>
    </LINES_ITEM>
    <LINES_ITEM>
    <SEQUENCE_NUM>4</SEQUENCE_NUM>
    <QUANTITY>1</QUANTITY>
    <UOM>CS</UOM>
    <ITEM_NUMBER>0004</ITEM_NUMBER>
    <PRICE>45.19</PRICE>
    <PACK>1</PACK>
    <ITEM_DESC>SAMPLE4 </ITEM_DESC>
    <ALL_CODE NULL="TRUE"/>
    <ALL_METHOD NULL="TRUE"/>
    <ALL_RATE NULL="TRUE"/>
    <ALL_QTY NULL="TRUE"/>
    <ALL_UOM NULL="TRUE"/>
    <ATTRIBUTE1 NULL="TRUE"/>
    <ATTRIBUTE2 NULL="TRUE"/>
    <ATTRIBUTE3 NULL="TRUE"/>
    <ATTRIBUTE4 NULL="TRUE"/>
    <ATTRIBUTE5 NULL="TRUE"/>
    <ATTRIBUTE6 NULL="TRUE"/>
    <ATTRIBUTE7 NULL="TRUE"/>
    <ATTRIBUTE8 NULL="TRUE"/>
    <ATTRIBUTE9 NULL="TRUE"/>
    <ATTRIBUTE10 NULL="TRUE"/>
    </LINES_ITEM>
    <LINES_ITEM>
    <SEQUENCE_NUM>5</SEQUENCE_NUM>
    <QUANTITY>1</QUANTITY>
    <UOM>CS</UOM>
    <ITEM_NUMBER>0005</ITEM_NUMBER>
    <PRICE>50.93</PRICE>
    <PACK>1</PACK>
    <ITEM_DESC>SAMPLE5</ITEM_DESC>
    <ALL_CODE NULL="TRUE"/>
    <ALL_METHOD NULL="TRUE"/>
    <ALL_RATE NULL="TRUE"/>
    <ALL_QTY NULL="TRUE"/>
    <ALL_UOM NULL="TRUE"/>
    <ATTRIBUTE1 NULL="TRUE"/>
    <ATTRIBUTE2 NULL="TRUE"/>
    <ATTRIBUTE3 NULL="TRUE"/>
    <ATTRIBUTE4 NULL="TRUE"/>
    <ATTRIBUTE5 NULL="TRUE"/>
    <ATTRIBUTE6 NULL="TRUE"/>
    <ATTRIBUTE7 NULL="TRUE"/>
    <ATTRIBUTE8 NULL="TRUE"/>
    <ATTRIBUTE9 NULL="TRUE"/>
    <ATTRIBUTE10 NULL="TRUE"/>
    </LINES_ITEM>
    </LINES>
    <ATTRIBUTE1>007908809</ATTRIBUTE1>
    <ATTRIBUTE2>081191017</ATTRIBUTE2>
    <ATTRIBUTE3>000000</ATTRIBUTE3>
    <ATTRIBUTE4 NULL="TRUE"/>
    <ATTRIBUTE5 NULL="TRUE"/>
    <ATTRIBUTE6 NULL="TRUE"/>
    <ATTRIBUTE7 NULL="TRUE"/>
    <ATTRIBUTE8 NULL="TRUE"/>
    <ATTRIBUTE9 NULL="TRUE"/>
    <ATTRIBUTE10 NULL="TRUE"/>
    </INVLIST_ITEM>
    </INVLIST>
    </XXDPI_EDI894_INVLIST_TYPE>
    </part>
    </Receive_894_Dequeue_InputVariable>
    Regards,
    Suneel Jakka

    This is a replica/duplicate of other post, follow it instead:
    Re: How to use Business rules for lines in the payload in BPEL
    Edited by: 980644 on Jan 10, 2013 8:22 AM

  • Business Rules Error when Decision Function surfaced as WebService in BPM

    To use a BusinessRule as from a Business Rules activity,it needs to be surfaced as a WebService.
    I've run into an issue where as soon as I check that box and save, the BusinessRule in question goes into a error mode when viewed from the BPM Project Manager (which is why this question is posted here).
    The scenario is this:
    My types are defiend in XSD. There is a SimpleType - FooStepTypeType - which is a retricted xs:string, the common way top create an enumeration. I import this as an XML fact, it creates a Enum bucketset, which is perfect. I create a decision function - DecisionFunction1 - which has an input parameter of this type and a boolean output. I set up a simple decision table to use the input and assert the output. The editor is happy.
    At this point, I can't use the DF in my process, as it's not exposed a service, and won't be selectable via the the Properties/Implementation of a Business Rules activity.
    A soon as I mark the DF as a WebService and save it, an the rule disappears from the Rules section of the Business Catalog and reappears at the root of the catalog in error. In some cases it can't be edited.
    Hovering over the error file produced this error message:
    The argument ‘step’ of decision function ‘DecisionFunction1’ could not build because of ‘BPM-71517: Unable to identify the parameter QName. Cause: ‘FooStepTypeType. Action: Make sure that the decision function parameter is of XML type and exactly one XML Schema Element exists that represents the parameter’.
    My XSD previously did not contain a freestanding element of this type, but had elements defined in another complex type of this type. Adding a freestanding element didn't change anything. In fact it seems that elements are not avaialble to be imported as XMLFacts, only types.
    At this point, if the Rules editor is still open, the DF can be "unserviced" and after saving may be recoverable with a JDev restart. If not, manually removing the DF from the .rules xml file can help recover the file so that it can be edited again.
    SO: THE QUESTIONS.
    Why can't I use a simpleType as an input parameter for a DF exposed as a WebService? What is BPM-71517 asking me to do exactly? I can't find any references to it via searching. Why does eveything seem fine until I expose it?
    Addendum - using JDev 11.1.1.4.0 with BPM tools 11.1.1.4.0.5682
    Addendum2 - upgraded to 11.1.1.5.0 and the problem is still there.....
    TIA,
    Bill
    Edited by: wylderbeast on May 20, 2011 9:38 AM
    Edited by: wylderbeast on May 20, 2011 10:09 AM
    Edited by: wylderbeast on May 31, 2011 3:22 PM

    Further invesitgation bears this problem out.
    Oracle support recommend wrapping the SimpleType in a ComplexType. This does work, but now I have an extra wrapper element to deal with. I either have to use the wrapped type in my other complex, composed Types and/or add an external wrapping element when trying to create Business Services in BPM to call the BusinessRules I've created.
    This is a bit messy.
    To be clear, this does not seem to be an issue with Business Rules; the BR editor and generation of Facts (including simple restricted types -> JAXB 2.0/Java Enumerations) seems to work correctly. There seems to be an issue exposing DFs as Services. The code which generated the WSDL and its supporting types seems to choke on restricted SimpleTypes.
    As a side note, it seems that HumanTasks have a similar limitation
    Edited by: wylderbeast on May 31, 2011 3:27 PM

  • How to add Exception handling in Oracle Business rules Function

    Hello,
    We use to have good number of business rules in our application. So we need to have some functions in BR Composite.
    Can some one let me know how to handle exception in Oracle business rules exception( Regular try catch will not compile)
    is there any way please let me know.
    Edited by: Network22 on Mar 25, 2013 10:21 AM

    Why aren't you using por_custom_pkg.custom_validate_req_line to add extra validations.
    Ensure that profile POR: Enable Requisition Line Customization is set to Yes if you were to use po_custom_pkg for Requisition line validations.
    OAF calls por_custom_pkg at various points depending upon the values in Profile Options:-
    POR: Enable Req Distribution Customization
    POR: Enable Req Header Customization
    POR: Enable Requisition Line Customization
    Thanks,
    Anil Passi

  • Oracle Business Rules Custom Functions

    Hi,
    I have an input fact with attributes A,B,C & D and an output fact with E, C & D. (C & D attributes are common in both facts)
    Whenever the rule matches, we are asserting new output fact by assigning a constant value to attribute 'E' and also the transactional values to C & D using input fact's C & D attributes.
    This way, we are making sure to return the response with matched transactional values.
    But we would like to do this by writing a custom function so that user need not assign this mapping manually whenever any new rule creates. User just assigns the constant value to attribute E but values to C & D attributes should be assigned automatically.
    Please let me know your suggestions on this.
    Regards,
    KK

    Hi Subha,
    Please find the answers inline :
    1. In Oracle Business Rules, can one rule invoke another rule?
    -- > Yes, once a rule gets executed, it might create more facts, that in turn fire another rule. It all runs around the inout/output facts.
    2. Can we make two rule sets dependent on each other?
    -- > Yes
    3. Can we return data of types String, Boolean, Integer, Double from a rule execution?
    -- > Yes, you can use java code with functions.
    4. Can we build complex logical AND, OR assertions in Oracle rules?
    -- > Java programming language is needed for this..
    5. Can we use custom business objects (not Java data types) within a rule?
    -- > Dont think so
    Regards
    Anirudh Pucha

  • Business Rule:Usage of @ISMBR with User Prompts/ Variables+Loop Function

    Hi,
    currently facing a business rule user prompt - if-selection issue - not sure, if it's simply a bug or other ways how to solve it:
    depending on runtimeprompt [RTP_VERSIONS], either the 1st or 2nd part of the rule should get executed using a loop command.
    The special thing is, that you can choose several versions simultaniously in runtimeprompt : as soon, as Data Input is part of the selection, the 1st part of the if-section should apply and the 2nd loop executed (and other way round)
    this works if I select 1 Member in the user prompt, but does not work, if I select several members.
    according to the manual, @ismbr function is "true", if already 1 member is matching !
    I experiemented in addition to @ismbr with @list and @range and also with additional == "Data Input"
    any idea, which other command should apply ? any experience, if using user-variables with several member selections in if-sections is a problem ?
    of course I could simply create separate businessrules or restrict runtimeprompt to 1 value/ version - but inconvenient.
    we are on system 9.3
    Businessrule:
    VAR breakvar1=1; /*Controls Deletion of Budgetdata on Version Data Input */
    VAR breakvar2=1; /*Controls Deletion of ALL Data on selected Versions */
    FIX( "BegBalance",
    [RTP_SCENARIO],
    *[RTP_VERSIONS]*,
    "Local",
    +..... other dimensions+ )
    "HSP_InputValue"
    IF( *@ISMBR("Data Input")* AND not @ISMBR(&Scenario_1_curr))
    breakvar1=1;
    breakvar2=0;
    ELSEIF( not @ISMBR(&Scenario_1_curr))
    breakvar1=0;
    breakvar2=1;
    ENDIF;
    ENDFIX;
    SET UPDATECALC OFF;
    SET MSG SUMMARY;
    Loop(1,breakvar1) /* delete all accounts = all data */
    FIX( [RTP_SCENARIO],
    [RTP_VERSIONS],
    @IDESCENDANTS([RTP_PROJECT])
    CLEARBLOCK ALL;
    ENDFIX;
    ENDLOOP
    Loop(1,breakvar2) /* delete only budget accounts, not setupdata */
    FIX( [RTP_SCENARIO],
    [RTP_VERSIONS],
    @IDESCENDANTS([RTP_PROJECT]),
    *@IDESCENDANTS("Costs")*
    CLEARBLOCK ALL;
    ENDFIX;
    ENDLOOP
    Edited by: Rodian Abel on May 4, 2010 10:38 PM
    Edited by: Rodian Abel on May 4, 2010 10:43 PM

    I think he is saying he does want to allow the user to select more than one member.
    You mention you are using @ismbr and @list. I would say that should be the one that would work.
    For example if you wanted Version1 and Version2 and you hardcoded it. It would look like this
    If (@ismbr(@list(Version1,Version2))
    So using your Variable I expect you wrote it like this
    if (@ismbr(@list(variable)) and that it didn't work.
    @range is useful as it is cross dimensional and that isn't the case here. So if @list doesn't work than this is a bug/problem for your specific situation and will have to approach it differently.

  • Business Rules functionality

    Does anybody know about plan to include Business Rules into SAP NetWeaver?
    I mean functionality like Oracle Business Rules 
    http://www.oracle.com/technology/products/ias/business_rules/pdf/businessPresentation.pdf

    Shame on me/SAP that we did not give you an answer earlier.
    Pls see the blogs of me and Rajagopalan Narayanan for details.

Maybe you are looking for

  • FCP 6.0.1 Running and previewing extremly slow

    Ever since I upgraded to 6.0.1 FCP is running extremly slow. In my current project, I brought in a HDV QT.mov that needed to be Chroma Keyed and color adjusted. Previewing the chroma keyed file looks horrible (all jagged) unless I render it. That tak

  • Problem in PO  creation using BAPI_PO_CREATE1

    Hi Experts, I am creating the PO by using the BAPI_PO_CREATE1. I am giving the net price for the material in POITEM-NET_PRICE and also 'X' in POITEMX-NET_PRICE. For some material, BAPI is working fine and for some material BAPI is giving the error li

  • HT4145 Can I link up a Dlink wireless router to a Airport Base Station

    Hi All, need advise on whether can I link up a Dlink wireless router to a Airport Base Station and if can how do I set it up. with regards and thank you Chris

  • SPFILE and Undocumented Parameters

    Hi all, We would like to set an undocumented parameter, and we are using an spfile. We can't use the alter system command to set it, because it complains about the underscore. Is there a way to set an undocumented parameter while using an spfile? Or

  • HT2486 I dislike address book because editing is impossible.

    I click on the edit menu and the 'edit your card' remains inactive in gray and I'm stuck. Help? Elivia I have mountain lion 10.8.1 but it never worked before either. VERY FRUSTRATING