Is it Possible to select KF's dynamically in BEx ?

Hello BI Gurus,
Is it possible to dynamically select the KF for the columns in BEx ?
I'm sure I would be sounding vague with the abouve question.
Let me explain the scenario below.
I have a specific requirement where I have Year in the rows and 5 KF's in the columns.
The columns are basically a restriction on the sum of one KF value to current year, uptil curryr-1, curr yr-2, etc.
Year | KF Value till Curr Yr | KF Value till Curr Yr-1 | KF Value till Curr Yr-2 | ...
Now as per the requirement, when the user selects one particular Characteristics for the Year, he needs to see a particular KF restricted as mentioned above in the columns.
And when he selects another Characteristics for the year column, he needs another KF to be displayed in the columns.
Is this possible in BEx??
If this is possible, kindly let us know how to achieve the same.
Thanks And Regards,
Anoop P

Hi Anoop,
Check if this makes sense to you.
Create your key figure for ytd in one key figure structure in column.
Create another characteristic structure which has calendar year characteristic under the key figure structure.
(ie we are trying to drill across by calendar year characteristic).
If the selection is made from 2007 to 2009,  then the report layout would be as shown below.
....................................KF ytd............................
2007...........................2008....................2009
val till date................val till date
in 2007.....................in 2008........
Create your user input variable on characteristic calendar year.
Performance wise, this would be better than using CKF/RKF
Note - We are not restricting calendar year in key figure.
Hope it helps,
Best regards,
Sunmit.

