How do I display only key instead of description in MDX query

Hi,
Whenever I try to display material number, QN number.... in MDX it only displays the description instead of key. In query designer, it says "display as key and text".  How do I display the key only instead of text?
Thanks,
Duy

I used your query and pointed to my query and the result is as expected - both key and text. I'm not sure what is different between our IO and mine.
SELECT [Measures].MEMBERS ON COLUMNS,
[0VENDOR].[LEVEL01].MEMBERS 
      PROPERTIES    [0VENDOR].[20VENDOR] ON ROWS
FROM [MY QUERY]
then I tried to hardcode the value it only showed me just the text. I tried different ways to make it show either just the key or both - but couldnt figure out. And one more thing I confirm is that the display settings in Bex really DOESNT matter or taken into consideration my MDX.
SELECT [Measures].MEMBERS ON COLUMNS,
{[0VENDOR].[ABCD]} ON ROWS
FROM [MYQUERY]
let me know if were able to figure it out
Try the below statement and see what it does
SELECT [Measures].MEMBERS ON COLUMNS,
NON EMPTY [0NOTIFICATN__0NOT_TYPE].[LEVEL01].MEMBERS
DIMENSION PROPERTIES [0NOTIFICATN__0NOT_TYPE].[20NOTIFICATN__0NOT_TYPE] ON ROWS
FROM [YOURQUERY]
Edited by: voodi on Sep 28, 2010 3:08 PM

