Retrict Characteristics value like a Selection keyfigure

Hi,
we have a requirement the I think is not possible but first I would like to check with the experts.
In one query the customer wants to show the value of a characteristic restricted by another characteristic.. I mean we cube has the information like:
Char1  Char2 Char3 Char4 KeyFig1
  a1        b1      c1          A        1.0
  a1        b1      c2          A        
  a1        b1       c3         A         2.0
  a2        b2      c1          A        0.5
  a2        b2      c2          A        
  a2        b2      c3          A         1.2
Then the expected report should display the information like
  Char 1    Char 2         Result C1    Result C2       Result C3
  a1             b1               1.0                   A                  2.0
  a2             b2               0.5                   A                  1.2   
The columsn Result C1 and Result C3 will be defined as restricted keyfigure or selection, but I don't know how to mix and generate a restricted  selection only with the value of a characterístic.
I was thinking to use replacement variable formula but we need to show the key of the characteristic that is not a number.
Please, any idea.
Many Thanks
Best Regards,
Maria

hi,
First thing you have to do is check the report how the data is being restricted only to those months.
1) one it can be variable in which the code is written for that to populate for last few years.
or else it must have been hardcoded for these months.
Go into your report and underneath the characteristicsCALMONTH there must be an variable or hardcoding.
You need to change this here in the report.
You dont have to delete anything there.
Regards, Siva