Similar Messages

  • Absolute dynamic select query with dynamic join and where

    Has anyone ever tried creating an absolutely dynamic SELECT query with dynamic Join and Where conditions.
    I have a requirement of creating such a query in an Utility Class, and i have written the code. But its throwing my sysntax errors.
    Please let me know where am I going wrong OR is it really possible to create such a dynamic Query??
        SELECT (FIELDS) INTO TABLE IT_TABLES
          FROM ( (ME->TABLE1)  inner join ( me->table2 )
          on ( on_condition ) )
          WHERE (me->where_fields).
    Ags.

    It worked for me in a following way:
    select * into corresponding fields of table <result_table>
            from (join_string)
            where (l_where).
    Where the contents of join_string were dynamically build using concatenation. So it will be something like
    concatenate ME->TABLE1 'as a INNER JOIN' me->table2 'as b ON (' into join_string separated by space.
    <...>
    add here matching/reference colums, something like
    concatenate 'a~' me->TABLE1_JOIN_COL into temp1.
    concatenate 'b~' me->TABLE2_JOIN_COL into temp2.
    concatenate join_string temp1 '=' temp2 into join_string separated by space.
    <...>
    concatenate join_string ')' into join_string separated by space.
    And then use similar approach for l_where variable.

  • How to create a condition based on a select that retrieve dynamically a LOV

    Hi all, I need to create a condition based on a select that retrieve dynamically a LOV.
    So, the condition have to be:
    inventory_item_id NOT IN (SELECT inventory_item_id FROM apps.mtl_system_items_kfv WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV')
    I need to create a LOV based on this select without making any join with the folder which contains the field inventory_item_id, because otherwise I have the contradiction:
    and o124757.INVENTORY_ITEM_ID = o118741.INVENTORY_ITEM_ID -- join between the main custom folder (o118741) and the LOV custom folder (o124757)
    and o118741.INVENTORY_ITEM_ID NOT IN (o124757.INVENTORY_ITEM_ID) -- condition
    These two condition together don't show any data, obviously....This means also, that I can't use a calculated field, because if I want to see this field, I have to create a join, another time, with the main custom folder.
    I tried to create a LOV on the Administrator, but when I create the condition I have to check manually the values....and if in the future this LOV will increase I need every time to re-check all the values.....instead I need that the inventory_item_id have to be NOT IN dinamically in the list of values retrieved by the select.
    Anybody has inplemented something similar ??
    Thanks in advance
    Alex

    Hi alex,
    SELECT incidents.INVENTORY_ITEM_ID,
    pcodes.PROBLEM_NAME
    FROM apps.cs_incidents_all_b incidents,apps.jtf_rs_problem_codes_v pcodes
    WHERE incidents.category_id IN (SELECT category_id
    FROM mtl_categories_kfv
    WHERE concatenated_segments = 'IPTV')
    AND incidents.PROBLEM_CODE = pcodes.PROBLEM_CODE
    where incidents.INVENTORY_ITEM_ID NOT IN SELECT inventory_item_id
    FROM apps.mtl_system_items_kfv
    WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV'
    You want to add this condition to the first query it holds good for this scenerio.All the items which are NOT IN will be retrieved.Here you are selecting other than "General_faults_iptv"
    But again your trying to select in the second query where you want "General_faults_iptv"
    SELECT inventory_item_id
    FROM apps.mtl_system_items_kfv
    WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV'
    If you carefully go through what your doing,you will understand.In the above explantion ,there will be no records generated.First query your saying NOT IN and again your saying for the same IN,how will records retrieve its meaningless.
    I dont know what you want to get from second query.I would suggest you to do is dont use the second query and just use the first query and you will get.Here is the query and this will give you result.
    SELECT incidents.INVENTORY_ITEM_ID,
    pcodes.PROBLEM_NAME
    FROM apps.cs_incidents_all_b incidents,apps.jtf_rs_problem_codes_v pcodes
    WHERE incidents.category_id IN (SELECT category_id
    FROM mtl_categories_kfv
    WHERE concatenated_segments = 'IPTV')
    AND incidents.PROBLEM_CODE = pcodes.PROBLEM_CODE
    AND incidents.INVENTORY_ITEM_ID NOT IN SELECT inventory_item_id
    FROM apps.mtl_system_items_kfv
    WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV'
    Regards,
    Kranthi.

  • How can a classic report be filtered using one select item and dynamic action?

    APEX 4.2.1
    DB 11g
    I have a page with 4 reports on it.  The top report is an interactive report and the following 3 are classic reports.  The users would like to be able to use a select list to filter the 3rd report by PO line number without refreshing the entire page.
    After verifying that the report is set to allow partial refreshes, I took the following steps
    1.  Created a PO Line select item (p_po_line_select) in the same report region
    2.  Added p_po_line_select to the report query
    3.  Created a dynamic action on p_po_line_select with 2 true actions
         1.  Set value (p_po_line_select)
         2.  Refresh report region.
    The Set Value dynamic step was not working; I would get an out of memory error at line 2, memory stack error, or the value did not get saved to session state depending on the settings I selected.  I was able to get it working with the following set:
    1.  Action = Set Value
    2.  Set type = PL/SQL Expression
    3.  PL/SQL Expression = :p_field_does_not_exist
    4.   Page items to submit = blank
    5.  Selection Type = Item(s)
    6.  Item(s) = p_field_does_not_exist
    p_field_does_not_exist does not exist as a page or application item which leads me to believe that this is a bug and I am just lucky that it worked.  I would rather know how to do this properly.  Can someone please provide a link to a working example of how this should be done or state which settings are wrong?
    I was able to reproduce the issue in the following app
    http://apex.oracle.com/pls/apex/f?p=4500:1000
    workspace = occam
    user  test/apex1
    Thanks,

    STOP POSTING DUPLICATE THREADS.
    If you have additional information, continue the discussion by posting it as a follow-up on the original thread: What is the proper way to filter classic report using just an LOV select field with dynamic action?

  • How to append new field in select clause of dynamic VO through CO

    I have dynamic VO "FaoWorkPerObjPerfRatingsVO" in controlloer below:
    public class FaoWorkApprObjectivesCO extends ApprObjectivesCO
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    OAApplicationModule oam = oapagecontext.getApplicationModule(oawebbean);
    oracle.apps.fnd.framework.server.OADBTransaction oadbtransaction = oam.getOADBTransaction();
    OAViewObject oav = (OAViewObject)oam.findViewObject("FaoWorkPerObjPerfRatingsVO");
    if(oav != null)
    System.out.println("FAO Found VO PerObjPerfRatingsVO for ObjectivesAM. This means we have re-entered the page");
    } else
    oav = (OAViewObject)oam.createViewObject("FaoWorkPerObjPerfRatingsVO", "oracle.apps.per.selfservice.objectives.server.PerObjPerfRatingsVO");
    How can I append 2 new fields are MULTIRATERS_AVERAGE and COUNT_MULTIRATERS as statement below in select clause of dynamic VO above (FaoWorkPerObjPerfRatingsVO)
    fao_pems_utility.AVG_STEP_VALUE(fao_pems_utility.GET_APPRAISAL_ID(PCE.ASSESSMENT_ID),
    'MULTIRATER',
    Null,
    PCE.COMPETENCE_ID) MULTIRATERS_AVERAGE,
    fao_pems_utility.COUNT_RATINGS(Null,
    Null,
    fao_pems_utility.GET_APPRAISAL_ID(PCE.ASSESSMENT_ID),
    PCE.COMPETENCE_ID,
    Null,
    'MULTIRATER',
    Null) || ' out of ' ||
    (fao_pems_utility.HOW_MANY_RATING(fao_pems_utility.GET_APPRAISAL_ID(PCE.ASSESSMENT_ID),
    'GROUPAPPRAISER') +
    fao_pems_utility.HOW_MANY_RATING(fao_pems_utility.GET_APPRAISAL_ID(PCE.ASSESSMENT_ID),
    'REVIEWER')) COUNT_MULTIRATERS
    Thank you very much.

    Hi
    My VO is VO Extension below. In the seeded VO (oracle.apps.per.selfservice.objectives.server.PerObjPerfRatingsVO) doesn't include 2 fields that I want to add in VO.
    oav = (OAViewObject)oam.createViewObject("FaoWorkPerObjPerfRatingsVO", "oracle.apps.per.selfservice.objectives.server.PerObjPerfRatingsVO");
    Could you please provide me the coding to append 2 new fields in VO Extension approach. I would like to append them in select clause.
    Thank you.

  • I used to give my photo's keywords. Most of the time I have several photo's for the same keyword and it was possible to select all those photo's and give them the keyword in one move. Since of few weeks I can't do that anymore and I find it very annoying.

    I used to give my photo's keywords. Most of the time I have several photo's for the same keyword and it was possible to select all those photo's and give them the keyword in one move. Since of few weeks I can't do that anymore and it's very annoying. What can I do to get back to the former situation?

    . Since of few weeks I can't do that anymore and it's very annoying. What can I do to get back to the former situation?
    Check, if you have the "Primary Only" option enabled. Then keywords will only be applied to the "Primary Image":
    See:                  Keywords or ratings are applied only to one of the selected images - why?
    Uncheck the little square button with the "1".

  • Need to disable one of the select-options in dynamic selection screen

    Hi,
    we have copied the Standard program: RFDOPR00 into Z, my requirement is to disable one of the select-options in dynamic selection screen for ex: Reason code(User shouldnot able to enter anything in it).
    Can anyone please tell me the procedure to do it... I had tried using at selection-screen but it doesnt work as it in 'LOOP AT SCREEN', i am not able to capture the Parameter name(screen-name).
    Thanks,
    Ravi

    Hi,
    Get inside your selection screen, by executing your program.
    Now type /h in the field where you enter transaction code and press enter.
    Now again press enter, this will take you debugger starting from your Selection screen.
    You might be knowing this, still if you are not aware of this, this might be a valuable tip.
    From here , you can trace your Parameter name.

  • Is it possible to select multiple clips and create a sequence from each individually?

    Is it possible to select multiple clips and create a sequence from each individually?  If you select multiple clips and select "New Sequence from Clip" it puts all of the clips into one sequence.  Is there an easy way to quickly perform this on multiple selected clips separately? 

    So now I *have* used Butler with PPro, and it works very well, here's an idea of how to do it:
    Import folder of clips
    Ensure first clip selected in bin and sorted by Media Type
    Most of these commands need shortcuts assigning - mine listed below
    Macro:
    To create seq from selected clip:
      ‘New seq from clip’ (Shift+CMD+N)
    To duplicate this seq:
      ‘Reveal Sequence in project’ (Shift+F) - not strictly necessary as it will already be selected
      ‘Window | Project’ (CMD+9)
      ‘Edit | Duplicate’ (Shift+CMD+/)
    To rename the duplicate
      ‘Enter’
      Various keystrokes to rename as required
      ‘Enter’ - to make name stick
      ‘Shift+Enter’ - to reselect that sequence
      ‘Esc’ - to get out of editing name
    To change resolution of duplicate:
      ‘Sequence Settings’ (CMD+5)
      ‘Tab’ x 3 (to get to H Frame Size)
      ‘xxxx’ (to enter frame width)
      ‘Tab’ x 1 (to get to V Frame Size)
      ‘yyyy’ (to enter frame height
      ‘Enter’ x 2 as prompt will say previews will have to be deleted
    To then find next clip ready for macro to run again:
      ‘Open in Timeline’ (Shift+CMD+O)
      ‘Match Frame’ (Shift+Spacebar)
      ‘Reveal in Project’ (Shift+CMD+F)
      ‘Window | Project’ (CMD+9)
      ‘Down Arrow’ - to select next clip
    I tried it with Butler (manytricks.com - free trial, $20 to buy) and it worked a treat, takes about 3 secs per clip
    AHK (for windows) is at autohotkeys.com and is free.
    You could start making multiple macros - that would enable you to do grade / resize in middle of duplication - and then export etc, but I figure you can figure that out ;-)

  • Dynamic select query with dynamic where condition

    Hi all,
    I want to use the dynamic select query with dynamic where condition. For that I used the below code but I am getting dump when using this code.
    Please advice, if there is any other way to achieve this requirement.
    Thanks,
    Sanket Sethi
    Code***************
    PARAMETERS: p_tabnam      TYPE tabname,
                p_selfl1      TYPE edpline,
                p_value       TYPE edpline,
                p_where1      TYPE edpline .
    DATA: lt_where    TYPE TABLE OF edpline,
          lt_sel_list TYPE TABLE OF edpline,
          l_wa_name   TYPE string,
          ls_where    TYPE edpline,
          l_having    TYPE string,
          dref        TYPE REF TO data,
          itab_type   TYPE REF TO cl_abap_tabledescr,
          struct_type TYPE REF TO cl_abap_structdescr,
          elem_type   TYPE REF TO cl_abap_elemdescr,
          comp_tab    TYPE cl_abap_structdescr=>component_table,
          comp_fld    TYPE cl_abap_structdescr=>component.
    TYPES: f_count TYPE i.
    FIELD-SYMBOLS : <lt_outtab> TYPE ANY TABLE,
    *                <ls_outtab> TYPE ANY,
                    <l_fld> TYPE ANY.
    struct_type ?= cl_abap_typedescr=>describe_by_name( p_tabnam ).
    elem_type   ?= cl_abap_elemdescr=>describe_by_name( 'F_COUNT' ).
    comp_tab = struct_type->get_components( ).
    comp_fld-name = 'F_COUNT'.
    comp_fld-type = elem_type.
    APPEND comp_fld TO comp_tab.
    struct_type = cl_abap_structdescr=>create( comp_tab ).
    itab_type   = cl_abap_tabledescr=>create( struct_type ).
    l_wa_name = 'l_WA'.
    CREATE DATA dref TYPE HANDLE itab_type.
    ASSIGN dref->* TO <lt_outtab>.
    *CREATE DATA dref TYPE HANDLE struct_type.
    *ASSIGN dref->* TO <ls_outtab>.
    * Creation of the selection fields
    APPEND p_selfl1 TO lt_sel_list.
    APPEND 'COUNT(*) AS F_COUNT' TO lt_sel_list.
    ** Creation of the "where" clause
    *CONCATENATE p_selfl1 '= '' p_value ''.'
    *            INTO ls_where
    *            SEPARATED BY space.
    *APPEND ls_where TO lt_where.
    * Creation of the "where" clause
    APPEND p_where1 TO lt_where.
    * Creation of the "having" clause
    l_having = 'count(*) >= 1'.
    * THE dynamic select
    SELECT          (lt_sel_list)
           FROM     (p_tabnam)
           INTO CORRESPONDING FIELDS OF TABLE <lt_outtab>.
    *       WHERE    (lt_where).

    Hi Sanket,
    The above given logic of mine works for you, put the code in the If condition and try-
    just like below:
    IF NOT P_EBELN IS INITIAL.
    lt_where = '& = ''&'' '.
    REPLACE '&' WITH p_ebeln INTO lt_where.
    REPLACE '&' WITH field_value INTO lt_where.
    SELECT (lt_sel_list) INTO CORRESPONDING FIELDS OF TABLE <lt_outtab>
    FROM (p_tabnam)
    WHERE (lt_where).
    ENDIF.
    thanks\
    Mahesh

  • IS IT POSSIBLE TO SELECT 3 OR 4 FAVOURITE PERSONAS AND THEY APPEAR RANDOMLY WHEN YOU OPEN FIRFOX. THANK YOU KAY

    hi....I like so many of your personas I would like to know if it possible to select 3 or 4 personas and then have them appear randomly when you open
    firefox. Thank you Kay

    See this extension - https://addons.mozilla.org/en-US/firefox/addon/personas-rotator/

  • When using AirPrint is it possible to select double sided printing

    I am trying to use AirPrint to print from the Pages app on iPad Air running IOS 8.1.1. Is it possible to select any of the printer options, such as double-sided printing, when doing this?
    Many thanks

    Once you start to print using AirPrint, a display appears where you select the printer and options. Presumably the HP is your only AirPrint printer (as the Epson is mine). On that same screen, I can select the number of copies, and I also see an on/off slider for "Double Sided".

  • Is it possible to selectively block re-explode BOM in Sub-contracting PO ?

    In our business scenario, sometimes we are directly adding PO components in the Sub-contracting PO in addition to the existing components that have come in through BOM. After saving and somedays later when the user goes to edit PO through ME22N, since the components button & re-explode BOM button are very close, users by mistake press re-explode BOm and also save the PO. The directly added components go out and hence not consumed while GR. Is it possible to selectively block the re-explode BOM  through PO user exit or any other method?

    Some amount of user training should help.
    If not discuss with your abaper if badi - ME_PROCESS_PO_CUST can be used or you can find user exits with a search using MM06E*

  • Is it possible to select a selection?

    I know the question sounds weird but I couldn't think of a better way of describing what I want.
    I'm setting up an Action in which I want to crop a series of images to a selection rectangle. I fool around with the position and size of the selection for several minutes before I'm happy with it, as well as doing several other things. I'd rather not record all that stuff in the action.
    Given that I have a selection in front of me that is the one I want, can I tell the Action: "Now listen here, this is the selection I want you to make". If I record the Action, with the selection active, and then crop to that selection, when I run the Action it says "No selection made."
    So, while recording an Action is it possible to select a selection that is already there?

    Thanks, Willi, for the suggestion. But I couldn't get it to work inside an Action. I recorded Save Selection as part of an action, but of course, it saves the selection to that particular file. When the Action is run on a folder full of images, the Action comes to a halt because the saved selection is only in a certain image, and the Action doesn't know how to access it in an image that is not currently being processed.
    I doubt whether a PS Action can save a selection as part of the action. Probably an oversight on the programmers part. The closest I could get was to record an Insert Menu Item, the menu item being Select All.
    The interesting thing is: the scenario works when recording the Action. I set the selection, then start recording my actions – the crop and save and whatever – and it works. The image is cropped and saved. But when played back as an Action, the settings for that particular selection are not stored in the Action. And they should be. It would be quite easy to record the co-ordinates of the selection as part of the Action (X-Y co-ordinates of the four corners), but PS hasn't been set up to do it – as far as I can tell. The problem would be: the selection would only be valid for images of exactly the same size.

  • Creating an index: it's not possible to select a tablespace for the index

    Hi,
    we are using SQL-Developer Version 3.0.04.
    When creating an index it's not possible to select a tablespace for the index. The only choice which is offered by SQL-Developer is <DEFAULT>.
    The user itself has privileges on several other tablespaces - and therefore not just only on the default tablespace of the user.
    Any help will be appreciated
    Rgds
    JH

    Hi JH,
    Well, the capability is somewhat buried in the UI, but it is there.
    In the Create Index dialog ...
    1. Tick the "Advanced" check-box in the upper right-hand corner.
    2. Select "Properties" from the left-hand list (Definition, Properties, Partitions, DDL).
    3. Click the Storage Options... button
    4. Use the drop-down list to select the desired tablespace.
    Return to (2.) and select DDL to see that your tablespace choice is present.
    Regards,
    Gary
    SQL Developer Team
    Edited by: Gary Graham on Mar 7, 2012 5:06 PM
    And if all you see in the drop-down list is <DEFAULT>, then I would suggest rechecking the user's privileges. Or provide more details about your environment: OS / Database / JDK version, and so on.

  • POSSIBLE TO SELECT SPECIFIC APPLICATIONS WITH MIGRATION ASSISTANT?

    Is it possible to select specific applications to transfer from a Powerbook to an iMac? So far I've only found the given option, which imports the entire folder.
    Thanks for helping.

    http://discussions.apple.com/thread.jspa?threadID=1876275&tstart=0
    That question was answered not more than an hour ago...

Maybe you are looking for