Global Variable in Runtime Prompt

Hi All,
I have a Global Varialbe with limits @Level_0_Descendants("YearTotal"), but When I launch this Business Rule in the prompts I am able to see all the Period dimension members.
I have used the same varialbe in other Busine Rule, it is giving period values according to the limits, But the above issue is happening for two business rules.
Why it is happenning like that ?
We are using System 9.3.1
Thanks & Regards,
Sravan Kumar.
Edited by: Kumar1899 on Apr 24, 2010 3:02 AM

Hi,
Anybody have the solution for the above problem please let me know.
Thanks & Regards,

Similar Messages

  • Supressing Substituion Variables in Runtime Prompt

    Hi All,
    How to Hide Substituion Variables in Runtime Prompt? There is a risk of selecting this substituion variables by users. Please let me know if any workaround avialable.
    We are using Hyperion System 9.3.1
    Thanks in Advance

    I want to hide those substituion varibles in Runtime Prompt, I have period dimension as RTP and some Substituion variables are there which are belongs to Period dimesnion, if user selecet unkonowingly those members results give unexpected values. So, I want to hide substituion Variables in RTP.
    Thanks in Advance,

  • Global variable in BR

    Hi,
    I have created one global variable (run time prompt) in which Budget admin will pass the scenario member parameter and I have also created a local run time prompt in one rule(which will pick up the scenario member from the input form POV with which the rule attached to) and inside the rule I am checking one condition that if the global variable value is equal to the local variable, then it will execute one calculation.
    As I want that the modify priviledge to change the value of global variable will be only with Budget Admin, so I have defined that at the time of Global variable creation. I chose Member from scenario dimension with the default value 'Budget'.
    I have hidden the local variable in input form. I have set 'run on save' with the 'Use Members on Data form' and 'Hide' option. The default value for local variable is also 'Budget'.
    As I have not hidden the global variable, so at save, pop up coming for the global variable. My problem is that, if I do not hide the global variable, then other user can modify the value, so my purpose is defeated.Otherwise rule is running ok.
    And If I hide the variable, then error is coming "The following value is not valid for the run time prompt it is entered for: ."
    Not understanding what is missing here. Can you please suggest the relevant solution/work around...
    Thanks & Regards.

    Hi John,
    Thanks for the reply and suggestion. But,actually my purpose was to match the budget-admin's scenario with the user-input form's scenario (and depending upon that we will pick up other member intersections and do the calculation for those combination only. So, two set of BR execution seperately will not solve our problem.
    Meanwhile, I tried hardcoding the global variable for debugging, keeping only the local variable picking value from input form. Now getting error that value is not valid for prompt as below---
    "The following value is not valid for the run time prompt it is entered for: ."
    Is my local variable not picking any value from input form....
    Can you please put some light on the issue?
    Thanks & Regards.

  • ABAP Program global variable print at runtime

    Hi,
      I have an abap program with more than 1000 global variables. I want to run the program and at a specific point show a report with names and runtime values of all the global variables in the program. Is there some system table which stores all the global variable names and source code? Kindly help.
    Satya

    Hello Satya,
    You can store all your global variables in one internal table.
    let's say your Itab contains 1000 fields. Now, if you want to retrive the name of the itab, you can use the system call.
    DATA: IT_COMP LIKE RSTRUCINFO OCCURS 0 WITH HEADER LINE.
    *-- Getting fields of internal table
      CALL 'AB_STRUC_INFO'
        ID 'PROGRAM'   FIELD SY-CPROG
        ID 'STRUCNAME' FIELD P_ITAB
        ID 'STRUCINFO' FIELD IT_COMP-SYS.
    After getting all your fields in it_comp table you can use field symbol to get the values of your fields.
    Regards,
    Reward points, if it is useful...!

  • How does a global variable affect the runtime of optimisation-function fminsearch?

    Hi,
    my function "fmintest" needs 254s ~ 4min to finish calculation in Mathscript, while Matlab needs
    3s!!! I need the sorfware for data processing in a real time measuring system, where the calculation have to be done within 5 seconds.
    In the Mathscript-help I found the following (global -> details):
    If you call this function from a MathScript Node, LabVIEW operates with slower
    run-time performance for the MathScript Node. To optimize the performance of the
    MathScript Node, remove this function from scripts.
    How can I remove needed global variables in the fminsearch function handle? Is the system faster if I would/can remove the global variables?
    How can I avoid Mathscript-breakdown after saving changes to m-files and restarting them again?
    regards
    Attachments:
    ni3.7z ‏2 KB

    Hi,
    can you provid a VI and not only your m-files? It will be easier to help you!
    Can the customer provide a VI that demonstrates this behavior, rather than just providing the m files?
    Also, the Help file says fminsearch is not supported by the
    LabVIEW Run Time engine, so please take that in mind. If you want to build an application you cant use this function.
    Regards, RMathews

  • Unable to use runtime prompts in calculation manager

    Hi All,
    I am unable to use runtime prompts in calculation manager (11.1.2.0).
    In Variable Designer I have selected global and created a Replacement variable with name "Entity" and selected Type as "Member" and Default Value as "Entity" from dimension list, checked the check box "rtp".
    In FIX (i.e., Member Range) I’m selecting this variable for Entity dimension, and validating this rule without any errors. And during deployment it is not prompting for Entity and directly a message appears that deployment was successful.
    My requirement is i should select a Entity member during runtime. Please help me out.
    Thanks.

    Are you accessing workspace url remotely on client machine?
    Can you try accessing the url on the server and check whether you can see the app in the Calc manager?
    Thanks
    Madhavi

  • Running Business Rules with global Variables in Composite Forms

    Hi,
    I am having trouble running Business Rules, that include Global Variables, in composite forms.
    I have two forms in the composite form, both have entity in Page dimension set to 'local'. one includes entities at level 3 and the other has entities at level 0. I need to pass this level 0 entity to the business rule, from the form.
    When i try to run the rule, it gives me the following error:
    "This rule cannot be launched because it has hidden rtp variables without default values "
    I get this error even when i set the default value for the global variable.
    This rule runs perfectly when run from the individual form (which is part of the composite form).
    Please help.
    Thanks.

    Known Issue: 9900514
    The Use Members on Data Form and Hide Prompt options for business rules attached to composite data forms apply only for runtime prompt values from the globally shared pages and POVs of a composite data form. In other words, this will only use members that are shared across all component data forms. If users want a business rule to take context from a single component data form, they should attach the business rule to that component data form and include the business rules for that component data form at the composite data form level (<Business rules for componentX>).
    Please let me know if this is not what we are talking about.
    Thank you,
    Todd Rebner

  • Use of global variables like g_cnt_transactions_transferred in the LSMW

    Hi SapAll.
    when i had a look at the some of the LSMW's whic use IDOC as the object of uploading data into SAP from external Files i have found in the coding under the step "Maintain Field Mapping and Conversion Rules" that they use some of the global variables like below
    .if p_trfcpt = yes or sy-saprl >= '46A'.
      EDI_DC40-DOCNUM = g_cnt_transactions_transferred + 1.
    endif.
    .EDI_DC40-CIMTYP = g_cimtyp.
    .EDI_DC40-MESTYP = g_mestyp.
    .EDI_DC40-MESCOD = g_mescod.
    .if p_filept = yes.
      EDI_DC40-SNDPOR = g_fileport.
    elseif p_trfcpt = yes.
      EDI_DC40-SNDPOR = g_trfcport.
    endif.
    my doubt is where i can find these variables 'g_cnt_transactions_transferred ','g_cimtyp','g_mescod','g_fileport','g_trfcport' in the LSMW and what is the use of the variable  'g_cnt_transactions_transferred ' in the LSMW.
    I have treid to find out the above listed variables looking in step 'Maintain Field Mapping and Conversion Rules' under global variabels list and the other lists also but i couldnt found.
    can any one help me in this ?
    regards.
    Seetha.

    Hi Seetha,
               In the LSMW Workbench go to the option user menu.  And check the option display conversion program.
    Now when you execute with the radio button on dislplay conversion program, you ll see the code that got generated in the background while you built your LSMW.
    The global variables that you have mentioned are bound to be there in this program generated in the background..
    You can put a break point here and see for yourself what the value of these global variables are at runtime.
    File port, TRFC port , no. of transactions executed by one run of the LMSW Idoc program , message type are some of the fields that you have asked for .
    Regards,
    Arun

  • How do I store VI References in global variables and access them later

    From what I know, Labview automatically deletes VI references when they go out of use. Is there a way for me to override this so that I can access a set of preloaded references in a separate VI? Essentially I would like to open the VI's dynamically into the memory, store the references in global variables and access them at a later time. The VI's I'm referencing won't be known until runtime. I know its not the safest way to do it, but it would be the most productive on my end.
    Thank you
    Clay Upton

    I'm not sure what you mean by "a later time", but a VI reference will remain valid as long as the VI is in memory. If you don't unload the VIs, the references will remain valid.
    If you do need to unload the VIs, for whatever reason, I would suggest the following:
    Create a functional global as your interface for obtaining the references.
    Feed the paths to the VIs into the VI when initializing it (since you don't know which VIs in advance).
    When calling the VI to obtain the references, have the VI check them first (using the Not a Number... primitive). If it sees that they're invalid, it can open a new reference and return that.
    You should note that when a VI is removed from memory, the data space is used is released, so if those VIs are expected to hold data (using shift registers, etc.) this will be a problem.
    The description I've given will only be usable in certain instances (and it has its intricacies), but you didn't really give any details about what you're actually trying to accomplish.
    Try to take over the world!

  • Function module Global variables not cleared from memory?

    Hi,
    This is may be simple & stupid question ( after posting  4242 posts ):)
    " Declaration in TOP
    data : begin of i_y1yatt occurs 0.
            include structure y1yatt.
    data : end of i_y1yatt.
    types: begin of t_yatt71.
           include structure yatt71.
    types: tcode like sy-tcode.
    types: dflag type c.
    types: end of t_yatt71.
    data : i_yatt71 type standard table of t_yatt71
                   with default key  with header line  initial size 0.
    This is code in the function module.
      loop at i_y1yatt.
        move-corresponding o_y1yatt to i_yatt71.
        if i_y1yatt-werks eq 'N501'.
           move space to i_yatt71-werks.
        endif.
        append i_yatt71. 
        " Here this internal contains the previous entry
        clear i_yatt71.
      endloop.
    This function module is called 25 times in a minute.
    My problem is this
    For example : 1st tranmission is called this fm with 50 records,
    and 2nd tranmission is called fm with 10 records.
    My results are showing
    last record in the 1st transmission is still on the memory while calling 2nd transmission.  ( Here in int table I_YATT71 still contains the 1st transmission's last records during the 2nd tranmission call)
    As per my knowledge if each time calls comes in to fm all gloabl variables get cleared. but some how this not happening.
    Anybody come across this scenario.
    PS. I know i need to use clear statement within the loop as first statement.

    You must understand that when calling a FM, you load the entire function group into memory. IF there are global variables, then they are "alive" for the entire duration of the program execution. Meaning if you call the function numerious times, or even if you call another function within the same function group, the functions still have access to that same global variable space, so it must always be cleared manually by the developer at the required points.  You can not rely on the runtime to clear the global variables at the end of the function call.  So you should clear all you globals as the first operation in your function module call, if that is what is required.
    Is this clear?
    Regards,
    Rich Heilman

  • Use global variable in reports which is declared in forms

    Hi All,
    I have declared and used a global variable in Forms and after that I'm running a report and I want to use the same variable in reports.
    How can I use that.
    Regards
    Praveen Kr. Arora

    Hi Rizwan,
    Thanks for prompt reply.
    Can you explain in more detail with example.
    Though I'm calling report from menu item and I have created report file with three parameters.
    In menu item I have created a parameter list with same three parameters but whenever I tried to run then it gives Invalid ID error for all three parameters.
    Regards
    Praveen Kr. Arora

  • Business Rules : Unable to create a global variable (Fixed)

    Hello all,
    I try to create a global variable in order to use it in a business rule;
    I selected an outline.
    I chose the type "Member"
    I chose the dimension "Period"
    I clicked on the lookup button in front of the default value and chose the member "January"
    Finally, I chose the usage type "Run-Time prompt" and type in a prompt string.
    Unfortunately, when I click on save, I get an error message : Variable value ["January"] is invalid.
    If I try to do not specified a default member, it is possible to save.
    But when I launch the business rule and specified a member in the the prompt message, I get an error 1060120 : OLAP error.
    I cannot figure out what's going wrong, so any help is welcomed.
    Thanks,
    DLP
    Message was edited by:
    user639769
    Message was edited by:
    user639769

    Thanks for your answer,
    I finally figure out what's going wrong.
    This issue is due to the fact that the outline is configured to accept duplicated names.
    When I create the same outline but with duplicated names turn off, every thing goes perfectly.
    I don't know why the outline accepts duplicated name.
    In fact, I do not understand what are the reasons for using duplicate name...

  • How can i find all global variable and parameters in a form?

    I don't know name of global variables and parameters,but i want get their name and value .
    how can i do? who can help me?
    Thank you.
    Daniel Liang
    2007.1.19

    no problem. As Francois said you can't do it programmatic in runtime.
    But when you use the debug-mode you can see each global with name and value.
    By the way: It's not good to not know all the globals in your application. This is one of the most important things you have to write down for your app. Create a wiki for such informations, so that all developer can share their information.

  • Setting global variable to be used in a SQL task

    I am trying to create a simple SSIS package to be used in the SQL Task
    The SQLStatement is
    Update dbo.Users
    set FirstName = ?
    where UserID = 2
    Added a parameter mapping for User::strDataString
    From the data manager dynamic script, I included following code to prompt for the value and set to the global variable and then call the excecute SQL task.
    PROMPT(TEXT,%strData%,"Enter value",,"")
    GLOBAL(@[User::strDataString],%strData%)
    TASK(Execute SQL Task,,)
    When the check the database, the table is getting updated only with the default value of the strDataString but not with the value entered in BPC.
    Am I missing any link?
    Thanks
    Omkar
    Edited by: yomkar on Mar 17, 2010 1:13 PM

    Hello,
    on which version of BPC are you running ?
    Can you try to make all your SSIS variables upper case, it helped me on earlier versions of BPC.
    Be aware too that if you have an instruction like GLOBAL(STR,some_value), BPC will do a string replacement within the MODIFYSCRIPT variable  : "STR" -> "some_value".
    for example :
    GLOBAL(STR,some_value)
    TASK(STR TSK,....) will be replaced by TASK(some_value, ....).
    Vladimir.

  • Copying Global variables

    Is there any easy way to copy a group of global variable from one job to another? I know I can insert the global variables one at a time but there must be a quicker way????

    Hi Richard,
    You might be interested in a new feature in the 12.0 release of Data Integrator (it's built on the Data Services XI 3.0 platform).  The feature is called "substitution variables", and allows you to have a single set of variables for a runtime environment.  They are static in nature (meaning you cannot change their value after you launch a job) but you can have different configurations of variable assignments.  You control all of this using system configurations -- it's a lot like using datastore configurations with system configurations today, except that you can define sets of substitution variable values to go along with a specific system configuration.
    You may want to talk to your account manager about migrating your license to an XI 3.0 license.  Also, the first service pack for 12.x will be released soon (Septemberish?), which is a good indication that the tool is ready for serious production usage.
    Thanks,
    ~Scott

Maybe you are looking for

  • How to connect PC to a mobile phone to make a call.

    Hi all, I want my PC to control the mobile phone (its a CDMA phone). I want to connect the phone with my PC through some cable, then I want to control the phone using the program running on my PC. Like, I want my program running on PC to make calls t

  • How do I find characters in a file?

    Hi people who knows (a lot) more about Java than I do... :) I have an array (intChars) containing integers written from a text file. Now I would like to create a new array with all the positions in intChars where the character '{' happens to be. I've

  • Problems with idoc ORDERS05

    Hi experts, I created a new Z segment for idoc ORDERS05 and it works fine. This idoc is generated whenever a PO is created or modified. But if the PO has locked or deleted items, there is no segment for this items in the IDOC. Should I modify any cod

  • IPC error message when starting MSA

    Hi, A bit strange but every time we start Mobile Sales [standard SAP 5.0 SP08], we get a message "Installation of Internet Pricing and Configurator is incomplete". We are able to access Mobile Sales, but the strange thing is that IPC was not set as a

  • Parked Documents

    Dear Experts, There is a client requirement for "Error Message" should appear while parking the document in FV60 transaction to avoid duplicate invoices. I have maintained "Message controls" as well as "Validations" but it is not throwing the error m