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.

Similar Messages

  • Business Rule Design Transformer fails with ORA-00001

    I'm stuck with the Business Rule Design Transformer Utility of Headstart. After running this utility over one BR it is impossible to run it over other BR's because of violation of the unique constraint HST65.QMS_MSP_PK (table QMS_MESSAGE_PROPERTIES). The problem is that the utility tries to insert a record (message, specified in the Notes property of Designer) into QMS_MESSAGE_PROPERTIES with the code "ABI-10000", that was already created by running the utility for the first time.
    Exact error message: "Activity aborted with ORACLE internal errors.
    -1 ORA-00001: unique constraint (HST65.QMS_MSP_PK) violated"
    I'm using Designer 6i (6.5.52.1.0) and Headstart 6.5.1.3
    If someone has any clue about this I would be very grateful
    Cheers,
    Dimce

    Jan,
    The name of the business rule is already in the CONSTRAINT_NAME of the QMS_MESSAGE_PROPERTIES table.
    I already tested by deleting the records in the two tables, QMS_MESSAGE_PROPERTIES and QMS_MESSAGE_TEXT, and ran the utility, but it didn't help either. I can run the utility for one rule, but when I want to run it again at some later point, it fails with this error.
    But, I managed to create rule definitions using the HSU Create Business Rule Design Definition, rule by rule. I only had to add references in the business rule to the used module.
    Dimce

  • Error seeing business rule ( to be assocated with)in Manage Data forms list

    HI,
    I have a business rule, I see it in EAS console, but when I try to associate it with my Data form in Planning, i do not see this business rule in the list fo business rules that appear in Manage Data forms-> business rules tab. I hae associated thsi Business rule with my planning applicatiosn outline still I am not seeing it. Can someone please help.

    How does this relate to the Oracle Forms product?
    Craig...
    Edited by: CraigB on Feb 15, 2012 8:43 AM

  • UCCX 8.5 replace system prompts with user prompts not working.

    I am running UCCX System version: 8.5.1.11002-22 with the language en_US installed. I am trying to replace the system generated prompts for a telephone number to be the localized voice talent.
    1. I have enabled the System > System Parameters > User Prompts override System Prompts  is set to enabled.
    2. I created the following prompt directory /gen/number/ and /gen/telephone.
    3. I uploaded prompts (recorded by UCCX) to both of these directories.
    4. Very simple script, accept, get calling number, generate prompt, play prompt, terminate call, end.
    5. The generated prompt is always using the default installed system prompts and not playing the user uploaded prompts.
    Is a restart of the UCCX engine required for this change to take place?
    Thanks
    Danny

    Hi troyputnam,
    It's not necessary a restart. Which folder do you upload the prompt, en_US? If you upload the prompt at a different folder, you will need to specify for every prompt to not look at the default Prompt Folder.
    Regards
    Please rate all useful posts
    Favor calificar todos las respuestas útiles.
    LinkedIn Profile: do.linkedin.com/in/leosalcie
    MDGDP, CCNA, CCNA Voice, CCNP Voice Certified

  • Find and Replace with User Defined Variable

    I am in the process of converting some legacy help content to RoboHelp HTML 9 in order to give it some more features and customization for our clients. I have been taking advantage of User Defined Variables in order to customize the content. Up to this point I have been manually going through each topic and replacing each instance of a word ("statements" for example) with a user defined variable saying the same thing but with the possibility of being changed later should the customer want to. Though we only have about 200 topics, this is still relatively time-consuming and I would like to automate this as much as possible.
    Is there any way to find and replace content with a User Defined Variable?

    Hi there
    If you open the Script Explorer pod I believe one of the sample scripts is a "UDV Converter" script. Perhaps you could give that a try.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Problem with User exit variable

    We're using an user exit variable (var2) for YTD calculation (For getting the first month of current year). It gets value from another exit variable (var1) which has by default value last month of current year(populated in I_step1 from sy-datum). If the user wants he can change the default value of var1. It works fine when the query is executed the first time. But if the user calls the variable screen again, the variable screen does not show var1 in the popup and the user gets an error message that no value could be determined for var2. How can this issue be resolved or is there any other method to satisfy this requirement.
    Your help would be appreciated and rewarded.
    Thanks & Regards
    Hari

    Hi Ravi,
    Sorry, there's a correction. <b>var2 is used for getting the first month of the year selected by the user in var1</b>. If the user doesn't enter a value for var1, then var2 should take first month of current year from var1 which has by default last month of current year (populated in i_step1 from sy-datum). The user can select the value of var1 according to his requirement. Then var 2 should get first month of the year selected. That's why I'm using two exit variables.
    It works fine during the initial run of the query. But when the user clicks on the variable button in the toolbar and executes the query, var1 is not being displayed and an error message <i>No value could be determined for var2</i> is shown. All other variables used in the query are displayed except var1.
    Krzys, Is the option <i>Can be changed in Query Navigation</i>  available for Exit variables. I'll check that and get back to you.
    Boujema, Thanks for the OSS note.
    Thanks
    Hari

  • Rename Computer with Predefine word with user prompt and PC serial number

    I would like help from the community to create a script to rename a computer for sysprep the following format example is below. The script to needs to have a predefined characters at the beginning followed by a prompt to user to add 1 character and the final
    step would be to append the  PC serial number please see example.
    Computer Name: ABC?%SERIALNUMBER%
    The (ABC) would be predefined at the beginning
    The ? would be a prompt for the user to enter the letter L or D (This is to determine Laptop or Desktop)
    The final is to add computer serial number.

    Hi,
    After checking your issue, I suggest you post your issue in Script Center forum for further assistance.
    Script Center
    http://social.technet.microsoft.com/Forums/en-US/category/scripting
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding.
    Regards,
    Blair Deng
    Blair Deng
    TechNet Community Support

  • Need authorization for business document services attachment list with user status in ps claim for clm2 and clm3

    Dear Friends,
    client wants to restrict the attachment list changing, deletion after the user status sets to close in PS Claims for transaction clm2 and clm3.
    Currently any one can attach documents as GOS and delete even the claim is completed and status is closed.
    How can we restrict all users even who created the claim can not change create and delete attachment list documents once the claim is completed and approved and user status sets to closed.

    HI,
    what is the claim creation transaction in that 01 is for creation 02 is for edit and 03 for display so with the help of basis consultant you can assigned transaction in user's assigned role accordingly.
    But user who is authorize for create claim can not modified or edit once he save the job. this would be limitation.
    Regards,
    Sanjeev

  • Creating a batch file to launch a program with user input variable.

    I am trying to create a batch file that allows a user to be prompted to put in a value and then launches the program associated and that particular file. In this case the files are CIF files that pull up saved data inputs. Below is my script so far and what I am trying to accomplish is the user presses 1 and hits enter and is prompted to enter the CIF file name, then the application launches and the paramaters open the selected CIF file.ECHO OFF
    CLS
    :MENU
    ECHO.
    ECHO ...............................................
    ECHO PRESS 1, 2, for your task or 3 to EXIT
    ECHO ...............................................
    ECHO.
    ECHO 1 - Open Cape Pack CIF FIle
    ECHO 2 - Open Calculator
    ECHO 3 - EXIT
    ECHO.
    SET /P M=Type 1, 2, or 3 then press ENTER:
    IF %M%==1 GOTO Cape Pack
    IF %M%==2 GOTO CALC
    IF %M%==3 GOTO EOF
    :Cape Pack
    cd %windir%\Program Files (x86)\cape211\...
    This topic first appeared in the Spiceworks Community

    I am trying to create a batch file that allows a user to be prompted to put in a value and then launches the program associated and that particular file. In this case the files are CIF files that pull up saved data inputs. Below is my script so far and what I am trying to accomplish is the user presses 1 and hits enter and is prompted to enter the CIF file name, then the application launches and the paramaters open the selected CIF file.ECHO OFF
    CLS
    :MENU
    ECHO.
    ECHO ...............................................
    ECHO PRESS 1, 2, for your task or 3 to EXIT
    ECHO ...............................................
    ECHO.
    ECHO 1 - Open Cape Pack CIF FIle
    ECHO 2 - Open Calculator
    ECHO 3 - EXIT
    ECHO.
    SET /P M=Type 1, 2, or 3 then press ENTER:
    IF %M%==1 GOTO Cape Pack
    IF %M%==2 GOTO CALC
    IF %M%==3 GOTO EOF
    :Cape Pack
    cd %windir%\Program Files (x86)\cape211\...
    This topic first appeared in the Spiceworks Community

  • Date difference calculation with user input variable

    Hi,
    I have the following requirement in BEx:
    The user inputs a date value and I have to calculate the difference between the date entered by the user with the Due Date in the cube, to determine the number of backlog days. Basically, I need to calculate Past Due in number of days.  I need to display the Amount due for the Time buckets like 1 -10 days, 11 -30 days.
    The report output has to be in the format below:
    Columns:
    1 u2013 10 days Past Due      $100.00
    11 u2013 30 days Past Due    $15.00
    Rows:
    Customer#    
    The cube has data from Jan 2005 to June 2008.
    For Eg:   User Input Date =   04/30/2008.
    It should compare the input date to the due date for each record in the cube.
    Any suggestions are appreciated.

    Hi Kumar,
    We have developed simar reports in our previous projects.
    You need to follow the following steps.
    1. Create a new restricted key figure globally on Past Due $100. Restriction details I will let you know in the ensuing steps.
    2. Create another restricted key figure globally on Past Due $15. Restriction details I will let you know in the ensuing steps.
    3. Create a Z varuable on Calday and offset it -1 (use the button next to exclude button).
    4.Create another Z varuable on Calday and offset it -10 (use the button next to exclude button).
    5. Create another Z varuable on Calday and offset it -11 (use the button next to exclude button).
    6. Create another Z varuable on Calday and offset it -30(use the button next to exclude button).
    7 Restrict the RKF past due 100$ (defined in sl 1)between the variable range defined in 3 and 4.
    8. Restrict the RKF past due 15$ (defined in sl 2) between the variable range defined in 5 and 6
    Now drag and drop those two RKF to column and you will get the desired result in C1 and C2 as follows:
    Columns:
    C1 :1 u2013 10 days Past Due $100.00
    C2 :11 u2013 30 days Past Due $15.00
    If the above info serves your purpose, please reward me with the point.
    Regards,
    Subha

  • Upgrading from RH7 to RH8: Problem with user-defined variables

    Example:
    Before upgrade: <uservariable name=Product_name1 x-showvalue x-value=MyProduct>MyProduct</uservariable>.
    After upgrade: <?rh-udv_start name="Product_name1" ?>MyProduct<?rh-udv_end ?> .
    Notice that there is now a space before the period. Any time my UDV is followed by another letter or punctuation, there is now an extra space. :-/ Does anybody know of a way to fix this besides using FAR to search and replace every possible combination of UDV + letter/punctuation?

    Problems like that make me a whole lot happier that we upgraded from RHX5 where variables didn't exist! I think the best way forward IS to use a find and replace tool. Sorry.
    Read the RoboColum(n) for a tips,  tricks and musings on the Technical Communication Suite products.

  • Help with user exit variable

    Hello all,
    I need to create a customer exit variable to get a field (0calmonth) from an infoobject attribute and use this field to filter the query.
    I need some help to finish the code:
    WHEN 'my variable'.
        IF I_STEP = 2. "before the popup
          SELECT 0CALMONTH INTO ???    "0calmonth is the attribute.
          FROM /BIC/TZFECHAVAL            "infoobject table.
          WHERE... "conditions.
    Any help? Thanks. Points will be assigned.

    Hi,
    Pls check the below sample code.. and change the code
    WHEN 'Your Variable' .
          TYPES : BEGIN OF ls_batch ,
                  batch TYPE /bi0/oibatch,
                  END OF ls_batch.
          DATA : lt_batch TYPE TABLE OF ls_batch.
          DATA : wa_batch TYPE ls_batch .
          SELECT batch FROM /bi0/mbatch
          INTO TABLE lt_batch
          WHERE batch = 'XYZ'
             OR batch = 'ABC' .
          SORT lt_batch BY batch .
          DELETE ADJACENT DUPLICATES FROM lt_batch COMPARING batch .
          LOOP AT lt_batch INTO wa_batch .
            l_s_range-low = wa_batch-batch.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
    Thanks
    Reddy

  • Planning -v11.1.1.1 - Cannot Communicate with Business Rules

    Hi,
    We are unable to log into Business Rules no matter how many times we recreate users and properly provision them. I found this in the 11.1.1.1 Installation and Configuration Guide but have no idea of where or how to make this change.
    Planning
    • After you manually deploy Planning, Business Rules does not communicate with Planning. To work around this issue, add the following Java Options:
    -DESS_ES_HOME=/hyperion/products/Essbase/eas/server -Dhyperion.home=/hyperion -DHYPERION_HOME=/Hyperion [8622082]
    Where exactly would we do this and could it possibly help?

    Issue is with SSH the SSH ware running in two sys and conflict issue.
    Restored the Open DAP and suggested the client to re start the Service and server ones.
    Client can successfully able to log to EAS and to BR now.
    Couple of BR access issue is resolved by provision and Refresh of Manage database.

  • Issue with creating/Launching a Business Rule

    Hi All,
    I'm using Hyperion version 11.1.2. When creating Business Rule in EAS console, we can't use admin user right ? Is there any specific reason for that ? I've created one other user called "BRadmin" and given admin privileges to all areas. I've logged in EAS console with the new user ID BRadmin and under "Business Rules" i'm trying to create a new Business Rule BR1. In the associated outline area when i'm trying to select "Select outline" no applications are showing under planning and the planning applications are available under Essbase node. For Business Rules, i should select Planning Application under Planning node right ? Why it is happening. I'm unable to select the Planning application from Planning node and due to this, i'm unable to see the Business Rule in Data Forms in Work Space. Pls. advice

    I did Stop the following services, planning, EAS, hyperion RMI.
    & Started them up RMI, EAS, Planning.After this have you logged in the planning application, before selecting business rules in EAS?
    1. Have you selected Calculation module as Business Rule during outline creation? if not select Calculation module as BR.
    2. Right click on the business rule node and select refresh user list.
    Cheers..!!!

  • Exporting Business Rules from command prompt

    Hi,
    I'm wondering if there is any way to export Business Rules to XML automatically through command prompt (instead of manually doing it through EAS Console).
    Thanks,
    Ryan

    The documentation is availabe at - http://www.oracle.com/technetwork/middleware/performance-management/documentation/index.html
    Go to Foundation Services > Lifecycle Management Guide > "Using Lifecycle Management Utility"
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • Using formats of SO10 text in Adobe forms

    Hello guys, I got a question concerning the interaction of SO10 texts with adobe form text fields. I know there are some threads about it here, and I think I understand the default SAP behavior, but can you please confirm if I am right? Then I got a

  • Sound out of sync on DL DVD

    The audio is out of sync by about 3 seconds on a 132-minute DL DVD I just encoded and burned in iDVD. The video was edited in Final Cut Express, using 16-bit 48Khz audio recorded using Sound Studio 3. From Final Cut Express each movie was processed w

  • JSSE does not exist anymore ??!!

    I just downloaded the J2SDK 1.4.2_01 and it seems that the JSSE package does not exist any more. My programs using JSSE and working with the J2SDK 1.4.2 do not work anymore with 1.4.2_01 because the it can't found the javx.net package. Does anyone is

  • N86 8mp having language problem

    I am using n86 8mp,I updated my  software but only English & Chinese language is coming,I needed ARABIC language ,so pls help me,

  • Beginning inventory

    Dear all, i have uploaded beginning inventory by 561,but now i find out the material 11111's value is wrong,for changing a better one it had been returned to supplier and their price is highter , if one of the material have been consumed,what can i d