OLAP variable / bex variable, need help !

Dear All,
I will definitely award point for this solution.
I have a new assignment on another client, and they had activate BW customer exit, RSR00001 BW: Enhancements for global variables in reporting for almost 5 years ago.
As a consequences, include ZXRSRU01 is almost 1000 lines .
Here is the problem, I copy paste a piece of the include here:
WHEN 'TCTSD017'.
IF I_STEP = 2.
  LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
  WHERE VNAM = 'TA_DTE7'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = '19000101'.
    L_S_RANGE-HIGH  = LOC_VAR_RANGE-LOW.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    APPEND L_S_RANGE TO E_T_RANGE.
  ENDLOOP.
ENDIF.
My 2 questions,
1. where is TCTSD017 defined ?
2. where is TA_DTE7 defined ?
Please help me and again, I will definitely award points
Many Thanks reader...
Ahmad.

HEY WELCOME ON BOARD AND IN BW WORLD
THANK YOU FOR YOUR ANSWER.
IF YOU WANT A CORRECT ANSWER PLEASE ASK THE QUESTION PROPERLY OK !
YOU ASK WHERE YOUR VARIABLES ARE DEFINED YOU HAVE THE ANSWER.
I DO NOT ACCCEPT EITHER THIS KIND OF RESPONSE.
WHEN YOU ARE A BEGINNER ON A TOPIC LIKE REPORTING AS YOU SEEM TO BE , TALK TO PEOPLE WITH HUMILITY.
"So digging queries 1 by 1 is not an acceptable answers."
RESPECT PEOPLE WHO TOOK TIME TO READ YOU AND MAKING EFFORT ON PROVIDING YOU HELP.
BYE AND GOOD LUCK
BOUJEMA

