Restrict value list (F4) at variable selection screen

Hi,
we have a variable of type "manual input" so that it appears at the selection screen before executing the query.
The value-list (F4) for this variable provides every value of masterdata of the infoobject. But here is the problem: I want only those values that are used in the infocube. Is there a way to restrict this list? Customer-Exit??
Thanks for all hints!
Regards,
Mathias

Hi,
I tested both of the hints - in my system both settings had no impact.
Can it be a release problem? My BW is a 3.0B SP 15.
I changed the settings in the InfoObj and put a new variable in the query-def for this characteristic. In the variable-selector before executing the query I can select a value (via F4) for the characterisitc which is not used in the cube. This is my problem. Only used values should be selectable.
These are the settings in the InfoObj:
Display                 Text                          
BEx description         Short description             
Selection               Unique for Every Cell         
Q Def. Filter Val Sel   Only Values in InfoProv       
Q Exec Filter Val. Sel  Only Posted Values for Navi
Can anyone help?
Thanks, Mathias

Similar Messages

  • Restrict variable values in the pop-up selection screen

    Hi,
    I have a variable based on a caracteristic that has 0COMP_CODE as attribute in a Web Report (BW 3.1B).
    This variable has to be accessible so that users can select a value.
    I need to restrict the values that users can see on the selection screen according to their 0COMP_CODE value, even in the pop-up.
    I have tryed authorization variable and user exit, but none worked.
    The best I could do was a "several single values" variable that was preselected with the caracteristics of their 0COMP_CODE, but it didn't worked in the pop-up.
    Does anybody knows how to handle this?

    As far as I could find out, it should be made through customer exit.
    The point is : I have to use a customer exit variable that has been check as "ready for input".
    I can't find a way to restrict the values displayed in the variable selection screen (in the help pop-up window for this variable).
    The exit can pre-fill the selection fields with values, but whenever the user opens the window, he sees all the values.
    I have tryed all the values for I_STEP (0,1,2 and 3) but none did it.
    Does anybody knows how to limit those values?

  • Limit list of values in variable selection screen

    Hi
    Apologies if this has been asked / answered elsewhere, but I thought I would put it out there, at least while I continue trying to find a solution.
    We have a requirement to limit the data from which a user is allowed to select values in the variable selection screen. I know how to write the ABAP code that will return the list of data from which the user can choose, but not sure how to implement that in the query variable.
    Essentially, the BEx query needs an input on username, and the current user should be able to choose from a list of usernames. That list of usernames should only be usernames to which the current user has access.
    Don't worry about the linking of current user to user names, that is taken care of in our DSO.
    What I am after, is limiting the data that comes back when the "F4 Help" type button is pressed on the variable screen.
    I can default a value in the customer exit variable using ABAP code in the i_step = 1 loop, but that doesn't seem to effect the list of data available for selection.
    Any decent ideas?
    Cheers,
    Andrew

    Hi Andrew,
    As charlie suggested go for Analysis authorization that is the simplest approach to restrict values for any object, in another way you can use following BADI for value restriction using ABAP code, refer the below link.
    [http://www.consolut.com/en/s/sap-ides-access/d/s/doc/YY-BW_BADI_F4]
    By using customer exit you can only populate default values but you will not be able to restrict F4 help values.
    Regards,
    Durgesh.

  • Filter value for variable selection screen

    Hi & help !,
    This could be a tricky or an easy question, but it seems too hard for me !
    I'm storing version in my cube, and have a report which shows informations for the version you select (with a variable = ZVERSION01).
    ex :  Version :
    V01
    V02
    V03
    V04
    When report is executed i have my variable selection screen (for variable ZVERSION01) which give all version [V01 -> V04]. But i want users have no access to version V01 & V02.
    Variable ZVERSION01 is "single selection", i tried to filter with Default Values screen or Characteristic Restriction screen but it doesn't work.
    ex : caracterisitic restriction screen : VERSION = !V01 / !V02
          default value screen : variable VERSION = ZVERSION01
    Any idea?
    Thx

    Hi,
    In BI 7.0 there is Anaylysis authorisation RSECADMIN transaction. That you can use here or normal role concept will also do.
    What you need to do is grant authorisation to the users for V03 and 04 version only and create 'Authorisation' type variable on version in the query. (type of variable - it asks while creating the variable). This way users will only be able to see authorised versions only.
    Note you have to make version infoobject as Authorisation relevent infoobject. ( in infoobject properties).
    Let me knw if you have any doubt.
    Regards,
    Viren

  • Index of Values in the List Boxes on a Selection Screen

    Hi,
    I have a list box on the selection screen for Month field. It has the values Jan, Feb, Mar....etc in it.
    These entries, I added thru the VRM_SET_VALUES.
    Now, I want to default the month to current month SY-DATUM+4(2).
    Is there any FM to which I can send this SY-DATUM+4(2) as an Index and the corresponding value gets set for the Month field.
    As an alternatvie, I could use<b> Case Sy-DATUM+4(2). when '01'. p_month = 'Jan'.  etc etc..</b> But I want to avoid this big case statement.
    Please suggest.
    Thanks,
    Suryakiran D.

    Hi Suryakiran,
      Try to use the func <b>MONTH_NAMES_GET</b>.It will
      return the month name along with the number.
      And also you can directly select from table <b>T247</b>
    Thanks&Regards,
    Siri.
    Message was edited by: Srilatha T

  • # value in Variable Selection screen

    Hello,
              Can you please help with the below:
    How do we remove # (Not Assigned) value from Variable selection screen. When I select PLANT in one of the  report, I see # value. But there are no empty values in the cube. So, I am not sure as why I am getting this # value in Selection Screen.  The seeting in Web designer for READ MODE is "Posted Values" and  not  "Master data or Dimension Table".
    Thanks.

    have you checked what Bex properties are set in the Info Object for "Query Def. Filter Value S"
    Select Values from Info provider.
    that might solve your problem. But ensure you're not disturbing anything else by changing this property.
    Regards, Siva
    Message was edited by:
            Siva Bonam

  • Scrap Values in Variable Selection Screen

    Hi,
    When the end user is trying to select a filter value for the characteristic in a workbook, the selection value screen displays a lot of scrap values, when he closes the selection screen and tries again to select a filter value then it displays the correct values. Can anyone please let me know how i can avoid the scrap values to be displayed or how i can remove the scrap values that are displayed.
    Thanks,
    AM

    Hi,
    Your Master data values might contain the junk values. That is the reason showing junk values in variable screen.
    At filter value selection you might have in the option 'Only Posted values for Navigation' option in InfoObject Properties->Business Explorer Properties.
    Cheers,
    With awards.

  • How to use Keyfigures in the Bex variable selection screen.

    Hi,
    I have a scenario, where the user whats to see the keyfigures like volume, amount in the variable selection screen, so that he can dynamically, set the condition according to his requirement.
    For example , he wants to see all the PO's for a particular calmonth which have volume >  1 Million or on someother day, he may input the value as volume > 2Million or Volume < 0 , so it depends. Similarly he wants to dynamically select the Amount values.
    I have tried using condition with "greater than"and value as a formula variable and it works for one condition, but if I add another condition i.e, "less than"and value as a formula variable then it conflicts and the query is throughing below error.
    "ERROR BRAIN (418): Variable ZCS_VAR_CH_KG_LT (DC015DZ850NUYVFDMPJHRGHXW) does not exist or is incorrectly used 4 Volume"."".
    Do we have a option to use customer exit in such a scenario ??, any suggestions please.

    Hi,
    Please check out the below link.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60b33a28-dca2-2d10-f3b2-d2096b460b1e&overridelayout=true
    Hope it suffice your requirement.
    Regards,
    AL

  • How to create the list box in the selection screen.

    hai friends..
    i want to create the list box for the selection screen input boxes.
    thanks,
    velu.

    hi..
    1. There are two important things :
    a)PARAMETERS : a(10) TYPE c AS LISTBOX VISIBLE LENGTH 10.
    b) Fm VRM_SET_VALUES
    2. just copy paste
    3.
    REPORT abc.
    TYPE-POOLS : vrm.
    DATA : v TYPE vrm_values.
    DATA : vw LIKE LINE OF v.
    PARAMETERS : a(10) TYPE c AS LISTBOX VISIBLE LENGTH 10.
    INITIALIZATION.
    vw-key = '1'.
    vw-text = 'Jan'.
    APPEND vw TO v.
    vw-key = '2'.
    vw-text = 'Feb'.
    APPEND vw TO v.
    vw-key = '3'.
    vw-text = 'Mar'.
    APPEND vw TO v.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    id = 'A'
    values = v
    EXCEPTIONS
    id_illegal_name = 1
    OTHERS = 2.
    regards,
    veeresh

  • Need to skip the variable selection screen when using dropdown

    Hello Friends,
    I have created a web template having a dropdown, a table and a text element. Basically I am trying to follow the guide "How to Use a Dropdown Box to Set Variable Values". It shows how to select values for a variable using dropdown.
    NOTE: The guide can be found here:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2642ab90-0201-0010-9193-d59de66cbab4
    What is happening is when I select a value for the variable in the dropdown, the correct url is getting formed but instead of displaying the report using the selected value, the variable selection screen appears. Given below is the url that gets formed:
    http://abcdev.wdf.sap-ag.de:8000/sap/bw/BEx?SAP-LANGUAGE=E&PAGENO=1&REQUEST_NO=3&CMD=PROCESS_VARIABLES&SUBCMD=VAR_SUBMIT&VAR_NAME_1=TSTPEROD&VAR_VALUE_EXT_1=04.2007
    Please assist me to get rid of the variable selection screen. Thanks!
    Regards,
    Prem.

    Hello Ray,
    Thanks for your reply. This has partially resovled the issue. I have awarded you points for that. Now I am able to skip the variable screen.
    However, the query results are not getting refreshed. I wanted to restirct the values based on the value given in the variable selection (In my case the dropdown box). Somehow I am not able to link the dropdown with the variable or the "SAPBWOpenURL(url);" function is having some issues.
    Please assist. Thanks!
    Regards,
    Prem.

  • Variable selection screen

    Hi,
    I have 2 currency varaibles in my variable selection screen. Now i want to remove one. I can't find these variables in query deffination.
    Can you tell me how should i remove the currency conversion variables from the web template selection screen. where in query defination can I find it.. or i have to do it some other way..
    Thanks and Regrds
    ravi

    Hi Ravi,
      if you just want to remove a variable its simple.
      1.Go to the query designer.In the query designer selecting the appropriate info object its attached to it.
    2. Right click and select the context menu -> restrict
    3. IN the pop up window de select the variable you want to remove.
    If it doesn't solve your problem post with more details abt your req.
    Cheers,
    Mathivanan

  • How to run the variable exit without calling the variable selection screen?

    Hi all
    I have a query with 2 variables 0P_PRQUA (Previous Calendar Quarter (SAP Exit)) and ZCCDAT02.
    ZCCDAT02 is a Key Date variable that is derived based on the last day of the quarter that is entered in 0P_PRQUA. The exit code works correctly when calling up the variable screen and ZCCDAT02 is derived properly.
    The problem is that 0P_PRQUA is set to "Can be changed in query navigation". So if the user changes the value of the quarter the exit is not triggered and the value of ZCCDAT02 does not change.
    Is it possible to trigger the exit or is there another way to do it? Ideas would be appreciated. I am trying to create a Web Template with a Dropbox box for the Quarter.
    Query is written in BW 3.X.
    Regards
    Chami

    Hi guys
    Just to restate the requirement. I want the user to be able to change the value of the variable, WITHOUT calling the variable selection screen.
    I want the user to be able to change the value of the quarter by using a dropdown box from within the web template. Once that is selected I want the value of ZCCDAT02 to be derived from the new value of the quarter.
    Regards
    Chami

  • Urgent: Custom Text in Variable Selection Screen

    Hi Experts,
    I know that it is not recommended by SAP to customise the variable screen, I am sorry but that is ridiculous coz there are no alternatives provided for even simple editing. I''ve searched every where in SDN to find a way to simply add a custom text element in this bizarre screen.
    I need to do that because I have to group variables that look similar in a container and add some instructions to users on how to base their selections.
    I am also not sure what exactly the web item whcih is behind this selection screen or perhaps if it is another web template that is being invoked by the standard template ""0analysis_pattern"" and if any what is that web item invoking it.
    If you have any clues of how i can achieve this please adivce as soon as you possibly can.
    Points will be assigned.
    Cheers,
    Jad
    Edited by: Jad on Apr 30, 2008 8:27 AM

    Hello,
    To customize your variable screen you should neeed developer access key..you can see whether you have got or not in table Devaccess..
    Personalisation of variables is for saving all inputs for future use. ( In your case save without any pre determined values )
    Below PDF link will surely answer your doubts.
    http://www.ies.state.pa.us/imaginepa/lib/imaginepa/mso2.pdf
    The personalization option can be activated in the system (using the program RS_PERS_ACTIVATE or the IMG guide (BW Customizing Implementation Guide -> Business Information Warehouse -> Reporting-Relevant Settings -> General Reporting Settings -> Activate personalization in the BEx).
    You can manage your personalization variable through BEX Analyzer "Change Variable Values" menu option "Business Explorer --> change query --> change variable values.
    [variables|http://help.sap.com/saphelp_nw04s/helpdata/en/f1/0a56a7e09411d2acb90000e829fbfe/frameset.htm]
    Go through this link for making cange in Variable selection screen..
    Re: No Text displayed in the Input help in WEB
    For creating the Web Template..
    Go the web application designer, create a new web template in the template
    in the left hand side you will find web items , from there drag and drop table , navigation block for your navigation attributes and in the table you have to assign the data provider
    for that first you have to do
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="SET_DATA_PROVIDER"/>
    <param name="NAME" value="DATAPROVIDER_1"/>
    <param name="QUERY" value="your query name"/>
    <param name="INFOCUBE" value="your cube or multiprovider name "/>
    DATA_PROVIDER: DATAPROVIDER_1
    </object>
    now you can asssign the data provider 1 to the table.
    you can all the neccessary things you want , like check box, radio button group, charts etc.
    while saving this save it in a role.
    If you want to do this for a workbook, which has been created in the BEx Analyzer, do the following:
    After embedding the query in the workbook, right click -> choose 'properties' in the context menu -> click the 'interaction' tab -> check the 'save and reuse variable values' option.
    After doing this, once the workbook or query is refreshed, the already entered variable values are taken.
    Also see
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a5529e09411d2acb90000e829fbfe/frameset.htm
    Hope it helps you,Revert me back if you have any queries
    Assign points if helpful
    Regards
    Bala
    http://help.sap.com/saphelp_nw04/helpdata/en/00/e8d13f7fb44c21e10000000a1550b0/frameset.htm

  • How to not display unnecessary attributes in variable selection screen?

    Hello everybody,
       I created a input variable referenced Calendar Year/Month(0CALMONTH) in my query. But as I select values for my variable when I execute the query, all the display attribute of 0CALMONTH displayed in the select screen, just like Calendar Year/Month Text, Calendar Year Key, Calendar month key, Number of Days Key, Number of Workdays Key...But I think just display Calendar Year/Month Text in the select screen is enough, how do I just display necessary attributes in the variable selection screen, not all the display attributes of 0CALMONTH?
    Tks!

    Hi........
    Check this link :
    http://help.sap.com/saphelp_nw70/helpdata/EN/ac/789b3c4d4d8d15e10000000a114084/content.htm
    If this helps you kindly assign some points.........
    Regards,
    Debjani.......

  • List Boxes on a Selection Screen

    Hi,
    I have a list box on the selection screen. In the At Selection Screen Output, I filled the List box with 12 Values.
    Now, I want to default the List box value with one of those values.
    So, after the CALL FM 'VRM_SET_VALUES', I say p_field = 'Value'.
    But this Value is being shown in the Drop down list twice.
    I could not understand the mistake.
    Please suggest.
    Thanks,
    Suryakiran D.

    Hi suryakiran,
    1. Its happening bcos
       u must be giving NAME
    2. give p_field  = Key
    3. ie. 1 for Jan
            2 for Feb etc
    in the FM VRM_SET_VALUES
    we are filling the parameter VALUES
    VALUES-key
    VALUES-TEXT
    so, give KEY, (and not text)
    after calling this FM.
    4.
    REPORT abc.
    TYPE-POOLS : vrm.
    DATA : v TYPE vrm_values.
    DATA : vw LIKE LINE OF v.
    PARAMETERS : a(10) TYPE c AS LISTBOX VISIBLE LENGTH 10.
    INITIALIZATION.
    vw-key = '1'.
    vw-text = 'Jan'.
    APPEND vw TO v.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = 'A'
          values          = v
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
          a = '1'.
    Problem
          a = 'Jan'.
    regards,
    amit m.
    Message was edited by: Amit Mittal

Maybe you are looking for

  • Remote access to a single application on a mac os 10.4 server (vmware)

    Hello all, I need to give multiple users (all on mac's) access to a shared windows accounting application. We have absolutely no windows servers in the organisation and i was wondering if it would be possible to load the accounting app as a vmware fu

  • How to create a response file for Acrobat 9 Pro?

    I with to collect data from a PDF form made with LiveCycle Designer. The instruction say- After a user submits a form, open the returned form. In the Add Completed Form To Responses File dialog box, select one of the following: I am totally baffled a

  • My ipod touch 1st gen is broken

    hi my ipod touch headphone jack is broken. when i plug in any source of audio in the jack it does not play. not only that but with the new update the volume bar adjutment only comes up when you have headphones in. but when i plugged in the heaphones

  • 9iLite with XSU

    I am trying to use the XSU with 9iLite. The xsu states that it will work with any of the jdbc drivers BUT when I try to create the OracleXMLQuery I get a Class not found error on : java.lang.NoClassDefFoundError: oracle.sql.Datum void oracle.xml.sql.

  • How to display mixed content in Safari

    I get on a business site with explore and when I search on that site explore asks if I want to see unsecure data....which I need to see. I click yes and I get the data that I have searched for. There appears to be no way to configure Safari 6 to disp