Similar Messages

  • How to Get the Job, Cost center, Position description using select query

    Hi all,
    How to get the  Job, Cost center, Position description through select query without using the Function module?
    thanks,
    Prasad

    use adhoq query and take the report chose both text and value

  • How to display plant code instead plant description?

    Hi,
    In tx ME21N, ME22N and ME23N, how can I display the plant code instead the plant description?
    Thanks in advance.

    Hi,
    Click the personal setting push button.  There click the display key check box.  Then try.
    Regards,

  • How can I display an icon, instead of text string, as a validation prompt?

    My validate method inside my custom validator is like this:
    public void validate(FacesContext context, UIComponent component, Object value) {
      Pattern datePattern = Pattern.compile("(\\d{2})/(\\d{2})/(\\d{4})");
      Matcher dateMatcher = datePattern.matcher((String)value);
      if(!dateMatcher.find()){
        ((UIInput)component).setValid(false);
        FacesMessage message = new FacesMessage();
        String msg = "[" + value + "] invalid date";
        message.setDetail(msg);
        context.addMessage(component.getClientId(context), message);
        FacesMessage facesMsg = new FacesMessage(FacesMessage.SEVERITY_FATAL, "xx", "msg");
        throw new ValidatorException(facesMsg);
    }My JSP has this:
    <h:inputText id="test" value="#{projecthandler.test}">
    <f:validator validatorId="DateValidator" />
    </h:inputText>
    <h:message id="testErrorMessage" for="test"/>The <h:message> tag will kick in if the user has invalid data in the <h:inputText> field and clicks submit.
    When the page is regenerated, the user will see a text string reflecting what the issue is.
    However, instead of this, I would like to display an icon consisting of a red circle with an exclamation point.
    The user is supposed to click on the icon if they want more information. By clicking on the icon,
    the user will see a message box, with a description of the error.
    This is our standard for applications. I'm trying to put together a demo showing how an existing application
    would work in JSF, so I won't be able to talk others into using JSF, unless I can get the validation to display an
    icon instead of text.
    Edited by: Kazan on Mar 18, 2009 9:31 AM
    Edited by: Kazan on Mar 18, 2009 9:33 AM
    Edited by: Kazan on Mar 18, 2009 9:36 AM

    OK, I noticed a bug in my validate method. This is updated to fix the bug, and to include the recomendation about background-image:
      public void validate(FacesContext context, UIComponent component, Object value) {
        System.out.println("DateValidator.test.1");
        Pattern datePattern = Pattern.compile("(\\d{2})/(\\d{2})/(\\d{4})");
        Matcher dateMatcher = datePattern.matcher((String)value);
        System.out.println("DateValidator.test.1");
        if(!dateMatcher.find()){
          ((UIInput)component).setValid(false);
          FacesMessage message = new FacesMessage();
          String msg = "<span style='background-image: url(/error.gif)'/>";
          message.setDetail(msg);
          message.setSeverity(FacesMessage.SEVERITY_FATAL);
          context.addMessage(component.getClientId(context), message);
          throw new ValidatorException(message);
      }When I run this, the litteral string of "<span style='background-image: url(/error.gif)'/>" is printed as the message. It does not interpret this as a span tag with an image url.
    Can someone tell me what's going on?

  • How Do You Display the key in the F4 Value Help

    I have setup a characteristic variable for Ship-To party as a Select Option.
    However when displaying the possible list of entries using the F4 key, the key to the table ie the Customer number is NOT displayed. Instead the search help starts with the medium text description.
    Is there any way of enabling the variable so that the key is displayed.
    Note if a similar variable is setup as a single entry against the same characteristic then the key IS displayed.
    Many thanks

    You have to enable this in the Characteristic.
    In the Query Designer, right click on the characteristic Customer and select the option Display as Key and text.
    If this is already enabled then goto RSA1 and check whether this option is enabled in the Business Explorer tab of  the infoobject
    Regards,
    Rakesh

  • How do we display only subordinate?

    I wanted to display only child records. The below query display starting with employee Scott and all subordinates... But i want to display only subordinate... How can i display here... any help is appreicated.
    SELECT HIERARCHY_NAME
    FROM T_HIERARCHY_CONVERT
    START WITH HIERARCHY_NAME = 'Scott'
    CONNECT BY PRIOR HIERARCHY_NO = HIERARCHY_MGR_NO

    The other way
    select
         sys_connect_by_path(ename,'/') xc, level, connect_by_root ename
    from      emp
    connect by  prior empno =   mgr
    start with ename='SCOTT'
    XC                                  LEVEL CONNECT_BY
    /SCOTT                                  1 SCOTT
    /SCOTT/ADAMS                            2 SCOTTOnly Subordinate.
    select
         sys_connect_by_path(ename,'/') xc
    from      emp
    where ename!='SCOTT'
    connect by  prior empno =   mgr
    start with ename='SCOTT'
    XC
    /SCOTT/ADAMS
    OR
    select
         ename xc
    from      emp
    where ename!='SCOTT'
    connect by  prior empno =   mgr
    start with ename='SCOTT'
    XC
    ADAMSSS

  • How can I display only one value of a field with two or more values?

    Post Author: skiabox
    CA Forum: Crystal Reports
    I have a field in my report with 2 or more values (depending of another field id).For example for id = 1 the report gives me 2 names in that field.For id = 3 the report gives me 3 names in that field.I want to display only one of these names in the id row.The selection of name is random.Thanks!

    Hello Tim,  would barely fit in this situation since this code resides on the client’s interaction side of things. I’d recommend using JavaScript for this matter, e.g. var Data_FName1 = document.getElementById(‘Data_FName1’).value;. If you still opt for using CFML, then you’d go for proxying your JavaScript code to a CFC.

  • How to set Display Only for some records in CAT2 Worklist

    Hi,
    I have a requirement to modify an attributes for some records in the Worklist of CAT2.
    We have an external system where we book our time. Weekly we import data from that external system into CATSDB using BAPI for every single employee.
    We would like when the user wants to modify his time sheet to be able to add/modify all records except those which were imported from the external system. Which means that those records should be in Display only mode / grayed out / before release.
    Is there any user exit or BADI that could help to modify that attribute and that will be triggered before displaying the Worklist ?
    Please advise !
    Thanks,
    Stefan

    I've solved the problem.
    First I've added customer field in CI_CATSDB structure and when I am importing the data I am populating that field with 'X', which means that this is record from the external application.
    I've created enhancement implementation in Function group->CATS, screen->2003 MODULE->D2000_MODIFY_LOOP, subroutine->modify_d2000_loop where I am checking the field mentioned above if it is 'X' I am modifying the screnn-output = off.
    It works, thak you for your help.
    Regards,
    Stefan

  • How can  i  display the Number  instead of  E

    Hello Everyone ;
    I am getting confused. How can i display the Number but the Exponential value is coming as E.
    SQL> select sum(amount_sold) from sales;
    SUM(AMOUNT_SOLD)
    1.1287E+11
    Table details ..
    SQL> desc sales
    Name                                          Null?        Type
    AMOUNT_SOLD NUMBER
    i want to change 1.1287E+11 to "numeric"
    DB : 10.2.0.4
    os : rhel 5.1

    Just a minor correction on an obvious math/responding too fast error: 1.1287E+11 is a 12 digit number. You move the decimal 11 positions to the right which would add 7 zeroes to the value.
    MPOWEL01> l
      1  select length(to_char(1.1287E+11)), to_char(1.1287E+11,'999,999,999,999'), 1.1287E+11 "TEST"
      2* from sys.dual
    MPOWEL01> col TEST format 999999999999
    MPOWEL01> /
    LENGTH(TO_CHAR(1.1287E+11)) TO_CHAR(1.1287E+          TEST
                             12  112,870,000,000  112870000000the problem was that the OP failed to alias the sum result to the formatted column rather than the lenght of the data.
    HTH -- Mark D Powell --

  • How can I display ONLY bookmarks, and not History?

    I'm sorry to ask a question with probably such an obvious answer, but I have never been able to figure this out. I want to display all my bookmarks so I can do a search & find the right page. But I always get my entire list of every page I've ever visited. I don't want to delete my history, but I want to only show real bookmarked pages.
    Here's what I've been doing: I select "Show ALl Bookmarks." Then I select a folder on the left under the header "BOOKMARKS." It still shows all the pages I've visited today.
    Thanks.

    After you enter the search criteria make sure you click on Bookmark Menu in the upper left of the coverflow window.

  • How can I display only the Data Logging pull down menu on my LV front panel?

    Is it possible to hide all unused pull down menu on my front panel vi like File, Edit, View etc.. and only
    display the pull down menu for the Data logging?!
    best regards
                          Norick

    Hey,
    You can build your own runtime menu (Edit>runtime menu) and then e.g. only display the application items you want to.
    Christian

  • How can I display only speaker notes on iPad?

    I have an IT dept that takes care of getting the ppt slides on the screen. I just want to use my iPad for my notes. Being able to get the notes into my iPad from a ppt would be awesome.

    Hey,
    You can build your own runtime menu (Edit>runtime menu) and then e.g. only display the application items you want to.
    Christian

  • How to put display-only condition in a custom include program

    hello everyone,
    I have to make a custom include program that will be used instead of the already available 'bdcrecx1'.
    I have a couple of questions and would appreciate your help.
    I need to create a parameter with a checkbox. When this checkbox is 'X' the following 2 fields need to be greyed out, otherwise user should be able to enter values in them. How can I grey out the fields?
    Using my include I should have just the following:
    1)parameter with checkbox
    (if 'X', session and user greyed out)
    2)Session Name
    3)User Name
    Also, is there a way I can avoid putting the following onto the screen:
    1)Keep session (this will always be defaulted to 'X'
    2)No Data
    <b>Note:</b> I made a copy of 'bdcrecx1'and i'm doing changes according to my requirement.
    Thanks in advance.
    Regards,
    Fred.

    Hi,
    For your first question.
    use
    assign user command for checkbox say 'CLICK'..
    at selection-screen output.
    loop at screen.
    if screen-group3 = 'VALUE' and checkbox condition.
    screen-active = 0.
    else
    screen-active = 1.
    endloop.
    To make sure that the user enters the data in fields if checkbox is not grayed,
    do it in event
    start-of selection.
    if field is initial.
    exit.
    go back to previous screen.
    endif.
    for removing 'keep session' , check out for exits..
    Regards,
    Tanveer.
    Please mark helpful answers
    Sorry about the previous error in reply.
    Message was edited by: Tanveer Shaikh

  • How can you display only one artboard in the Navigation Panel?

    I would like to be able take advantage of the Navigation Panel as a thumbnail view of the artwork I am illustrating. The Adobe Illustrator file has 5 art boards. Is there an option in the Navigation Panel to view the art board I am working with, alone? 

    > That could work if all of the group items were the same size.
    Why would that matter? Each GroupItem has its own controlBounds, height, width, position properties. Each Document has its own height, width, pageOrigin properties. The script would reference those properties to position the Group in the center of the document.
    JET

  • Query Displaying Technical Name instead of Description

    Hello,
      Is there a setting in query designer that would cause the query technical name to display when the query is executed instead of the query description?  I am using BEx 3.5.  When I Save As the query to a different technical name and execute the description shows.  I would like the description to show as it does with all other queries.
    Any help would be appreciated.
    Thanks!
    Tina

    Hi Tina,
    For me the most convienent way is to create a text variable with customer exit, not ready for input.
    Assign this variable to Query description in properties of query. So you can be sure to see the current
    technical name after saving  the query again,  without any additonal actions.
    You could even combine this variable with any description desired.
    Assuming variable created is  Z_COMPID,  please add code as follows to user exit:
    WHEN 'Z_COMPID'.
          L_S_RANGE-LOW  = I_S_RKB1D-COMPID.
          L_S_RANGE-SIGN     = 'I'.
          L_S_RANGE-OPT      = 'EQ'.
          APPEND L_S_RANGE TO E_T_RANGE.
    Regards
    Joe

