VBA: Display as Key

Hi
I have an workbook. The query is on sheet2 and the result area is on sheet1. The query contains a hierarchy. I would like change the hierarchy display from key to name or key and name. Olap-Functions for active cells works well. But with my VBA coding it doesn't work.
Code
Private Sub Button21_Click()
Range("B12").Activate
Run "SAPBEX.XLA!SAPBEXfireCommand", "PC03", Selection
End Sub
Where is my problem?
Can someone help me with my coding.
Thank you
Markus

Hi Peter,
attached you find my trace:
XLA:           09:03:10 [ command     
XLA:                - isConntected: true     
XLA:           09:03:10 calling OLAP function     
XLA:                - function code: PC03     
XLA:                - array: Material!$B$11:$T$56     
XLA:                - Called AllowSetForegroundWindow, Result: Wahr(<>0 is good)     
XLA:                - Called LockSetForegroundWindow, Result: Falsch(<>0 is good)     
XLA:                - isConntected: true     
XLA:                - Called LockSetForegroundWindow, Result: 0     
XLA:                - Called AllowSetForegroundWindow, Result: 1     
XLA:                - Called LockSetForegroundWindow, Result: 0     
XLA:                - Called LockSetForegroundWindow, Result: 0     
XLA:                - Called AllowSetForegroundWindow, Result: 1     
XLA:                - Called LockSetForegroundWindow, Result: 0     
XLA:           09:03:10 RFC function RSAH_ENSURE_GUI_VISIBLE returned ok     
XLA:                - isConntected: true     
XLA:                - Called LockSetForegroundWindow, Result: 0     
XLA:                - Called AllowSetForegroundWindow, Result: 1     
XLA:                - Called LockSetForegroundWindow, Result: 0     
XLA:                - Called LockSetForegroundWindow, Result: 0     
XLA:                - Called AllowSetForegroundWindow, Result: 1     
XLA:                - Called LockSetForegroundWindow, Result: 0     
XLA:           09:03:11 RFC function RRY_GRID_CMD_PROCESS returned ok     
XLA:                - isConntected: true     
XLA:                - Called LockSetForegroundWindow, Result: 0     
XLA:                - Called AllowSetForegroundWindow, Result: 1     
XLA:                - Called LockSetForegroundWindow, Result: 0     
XLA:                - Called LockSetForegroundWindow, Result: 0     
XLA:                - Called AllowSetForegroundWindow, Result: 1     
XLA:                - Called LockSetForegroundWindow, Result: 0     
XLA:           09:03:11 RFC function RSAH_ENSURE_GUI_VISIBLE returned ok     
XLA:                <b>- no processing necessary</b>     
XLA:           09:03:11 ]     
XLA:                - isConntected: true     
XLA:                - isConntected: true     
XLA:                - isConntected: true     
XLA:                - isConntected: true     
XLA:                - isConntected: true     
XLA:                - isConntected: true     
XLA:                - isConntected: true     
XLA:                - isConntected: true     
XLA:                - isConntected: not interactive     
XLA:                - isConntected: not interactive     
XLA:                - isConntected: true     
XLA:                - isConntected: true     
XLA:                - isConntected: true     
XLA:                - isConntected: true     
XLA:                - isConntected: true     
XLA:                - isConntected: true     
XLA:                - Called LockSetForegroundWindow, Result: 0     
XLA:                - Called AllowSetForegroundWindow, Result: 1     
XLA:                - Called LockSetForegroundWindow, Result: 0     
XLA:                - Called LockSetForegroundWindow, Result: 0     
XLA:                - Called AllowSetForegroundWindow, Result: 1     
XLA:                - Called LockSetForegroundWindow, Result: 0     
XLA:           09:03:12 RFC function RRMX_JUMP_TARGETS_GET returned ok     
XLA:                - isConntected: true     
XLA:                - isConntected: true     
XLA:                - isConntected: true     
XLA:           09:03:12 registryGet failed     
XLA:                - entry: showErrors=?     
The problem is that "no processing necessary"
Can you help me.
Regards
Markus

