Selection Key Figures and Key Figures

I am building a query and I need to combine Key Figures and Selected Key Figures so that they appear on the same row.  However, when I try to do this I get a message that you cannot put the elements in the same structure.  However, if I put in different structures they will not be aligned.  How can I overcome? Thanks

if i undertd your issue correctly..u have one KF struxture and one characteristic structure.In characteristic structure,u r having restricted characteristics and u r tyring to have a KF in char structure???if so,it is not possible..where exactly u r getting error?it will not allow you to drag and drop Kefigure into Query deisgner except into KF structure..
in char structure,if u r gng with new selection,u will not have option to select any KFs.
it could be better if u provide an example rather than explaining theoritically.
please note that u cant have a KF in characteristic structure .u can have a char in KF strcucture with a KF combination i.e. Restricted KF.
Message was edited by: Murali

Similar Messages

  • Why use key-partitioning and key-associator features?

    Why use key-partitioning and key-associator features?
    What kind of applications are suitable for using key-associator and key-partitioning features?
    Could you give me some example?
    Thank you

    So the typical way is to use KeyAssociation. This is a single interface that uses a method
    public Object getAssociatedKey();
    I believe this works on the ClusterService level (rather than say the Cache). So, say you have a Client and an Account cache where a Client can have multiple Accounts. Now both the Client and the Account object will implement KeyAssociation and return the client object as the AssociatedKey. This will cause these associated objects to live on the same partition.
    Now you can do some clever tricks since you know these are on the same partition. These include using the BackingMap and EntryProcessors / InvocationService / Aggregators to return all the AccountIds associated with a client account (essentially a join).
    Unfortunately, these are pretty advanced Coherence features so it is worth building them in a testcase first and getting them to work before you integrate them into your application.
    Best, Andrew.
    PS. You could also use the KeyPartitioningStrategy, but I prefer the KeyAssociation (as do most people).

  • Navigate previous record,next record by entering key-up and key-down

    Hi ,
    JDeveloper11g_
    I am trying to solve of how to navigate previous record,next record by entering key-up and key-down in ADF Table.
    If any of you have this solution by JScript of Backing Bean please help me.
    Thanks
    zakir
    ===

    Hi zakir,
    I hope I understood your requirements correctly. You have an editable ADF table. You would like to use the up/down arrow keys to move from one row to the next/prev row of the same column. Since the Tab key moves the cursor to the right and Shift+Tab moves it to the left, now you want to implement the same thing but just up and down, correct? If so, try this.
    /** Javascript **/
    function detectKey(evt) {
        var inputText = evt.getSource();
        var id = inputText.getClientId();
        var start2 = id.indexOf(":") + 1;
        var end2 = id.lastIndexOf(":");
        var numValue = parseInt(id.substring(start2, end2));
        var evt2 = evt.getNativeEvent();
        arrows=((evt2.which)||(evt2.keyCode));
        switch(arrows) {
            // Up arrow
            case 38:
            numValue = numValue - 1;
            break;
            // Down arrow
            case 40:
            numValue = numValue + 1;
            break;
        var newStr = id.replace(/:\d:/, ':' + numValue + ':');
        var comp = AdfPage.PAGE.findComponent(newStr);
        if (comp != undefined) {
            comp.focus();
    /** Jspx. (Place a client listener on each inputText in the ADF table) **/
    <af:column .....>
      <af:inputText value="#{row.bindings.price.inputValue}" .....>
        <af:clientListener type="keyDown" method="detectKey"/>
      </af:inputText>
    </af:column>With this, you get to move Up/Right/Down/Left in the editable ADF table without using the mouse.
    References:
    http://thepeninsulasedge.com/blog/?cat=29
    af:clientListener attributes and methodes of event object in java script
    Regards,
    Chan Kelwin

  • Java Applet key down and key up events

    I've written a program that extends applet but I can't get the event handling to work for keys.
    I've copied the below code into my applet but at the moment not even my system.out's are printed.
    How can I get this to work?
    // Handle key down and key up events
    public boolean keyDown(Event e, int key) {
    int flags = e.modifiers;
    System.out.println("Key " + e.id); //ns test
    if (e.id == Event.KEY_PRESS)      // a regular key
    showLine("Key Down: " + mods(flags) + key_name(e));
    else if (e.id == Event.KEY_ACTION) // a function key
         showLine("Function Key Down: " mods(flags)
              function_key_name(key));
    return true;
    public boolean keyUp(Event e, int key) {
    int flags = e.modifiers;
    if (e.id == Event.KEY_RELEASE)      // a regular key
    showLine("Key Release: " + mods(flags) + key_name(e));
    else if (e.id == Event.KEY_ACTION_RELEASE) // a function key
         showLine("Function Key action release: " mods(flags)
              function_key_name(key));
    return true;
    Thanks and sincere regards if you managed to read this far.

    I have found a solution!
    Your program, after it extends applet, you must also implement KeyListener, add the associated methods with KeyListener, and you must add the KeyListener in the init.
    code should look something like this:
    class program extends Applet implements KeyListener {
    public void init() {
    addKeyListener(this);
    public void keyTyped(KeyEvent key) {}
    public void keyPressed(KeyEvent key) {}
    public void keyReleased(KeyEvent key) {
    if (key.getKeyCode() == KeyEvent.VK_DOWN) {
    // Do something when user hits down-cursor.
    } else if (key.getKeyCode() == KeyEvent.VK_UP) {
    // Do something when user hits up-cursor.
    }

  • Track key press and key release on WPF applications

    Is there a way to track key press and release actions on WPF?
    This is what I've tried so far, but what I'm finding is that the _upDownKeyIsPressed is
    only set to false if I press another key - not when the up or down key is released.
    private void TrackUpDownKeyPress(KeyEventArgs e)
    if (e.Key == Key.Up || e.Key == Key.Down)
    // set to true if either up or down key is pressed
    _upDownKeyIsPressed = true;
    else
    // set to false once up or down key is released
    _upDownKeyIsPressed = false;
    private void PlotListView_KeyUp(object sender, KeyEventArgs e)
    TrackUpDownKeyPress(e);

    You want to track the Up and Down events. If you only use the Up event, then the variable will only be set to false when
    another key triggers the Up event:
    private void PlotListView_KeyUp(object sender, KeyEventArgs e)
    if (e.Key == Key.Up || e.Key == Key.Down)
    // set to true if either up or down key is pressed
    _upDownKeyIsPressed = true;
    private void PlotListView_KeyDown(object sender, KeyEventArgs e)
    if (e.Key == Key.Up || e.Key == Key.Down)
    // set to false if either up or down key is depressed
    _upDownKeyIsPressed = false;

  • Key up and key down operation marks gray colour in the list block.

    Can any one give the solution for this which I am trying to remove in oracle forms 6i which marks gray color when traveresed in list block.I think you have got my problem that if list contains 10 items in list block and if u traverse in this list form first 1 to 4items it marks gray color for all four items rather then for item on which it is i.e only the 4th item should grey color as the cursor is present.All techies please give the solution as earlier as possible.

    Sorry, but i don't understand your problem. Could you explain a little more detailed what you want to achieve?

  • Data fields and key fields

    Hi,
    Data fields and key fields are same as Characteristcs and key figures? Or they are diffrerent?
    Thanks,
    Radha

    HI
    Key Fields =  Acts as Primary Key for The ODS like Primary of Tables in R3.
    Data fields =  Apart from Key fields We consider rest as data fields.
    Ususally we use Characteristic info Objects and Dates in Key Fields and Key figures in Data fields.
    It's decisive factor for overwriting property of ODS or DOS.
    Hope this helps.
    Regards,
    Rangzz
    Edited by: Ranganath Kodiugane on Feb 7, 2009 12:14 PM

  • Key-up and down triggers not firing

    I have a multi-record block and want to go to the previous and next records in it when the user presses the up and down arrow keys. I thought this was default behavior, but the keys didn't do anything so I tried putting key-up and key-down triggers on the block. They don't fire at all when I press the up and down arrow keys. The debug messages confirm that nothing happens at all when these keys are pressed. I tried putting form-level triggers on, and they don't fire from that block either, although they do fire from another single-record block.
    I'm thinking maybe it is just some block property that I have not set correctly, but I can't see anything obvious when looking through the properties. I have the Navigation Style set to Change Record, but have tried the other options and nothing changed. The records do cycle through using the <Tab> key.
    Any help is appreciated.
    Thanks,
    Ben
    null

    I'm not running web. I went ahead and tried setting num lock off anyway, but it didn't make any difference. Thanks for the suggestion.
    Ben
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by vijay kumar ([email protected]):
    Are u running ur application in web?
    Try the numeric arrow keys (set num lock off)
    <HR></BLOCKQUOTE>
    null

  • Query desginer Key Figure and Selections

    Hi,
    I have the following requirement:
    1. I have a structure in the rows part og the QD.
    2. Now, there are 5 selections created under that structure.
    3. Each selection has 2 more Key Figures added to them.
    Say, it will look as follows:
    Structure 
      |--Sel1
           |----
    KF1
           |----
    KF2
        |--Sel2
           |----
    KF1
           |----
    KF2
    Can you give any ides how I can do this?
    Edited by: anjana banerjee on May 21, 2009 9:58 AM

    What is meant by selection here? If you mean selection as characteric then for your information you can only create 2 structures in QD. one for characteristc and one for KF
    Edited by: Shailesh Naik on May 21, 2009 5:26 PM

  • InfoSet in SAP BI 7.10 and Key figure aggregation

    HI SAP Gurus,
    I am new in SAP BI area. I have my first problem.
    I want to create a report for the profit of goods. 
    The cost of goods(cogs) are constant for each material for one month.
    The formula to calculate the profit of goods = sales turn over u2013 cogs of month *sales amount.
    I have defined in BW time dependent infoObejct with attribute cogs.
    I have 2 info Sources.  InfoCube for transactional sales data from R/3 and material cogs master data loaded from csv file each month to infoObject.
    The info Provider for report is InfoSet (transactional Cube and cogs infoObject) .
    My problems are
    1) When I create an InfoSet, SAP BW create automatically new technical name for all characteristics and key figures and the first technical name should be alias fr each InfoCube and InfoObject in the InfoSet.
    2) The new technical name infoSet erased my aggregation references characteristic (=calmonth)
    3) In the report the key figure cogs was aggregated for each customer sales and customers,    that means the value of cogs is not constant, when it is aggregated according to customer sales order.
    Thanks a lot for your support
    Solomon Kassaye
    Munich Germany

    Solomon find some code below for the start routine, change the fields and edit code to suit your exact structure and requirements but the logic is all there.
    4) Create a Start Routine on the transformation from sales DSO to Profit of Goods InfoCube.
    Use a lookup from the the COG DSO to populate the monthly COG field in the COG DSO.
    **Global Declaration
    TYPES: BEGIN OF I_S_COG,
    /BIC/GOODS_NUMBER TYPE /BIC/A<DSO Table name>-/BIC/GOODS_NUMBER,
    /BIC/GOODS_NAME TYPE /BIC/A<DSO Table name>-/BIC/GOODS_NAME,
    /BIC/COG TYPE /BIC/A<DSO Table name>-/BIC/COG,
    /BIC/PERIOD TYPE /BIC/A<DSO Table name>-/BIC/PERIOD,
    END OF I_S_COG.
    DATA: I_T_COG type standard table of I_S_COG,
    wa_COG like line of i_t_COG.
    *Local Declaration
    data: temp  type _ty_t_SC_1.
    *move SOURCE_PACKAGE[] to temp[].
    temp[] = SOURCE_PACKAGE.
    select /BIC/GOODS_NUMBER /BIC/GOODS_NAME /BIC/COG /BIC/PERIOD  from
    /BIC/A<DSO Table name>
    into corresponding fields of table i_t_COG for all entries in
    temp where /BIC/GOODS_NUMBER = temp-/BIC/GOODS_NUMBER.
    sort i_t_COG by /BIC/GOODS_NUMBER.
    loop at SOURCE_PACKAGE assigning <source_fields>.
    move-corresponding <source_fields> to wa.
    loop at i_t_COG into wa_COG where /BIC/GOODS_NUMBER =
    <source_fields>-/BIC/GOODS_NUMBER and /BIC/PERIOD =
    <source_fields>-/BIC/PERIOD.
    modify SOURCE_PACKAGE from wa transporting /bic/COG.
    endloop.
    endloop.
    5) Create an End Routine which calculates Profit using the formula and updates the result set with the value in the Profit column.
    Given your requirement for the profit calculation
    profit of goods = sales turn over u2013 cogs of month * sales amount
    Write a simple end routine yourself
    *Local Declaration
    loop at RESULT_PACKAGE.
    <result_fields>-profit = <result_fields>-sales turn over - <result_fields>-COG * <result_fields>-sales amount.
    modify RESULT_PACKAGE from <result_fields> transporting profit.
    endloop.
    As the above start and end routines are used to enhance your sales DSO, your fields for customer number and the sales order should already be in your DSO for drilldown.
    Let me know how you get on.

  • How to create a document on a characteristic and key figure combination?

    Hello,
    I will need to create for my customer a document on a characteristic and key figure combination. I don't know yet which BW objects will be concerned, but I'm trying to understand how it works.
    1) I call the document screen in RSA1.
    2) I select InfoProvider data.
    3) I click on Create, enter a name and a description and go to the next register (Log.DOc.Properties).
    Question: What do I need to select here?
    According to SAP Help, the following has to be maintained:
    InfoProvider: How can I get my cube diplayed in the list?
    Query: Same question. But is it necessary to select a query?
    Key Figure: OK
    All characteristics for which the Characteristic is Document Property indicator is set: OK
    Hide Name: OK
    Thanks in advance for you help, Nathalie

    There's a link on the main support.mozilla.org page under "Customizing Firefox", to this article: [[How do I customize the toolbars?]] in case it helps you or anyone else finding this topic. It has a section on adding a new toolbar to Firefox.
    I can't help you on creating your own button, textfield and a combo box for the new toolbar but I see you (Dinesh) asked this question on Jan 5, here:
    http://groups.google.com/group/mozilla-labs-jetpack/browse_thread/thread/0d877e5afcbfe745# ''how to create a toolbar using add on sdk''

  • Selection on Global Calculated Key Figure problem

    Hi all,
    I've got a Calculated key figure, made up of 2 key figures and 2 restricted key figures, saved to a homogenous multiprovider (Customer Sales).  this works fine as is. 
    However, when you create a selection in BEx QD, that limits the CKF further by Distribution channel, and view the result, the result seems to be multiplied by a value to the effect of 2.8???
    If you view the CKF by itself its fine (though not limited to what it needs to be).
    As an example.
    Say sales for a distribution channel was 1 million dollars.  Sales overall was 2 million dollars.  If i drag in my CKF (and have NO characteristics), it comes up with 2 million dollars.
    If i limit it to 1 sales office, no issues, I get that sales office's value.  However, if i limit it to a distribution channel, i get roughly 2.8 million dollars.
    Any ideas?  I can't see the logic in this.  Perhaps someone knows of the issue/has seen a note or something regarding this, cos its got me scratchin my head?
    Cheers

    Hi Pierre,
    I appreciate the fast reply.  This thing is driving me nuts!
    Ok so when you refer to the CKF are you referring to the global CKF on the multiprovider or the CKF i have on the report that is restricted (basically a local RKF)?
    I've had a look through there and have found the calculation tab, but can't really say i've found "Calculate according to current formula".
    What i see are:
    a dropdown list headed "calculate results as..." (nothing defined)
    another dropdown list called "calculate Single Values as..."  (nothing defined)
    a tick box called cumulated (unticked)
    another tickbox called "also apply to results" (unticked)
    another dropdown listbox called "calculation direction" (default setting)
    Underneath all that is a tickbox called "use precalculated value" (unticked).
    is it something under all that that i need to change?
    Do i change the global CKF or the local RKF?
    Thanks for the assist.

  • Available characteristics and key figures in drilldown reports

    Hi,
    I'm wondering which table /structure defines what characteristics and key figures are available for drilldown reports (eg. G/L), and if it is possible to add new chars/key figs.
    I reckon there must be a structure resembling Report Painter libraries, where you can select fields from a reporting table. I just can't find that structure anywhere.
    Any help is appreciated.
    Best regards,
    Jarkko Kuusisto

    For GL the menu path is Financial accounting-general ledger accounting-G/L accounts-Line items-line item display.
    Here you select the way the line item display is set up. Also you can select the fields you want and additional fields as well. Some tcodes range from O7F1 and O7FE.
    This varies by module but is generally in the line item or information systems section in configuration.
    Go to GR21 and drop down the tables and you can see all the tables availble for report painter.
    You can add tables to report painter in sm30 in table T804A. That makes it availble for report painter.
    please assign points. It is appreciated.

  • How to create a new Characteristic and  Key figure ?

    Hi !
    I am newly trying to learn APO DP and Could anyone please explain how to create a new Characteristic and Key figure in Demand Planning Administrator workbench[ RSA1] with steps?

    Hi,
    Instead of RSA1, use RSD1 to create Characteristics & Key figure.
    1. Go to transaction, select radio button for respective info object i mean Char ot key fig.
    2. Enter name of the same & click on create transaction.
    3. Suppose it will ask for APO or BW then select APO for key fig. so some new functionality come in to key fig. like key fig. fixing etc.
    4. always copy new key fig. or characteristics from standard.
    5. after creation activate the key figure.
    Hope this steps will help you to create Char. & key fig.
    Regards
    Sujay

  • Restricted Key Figure and : Change Variable in WAD

    Hi everybody,
    I have a restricted key figure in my query, which is restricting all sales volumes of a product by time variable.
    I am using this restricted key figure instead of a real filter on the whole query because I have to view the total volume of this product and the volume in this year.
    This works very well, but I have no possibility to change the value of the time variable in the restricted key figure in WAD by a generic navigation block.
    How can i do this?
    Thanks,
    Alex

    Hi...
    The Web item Generic Navigation Block displays the navigational state of a query view in the Web application in the form of a table. All characteristics and structures in the query view are listed in the table and their filter values are displayed. You can change the navigational status of the query view. You can filter according to single values and remove the filter again.
    You want to see the results in tabular form and to be able to navigate
    through those results using key figures and characteristics.
    1. From the Start menu, open the Web Application Designer and start the Web
    Application Wizard
    a) Choose Start &#8594; Programs &#8594; Business Explorer &#8594; Web Application
    Designer &#8594; Tools &#8594; Wizard.
    Choose Next to skip the start page.
    2. Select the Generic Navigation Block item and accept the default settings for
    this item.
    a) In the Select Web Item dialog box, choose Standard Items &#8594; Generic
    Navigation Block, then select Next to transfer the item into your Web
    template.
    3. Assign the query Customers/Sales  as a Data Provider
    to the Generic Navigation Block web item. After assigning the Data Provider,
    accept the default values for the item attributes.
    a) Choose Query.
    b) The Open Query / View dialog box appears.
    From the Roles, select the query for Reporting&#8594; Unit: BEx
    Web Application Designer &#8594; Lesson: BEx Web Application Wizard &#8594;
    Exercise &#8594; Customers/Sales .
    Choose OK. The dialog box closes and you return to the Web application
    Wizard. Choose Next to reach the Edit Attributes dialog box. Since you
    want to accept the default properties of the item, choose Next.
    c) In the Overview dialog box, you see all the items you have selected so far.
    Add the Table Web item to your Web template and accept the suggested settings
    for this item.
    a) In the Overview dialog box, choose Add Item to add an additional item to
    your Web template. In the Select Web Item dialog box, select Standard
    Item &#8594; Table.
    Choose Next in order to transfer the item into your Web template.
    5. Assign the same Data Provider to this item as you did for the Navigation Block.
    Accept all the default settings for this item. Arrange the Web template to have
    the Generic Navigation Block before the Table.
    a) Both items in the Web template use the same Data Provider. Therefore, you
    can use the same entries for this item. Choose Next.
    b) Leave the properties of the table item unchanged. Skip over the Edit
    Attributes dialog box by choosing Next.
    c) Both Web items now appear in the Overview dialog box. Change the
    sequence of the two web items so that the Web template starts with the
    Generic Navigation Block. Use the up and down arrow icons to move your
    web items. Choose Next.
    6. Save the Web template.
    a) You do not have to make any entries in the Save Web Template dialog box.
    Choose Save to save your Web template.
    Save the newly-created Web template in your Favorites.
    give Description: ..................
    give Technical name: ...........
    7. Display the Web template in the browser.
    a) Choose Display theWeb template in theWeb browser .
    8. Exit the Web Application Wizard.
    a) Choose Exit. The Wizard window closes and the Web template is opened
    in the Web Application Designer where you can make additional edits
    as required.
    with regards,
    hari kv

Maybe you are looking for