Key figure in selection screen

Hi
Is there a way where we can have a keyfigure as selection. Meaning when i open or refresh a query it should promt me to enter the Keyfigure value.Also let me know if it is not pssible
Thanks a lot
Sheetal

Hi Sheetal
As per my knowledge we can give the Key figure for variable entry.
How ever we can higlight or restrict the key figures.
just have a look @ the following URL
<u><b><a href="http://help.sap.com/saphelp_nw70/helpdata/en/cf/579b3c494d8e15e10000000a114084/frameset.htm">VARIABLE TYPES</a></b></u>
Hope itz Helps..!
Regards
R M K
**Winners don't do different things,They do things differently...!**
> Hi
>
> Is there a way where we can have a keyfigure as
> selection. Meaning when i open or refresh a query it
> should promt me to enter the Keyfigure value.Also
>  let me know if it is not pssible
>
> Thanks a lot
> Sheetal

Similar Messages

  • Mandatory Variable in Key Figure(new selection) does not give Input Screen

    Hi,
    I have created a query based on a Multiprovider, which uses 0FIGL_C10 & one target DSO.
    In colums I was trying to create one new selection type key figure using 0BALANCE infoobject, restricted it by 0FISCYEAR using one mandatory variable. When I am executing this query fiscal year variable is not asking for any value as input.
    Being it a mandatory variable it should ask for some input, which is not happening.
    Please suggest if I am missing something here or there is some problem with the SAP.
    Regards,
    Lokesh Kumar
    +91 9871097220

    Only making a variable mandatory will not make it input enabled...it should be also " Variable ready for input" then only you will get input screen.
    Rgds
    Amit

  • Display key in the selection screen and Key & Text in the report

    Hi,
    For the infoobject in the query,
    In the variable selection screen When i want to select any value it should display only key, and in the report i want to display key and text of that infoobject.
    Is it possible?
    Thanks
    Rani

    Hi
    Display As
    Here you determine whether and in what format the individual characteristic values of the characteristic are presented:
    ·        (Standard): The standard display type for characteristic values corresponds to the setting in InfoObject maintenance under Tab Page: Business Explorer.
    ·        No Display: The characteristic display is hidden. This function is useful, for example, with the currency/unit characteristic as the currencies are also shown in the key figures.
    ·        Key and Text: The characteristic values are displayed by their technical key and text.
    ·        Text: The characteristic values are displayed by their text.
    ·        Key: The characteristic values are displayed by their technical key.
    ·        Text and Key: The characteristic values are displayed by their text and technical key.
    In the dropdown box below, you can select the type of text you want to use if you set a display type that contains text. The following options are available:
    ·        Standard: The shortest available text for the characteristic values is used as the text.
    ·        Short text: The short text for the characteristic values is used as the text.
    ·        Long text: The long text for the characteristic values is used as the text.
    ·        Medium text: The medium text for the characteristic values is used as the text.

  • Key Figures in variable screen, to limit start up key figures

    Dear experts,
    This is BI 7 and the report / query is in portal.
    my query has 40 key figures. 5 is shown and 35 are hidden but can be shown.
    The user request that they can use a selection screen to pick up which key figures they want when the reports are executed. 5 keyfigures that I defined are considered "static" and each users has their own "set of key figures".
    So I need flexibility to give users option, that they can "preselected" some key figures before they executed the report.
    Many thanks and points will be awarded like usual.
    Regards,
    BWAS.

    Hi,
    That helps but is there any other way ?
    I directly publish my query to portal, then from PCD I assigned to a given role. I don't use WAD ...
    Many thanks anyway ...
    I still wait for other valuable inputs ...
    BWAS

  • Restricted Key Figure (Maximum Selection)

    HI ,
    I need to populate a field  to compute by order group.
    I have created a restricted key figure with Value and Order ( Constant Selection).
    Apart from Order, i need to drag drop many other characteristic fields from BEX-Row into this RKF and define it as Constant Selection. This will help me to compute the value by order group.
    Max charateristic that i can drag drop within a RKF is abt 15.
    Is there a limit to this?
    Appreciate input from anyone who is familiar with this.
    Thank you.
    Regards,
    Maili

    HI Maili,
    I dont think there is restriction on the number of Char that can be included for restriction while creating a Restricted KF ,
    Please do let know if there is any problem
    Regards,
    Sathya

  • 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

  • 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

  • Restricting key figures

    Hello Experts,
    I am trying to restrict a key figure by a master data value. This value exists in master data but not in transaction data in the cube. When I try to restrict by this value on a key figure, the selectable restriction values do not show this value as a selection. I think its due to it not in cube transaction data. But does this mean its not possible to have a keyfigure restricted to master data values not found in fact table? I need this be done so that in future loads, when transaction data containing/refering to this master data value is loaded can be shown in the columns. That means, even if now, there is no transaction data containing this value, I still want to show the column as blank.
    Pls throw me some hints.
    Thank you.
    Regards,
    Pascal Gabin

    Hello,
    I checked the infoobject and its BEx settings for query definition & execution filter value selections are all set to values in master data. Also, the filter section / selection condition screen, in the query definition, shows that 'only values in infoprovider' is not selected.
    Yet, I could not restrict to all of the values.
    I had reactivated the infoobject and there was no change run detected by system. So, I am not sure if I am missing something. Yes, I have experienced restricting by values in master data before but in this case, I cannot.
    Regards,
    Pascal Gabin

  • Tooltip on pushbutton on alv report selection screen

    Hi Experts,
    I have a selection screen with two pushbuttons i want to provide tooltip on this button when user takes his cursor on it .. some part of my code
    Selection screen:
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(20) text-t02 FOR FIELD p_info.
    PARAMETERS: p_info TYPE string.
    SELECTION-SCREEN: PUSHBUTTON 68(10) but1 USER-COMMAND cli1.
    SELECTION-SCREEN : END OF LINE.
    PARAMETERS:      r_exe_im  RADIOBUTTON GROUP rb1.
    PARAMETERS:      r_st  RADIOBUTTON GROUP rb1.
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN: PUSHBUTTON /1(20) exec1 USER-COMMAND cli2.
    SELECTION-SCREEN: FUNCTION KEY 1.
    SELECTION-SCREEN END OF BLOCK b1.
    please tell me on these selection fields how to display tool tip.
    Thanks and regards,
    Roshan.

    Hi,
    After completing your executable program in SE38, activate it and goto SE51(Screen painter).
    Here give the name of your program and screen number as 1000.
    Click on Change.
    Goto Element List Tab.
    Here you will find all your elements from your program.
    Select the required element and click on Properties.
    Here you will find a Tooltip Text property. Click on the button 'Text' of this property.
    You will be given 2 options 1) Text from Text element 2) Text from Variable
    Enter as per requirement
    Save and Activate.
    Hope this will be useful
    Regards
    Bhupal

  • Problem while hide a block on selection screen on button press

    Hi,
    I have added two buttons on the application toolbar of the selection screen. I have input fields under two blocks on the selection-screen. Initially the second block is hidden. If I press the button 1 the second block should be made visible.
    For this to happen, I captured the button 1 click event using the following statement.
    IF sscrfields-ucomm = 'FC01'.
    Inside the if ... endif, I looped at the screen and made the second block visible. It was working fine.
    loop at screen.
      if screen-group4 = '013'.
         screen-invisible = 1.
         screen-active    = 0.
      endif.
    endloop.
    Later the second button was added. Now when i run the report for the first time, if button 2 is clicked the hidden block appears on the selection screen even though i have not added any code for it.
    Just to check, i commented the logic to display the hidden block on button 1 click event. Even without any code the first time i press any of the two buttons added on the application toolbar the hidden block is displayed.
    I saved a variant for the report.
    During execution of the report, if i select any variant then the hidden block is displayed.
    Can anyone please tell me how to fix this problem.
    Regards,
    T2.

    Hi All,
    The problem is solved.
    Everyone was confusing between the pushbutton on the selectio-screen and on apllication toolbar
    (where you have the execute icon).
    Please find the code below. Thanks for you time and help. I appreciate it.
    REPORT ztest.
    INCLUDE <icon>.
    *  TABLES                                                              *
    TABLES: t001,              " Company Codes
            lfa1,              " Vendor Master (General Section)
            sscrfields.        " Fields on selection screens
    * To capture button press event.
    DATA: gv_button_press       TYPE c.
    * Menu Painter: Program interface for dynamic texts
    DATA: gs_dyntxt             TYPE smp_dyntxt.
    *  SELECTION SCREEN                                                    *
    SELECTION-SCREEN FUNCTION KEY 1.
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-s01.
    * Company Code.
    SELECTION-SCREEN BEGIN OF BLOCK ccode WITH FRAME TITLE text-s02.
    SELECT-OPTIONS: s_bukrs FOR t001-bukrs OBLIGATORY MEMORY ID buk.
    SELECTION-SCREEN END OF BLOCK ccode.
    SELECTION-SCREEN END OF BLOCK blk1.
    SELECTION-SCREEN BEGIN OF BLOCK dsel WITH FRAME TITLE text-s04.
    * Vendor Master.
    SELECTION-SCREEN BEGIN OF BLOCK vend WITH FRAME TITLE text-s07.
    SELECT-OPTIONS: s_konzs FOR lfa1-konzs MODIF ID aw1.
    SELECT-OPTIONS: s_txcd1 FOR lfa1-stcd1 MODIF ID aw1.
    SELECT-OPTIONS: s_txcd2 FOR lfa1-stcd2 MODIF ID aw1.
    SELECTION-SCREEN END OF BLOCK vend.
    SELECTION-SCREEN END OF BLOCK dsel.
    * INITIALIZATION                                                       *
    INITIALIZATION.
    * Populate the Application toolbar button attributes.
      PERFORM populate_app_toolbar_buttons.
    * Hide the dynamic screen intially.
      PERFORM hide_screenfields.
    * AT SELECTION SCREEN                                                  *
    AT SELECTION-SCREEN.
    * Capture the button press event.
      PERFORM capture_button_press.
    * AT SELECTION-SCREEN OUTPUT.                                          *
    AT SELECTION-SCREEN OUTPUT.
    * Show/Hide the dynamic selection screen based on button press.
      PERFORM adapt_screen.
    *&  Form  populate_app_toolbar_buttons                                 *
    *   Display Icon on the application toolbar buttons. Also set the      *
    *   function codes for these buttons.                                  *
    FORM populate_app_toolbar_buttons.
      CLEAR gs_dyntxt.
      WRITE icon_fencing     TO gs_dyntxt-icon_id AS ICON.
      MOVE  text-b01         TO gs_dyntxt-quickinfo.   " Dynamic Selections
      MOVE gs_dyntxt         TO sscrfields-functxt_01.
    ENDFORM.                    " populate_app_toolbar_buttons
    *&  Form  hide_screenfields                                            *
    *   Initially hide the Dynamic selection screen.                       *
    FORM hide_screenfields.
      LOOP AT SCREEN.
        IF screen-group1 = 'AW1'.
          screen-invisible = '1'.
          screen-active    = '0'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    ENDFORM.                    " hide_screenfields
    *&  Form  capture_button_press                                         *
    *   Set the flag based on button press event. Appication bar button    *
    *   tcode is available only at 'At Selection-screen' event.            *
    *   Use the captured data at 'At Selection-screen Output' event.       *
    *   Screen adjustments is possible only under this event.              *
    FORM capture_button_press.
      IF sscrfields-ucomm = 'FC01'.
        IF gv_button_press IS INITIAL.
          gv_button_press = 'X'.
        ELSEIF gv_button_press EQ 'X'.
          CLEAR gv_button_press.
        ENDIF.
      ENDIF.
    ENDFORM.                    " capture_button_press
    *&  Form  adapt_screen                                                 *
    *   Show/Hide the dynamic selection screen based on button press       *
    *   captured at 'At selection-screen' event.                           *
    FORM adapt_screen.
    * If button press flag is initial hide the dynamic selection screen.
      IF gv_button_press IS INITIAL.
        LOOP AT SCREEN.
          IF screen-group1 = 'AW1'.
            screen-invisible = '1'.
            screen-active    = '0'.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
    * Elseif button press flag is 'X' show the dynamic selection screen.
      ELSEIF gv_button_press EQ 'X'.
        LOOP AT SCREEN.
          IF screen-group1 = 'AW1'.
            screen-invisible = '0'.
            screen-active    = '1'.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " adapt_screen
    Regards,
    T2
    Message was edited by: Titu Joseph

  • Need to display TEXT in web selection screen

    HI All,
    We are working on CRM-BW  modeling. We have one field called "product" which will have key and medium text. We need to display both key + text in web reporting selection screen. When we ran first time text was not showing in web report. Then we found and change the configuration in search help in SE11 for that field. Then we can see the text+key combination in RSRT but still we can't see the text in web report selection screen...
    Now what we have to do to display text in selection screen on web...
    Please give your inputs  ASAP.....we are in UAT phase....
    Thanks in advance
    Arun

    Hi Arun,
    For you case: Display key & text in selection screen.
    In BW,
    You can go to query designer, then you'll go to the info-object belong to the variable (selection-screen : product). Right-click, find for the properties, Then you'll see the option for <b>display as</b>.
    Choose it for Key and text.
    Then save it.
    Go to the report, in the selection screen, when you're choosing for the help, you'll see the value displayed by key & text.
    Hopefully it can help you a lot.
    Regards,
    Niel
    Thanks a lot for any points you choose to assign.

  • Problem with displaying key figures in report

    Does anyone have experience with SAP Report Designer for Release 7.0. I want to display key figures in the following manner: 1'500 (Which means 1.500.000) For a billion the value displaye should be 1''000 (1.000.000.000).
    1000 =     1.000
    0'010 =     10.000
    0'100 =     100.000
    1'000 =     1.000.000
    0''010 =     10.000.000
    0''100 =     100.000.000
    1''000 =     1.000.000.000
    Thus the report always shows 4 digit figures. The problem is that I don't know how to include the apostophe as a separator for the million.
    Additionaly to that I want to have the font changed to a smaller number, if the figure is to large for the column. Is there a possibity to change the display of the figure with the scaling? And is there a possibility to change the font? These two parameters have to be decided when running the report. (The scale of the numbers can differ within one column.)

    there is two way to display the values , one is globally, where u do it the keyfigure and another way is on the query designer level
    in keyfigure go to aggregation , there u will get the number display format , u can change there and another way is in the query designer right click on the key figure and select properties and select display format

  • Trouble with Non Cumulative Key Figures

    Hi all of you,
    I am working on Non Cumlative Key Figures, (NCKF). I have the data like this
    Sales rep S100 visited SHOP S1 on 1st Jan and 10th Aug, and transacted worth         100 and 500
    SHOP S2 on 1st Mar and 1st July and transacted worth 200 and 300
    SHOP S3 on 3rd Sept. and transacted worth 400
    Sales rep S200 visited SHOP S1 on 1st Jan and 1st Aug and transacted worth 100 and 300,
    visited SHOP S2 on 1st April and transacted worth 200     
    I created Non Cumulative Key Figure in the following manners:
    In modeling in InfoObjects I double clicked on my key figure BILLAMT and selected the Aggregation tab. I selected Counter (all values) for Exception aggregat. By default Agg. Referen. Char was 0calday. I then activated the info object and went to BEx. Here I took other IOs like Salesrep, Shop NUM and Dt. Of trans in rows and Bill amt in columns and executed the report. I am not getting the output how it should come for NON cumulative key figures.
    But when I right click the key figure Bill Amount in BEx in change query mode and select properties. I go to the option Calculate result as and selected the option as “Count all values”. And in another option Calculate Single Value as I selected the option “Count all values”. I said OK, saved the query and executed it. Now the output is similar to how it comes for a Non Cumulative Key Figure query but I am unable to understand the output.
    Now my doubt is where do we set the properties for Non Cumulative Key Figures? Is it in the Administrator Workbench under Modelling under InfoObjects?
    OR
    Is it in BEx change query mode by right clicking on the key figure and selecting properties?
    Please explain.
    Thank you
    TR.

    As for the setting for Non Cumulative key figures...the default setting is done in the Key Figure properties, where u can define the Exception Aggregation. This property is used as such in the query, but if suppose u are getting the normal aggregation in the query , what you could do is "Create The Key Figure as Global Calculated Key Figure in Bex" and go to properties...click on the Button for aggregation ..select the aggregation and define with respt to 0CALDAY ..here.
    Hope this helps.

  • Click a button,a selection-screen box come out

    hi experts:
        when I click one button in the dialog screen,a selection screen come out,I can input the
    parameters.how it come true?thanks!

    this can be achieved using Sub selection screen. steps are following
    define screen fields and function keys.
    SELECTION-SCREEN FUNCTION KEY 1.
    SELECTION-SCREEN FUNCTION KEY 2.
    SELECTION-SCREEN FUNCTION KEY 3.
    define sub screen and give it a number.
    SELECTION-SCREEN BEGIN OF SCREEN 0001 AS WINDOW TITLE I000 .
    SELECTION-SCREEN BEGIN OF BLOCK L001 WITH FRAME TITLE I001 .
    PARAMETERS S001 AS CHECKBOX DEFAULT ' ' .
    PARAMETERS S002 AS CHECKBOX DEFAULT ' ' .
    PARAMETERS S003 AS CHECKBOX DEFAULT ' ' .
    PARAMETERS S004 AS CHECKBOX DEFAULT ' ' .
    PARAMETERS S005 AS CHECKBOX DEFAULT ' ' .
    PARAMETERS S006 AS CHECKBOX DEFAULT ' ' .
    PARAMETERS S007 AS CHECKBOX DEFAULT ' ' .
    SELECTION-SCREEN   END OF BLOCK L001 .
    in the At selection screen event give in the case statements your desired screen
    AT SELECTION-SCREEN.
      CASE SSCRFIELDS-UCOMM.
           WHEN 'FC01'.
          IF SY-DYNNR = 1000.
            CALL SELECTION-SCREEN 0001 .
          ELSE.
            PERFORM MARK_VARS USING 'X' 'A'.
          ENDIF.
        WHEN 'FC02'.
          IF SY-DYNNR = 1000.
            L_INTERACTIVE = RS_C_FALSE.
            SSCRFIELDS-UCOMM = 'ONLI'.
          ELSE.
    in the At selection screen ouput even give names to your function keys (Logic may be different from what i have shown)
    AT SELECTION-SCREEN OUTPUT.
      IF SY-DYNNR = 1000.
        MOVE 'Fld Selectn for Output' TO SSCRFIELDS-FUNCTXT_01.
        MOVE 'Execute in Bckgrnd' TO SSCRFIELDS-FUNCTXT_02.
        MOVE 'Execute + Debug' TO SSCRFIELDS-FUNCTXT_03.
      ELSE.
        MOVE 'Select all' TO SSCRFIELDS-FUNCTXT_01.
        MOVE 'Deselect all' TO SSCRFIELDS-FUNCTXT_02.
        MOVE 'Highlght all key figs' TO SSCRFIELDS-FUNCTXT_03.
        MOVE 'Select All Characteristics' TO SSCRFIELDS-FUNCTXT_04.
        MOVE 'Select All SID Fields' TO SSCRFIELDS-FUNCTXT_05.
      ENDIF.

  • Search help for selection screen field

    Hi ,
    steps for creating search help for a key field in selection screen..
    tables is a userdefined from which the field is taken..
    thxs,
    vind

    hi,
    c this.
    REPORT ZXYZ_0002 .
    data: dynfields type table of dynpread with header line.
    data: return type table of ddshretval with header line.
    selection-screen begin of block b1 with frame title text-001 .
    selection-screen begin of line.
    PARAMETERS: P_BUKRS type T001-BUKRS.
    selection-screen comment 30(20) BUTXT for field p_bukrs.
    selection-screen end of line.
    selection-screen end of block b1.
    at selection-screen output.
    if butxt is initial.
       select single butxt into butxt
             from t001
            where bukrs = p_bukrs.
    endif.
    at selection-screen on value-request for p_bukrs.
      call function 'F4IF_FIELD_VALUE_REQUEST'
           exporting
                tabname           = 'T001'
                fieldname         = 'BUKRS'
                dynpprog          = sy-cprog
                dynpnr            = sy-dynnr
                dynprofield       = 'P_BUKRS'
           tables
                return_tab        = return
           exceptions
                field_not_found   = 1
                no_help_for_field = 2
                inconsistent_help = 3
                no_values_found   = 4
                others            = 5.
      read table return with key fieldname = 'P_BUKRS'.
    Add it back to the dynpro.
      dynfields-fieldname = return-retfield.
      dynfields-fieldvalue =  return-fieldval.
      append dynfields.
    Get the company code from db and add to dynpro
      data: xt001 type t001.
      clear xt001.
      select single * into xt001
             from t001
            where bukrs = return-fieldval.
      dynfields-fieldname = 'BUTXT'.
      dynfields-fieldvalue = xt001-butxt.
      append dynfields.
    Update the dynpro values.
      call function 'DYNP_VALUES_UPDATE'
           exporting
                dyname     = sy-cprog
                dynumb     = sy-dynnr
           tables
                dynpfields = dynfields
           exceptions
                others     = 8.
    start-of-selection.
    rgsds
    anver
    if hlped mark points

Maybe you are looking for