Cell definitions depending on value of free characteristic

Hello,
I have the following requirement for one BEx query:
Depending on the value of a free characteristic (material), values in certain cells shall be shown or not. Values in these cells are usually calculated by cell definitions. When the user selects certain materials (e.g. A1, C3) during query navigation the values in those cells have to be 0, i.e. the values that are calculatd by cell definitions should not be shown.
When other materials are chosen by the user, those cells should show the calculated values.
I tried to create a replacement path formula variable in order to create a 0/1-switch (find out the value of the selected material and compare it with predefined materials (A1, C3)).
However, the value of a formula variable has to be a number. So that's no solution for my requirement.
Do you have any ideas how to solve this requirement? Note that there is no entry variable for material.
Thanks in advance!
Thomas

Hi,
Make 3 restricted key figurs on market value restricting them with rating AAA, AA and A.
Lets say RKF1 for rating AAA
RKF2 for rating AA and
RKF3 for rating A.
Now you can use these 3 key figurs in your formula key figure which can simple be
RKF10,4 + RKF20,3 + RKF3*0,2.
In this way you are already sure that only one of the RKF's will have a value and depending on the rating it will be multiplied with the value you have in your logic.
Hope this helps.
Regards,
Jadeep

Similar Messages

  • Table Interface / Web: value from free characteristic

    Hi,
    i am using 2 queries. In the first query i got the free characteristic "calendar year month". Now i created a link with table interface to jump to the second query. With this link i would like to filter query 2 with calendar year month from query 1. How can i get the value from the calendar year month? With drill down there is no problem to get the value in method CHARACTERISTIC_CELL. But with free characteristics this is not so easy.
    Any ideas?
    Regards,
    M. Erbil

    Hi Erbil,
            Please find below the usage of GET_STATE_INFOS,
    DATA  l_sx_axis_data TYPE rsrds_t_axis_data.
               CALL METHOD me->GET_STATE_INFOS
               IMPORTING
               E_T_SLICER = l_sx_axis_data.
    You can get the 0CALMONTH from the above resultset.
    Cheers,
    Kartheek

  • Cell Definition and Reverse sign Issue after upgrade

    Hi ,
    we are having a issue here after upgrade to BI 7 from 3.1c .
    There is a Collision between Cell Definition and Reverse sign in the query designer.
    Issue is . We have Key Figure "Net Days AR" which has Reverse Sign Checked under properties. In 3.1c when we ran the report the Net Days AR would get value like  for example    -40 . but now after upgrade to BI 7 SP 16 we are getting value 40. the negative sign is missing. The formula is correct.
    I went and checkd if we have any cell definitions defined on this and found the cell definitions onthis keyfigure.
    values are comming correct if there are  no cell definitions.
    Thanks in Advance and Points will be awarded.
    Thanks,
    Reddy

    we have the same problem. In BI 2004s with BEx 3.x when the cell reference is defined, the reverse sign flag is ignored.
    I opened a message to SAP. Until now no solution and I think we'll never receive solution. Here are the answers we received:
    SAP
    I have to say this is the limitation of front end 3.5.
    In designer 3.5, it works this way:
    When you define a cell referance, this cell is blocked from change of the column property change. No matter how you change the column key fig proerty, it keeps the original status when you define it.
    If you want the defined cell property, you need to delete the cell
    referance, change property, then redefine the referance.
    I agree this is very inconvinience, that's why I would recommend you to use query designer 7.0 if possible. With 7.0 front end, you can define separately the property for defined cells. It is more flexible.
    ME
    At the moment it is not possible to migrate to 7.0 frontend.
    I tried to delete the cell reference, change properties and redefine the reference. I tried to create new columns, define cell properties, save and define the cell reference. I tried several different combinations...
    No way, as soon as I define the cell reference, column properties are ignored.
    1) How can we restore the correct behavour of a query in frontend 3.5?
    2) If we found a way to restore it, we need a smart procedure to modify all our existing queries (including how to identify those affected by this inconvenience).
    SAP
    For front end 3.5, you need do following:
    1. delete cell referance
    2. change the column property (such as tick on or off the sign reversal)
    3. re-define the cell (this cell will with the new sign status)
    4. define formular base on cell
    After step 3, you can't change cell property whatever you do in
    column property. This is the designed behavior.
    If you want to change property after step 3, you need to start
    all over from step 1.
    ME
    I did it.
    Don't work. When I define the cell reference, column properties are ignored.
    SAP
    It seems there is some issue in front end.
    Do you use the front end 3.5 with latest patch?
    Could you please check front end installation as per sapbexc.xla (described in note 197460). If there are problems shown within this check do the following:
    - Remove your frontend via 'START' - 'PROGRAMS' - 'SAP FRONTEND' -'REMOVE SAP FRONTEND'
    - Install the lastest frontend and GUI patch (according to note 496977or 496989 again and check the installation).
    ME
    I don't think so. I am using:
    Sapgui 7.10 Patch 8
    Bex 3.50 Patch 3
    Bex 7.x Patch 5
    to be continued...

  • How to get the cummilative values for Cell Definitions

    Hi Experts,
    We have a cell definition used to calculate the row and columns. i have used the stucture to calculate the cumilative year(from first month to current month) but in output I am unable to get the cummulative year value for this cell definition.its returning no values !!!
    How can i achieve to calculated the cumilative values for the cell definifion.
    Regards
    Suraj
    Message was edited by:
            suraj kumar
    null

    Suraj,
    Is your formula to add up the various values in your Structure or in your Cell editor?
    I suspect you may have to use a formula in your Cell Editor.
    Regards
    Gill

  • Customer Exit Variable in cell definition in BEx

    Hi,
    I have defined a query with a Structure in Row and Key Figures in column.
    The result of query should look like this:
    Fiscal/Year Period | Quantity per month | Quantity cumulative
    011.2010 (Variable Offset Value -3) | 5 | 5
    012.2010 (Variable Offset Value -2) | 6 | 11
    001.2011 (Variable Offset Value -1) | 7 | 7
    002.2011 (Variable Single Value, Manual Input) | 8 | 15
    "Quantity cumulative" is defined as follows:
    Quantity cumulative (002.2011) = Quantity 001.2011 + Quantity 002.2011
    Quantity cumulative (001.2011) = Quantity 001.2011
    Quantity cumulative (012.2010) = Quantity 011.2010 + Quantity 012.2010
    Quantity cumulative (011.2010) = Quantity 011.2010
    "Fiscal/Year Period" and "Quantity per month" are OK. But I have problem to define the key figrue "Quantity cumulative".
    I have defined a Customer Exit Variable on Reference Characteristic "Fiscal/Year Period". Moreover I have also defined cell definition to define each individual cell for key figrue "Quantity cumulative" restricted by Customer Exit Variable.
    The Quantity cumulative (002.2011) and Quantity cumulative (001.2011) are calculated correct. But it doesn't work for 012.2010 and 011.2010 (because of previous year).
    I would be helpful if you can give some hints.
    Thanks

    Hi,
    try to use this trick with an IF condition in you customer exit. Calling 'var1' the manual input of:
    data: month_difference TYPE N.
    month_difference = 'var1'+4(3) - 4.
    IF month_difference >= 0.
    DO the classic code which you have already used.
    ELSE month_difference < 0.
    DO the replace concatenating manually 'var1'(4) and the single month.
    ENDIF.
    Hope it helps.
    Best regards.
    Simone.

  • Wants to display variable as key value in Free Char section of report

    Hi All,
    I have a variable based on characteristic. When I execute report, I pass value for that variable. And I get text of that variable value, displayed in Free Characteristic section.
    Instead of text, I want to display key value there.B'coz many times, texts are ambiguous and quite fictional examples.
    I have tried changing 'Display as key' in Business explorer tab of infoobject definition. And in query definition, I already have 'Display as Key'. So I am wondering what else needs to be done for this change.
    I will appreciate if someone can help me on this.
    Thanks,
    Pranali

    Hi Pranali,
        You can display all variables used in Query in workbook from BEx Menu(Tool bar) -->> Layout --> Display Text eliments --> Variables (you can see two entries for each variable) one for key and one for Text.
    Hope it Helps
    Srini

  • Cell definition choice in Query Designer is inactive

    In the Query Designer the choice "Define cells" is inactive, or grayed out. Why is this? Is there a global setting or does it have something to do with the query itself?

    Hi TMV,
    if you want to see the "cell " option in active mode , first u must have two structures.
    one is charactersitc structure and on key figure.
    Just go throw the below description.
    Hi,
    just go throw the below description:
    In the Query Designer, choose View ® Cells from the menu bar to reach the functions of the cell definition. The Cells screen area is displayed.
    New selection
    1. Select a cell in the Cell screen area and choose New Selection with the secondary mouse button. The new selection that is not yet defined appears in the cell.
    2. Select the new selection and choose Edit from the context menu. The Change Selection Cells dialog box appears. Make the basic settings on the General tab page.
    3. Use Drag&Drop to define your required selection by dragging a key figure and the characteristic values by which you want to restrict the key figure to the right-hand area of the Details of the Selection dialog box. See Defining Selections.
    You can use characteristic value variables instead of fixed characteristic values.
    - If you want to change an existing variable, select the variable and choose Edit from the context menu. The variables editor appears and you can change the settings.
    - If you want to define a new variable, select the characteristic value and choose New Variable from the context menu. The new variable is displayed. Choose Edit from the context menu of the new variable. The variables editor appears and you can define the settings.
    For more information, see Defining Variables.
    4. Enter a description for the selection.
    You can use text variables in the description.
    5. Make any necessary settings for the properties of the selection on the other tab pages. See Selection/Formula Properties.
    6. Choose OK. The cell contains the description of the selection. The symbol shows you that a selection exists for this exception cell.
    New formula
    1. Select a cell in the Cell Definition dialog box and, using the secondary mouse button, choose New Formula from the context menu. The new formula that is not yet defined appears in the cell.
    2. Select the new formula and choose Edit from the context menu. The Change Formula Cell dialog box appears. Make the basic settings on the General tab page.
    3. Define your formula using the operands and functions available. See Defining Formulas.
    4. Enter a description of the formula.
    You can use text variables in the description.
    5. Make any necessary settings for the properties of the formula in the other tab pages. See Selection/Formula Properties.
    6. Choose OK. The cell contains the description of the formula. The symbol shows you that a formula exists for this exception cell.
    New cell reference
    You can use any cell that you define in a formula. If you want to reuse the value from the implicit, generic cell definition that is automatically created at the intersection of the two structural components of a query, select this cell in the Cell screen area and, using the secondary mouse button, choose New Cell Reference. A description taken from the two structural components now automatically appears in the cell. The symbol shows you that a cell reference exists for this exception cell. Now you can reference this cell. You can continue to use the implicit cell definition and do not have to manually generate this value using a new selection.
    Functions of explicitly defined cells:
    Select a defined cell and choose the required function from the context menu (secondary mouse button).
    &#9679; Edit
    &#9679; Cut
    &#9679; Copy
    &#9679; Paste
    &#9679; Remove
    &#9679; Where-Used List
    Before you delete a cell, you can check for the formulas in which the defined cell is used in the where-used list.
    You reach the properties of a defined cell by selecting the defined cell. In the Properties screen area you can also make changes such as:
    &#9679; Changing the description of the cell
    &#9679; Changing the highlighting of the cell
    &#9679; Hiding the cell ( if you do not want to see the values of the cell)
    Help cells
    In the Help Cells area you can define additional cells for help selections or help formulas. You can use the functions New Selection and New Formula in the context menu to define help cells that are not displayed in the query to serve only as objects for help selections and help formulas.
    For example, you can define an invoice in a help cell and use this in a “real” cell to calculate a duplicated invoice.
    a. Using the secondary mouse button, click on the empty cell next to Help Cells to reach the context menu. From here, choose New Selection.
    b. Use Drag&Drop to drag the Invoice key figure into the right-hand Details of the Selection area.
    c. Enter a description.
    d. Choose OK. The cell contains the description of the selection. The symbol shows you that a selection exists for this exception cell.
    e. Now choose New Formula from the context menu of the required cell of the query. The new formula that is not yet defined appears in the cell.
    f. Select the new formula and choose Edit from the context menu.
    g. Use Drag&Drop to drag the cell you have just defined, which you can find in the Available Operands window under Cells, into the Detail View window. Click on the button twice.
    h. Enter a description.
    i. Choose OK. The cell contains the description of the formula. The symbol shows you that a formula exists for this exception cell.
    Result
    You have defined one or more exception cells for a query.
    Regards,
    Shailaja

  • No SID found for value 'GB' of characteristic 0CURRENCY

    Dear Experts,
    When i do the BW data load. I got the error. Seems the error related to no master data is available for SID creation. I got the below error message. Please help me to resolve. Points will be awarded. Your help is much appreciated. Thanks.
    No SID found for value 'GB' of characteristic 0CURRENCY
    Message no. BRAIN070
    Diagnosis
    Characteristic value GB does not exist in the master data table of characteristic 0CURRENCY. Therefore, this value could not be transformed into the internal SID.
    Procedure
    Check whether the value is correct or not. If it is correct, you need to generate the associated master data. Note: For characteristics 0FISCVARNT, 0FISCPER and 0FISCYEAR, there must be a corresponding fiscal year variant (see table T009). In addition, there must be units in table The value for 0FISCPER must be valid according to the fiscal year variants. This means that only the periods 0 to (no. of normal periods + special periods) are allowed. If the fiscal year variant is year-dependent, then only the periods defined for the corresponding year are valid. You can make these settings in Customizing in theactivity Maintain Fiscal Year Variant. T006 and currencies in table TCURC. Also note that the units must be of
    Units that refer to 0UNIT must be available in table T006, and currencies that refer to 0CURRENCY in table TCURC. Note that the units must be available in internal format. Owing to the presence of a conversion exit in field MSEHI of table T006, you are only able to see the internal format if you deactivate this exit. ( Settings> User Parameters> Tab DataBrowser > Consider Conversion exit must not be set). Also take a look at note no. 619987.
    Regards,
    RR.

    Hi Reddy/Ajeet,
    Thanks for your prompt reply.
    I followed the steps:
    Goto to RSA1-> Source systems--> Transfer Globle settings and Select Currencie, Ubits and Fiscal year, Factor...etc and select Update
    Just would like to check with you, currently we are extracting data from SRM & SAP R/3 system.
    I got the error while doing the data loading for SRM system. I did the above steps for both systems.
    Is that anything else, i need to do....
    Currently i am going to do the master data load, then i will do the transaction data & check with the currency error.
    could you please elaborate the steps
    1)How to check 0currency is getting updated in our system.
    2) how to verify custom z program used
    3) How to  maintain the currency manually in BW.
    Advance. Thanks.
    Regards,
    RR

  • Overall Result column disapears when dragging in free characteristic

    Hello All,
    I have a headcount report which has % colleague key figure.  At the top of the report there is an 'Overall result'.  The issue I am having is when someone drags in a free characteristic the 'Overal result' column disapears and instead and percent calculations are being calculated by the value in the top column instead of by the overall result.
    Any ideas on how to resolve this?
    Thanks,
    Nick.

    Hi,
    I'm not selecting the node of the hierarchy.In selection criteria I select the entire hierarchy .
    Thanks & Regards
    Anita

  • Cell Definition in Query Designer

    Hi,,
    Can anyone will tell me the real time use of cell definition option in query designer.
    Thanks and Regards.
    Anjali

    Anjali,
    You can use cell definitions when you want to overwrite the value of a particular cell.
    For this you need to have an identification of where the cell intersection takes place. So for defining cell definitions its mandatory to have two structures in the report.
    Now coming to the scenario,
    You have GL accounts in the rows structure and the key figures amount, deductions and some others.
    Rows-----Amount--
    Deductions
    1001--20000--
    100
    1002--15456--
    4363
    1007--64334--
    252
    1005--36643--
    34
    1111--43436--
    343
    This is what the report displays for a particular year the user enters e.g 2007.
    But for a GL account 1005 the user wants to display the amount for the last fours years.
    The out put for amount for the GL account 1005 displays only 2007. The requirement is that it should display the summed up values of 2007,2006,2005,2004.
    To get this out put we go for cell definitions and in the intersection of the 1005 GL account and amount we define a cell definition. Based upon the requirement we define the cell definition...
    Hope this helps you.......

  • Cell definition in Query Design within Bex Analyzer

    Hello,
    I would like to use special cell definition to visualizing the difference row definition between 2 columns (last year and actual year). With "Cell Definition" function in Query Design within Bex Analyzer there's a option to select a new restricted key figure for a related cell. But as a result I just can see a star (*) against a result number in that field. Do you have an idea, how can I solve this problem?
    Thanks and Regards,
    Nuran

    Hi again Dirk,
    there's not a unit problem. We use 2 different restricted key figure definition for a same row. The first restricted (or can be decribed as calculated key figure) key figure must be used in the first column to represent the value of the last year. And at the same row with usage of same text (for example: cost of goods sold)the second restricted key figure should be used to show the value of actual year (B2:costs in euro). The problem is the key figure definitions are totaly different; they're using different account groups etc. Cause of, I wanted to use cell definition function. In the first value field (B1) should be shown first key figure but I just get star (*) and a wrong value in the formula field of excel (between the toolbars and the result area).
    Thanks for your reply.
    Nuran

  • Cell Definition in the query

    Hi Experts,
    Iam new cell definitions in the query. can anyone please explain an easy example scenario using cell definition and the reason why we go for it eventhough we can do all the filters in the query definition windows as well.
    Thanks,
    DV

    Before you create cell, you need to have two structures only then the cell icon will be enabled.
    The value of the cell is dynamically getting calculated using formula, example,.. in your struct:
    KF
    PLANT1-----10
    PLANT2-----20
    But you wanted to get plant1 divided by Plant 2 and vise versa for the other plant, you can achieve this only by using cell.
    After creating the two structures, then the cell icon will be enabled once you double click that, that is the time you can do all the manipulation for the cell.
    hope that helps.
    Thanks.
    Wond

  • If free characteristic is dragged into columns % is not displayed correctly

    Hi,
    I am working on query designer BW3.5,
    In one of my queries I have a key figure for calculating percentage of total number of employees.
    the report is working fine.
    Now end user is saying that if he drags any of the free characteristic into columns such as state or zip, the % is not displayed instead X is dispalyed everywhere.
    Please provide me some pointers as how to resolve this issue.
    Thanks,
    Rashmi.

    Hi,
    you should have a look at the detailed data within that query. In most cases like this it seems to calculate a value by doing a division by zero.

  • Use of hierarchy with cell definition

    Hi all,
    I have an issue with a query that is using cell definition in order to have different selection criteria in 2 columns.
    In the cell definition, it has being defined a new selection using a hierarchy ( 0costcenter hierarchy) to filter and select the desired values, but the query result is not taking into consideration the filter with the hierarchy.
    I have tested the same selection out of the cell definition and the right values are selected...
    Is there any constrain in the use of hierarchies to filter values within the "cell definition"?
    Many thanks in advance,
    Elena

    Hi Elena,
    I too face the same problem for cell definition with hierarchy.
    As per my knowledge cell definitions are purely valid for that cell only (like MS Excel formula in a cell).
    So cell definitions are possible with static reports only (with out hierarchy drill downs).
    If you got any solution please let me know.
    Thanks = Reward Points
    Ram
    Message was edited by:
            Ram Yaganti

  • Cell definition not available in Webi

    Hi Gurus,
    I have defined cell definition in a bex report, but unable to get it in te webi report. We have  around 20 rows & 7 columns. Out of the 2 structures used only the row structure(characteristic structure ) is visible in webi. the keyfigure structure in not visible in webi.How can I see the cell definitions in te webi report??
    we are using the latest version.
    Rgds,
    Vandana.

    Hi,
    KeyFigure Structure is never visible in WebI, you will just have a flat list of Measures corresponding to all visible members of your KeyFigure Structure. For Structure based on Characteristics you will have a Dimension in Univers which will contain same hierarchy of members (visible ones) defined in Structure.
    Any KeyFigure with unsupported configuration (like cumulation, local calculation ...) will not be leveraged in Universe, so it's possible to have no KeyFigure in QueryPanel outline if you have only unsupported KeyFigures in your Bex Query.
    You should first try to create a BEx Query with very simple double Structure design, to make sure you get correct behavior in this case, and then create your DataCell definitions and Calculated/Restricted KeyFigures.
    Regards,
    Loic
    PS : any unsupported DataCell will give a warning output in SemanticLayer logs, to help BOE administrator understand why BOE Universe has not same exact design as BEx Query.