Maybe you are looking for

  • Songs in order on iunes, jumbles songs on ipod after sync

    Just recently I decided to update my itunes with some new albums, and now all of a sudden when I sync the ipod the songs that are in order on itunes, become jumbled on the ipod. I'm not sure why this is happening now since I have never had this probl

  • JSP - Dynamic Table Data

    Hi all. I have this problem for some time now. I need to show data as soon as I retrieve it from database. The code I'm using is as follows: private boolean constructUiDynamically() {         Table table                  = null;         TableRowGroup

  • Can transaction OBCP be opened to be maintained in production?

    Hello My client wants to know if transaction OBCP - Define Tax Jurisdiction be opened to be maintained in production?  If so what implications might there be in setting this transaction as open in production? Can anybody please help me with the sugge

  • JTabbed+Jscroll+JTable...

    Hi all, I have a problem mixin all this components: I have a JTabbedPane with some tabs. Each tab has a JscrollPane in it, and each JScrollPane has a JTable. The JTable is not allowed to resize its width so all the other components should arrange its

  • How to view Time Machine files on a Capsule

    Hi guys, Info: OS X 10.10.3 Time Capsule version 7.7.3 iMac 21" Mid 2011 Issue: I use the time capsule as a backup specifically for my massive iTunes library. When I use a non-apple hard drive for Time Machine backups, I am able to browse the file sy