Similar Messages

  • Web reporting - variable selection should be display as key and description

    hi experts,
    Can anybody tell me the solution for my issue. My isssue is , in the web reporting, i have variable company code, i am selecting the company code thru search help. the values for company code is displaying with key. 
    the new requirement should be displayed with key and description.
    I have checked in the bex, the properties  of company code has maintained as key. when i run the report when cas selet as key and descritption. bex is not a probelm.
    only the problew with webreports,  can anybody give some inptus on my issue.
    Any help is appreciated. waiting for your response.
    thanks
    surendra sheety

    For future reference, this question was finally answered correctly recently in the following thread: 
    F4 help - Search values - I need key and text
    Hope this helps someone who is as confused about this as I have been the past few days!
    Bob

  • Display MDM key mapping information in EP Item Detail iViews

    Hi,
    in my repository I have the main table 'customer' including key mapping information for several client systems (master data consolidation scenario).
    The customer data is diplayerd in EP using the Item Details iView. I'd additionally like to display the key mapping information in Item Details iView, for example as a separate tabstrip. Is this feature already supported by the Item Details iView? How can I implement it?
    I'm using MDM 5.5 SP3 / EP6.0 SP14.
    Thanks in advance,
    Martin

    Hi Martin,
    Currently iView do not support the functionality to disply the key mapping information.
    Workaround I implemented is that, added a field "source system" to main table with type lookup. Added lookup table "source systems" with list of names of client systems. This helps user search data based on client system name.
    I hope this is helpful.
    Abhay

  • How to influence the text display of key figures in the interarctive DP

    Hello all,
    Does anyone know if there is a possibility (BADI, etc.) to change the text display of key figures (not characteristics!) in a planning book/data view?
    I know that you can define a free text in the data view but still, this is only one fixed text and it cannot be changed.
    Reason for the request: We would like to use the same key figure (and hence, indicate 2 different texts) for two different purposes (in different selections) without having to create a new data view.
    Kind regards,
    Klemens

    if you dont want a new data view and might even go to the extent of creating a user exit for this ... here is an idea
    - just create auxillary KF ( or use spare Temp KF depending on what you want to do with the data in the view) for each of these KF with the text
    lets say you have KF1 and KF2 - create KF1A and KF2A
    Make sure KF1A = KF1 and KF2a = KF2
    Now depending on user you can display KF 1 and KF2 or KF1a and KF2a depending on the user by using macros USER() and ROW_VISIBLE(0)

  • 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

  • Variable selection screen: display as Key

    We are using NW2004s for our BI system and for the front-end components (Bex Query Designer, Bex Query Analyzer, ...)
    When opening a certain query with the Analyzer, the variable selection screen is shown. But now we can only input values directly in the fields if we change the display setting from Text to Key. (input values directly = without using the input help)
    Is there no way to put the display on Key by default for the variable selection screen?
    Hopeful greetings,
    Ben De Windt

    Hello Ben,
    unfortunately this is not possible at the moment. The feature will be available with SPS 13, which is planned to be available in calendar week 32. Please have a look at the Functional Enhancements Schedule BI in NW 7.0 (formerly known as 2004s) on page 20:
    <a href="http://service.sap.com/sapidb/011000358700004483762006E">http://service.sap.com/sapidb/011000358700004483762006E</a>
    Best regards,
    Martin

  • Report painter, lead column doesn't display the key, only description is di

    Hi Gurus,
    I am facing a problem as the report painter report only shows the description for the objnr (charasterstic) and not the key and description thoughin the format key and description is set. Kindly suggest me the how to overcome this problem.
    Example of the problem-
    The problem is that the report displays the descriptions (like u201CRéseauAiru201D on the first line) and not the code (E100/002831/EP-AIR) that we wish in the lead clolumn.
    Regards,
    Sachin

    Hi
    Once you execute the report and the output is displayed....
    Go to Settings > Char Display > Choose "Key and Description"
    Then Choose menu Report > Save Definition
    BR,Ajay M

  • How to display language key (0LANGU) in the query for BW report

    Hi,
    Can someone tell me how to display language key (0LANGU) in the query? I want to display which language (English or French) is used for material description in BW report. Thx.

    hi,
    check if the infoobject is kept as lang dependent or not  for material text, else you need to create a masterdata attribute with text and lang keys and do corresponding mapping, so then it can be displayed in your report
    regards
    laksh

  • Display of Key Figure's Names in the Navigation Panel

    Hello all,
    Is anyone know how to display the key figure's names list in the navigation panel, as in that eLearning presentation –
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d049b14f-775c-2a10-9ea2-9d670feaf2fe
    (I'm talking about Net Sales, Sales Plan and      Deviation % on the left)
    I didn't know it is possible until I saw that link.
    Thanks!

    Hi Ron,
    I know, are passed 3 years to your post but I'm searching the same answer to your question, have you found it?
    Anyone can help me?
    Thanks a lot.

  • 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

  • How to display duplicate key in web report?

    Hi Experts,
    Can anybody tell me how to display duplicate key in web report?
    I know in the Bex analyzer, we can allow the duplicate key to be dispalyed via the 'query property' by right click, and in the 'display option' tab, there is an option which named 'forbid duplicate key', if we don't select this option, the duplicate key will be dispalyed in the report result in BEx analyzer.
    But how can I do this in Web report? Thanks in advance.
    Eileen

    Hi,
    <b>I know in the Bex analyzer, we can allow the duplicate key to be dispalyed via the 'query property' by right click, and in the 'display option' tab, there is an option which named 'forbid duplicate key', if we don't select this option, the duplicate key will be dispalyed in the report result in BEx analyzer.</b>
    Do the same and execute report in web.You can able to see the same.
    Cheers
    Karthik

  • Reg: problem in displaying as key and text

    Hi Friends,
    I have a problem while displaying values for 0profit_ctr.
    In Development box report working fine. In production it giving problem.
    ISSUE:
    I want to display the 0Profit_ctr as key and text format. In development box it showing correct. I cross verified the properties of 0proft_ctr charcaterstic in report of  development and production box. In both it is defined as dispaly key and text.
    Also cross verified the infoobject (0Profit_ctr) details, In both Business Explorer general settings defined as Display as Key and Text.
    Everything is same in production and development box for this. Even though in production it showing as text and key. we need to display it as key and text.
    any suggestion on this.
    Regards
    Mrk.

    It could be that the infoObject has been disturbed, have you tried just re-activating the object in Production.
    Also check the following link :
    I am able to search only by text and not by Key in filter.

  • Error message display both key and value

    Hi,
    I've an alt key check & if the validation fails then the error message pops-up and displays :
    Error
    JBO-SUB_TYPE_CODE_ALREADY_EXIST: The sub type code already exists.
    I'm not sure why is it displaying the key (JBO-SUB_TYPE_CODE_ALREADY_EXIST:) part also in the message.
    Can someone tell me how to suppress the key part in the error message and just display the message (The sub type code already exists.).
    Thanks,
    -Gaurav

    Hi,
    If you want to avoid the roundtrip to the database you can also create a uniqueKey validator in the Entity Object
    were the AltKey exists. In the failure handling of the validator set the message that you want to be displayed.
    You can see an example of this here: http://www.gabrielsideras.com/2010/09/28/adf-unique-key-validation/
    Gabriel

  • Display Title key in drop-down for Business Partners

    Hello Experts,
    the "Title" drop-down list in a cusutomer or contact person does not show the keys (eg 0001, 0002 . etc.). It only shows the description (eg MIster, Mrs, Ms. etc.). I have activated "show keys in all drop-down lists" in my Options menu and other fields display the key such as fields Communication Language or Account Group or so. But just the Title field does not show the key.
    I have checked table TSAD3 and also the coresponding Business Partner customizing in "Maintain address fields" but I cannot find a function to make the key visible in the Title field.
    Does anybody know and can help me?
    The problem is linked to language issue with having parallel Japanese and English where the key will help the users select the correct English title even though it is the same expresssion in Japanese.
    Regards
    Catherine

    Hi,
    I hope the title of the business partner is not of drop down list box with key type.  It could be simply a list box.  Please check with your ABAPer and change the attribute of the field in the table to drop down list box and check again.
    Also plz check the below link.
    [http://help.sap.com/saphelp_nw04/helpdata/en/d1/801c3a454211d189710000e8322d00/content.htm]
    Regards,
    P Gomatheeswaran

  • Display listbox key value in ALV GRID method

    Hi All,
    I have a program in which columns are generted dynamically based on number of fields. The column name is dynamic as it depends on its text while The value in Column's can be 1, 2, 3, 4, 5.
    I am trying to display this in a list box along with the text which are maintained as fixed values at domain level.
    space Walking
    1       Archery   
    2       Boxing
    3       Cycling
    4       Rowing
    Also I am displaying by using 'DD_DOMVALUEs_GET, looping through all the fixed values and concatenate
    domvalue_l   ddtext separated by cl_abap_char_utilities=>horizontal_tab. No tab space is coming between key and value.
    Also for the 1st value which is space it is not coming properly as space is condensed.
    The point is that after I am putting values in the grid. The system event data changed is called where the value selected is  1 Archery and it is going to bad cells, error protocol display . I want only the 1st character. How to modify the content in the grid before the system event gets called.
    Regards,
    DPM

    Hi,
    try follow code to setup fieldcat of that DROP DOWN field.
    FCAT-DOMNAME = ' '.
    FCAT-CHECKTABLE= '!'.

Maybe you are looking for

  • Problems with a Java Trigger

    Hello Everyone I need to create a TRIGGER, and i want to use Java. this is my java class: import ... public class manager { public static void triggerOnDeleteUser(int u_id){ long dat=(long)System.currentTimeMillis(); try{ #sql{ DELETE FROM apn a WHER

  • Opposite side is hearing his own voice along with mine in iphone 4.

    I have an iphone 4. Software version is 4.3.5. I am having a problem while calling. Call is okay; but opposite side is hearing his own voice along with my voice. Its like a repeat to him. He is also hearing me. From my side (iphone 4) its okay. Is th

  • MS SQL Server 2000 and JDBC Driver Problem

    I was wondering if you could help me. I installed Java 1.4.1 on my Win2K machine along with MS SQL Server 2000 JDBC Service Pack 1 drivers. The drivers and JDK installed perfectly and I properly set my class path. Yet everytime I try to execute my co

  • How do I re-order the Login Items?

    I would like to rearrange the Login items: I have 8 items listed, but the server item (10.0.0.x) is near the bottom, and I think that by the time Entourage and the other items load, the server mount command times out. They dont appear to be in alphab

  • Error during LiveCycle ES 8.0 installation

    I have tried installing using the copy of LiveCycle ES we have on the network, the copy we have on an external hard drive and have even logged into the partners portal and downloaded a fresh copy of LiveCycle ES and every time I attempt to install it