Maybe you are looking for

  • AIR+JS Application in multiple clients, but all must have the same data

    Grettings. After googling, reading docs, and everything i cant find a solution to my problem. The thing is that i must create a adobe air app that must work in 4 clients. All the data from all the clients must be available to all the of them. If Numb

  • Imessenger - Multiple Devices 1 Apple ID

    My fiance and I each have an IPhone 4s and I have an IPAD 2 all activated through the same Apple ID.  When sending messages to each other it appears it is always coming from the same device (I.e. If i send a message  from my phone it shows up as her

  • Using a hybrid of the same apple ID for iPad and iPhone.

    Hey everyone, I'd like to be clear and hopefully someone can give me an accurate response as soon as possible. So, today my sister gave birth (Hurrah!) and she has an iPad 2 that i got her for christmas. Long story short, my mom is in the same hospit

  • PDF name didn't match the file-attributes

    Hello Community, I imported some PDF-Files via iTunes (Win7) on my Ipad. I also edited the file information and the pdf-name (in iTunes & win7) as required. The synchronisation worked perfect, after opening the pdf-file in iBooks the name changed. Is

  • Hardware requariment for ECC 6.0 upgrade from ECC 5.0

    Hello I am on ECC 5.0 with oracle 9.2.0.7.I need to upgrade this to ECC 6.0. I have already implemented MM,PP,FICO,QM and HCM.My current data base size is 900GB.This has 30GB monthly growth. With this ECC 6.0 upgrade i am planing to implement PM,EP.