Similar Messages

  • How to capture a  charateristics value from a selected row in IP

    The requirements is to select a line in the summery layout and go to detail layout for further
    planning.
    In BPS, it's very easy to achieve this, since we can use the variables in the WIB to capture the value of selected line, In IP's query, after click a row, the selected row is highlight, but I am not sure how can we  pass the characteristics value of the selected row into a variable.  I did the following test by defining a variable for a account number characteristics in the row of a query, and define a dropdown filter with that account variable, after the query is launched in IP, when I click a row in the query, the account number dropdown filter value did not display the corresponding account number I choose. Anybody know how to achieve this?
    Thanks in advance

    Say your analysis item has 0material as one of the characteristics and say you can bind the material value on the selected line item to variable 'ZMAT' when the user clicks on a button. In the data binding section of the comand you want to perform when button is clicked you will make the fillowing settings:
    Variable - ZMAT
    Variable Type - 'SELECTION_BINDING
    Please give this a try.
    Regards

  • How can we give a placeholder to the complex table like "Please Select" in WPF

    How can we give a placeholder to the complex table like "Please Select" in WPF. Actually i have to give a default value like "please select" to the complex table in WPF. I tried with placeholder but its not working.
    Tags edited by: Michael Appleby

    Manu,
    What version of Agentry and WPF client?  If placeholder is not working, it is probably a WPF bug in your version.  There is no other way to do it.  Try it on a current release, and if still broken then file a bug ticket so this can be fixed.
    Jason Latko - Senior Product Developer at SAP

  • Validating Input characteristics using other characteristics value in PI sh

    Hi,
    I am currently working with PI sheet, the requirement is to validate the input characteristics using some other characteristics values, like
    Char Name | Value | Input |
    Acids     | 2-3   | 2.5   |
    CONC      | 10-40 | 20    |
    in this case consider the characteristic value from character Value to validate Input.
    Please suggest.
    Anmol.

    Hi,
    I got the solution clossing the threat, by using variables in PI sheet to create validation formula.
    Thanks,
    Anmol

  • BEx Report : Selection Not Equal to Characteristics value 'blank' & more

    Hi Experts,
    I 'm working on a report where I require one of the selection criteria for a key figure to be displayed when the characteristics 'rejection code' is not empty.
    So the selection would be like keyfigure: ZAMOUNT, when XREJ_CODE Not Equal to "  ".
    How do I achieve this?- In the restriction criteria, I can use exclude from, but how do I exclude a blank space?
    Question 2.
    The second selection is display keyfigure when fiscal period(user entry) is not equal to the booking period  of that particular order.
    Would this require Customer exit variable? how do I go about this?
    All help appreciated.
    Thanks!

    if XREJ_CODE  contine blank value we can use "Exclude from Selection "
    Select XREJ_CODE -
    >right click "restrict" -
    > select blank value(#) move to right side and select that value right click select "Exclude from Selection"

  • How can I reduce the selection for the characteristics value in a BW query

    Good morning,
    I need to find out how I can reduce the selection for the characteristics values in a BW query.
    In a BW query I have a characteristic "Due month".
    The characteristic values shown in the query are from 01.2001->03.2007. I would like to reduce it to the last 2 years,in the query view,  without deleting the data for the other years in the cube.
    Do you know how this can be done?
    Thank you in advance for your feedback.
    Kind regards,
    Linda Verding
    Staff Consultant - CSC

    hi,
    First thing you have to do is check the report how the data is being restricted only to those months.
    1) one it can be variable in which the code is written for that to populate for last few years.
    or else it must have been hardcoded for these months.
    Go into your report and underneath the characteristicsCALMONTH there must be an variable or hardcoding.
    You need to change this here in the report.
    You dont have to delete anything there.
    Regards, Siva

  • Regardinjg characteristics value

    Hi All ,
                  I am fetching characteristics value ATWRT from CAWN with key ATINN  I am getting ATINN from CABN  table  by using ATNAM (characteristics).  
      and in module -pool program i am displaying it in the form of drop down bo using function module.
      CALL FUNCTION 'VRM_SET_VALUES'
      EXPORTING
        ID                    = 'MMAN'                                                        * MMAN IS THE NAME OF MY DROP DOWN BOX
        VALUES                = VALUES.
    EXCEPTIONS
      ID_ILLEGAL_NAME       = 1
      OTHERS                = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    I am getting all the values But the problem is that i cannot select the the values from  the drop down box. if i try to select other value then only 1 value in the drop down box get selected .
       i had tried on  two different  dropdown box for two different values.
         In both the cases the  key ATINN  is different.
              i.e. for same key value doesnt get selected in drop down box
                     and for different keys ATINN value get seected .
                           Anybody please help me.
    Code is as follows.
    SELECT * FROM CABN INTO CORRESPONDING FIELDS OF TABLE IT_CABN WHERE ATNAM = MR_MN.
      SELECT * FROM CAWN INTO CORRESPONDING FIELDS OF TABLE IT_CAWN FOR ALL ENTRIES IN IT_CABN
        WHERE ATINN = IT_CABN-ATINN.
    DATA :      valuess   TYPE VRM_VALUES,
                valuee    LIKE LINE OF values.
    CLEAR valuee.
    BREAK-POINT.
    LOOP AT IT_CAWN .
      valuee-KEY = IT_CAWN-ATINN.
      valuee-TEXT = IT_CAWN-ATWRT.
      APPEND valuee TO VALUESS.
    CLEAR valuee.
    ENDLOOP.
    Regards,
    Anup.

    Hi Anup,
    I couldn't exactly understand the issue.
    'VRM_SET_VALUES' should work.
    To make your key unique, you can add sy-index in the LOOP.
    LOOP AT IT_CAWN .
       w_index = sy-index.
        concatenate w_index IT_CAWN-ATINN  into w_index.
        valuee-key = w_index.                  "or just give sy-index =>  valuee-key = sy-index.
    valuee-TEXT = IT_CAWN-ATWRT.
    APPEND valuee TO VALUESS.
    If it still doesnt work, try checking the program DEMO_DROPDOWN_LIST_BOX.
    It calls 'F4IF_INT_TABLE_VALUE_REQUEST' function module.
    Regards,
    Nisha Vengal.

  • How to get all the values in the Select-option.

    Hi,
    I got the select-option field so_week, for eg. If I give 200923 to 200926 (year and week)  in the selection screen and then I need to pass this value (200923) to the FM 'ZWEEK_GET_FIRST_DAY' to get the first day of the week.
    My question is how can i get all the values from the select option, (i.e) i need to get 200923, 200924,200925, 200926.
    Regards,
    Anbu.

    Hello,
    I will prefer Max's solution. But just for the sake of this req.
    i need to get 200923, 200924,200925, 200926
    i am proposing my soln:
    DATA: V_WEEK TYPE RSCALWEEK.
    SELECT-OPTIONS: S_WEEK FOR V_WEEK NO-EXTENSION OBLIGATORY.
    AT SELECTION-SCREEN.
      DATA:
      V_COUNT TYPE I,
      V_ADD   TYPE I,
      RT_WEEK TYPE RANGE OF RSCALWEEK,
      RS_WEEK LIKE LINE OF RT_WEEK.
      V_COUNT = ( S_WEEK-HIGH - S_WEEK-LOW ) + 1.
      DO V_COUNT TIMES.
        RS_WEEK-SIGN = 'I'.
        RS_WEEK-OPTION = 'EQ'.
        RS_WEEK-LOW = S_WEEK-LOW + V_ADD.
        APPEND RS_WEEK TO RT_WEEK. "RT_WEEK--> Will contain the week values
        CLEAR RS_WEEK.
        V_ADD = V_ADD + 1.
      ENDDO.
    @Max: I was stupid enough not to think of your solution. Need to leave office
    Cheers,
    Suhas

  • From which table characteristics value is been picked in Batch(023 class)

    Hi gurus,
    Could anyone helpme out of this problem
    While creating migo ,batch no gets automatically assigned for the material when I click on the check button and then clicking the classification screen , characteristics value have to be given manually for the material  that is to be receipt in migo.
    Now My problem is I am creating a report where the material no along with the batch no and the characteristics value of the batch is required , but I cannot get the table name
    I have tried with mcha,mch2,mch1 but here no characteristics value could be derived ,Table  Cawn,cabn is there but how to link with other tables like mseg or MKPF.
    In table AUSP characteristics value is picking but same problem how to link it with mseg or mkpf etc.
    Guys please help me out of this.
    Thanks N regrds,
    Siddhrtha

    Hi
    CABN Characteristics ( o.a. batch/vendor)
    CABNT Characteristics description
    CAWN Characteristics ( o.a. material)
    CAWNT Characteristics description
    AUSP Characteristic Values
    Class types and objects :TCLAO Several class types for object
    TCLA Class types ( vb. lfa1 => v10 en 010)
    TCLAT Class type text
    TCLT Classifiable objects
    TCLC Classification status
    Regards

  • From which table characteristics value of Batch management is been picked

    Hi gurus,
    Could anyone helpme out of this problem
    While creating migo ,batch no gets automatically assigned for the material when I click on the check button and then clicking the classification button , there characteristics value have to be given manually for the material  that is to be receipt in migo.
    Now My problem is I am creating a report where the material no along with the batch no and the characteristics value of the batch is required , but I cannot get the table name
    I have tried with mcha,mch2,mch1 but here no characteristics value could be derived ,Table  Cawn,cabn is there but how to link with other tables like mseg or MKPF.
    In table AUSP characteristics value is picking but same problem how to link it with mseg or mkpf etc.
    Guys please help me out of this.
    Thanks N regrds,
    Siddhrtha

    Hi Merwyn,
    I cannot  find any common field between AUSP and  MCH1 ,could you tell me the procedure to link these 2 tables.
    Thanks N Regards
    Siddhartha Chatterjee
    Hi,
    Using AUSP table pick the object No. and link it with MCH1 to find the Batch No.
    using the batch No. link to MSEG-CHARG

  • How to Refer the Selected value in a Select List

    I have a page item which is a select list. I have a button in my region which when clicked will call a process. This process takes the current value of my page item as a parameter. However, when I select a value from the Select list and click on the button, the page item is still submitting the earlier value, it is not getting updated with the value I selected in the select list. Can someone tell me how I can get the page item value to be updated with the value I selected from the choice list? I tried calling a javascript function from the element attribute of this select list onchange="javascript:setValue(this);") and was trying to set the value of another hidden page item with the value of this select list but then the function is not getting called as well. My function code is something like
    function setValue(pThis)
    for (var i = 0; i < pThis.options.length; i++) {
    if (pThis.options[ i ].selected){
    result= pThis.options;
    html_GetElement('P2_HIDDEN').value = result;
    P2_HIDDEN is my hidden page item

    970829 wrote:
    I have a page item which is a select list. I have a button in my region which when clicked will call a process. This process takes the current value of my page item as a parameter. However, when I select a value from the Select list and click on the button, the page item is still submitting the earlier value, it is not getting updated with the value I selected in the select list.
    How do you know this? Have you used Debug mode to track what is happening when the button is pressed? This will show any changes to item values in session state during page submit and page show processing.
    Can someone tell me how I can get the page item value to be updated with the value I selected from the choice list?
    This should happen automatically with a select list item, if the button is correctly defined to perform a page submit. It will not happen if the button performs a redirect. What action is defined to occur when the button is pressed?
    I tried calling a javascript function from the element attribute of this select list onchange="javascript:setValue(this);") and was trying to set the value of another hidden page item with the value of this select list but then the function is not getting called as well. My function code is something like
    function setValue(pThis)
    for (var i = 0; i < pThis.options.length; i++) {
    if (pThis.options[ i ].selected){
    result= pThis.options;
    html_GetElement('P2_HIDDEN').value = result;
    P2_HIDDEN is my hidden page item
    As detailed above, this should be completely unnecessary, however as an aside, html_GetElement is a very out of date method of accessing an item. What version of APEX are you using? (Always specify which version you're using when you ask a question, to allow us to determine the most appropriate solution to the problem.)

  • How can I receive the value of a selected item in the backing bean

    I have a table in a jspx file.
    When I go to the detail page I want to do something with the value of the currentrow.
    I want do a calculaction of the value of ClbId.
    How can I receive the value of the selected ClbId in my backing bean
    <af:table value="#{bindings.Searchteamlist.collectionModel}"
    var="row" rows="#{bindings.Searchteamlist.rangeSize}"
    first="#{bindings.Searchteamlist.rangeStart}"
    emptyText="#{bindings.Searchteamlist.viewable ? 'No rows yet.' : 'Access Denied.'}"
    selectionState="#{bindings.Searchteamlist.collectionModel.selectedRow}"
    selectionListener="#{bindings.Searchteamlist.collectionModel.makeCurrent}"
    rendered="#{backing_FirstFlag_Club_Club.searchFirstTimeClub_Club_AdresAndereClubs == false}">
    <af:column sortProperty="Matricule" sortable="true"
    headerText="#{bindings.Searchteamlist.labels.Matricule}">
    <af:outputText value="#{row.Matricule}"/>
    </af:column>
    <af:column sortProperty="ClbId" sortable="true"
    headerText="#{bindings.Searchteamlist.labels.ClbId}">
    <af:outputText value="#{row.ClbId}">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.Searchteamlist.formats.ClbId}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="Nom" sortable="true"
    headerText="#{bindings.Searchteamlist.labels.Nom}">
    <af:outputText value="#{row.Nom}"/>
    </af:column>
    <f:facet name="selection">
    <af:tableSelectOne text="Select and">
    <af:commandButton text="Submit"
    action="club_AdresAndereClubsDetail">
    <af:setActionListener from="#{row}"
    to="#{processScope.row}"/>
    </af:commandButton>
    </af:tableSelectOne>
    </f:facet>
    </af:table>

    hi tde
    Using an Expression Language helper class like this one from Steve Muench ...
    http://radio.weblogs.com/0118231/stories/2006/12/18/sourceForMyFavoriteElHelperClass.html
    ... you could write something like this in your backing bean:
    Integer vClbId = (Integer)EL.get("#{row.ClbId}");(Make sure to cast it to the correct type.)
    success
    Jan Vervecken

  • Get the value of a selected radio button within a ToggleGroup

    All
    Please see the script below. All I'm trying to do is to identify the selected radio button within a ToggleGroup. This has been working in JavaFX 1.2.
    This is JavaFX 1.3 running on NetBeans 6.9 (beta) on Ubuntu 10.04
    Does anyone know why this is no longer working?
    import javafx.scene.Scene;
    import javafx.stage.Stage;
    import javafx.scene.control.ToggleGroup;
    import javafx.scene.control.RadioButton;
    import javafx.scene.layout.HBox;
    import javafx.scene.control.Toggle;
    def levelGroup = ToggleGroup {};
    var selected: Toggle = bind levelGroup.selectedToggle on replace {
        // here I want to capture the value of the selected toggle
        // the outputted value is always 'null'
        println("level toggle = {selected.value}");
        println("selectedToggle = {levelGroup.selectedToggle.value}");
    Stage {
       scene: Scene {
          width: 300
          height: 300
          content: [
             HBox {
                    translateX: 100
                    translateY: 67
                    spacing: 20
                    content: [
                        RadioButton {
                            toggleGroup: levelGroup
                            text: "Easy"
                            selected: false
                        RadioButton {
                            toggleGroup: levelGroup
                            text: "Medium"
                            selected: true
                        RadioButton {
                            toggleGroup: levelGroup
                            text: "Hard"
                            selected: false
    }

    Actually, your code above wouldn't have worked in JavaFX 1.2 as we only added the value property to the new Toggle mixin in 1.3. I believe what worked for you in 1.2 was when you referred to text, which is not a property on Toggle, so you need to cast the selected variable from Toggle to a RadioButton, which does have a text property. For example, this would work:
    var selected: Toggle = bind levelGroup.selectedToggle on replace {
        println("level toggle = {(selected as RadioButton).text}");
        println("selectedToggle = {(levelGroup.selectedToggle as RadioButton).text}");
    }Alternatively, instead of casting like this, you can store a value in the value property of the Toggle mixin class, which is extended by RadioButton. For example, your code could be changed to the following (in particular note that the only change is the addition of the value properties in each of the RadioButton):
    import javafx.scene.Scene;
    import javafx.stage.Stage;
    import javafx.scene.control.ToggleGroup;
    import javafx.scene.control.RadioButton;
    import javafx.scene.layout.HBox;
    import javafx.scene.control.Toggle;
    def levelGroup = ToggleGroup {};
    var selected: Toggle = bind levelGroup.selectedToggle on replace {
        println("level toggle = {selected.value}");
        println("selectedToggle = {levelGroup.selectedToggle.value}");
    Stage {
       scene: Scene {
          width: 300
          height: 300
          content: [
             HBox {
                    translateX: 100
                    translateY: 67
                    spacing: 20
                    content: [
                        RadioButton {
                            toggleGroup: levelGroup
                            text: "Easy"
                            selected: false
                            value: "Easy"
                        RadioButton {
                            toggleGroup: levelGroup
                            text: "Medium"
                            selected: true
                            value: "Medium"
                        RadioButton {
                            toggleGroup: levelGroup
                            text: "Hard"
                            selected: false
                            value: "Hard"
    }This approach saves you from having to cast from Toggle to RadioButton. This second approach is actually very powerful, as you can store any object in the value field, and can then easily retrieve it at a later point when the user selects the desired RadioButton. Of course, you can just use it as in the simple case above as well.
    I hope that helps.

  • Clearing the displayed value for a SELECT-OPTION

    How do I clear the displayed value of a SELECT-OPTION? 
    I have 2 SELECT-OPTIONs on my screen (standard basic report program screen).  I use code like this to populate the drop-down boxes for each one. 
    =====
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_prgrp-low.
      PERFORM fill_prgrp_values.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_prctr-low.
      PERFORM fill_prctr_values.
    =====
    The value the user picks for the first SELECT-OPTION will affect what values I put in the drop-down list for the second SELECT-OPTION. 
    If a user enters a value for the second SELECT-OPTION, and then goes back and changes the value of the first SELECT-OPTION, then I want to do two things:
    1.  Create a new set of values for the drop-down list for the second SELECT-OPTION (no problem; working fine);
    2.  Clear the displayed value from the second SELECT-OPTION that the user entered previously.  That value became invalid when the user picked a new value for the first SELECT-OPTION. 
    How do I clear that second displayed value? 
    I have tried CLEAR and REFRESH for the second variable using the formats s_prctr, s_prctr[], and s_prctr-low.  They will erase the values of the internal table or part(s) of it, but the displayed value stays on the screen. 
    I need to clear out the displayed value so the user will either leave it blank or enter or select a new value. 
    I am using F4IF_INT_TABLE_VALUE_REQUEST to build the drop-down lists, and it works fine, but I do not see any function module to clear the displayed value off the screen. 
    Thanks for your help.

    Sorry, but calling DYNP_VALUES_UPDATE did not work.  This is how I coded it. 
    fld_reset_rcd-fieldname  = 'S_PRCTR'.
      fld_reset_rcd-stepl      = sy-stepl.
      CLEAR fld_reset_rcd-fieldvalue.      "  re-initialize s_prctr
      CLEAR fld_reset_rcd-fieldinp.        "  what goes in here?
      APPEND fld_reset_rcd TO fld_reset_tbl.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          dyname = 'ZFI_GL_BALANCE_NGL'
          dynumb = '1000'
        TABLES
          dynpfields = fld_reset_tbl
    <Added code tags>
    I have discovered that CLEAR and REFRESH of s_prctr will clear it somewhat.  If I enter multiple values, ranges, etc., they will all be cleared, EXCEPT for the one single value that is displayed on the main screen.  It is not cleared and it remains if you push the button to display the pop-up to enter ranges, etc. 
    To devrath.sampat  --  Thanks for your example for building the drop-down list, but that is not the problem I am having.  I am already able to build it just fine. 
    To repeat my problem, if I: 
    1.  first enter / select a value for the first SELECT-OPTION s_prgrp
    2.  then enter / select a value for the second SELECT-OPTION s_prctr
    3.  And finally go back and select a new value of the first SELECT-OPTION s_prgrp from its drop-down list,
         when I do, the program needs to clear the value displayed on the main screen for the second SELECT-OPTION s_prctr (any additional values, ranges, etc., are cleared by CLEAR and REFRESH, if I go look; but not the value shown on the main screen).
    Edited by: Scott Crosby on Feb 14, 2012 4:20 PM
    Edited by: Suhas Saha on Feb 15, 2012 12:03 PM

  • How to find the list of material variant based on the characteristics value

    Hi
    We are creating materials variants for FERT Material Type in material master in MRP-3 view .There we configure the variant by attaching characteristics value 
    Now we want to have a report , which can give the list of material variants , if char value is given in selection
    Can somebody guide me if there is standard report for this OR what is the linkage in Table , so that we can develop a report
    rgds
    Sandeep

    I couldn't find a standard report to get the material variants based on characteristic values (the nearest I could find was CT12) but I wrote a report some time back here's the table join logic for the main select statement.
    select a~matnr
            e~atwrt
            h~atwtb
    into table i_tab
          from MARC as a
          inner join IBIN as b
          on b~instance eq a~cuobj
          inner join IBIB as c
          on c~ibase eq b~ibase
          inner join IBINVALUES as d
          on d~in_recno eq b~in_recno
          inner join IBSYMBOL as e
          on e~symbol_id eq d~symbol_id
          inner join CABN as f
          on f~atinn eq e~atinn
          inner join CAWN as g
          on g~atinn eq e~atinn
          and g~atwrt eq e~atwrt
          inner join CAWNT as h
          on h~atinn eq g~atinn
          and h~atzhl eq g~atzhl
         where     a~matnr in s_matnr
                and e~atinn in s_atinn
                and e~atwrt in s_atwrt
               and b~valto eq '99991231235959'. "This is important condition
    I included bare minimum fields to suite your requirement needs you can add whatever other field you want . Though I tested the table join, I suggest you to test it again before writing your own ABAP program using SE16N.

Maybe you are looking for