Similar Messages

  • Cascading LOV in BEx Query OLAP Universe + BEx variable

    Hi gurus,
    we have an universe where a Cascading LOV has been defined based on a BO Hierarchy ( based on a BW hierarchy), the OLAP universe is based on a BEx query.
    Now, when the users create a WebI report selecting a value from the value list, the Cascading LOV appears and the user selects the value, descending by the nodes.
    We are analyzing the universe performance and we are testing to add some time BEx variables in the query ( in the current version no variables are used).
    Everything works properly but when we try to select a value from the Cascading LOV and try to select a lower level the webI returns a mdx error indicanting that the time variable is not informed. (WIS 10901: A database error ocurred; MDX query can not be executed: specify a value for the variable Z... )
    We thought that the mdx for the LOV get values from the MD table because in the infoobject definition, it has the Business Explorer Settings:
       Query Def. Filter Value Selection = Value in Master Data Table
       Query Execution Filter Val. Selectn  = Value in Master Data Table
    The Query Execution Filter Val. Selectn  can be defined at the infoprovider also (with the provider specific Properties of the infoobject) and also at the query, whe have not modify none of them.
    My first question is which settings has efect at OLAP Universes, the infoobject settings; the infocube settings or the query settings ?
    Are the Cascading LOV integrated with BEx Query OLAP Universe?
    Is it an application error?
    Many Thanks in advanced.
    Best Regards,
    Nuria

    Hi Ingo,
    many thanks for your quick answer.
    That was one of the possibilities we have analized but the problem is that the user has to inform the hierarchy level for all the reports, that kind of variables is translated in the universe as a prompt
    Now we have only one universe and some business analists users create reports themselves for the business area based on that universe.
    The users create WebI filters without prompts,just filtering the hierarchy node. If we add the BEx variable then the user sould inform the prompt for all the reports based on that universe.
    We want to avoid that prompt, we have several hierarchies in the query for different infoobjects.
    Thanks again.
    Best Regards,
    Nuria

  • SetInterval passing variables...Need help

    I have a script that I am trying to use the setInterval
    command to animate a
    textfield on the stage. I have a sample script that works and
    passes the
    value of this._y to the fly function but it uses onEnterFrame
    since it is
    created using movie clips in the library rather then in a
    action script
    class file. Any thoughts would be GREAT! its my understanding
    that the
    .prototype method indicates that the new function will assume
    all values of
    the previous function... is that not correct?
    +++++++++++++++++++++++++++++++++++++++
    New Code:
    +++++++++++++++++++++++++++++++++++++++
    function ScrollMsg(nin, depth, initialization) {
    this._x = 30;
    this._y = 500;
    this.createTextField("Msg", 0, 0, 0,500, 150);
    with(initialization.msgtext) {
    wordWrap = true;
    multiline = true;
    border = true;
    text = initialization.msgtext;
    trace("bfr-this._y:"+this._y); // has value of _y
    = to 500
    // set continual function to fly
    ScrollMsg.prototype.fly = function() {
    trace("this._y:"+this._y); // value is
    undefined
    if (this._y > initialization.distance) {
    this._y -=_global.MSG_SPEED;
    trace("--this._y:"+this._y); // value is
    undefined
    } else {
    this.removeMovieClip();
    //Define Speed
    setInterval( ScrollMsg.prototype.fly , 1000 );
    +++++++++++++++++++++++++++++++++++++++
    Original Script: (Works perfectly)
    +++++++++++++++++++++++++++++++++++++++
    // allow ScrollMsg to inherit MovieClip properties
    ScrollMsg.prototype = new MovieClip();
    function ScrollMsg() {
    this._x = 30;
    this._y = 0;
    this.createTextField("Msg", 0, 0, 0, this.msgwidth, 10);
    with(this.Msg) {
    setNewTextFormat(_global.MsgFormat);
    autoSize = "left";
    wordWrap = true;
    multiline = true;
    embedFonts = true;
    selectable = false;
    text = this.msgtext;
    // set continual function to fly
    this.onEnterFrame = this.fly;
    // instance methods
    ScrollMsg.prototype.fly = function() {
    if(!_global.MSG_ON_HOLD&&!_global.SYSTEM_ON_HOLD) {
    if (this._y > this.distance) { this._y
    -=_global.MSG_SPEED;} else {
    this.removeMovieClip(); }
    //this._alpha = 100 - Math.abs(this._y -
    this.distance/2)*.3;

    I am trying to move different objects across the page at
    different Intervals from nested actions on keyframes,
    Kind of an on going action. One object (1) is a blimp flying
    across the sky Left to right. Then a Jet plane (2) flys across
    right to left. and then flys back to left,Then the blimp goes right
    to left. I will fix those errors. Thank you so much. If this
    addtional information helps, Please help.
    BozArt

  • FORMULA IN BEX ANALYSER - NEED HELP

    Hi all - here is my deal ....
    I have in a cube information for Articles and replacement Articles
    EX :
    CUBE
    *Material -  Price  - Replaced Material *
    A1        3.00
    A2        3.10          A1
    In Bex I would like to make a query to have this kind of result
    REPORT
    Material  -  replaced material    -  Material Price  -  Price of material replaced 
    A1                         /                       3.00                         /
    A2                       A1                      3.10                       3.00
    My problem is to find the right formula to get on the second line of the report the price of Material A1
    Both line should be reported on my report
    How could I get on the second line the price of Material of the first line.
    Thanks for your help
    Alain

    Hi all - here is my deal ....
    I have in a cube information for material and material replace by.
    EX :
    CUBE
    *Material /  Price  / Replaced Material *
    A1  /      3.00
    A2   /     3.10    /      A1
    In Bex I would like to make a query to have this kind of result
    REPORT
    Material  /  replaced material   /  Material Price  /  Price of material replaced 
    A1           /              #                 /     3.00           /           *
    A2           /            A1                /      3.10         /              3.00
    My problem is to find the right formula to get on the second line of the report the price of Material A1
    Both line should be reported on my report
    How could I get on the second line the price of Material of the first line.
    Thanks for your help
    Alain

  • Restriction of f4 help of a bex variable based on another variable input

    Hi,
    Could you please let me know if there is any possibility to restriction of f4 help of a bex variable based on another variable input.
    eg: when i select particular company code in one variable, i need to restrict the f4 help for another variables eg: pur. group based on selected company code.
    Regards
    Kasi

    Hi,
    Try using replacement path option in bex with replace variable with variable selction.
    Thanks.

  • F4 help for BEx variables

    Hi!
    Could anyone help me in implementation the following scenario:
    I have the BEx variable available for input. Then users press F4 to view possible values for this variable, I need to output the certan list of values (the list is defined by quite complex logic - user algorithm).
    So, Do I have the possibility to catch the SAP processing of F4 help and program my logic for the output list (some kind of exit)?
    Please suggest any decision or the source of information according this issue.

    Hello Marina Dolgopolova,
                                         Are you able to find the solution for this requirement. If so pl let me know.
    Thanks & Regards ::
    Balaji T

  • Need help in creating a user exit variable

    Hi all,
    I have created a query in which a key figure needs to be automated with an user exit variable.I want to derive the value of this key figure 'x' based on calender month.
    This key figure should get the cumulative value from the first month of the fiscal year till the calender year month entered while executing the query.
    I got a basic understanding on the User exits from SDN. But Im not sure how to implement this logic.
    I would really appreciate if you could provide me a detailed explanation of how to do this.
    Thanks in advance,
    Vinoth

    Hi
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208811b0-00b2-2910-c5ac-dd2c7c50c8e8
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6378ef94-0501-0010-19a5-972687ddc9ef
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2d99121a-0e01-0010-e78c-b1ae566a2413
    http://sap.ittoolbox.com/groups/technical-functional/sap-bw/how-can-i-set-bex-variables-in-i_step3-exit_saplrrs0_001-335232

  • Need help with Different approaches to setting variables in a Flash movie in Adobe Flash CS3 Professional Version

    Hi,
    I'm using Adobe Flash CS3 Professional version of Flash
    software,
    I need help and guidance on
    Different approaches to setting variables in a Flash movie,
    what I should do in the fla file, and in the html file.
    Thanks, Gil

    Hi petro_jemes,
    Just a little claritification, you need to add the value to the variable "[string]$ou", and also change the language in the variable "$emailbody" in the function "Get-ADUserPasswordExpirationDate".
    I hope this helps.

  • Need help with accesing variable with xpath.

    Hi All,
    I need help with xpath in "Switch" BPEL construct. Switch is used to compare value assigned to output vairable and follow one path for "Deny" and another for "Approve". The following is data type for output variable.
    <element name="processResponse">
         <complexType>
              <sequence>
                   <element name="result" type="string"/>
              <sequence>
         <complexType>
    </element>
    The following expressions in Switch statement throw lava.lang.Exception. It error is xpath internal error".
    x20:compare('Deny',$outputvariable.payload/client:result)
    x20:compare('Deny',bpws:getVariableData('outputvariable','payload','/client:processResponse/client:result')
    It works with x20:compare('Deny','Deny'). So I assumed it must be accessing the variable.
    Any help greatly appreciated.
    Thanks,
    Satish

    Cany you try the following
    x20:compare('Deny',string($outputvariable.payload/client:result))
    x20:compare('Deny',string(bpws:getVariableData('outputvariable','payload','/client:processResponse/client:result'))
    Regards
    Albin I
    http://www.albinsblog.com/

  • I need help regarding measurement of "time domain parameters of Heart rate variability" using labview.

    I need help regarding measurement of "time domain parameters of Heart rate variability" using labview.
    I am using Labview 8 ... I  need to develop a software to accquire the ECG data (simulated enironment ) and compute the time domain parameters of Heart rate variability like "SDNN, SDANN...etc". Can some 1 plllzzzz help me out.Plzz help me if u can.Thanx in advance.

    Hi Andy,
      Thanx for responding.  The input is from a text file. SDNN, SDANN,etc are  the timedomain parameters of heart rate variability.
     SDNN: the standard deviation of the NN or RR interval  i.e. the square root of variance.
    SDANN:the standard deviation of the averageNN interval calculated over short periods, usually 5 min,which is an estimate of the changes in heart rate due tocycles longer than 5 min
    SDNN index, the meanof the 5-min standard deviation of the NN intervalcalculated over 24 h,
     RMSSD: the square root ofthe mean squared differences of successive NN intervals
    NN50: the number of interval differences of successiveNN intervals greater than 50 ms, and
    pNN50 the proportionderived by dividing NN50 by the total numberof NN intervals.
    The problem is dat I am a fresher to the world of Labview. I have jus recently started working on it. Can u please suggest me some some idea as soon as possible.
      As i said  I have the ECG data in the form of text files..I need to create sort of GUI to calculate the time domain parmeters....I need help urgently. Plzzz help me if u can. If u have and .vi example to calculate the RR interval plzz send it to me ASAP.
    Thanku

  • Need help to get JS variable from JSP???i have partial soultion

    Hi everyBody
    here a littil desciption about wht i need:
    the user should Input value by (prompt) in javascript, then the value will be assigned to JS variable
    and i need the value which the user input but in JSP
    so i do like this
    <script>
    var gg;
    function getF(){
      gg = prompt("yes","input name"); 
    </script>JSP+JS,, both in same page
    now JSP code
    String newname = "<script>document.writeln(gg)</script>";now the problem is->
    i need pass the newname variable to the method renameTo() which belong to FILE class
    but i face problem with it cuz newname variable will not be assigned, it will execute the statment each time i use newname varible????
    while renameTo() method should take parameter type File.
    i hope i put al the details about my problem
    any help please???

    BalusC:
    i've tried ur way:
    this is the JS function
    <script>
    var userInput;
    function getF(){
    userInput = prompt("yes","input name");
    return userInput;
    </script>and here where i call the JS function and then pass the returned value
    out.print("<a href = index.jsp?'newName=javascript:getF()'><img src = folder.jpeg width = 48 height = 48 /></a>");i got the parameter here
    String newPath = request.getParameter("newName");
    out.print("newnameObject = "+newPath);but it return null????
    any explain???!!!!
    bst rgds
    Edited by: Mr.Carlito on Jan 8, 2008 3:53 AM

  • Need help in restriction when Char is used as a variable and still need to

    hi masters,
          As far as i know we cant restrict on the char if it is used as a variable.. But here is the scenario..the version is 3.1C and i need to restrict based on the plant l and they need plant as a variable but still need to restrict by values (2456, 5060). so is there any operation that we can go ahead and restrict the char in the query using the same as a variable..As far as i know its not possible..but please help me if any one have other steps...thanks in advance

    Hi Neel,
             Well, here is the descr... I need to restrict on those two plants ( 2456, 5060) and i dont want to see the data of these two plants completely under 0Plant char. But there is a variable and according to the req the variable should be there and these 2 plants data shouldnt be displayed in the report.. and when i try to restrict and exclude the above two plants i am getting this below error...
    Variable '0S_PLANT' is complex('selection Option' and 'query' type). You can not use any other enties in this selection..
    So my req is there is a variable on 0plant and i need to restrict and exclude the values (2456,5060) and the data shouldnt be visible for these 2 plants.. i tried and i couldnt restrict as of the error when the variable is there...Can any one please help me out this...

  • Take influence on search help (F4) for BEx variables

    Hi Experts,
    we use BI 7.3.
    Within the release 3.x we had the possibility to influence the search help of Bex Variables via the transaction se12 -> search help --> search help exit.
    This fuba is still used for the search help  in the screen to maintain masterdata. However it is not used anymore for the search help in the selection screen for BEx variables.
    Do I have any new possibilities to take influence on the values shown in the search help? I don't want to show all values in the masterdata table, and not even all values which are stored in the infoProvider.
    Thanks,
    best regards
    Frederike

    Dear Frederike,
    In that case you should maintain the read mode as "Only Posted Values for Navigation" ; This means only values that are part of the query results are used for the input value request . This mode is called Q.
    RSA1 -> Info-object display -> Business Explorer Tab -> Query Def. Filter Value Selection -> change to Q Mode..
    You can overwrite the value in Infoprovider level as well. Goto Info-provider -> Right click Infooprovide specific properties -> change there as well..
    Regards,
    Arvind

  • Need clarification on BEX variable usage in customer exit.

    hi,
    i am an ABAP guy,i dont have any idea about BW,But here i got one problem,
    1)Variable has been craeted in BEX Report (processed by Customer exit).
    2)i am trying to write ABAP code in CMOD customer exit(ZXRSRU01),but when i am calling BEX variable it is not taking it is giving error(it should defined by data statment)so how to call the bex varible in Customer exit,if any body have sample code or any idea kindly let me know.

    Hi and welcome to SDN!
    there are a lot of examples and clarifications in these forums. For instance:
    Re: steps for a customer exit.
    Re: Regarding the Code for the Customer Exit
    Best regards,
    Eugene

  • Need Help With Combining Two Variables For A Redirect

    Hello-
    <br />
    <br />In a different part of my site (built with ADDT) I have this script that creates a variable by combining two session variables, and then the new variable is submitted into a mysqul database table using a hidden form field:
    <br />
    <br />
    <form>
    <input type="hidden" name="exerreference" id="exerreference" value="<?php echo $_SESSION['kt_login_user']; ?><?php echo $_SESSION['kt_exer_reference']; ?> <br />" />
    <br />
    <br />There is also this part of the script in the header script:
    <br />
    <br />$ins_exer1-&gt;addColumn("exerreference", "STRING_TYPE", "POST", "exerreference");
    <br />
    <br />What I am trying to do now on another page is combine a session variable "kt_login_user" with a piece of dynamic text "AA" so that I can compare it to the field "exerreference" that was inserted into the database using the above script. If the two variables match, the idea is to have a redirect to another page.
    <br />
    <br />So in a hypothetical example, if the value of the session variable "kt_login_user " is "bestperson," and static text is "AA" then I need to create the variable bestpersonAA (because this is how the variables exist in the exerreference recordset). This variable bestpersonAA then needs to be compared to the recordset value exerreference and if they match, the page redirects to ../previous/portalpre.php. If the two variables do not match, then there is no redirect.
    <br />
    <br />Here is what I have so far:
    <br />
    <br />if (isset($_SESSION['kt_login_user']))
    <br />{
    <br />if ($_SESSION['kt_login_user'.'AA'] = $row_Recordsetexer1['exerreference'])
    <br />{
    <br /> header ("Location: ../previous/portalpre.php");
    <br />}
    <br />}
    <br />
    <br />The script doesn't work yet - it's redirecting regardless of if the two varibles match. Any ideas on the correct syntax to get this working correctly?
    <br />
    <br />Thanks
    <br />Dale</form>

    Hi Dale,
    if ($_SESSION['kt_login_user'.'AA'] = $row_Recordsetexer1['exerreference'])
    for checking whether two variables match, you´ll need the == comparison operator:
    if ($_SESSION['kt_login_user'.'AA'] == $row_Recordsetexer1['exerreference'])
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

Maybe you are looking for