Restricting values of charcteristics in the Variable

Hi
I have a charcteristic with some values .
I have created a varaible which shows all these values in the selection screen drop down.
I only want 3-4 values from the given set of values of charcteristics in the selection screen

hi dheeraj u can try this :
in characteristic restriction bring ur characteristics say CHARXX
now restrict it with ur variable say varxxyy
in default values drag ur characteristics charxx
now restrict ur charxx again with 3-4 default values as u wish to bring in....
this way upon ur query exxecution it shall display the variable as well as 3-4 values.....
try  this work around
or else when u create ur variablexxyy
in its definition move to tab DEFAULT VALUES
in that define ur 3-4 values one by one
this way upon query execution the variable will display ur default values automatically.....
try this workaround..

Similar Messages

  • Restricted values are seen in the query

    I have restricted few values in the query. when i execute the query those restricted values are displayed on the top. can any one tell me how to remove it.

    As Paveen suggested, Open the Analyzer...instead of opening a query, open a workbook(the one you have saved already). Here, you van change the variable also and execute. It wont have restrivted value.
    Thanks...
    Shambhu

  • Restrict values on web template input variable

    Hi WAD and Bex Experts,
    I'm trying to reduce the numbers of valid values when I press the match code in the input variable in a web template.
    In the same time I would like to increase the maximum numbers of valid values
    Any ideas how to do it ? I checked on Bex and WAD but I can't figure out how to do it.
    I'm on a Bw 3.5 version.
    Thank you.
    Ste

    Hi Ste,
    check this:
    Displaying filter values in WEB reporting
    SAP Note Number: [587751|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler]
    Attributes are missing in F4 Help for characteristic values
    SAP Note Number: [562497|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler] 
    Regards
    Andreas

  • What is the "variable" field in the timer.swf widget for?

    I have captivate 7, and would like to know what the variable field is for in the timer widget and how to use it...
    Thank you!

    Hi Lilybiri,
    I am playing with $$cpInfoElapsedTimeMS$$....
    I have an action attached to a button in my project that assigns my variable $$TimeSoFar$$ with $$cpInfoElapsedTimeMS$$.  That is all this action does.  I also have a text caption that includes $$TimeSoFar$$ on the same slide.  When I enter the slide  $$TimeSoFar$$ in the text caption is 0, as that is the original value I set to the variable.  This makes sense. When I trigger the for the first time with the button, I receive a negative number in my text caption as the value for $$TimeSoFar$$.  When I trigger that action a second time, it seems to be correct ans is the correct value of $$TimeSoFar$$ . It is also correct everytime after that.
    Any idea why this is happening?
    Thank you !
    Ryan

  • How to write customer exit for the variable

    Hi Experts,
    I have a requirement to create the variable, the scenaria is like this..
    I need to create the variable which gives the period/year values,if yours enters the values 05.2007 then the variable should return the first monthe the year i.e.01.2007.
    I hope it can be done by writing the customer exit..but iam unware how to achieve this.
    Please explain me step by step and cope for customer exit to done this.
    Points will be awarded
    Suraj.

    hi Suraj,
    there should variable sap exit for first month,
    for customer exit, check this how to doc for steps
    https://websmp210.sap-ag.de/~sapdownload/011000358700002762582003E/HowToDeriveVariableValue.pdf
    your code may look like
      INCLUDE ZXRSRU01                                                   *
      DATA: L_S_RANGE TYPE RSR_S_RANGESID.
      DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
      CASE I_VNAM.
      WHEN 'your 1st month variable'.
        IF I_STEP = 2.                                  "after the popup
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
                  WHERE VNAM = 'your user input variable'.
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW      = LOC_VAR_RANGE-LOW(4)."low value, e.g.200001
            L_S_RANGE-LOW+4(2) = '01'.
            L_S_RANGE-SIGN     = 'I'.
            L_S_RANGE-OPT      = 'EQ'.
            APPEND L_S_RANGE TO E_T_RANGE.
            EXIT.
          ENDLOOP.
        ENDIF.
      ENDCASE.
    hope this helps.

  • Return of the variables

    In a block PLSQL, where I attribute values for two variables (select columns into variables), if the clause where I will not be satisfied and not to return no line for this select, that values are attributed for the variables (of the clause into)?
    I ask this exactly because in one of my functions, the return is being = NULL, being attributed a value for the return variable, then in the first line of script.

    It follows below my function:
    CREATE OR REPLACE FUNCTION dbf_ssp_tramitado(a_entidade_for NUMBER,a_solicitacao NUMBER,a_tipo VARCHAR2,a_usuario VARCHAR2)
    RETURN VARCHAR2
    IS
    w_tramitado VARCHAR2(1);
    w_entidade_tram NUMBER(10);
    w_entidade_aux NUMBER(10);
    w_usuario_req VARCHAR2(16);
    w_tipo     VARCHAR2(1);
    BEGIN
    w_tramitado:='S';
    w_entidade_aux:=NULL;
    IF a_tipo = 'R' THEN
    SELECT i_entidades_req,i_usuarios_req INTO w_entidade_aux,w_usuario_req
    FROM bethadba.ssp_solicitacoes_suporte
    WHERE i_entidades_for = a_entidade_for AND
    i_solicitacoes = a_solicitacao;
    ELSE
    SELECT i_entidades_for,i_usuarios_req INTO w_entidade_aux,w_usuario_req
    FROM bethadba.ssp_solicitacoes_suporte
    WHERE i_entidades_for = a_entidade_for AND
    i_solicitacoes = a_solicitacao;
    END IF;
    w_entidade_tram := NULL;
    w_tipo := NULL;
    SELECT i_entidades_tram, tipo INTO w_entidade_tram, w_tipo
    FROM bethadba.ssp_tramites_solicitacoes, bethadba.ssp_status
    WHERE ssp_tramites_solicitacoes.i_entidades_for=ssp_status.i_entidades
    AND ssp_tramites_solicitacoes.i_status=ssp_status.i_status
    AND i_entidades_for = a_entidade_for
    AND i_solicitacoes = a_solicitacao
    AND upper(ssp_tramites_solicitacoes.visibilidade) IN('A',upper(a_tipo))
    AND ROWNUM < 2
    ORDER BY i_tramites DESC;
    IF 'X' = NVL(w_tipo, '') THEN w_tramitado := 'X';
    ELSIF w_entidade_tram IS NOT NULL THEN
    IF w_entidade_tram = NVL(w_entidade_aux,-1) THEN w_tramitado:='N';
    END IF;
    ELSIF a_tipo = 'R' THEN
    IF w_usuario_req = a_usuario THEN w_tramitado:='N';
    END IF;
    END IF;
    RETURN w_tramitado;
    END;
    In some cases, the command
    SELECT i_entidades_tram, tipo INTO w_entidade_tram, w_tipo
    FROM bethadba.ssp_tramites_solicitacoes, bethadba.ssp_status
    WHERE ssp_tramites_solicitacoes.i_entidades_for=ssp_status.i_entidades
    AND ssp_tramites_solicitacoes.i_status=ssp_status.i_status
    AND i_entidades_for = a_entidade_for
    AND i_solicitacoes = a_solicitacao
    AND upper(ssp_tramites_solicitacoes.visibilidade) IN('A',upper(a_tipo))
    AND ROWNUM < 2
    ORDER BY i_tramites DESC;
    does not return no line, and seems that no value for the variables is not attributed, and seems that more is not executed nothing of this point in ahead.

  • Regrading restricting the variable values in the report

    hi experts,
    i have a requirement that i have to restrict the values of 2nd level vendors in variable selection screen based on the 1st level vendor selected i mean  we are using the variable for 1st level vendor as mandatory so when user enters the value for 1st level vendor linke xxxx and when he goes to the next variable 2nd level vendor he must have the options related to the 1st levle vendor only i mean he does not see all the 2nd level vendors but he must see the 2nd level vendors related to first level vendor only
    ex for 1st level vendor xxx the 2nd level vendor is yyy and zzz
         for 1st level vendor aaa the 2nd level vendor is bbb and ccc
    now when he select the option first level vendor as xxx it is showing the all 2nd level vendors in the slection screen but client wants that when he select the 1st level vendor he must see the 2nd level vendor list related to particular 1st level vendor only
    thanks and regards
    pedamarla

    pedamarla,
    Does you mean if xxxx is the value for 1st vendor then in 2nd level vendor variable shd be other than xxxx.....
    is my interpretation is right.then you can write the code in step 3 so that 1st vendor value and 2nd vendor is different ....let us know

  • How to update bind variable and restrict values in a Model Driven LOV?

    Hi Guys,
    Using JDev 11.1.1.2.0
    I've recreated an excellent Frank Nimphius article about restricting values derived from a model driven LOV (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/44-restrict-lov-169186.pdf)
    But my bind variable isn't updating. Deleting the bind variable gets me the entire LOV. Activate the code below and insert a bind variable into the where clause like Frank says and I get nothing back. Bind variable is blank. Any ideas? Code wasn't supplied with the article. It seems simple enough but the bind variable isn't updating in the SQL, even though the updated value shows up here...
      public void onLovLaunch(LaunchPopupEvent launchPopupEvent)
        BindingContext bctx = BindingContext.getCurrent();
        BindingContainer bindings = bctx.getCurrentBindingsEntry();
        FacesCtrlLOVBinding lov = (FacesCtrlLOVBinding)bindings.get("DepartmentId");
        lov.getListIterBinding().getViewObject().setNamedWhereClauseParam("deptId","60");
        System.out.println("lov name: " + lov.getName().toString());
        System.out.println("lov Param Attrs: " + lov.getListIterBinding().getViewObject().getNamedWhereClauseParams().getAttribute("deptId").toString());
        System.out.println("lov View Object: " + lov.getListIterBinding().getViewObject().getName().toString());
        System.out.println("lov IterBinding: " + lov.getListIterBinding().getName().toString());
       }Gets me ...
    lov name: DepartmentId
    lov Param Attrs: 60
    lov View Object: _LOCAL_VIEW_USAGE_lov_model_queries_EmployeesView_DepartmentsView
    lov IterBinding: DepartmentIdList_2

    That's a good idea, but it's still not working. Here is how I implemented it. It might be different from your suggestion as I'm still pretty new to this.
    I have a recursive tree table. You select a node. You then click a button which calls the listener below. "findParents" is a method call to the AppModuleImpl class and it finds all parent nodes of your selection. "restrictPartBomLOV", also of the AppModuleImpl class, then modifies the model driven lists' View Object (partBomLOV) to exclude those parent node values.
    The resulting model driven LOV on the popup should be updated, yeah? But it still isn't udpating. If I manually type in the updated Where clause in PartBomLOV.xml query tab, it works, but it doesn't programmatically.
      public void insertPopupFetchListener(PopupFetchEvent popupFetchEvent)
        BindingContainer bindings = getBindings();
        OperationBinding operationBinding = bindings.getOperationBinding("findParents");
        parents = (List)operationBinding.execute();
        operationBinding = bindings.getOperationBinding("restrictPartBomLOV");
        operationBinding.execute();
       public void restrictPartBomLOV(List parents)
          ViewObjectImpl vo = getPartBomLOV();
          String wcl = "";
          Object[]   p = parents.toArray();
          for(int i = 0; i < p.length; i++)
             if (i == 0)
                wcl = wcl + "PNUM <> '" + p.toString() + "'";
    else
    wcl = wcl + "AND PNUM <> '" + p[i].toString() + "'";
    vo.setWhereClause(wcl);
    System.out.println(vo.getWhereClause().toString());
    vo.executeQuery();
    Edited by: LovettWB on Nov 11, 2010 11:23 PM

  • How to use the variable value "ALL"

    Hello all,
    I'm trying to use the value "all" for a selection variable in a Web Interface so that to have no restrictions for that specific variable and that all the rows are shown on the interface.
    Unfortunately it does not seem to be working because when I select the value "all" the system seems to go back to the latest rows saved under a specific value for that variable and does not show all the rows saved under any variable's value.
    Anyone knows how to make this work? One option is to remove the variable from the web interface altogether, but that's my last option.
    Thanks in advance.
    Best regards,
    Francesco

    Hi Francesco,
    why is leaving out the variable your last option? If you want to select "all" then you don´t need a variable.
    Cornelia

  • How to restrict the variables in BPS

    Hi experts,
    I have a problem with restricting the variables in the BPS function.
    In the planning area, I have created a characteristics variable with user define value (input allowed by user) replacement type.
    Yet, in the planning folder, it seems that I can only select either a single value (for example material 1000) or a range of values (for example material 1000 to 5000).
    I can't choose several single values (for example 1005, 1020, 1030).
    Since I need this functionality, do you maybe know how to solve this problem?
    Thank you very much.

    BPS variables does not allow the choice of multiple single values, you can choose a single value OR a range of values. This issues has been brought up with SAP Development.
    If you need single values or a complete range of values, you can add each single value as a fixed value and the range as another fixed value that can be selected. You can select each single value individually or the whole range (or any subranges you specified) but not multiple selections of single values.
    In user definted variable if you check input allowed by users, you can add some values and the users can add more but then they could potentially go into material numbers they should not get access too.
    Hope it helps.
    Regards

  • Users Authorization- Restrict value of one variable corresponding to other.

    Dear Experts,
    I have query regarding BEx Authorization for the given selection screen of any variable for any report :
    I have two parameters/variables( Category and Sub Category) which needs to be passed from User. I want to restrict the value of second variable corresponding to the values passed in first variable. For e.g. :  if i passed Category value -Engineering ,Sub Category variable should only show the value related to engineering only other than all the values in sub category field in the selection screen for the user.
    Please suggest.

    Hi Shikhar,
    E.g. Category: Engineering , Arts , Commerce
    Sub Categories for Engg. ECE, IT , CSE.
                                   Arts : sociology philosophy etc
                                   Commerce: economics, accountancy etc
    Now Maintain authorization for Char. related to Engineering and create Auth. variable, follow this steps:
    Transaction Code- RSECADMIN
    Steps to create Authorization based on Division e.g. InfoObject    is 0DIVISION.
    Check for 0DIVISION, it must be Authorization relevant checked, if not then maintain 0DIVISION and check Authorization relevant box.
    Step 1: Create Analysis Authorization Maintenance using RSECADMIN T-Code, in that add 3 special characteristics i.e. 0TCAACTVT , 0TCAIPROV and 0TCAVALID, these are the mandatory Char. along with that add 0DIVISION for which you want to create Authorization, 0DIVISION details restrict value as 01 (EQ 01).
    Step 2: Again goto RSECADMIN -> User tab-> Assignment, enter username (e.g. User1) which you want to restrict. insert Auth. obj. from step1.
    Step 3: Now in Query designer, create Authorization variable for 0DIVISION, i.e. process type Authorization.
    Execute That query with restricted user (e.g. User1) it will only show the data for Division = 01.
    For reference: [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c0b7acf2-6121-2e10-5591-eaec182d9315]
    Hope this will meet your requirement, let me know if further explanation required.
    Regards:
    Avinash

  • Restrict value of one variable corresponding to value passed in other.

    Dear Experts,
    I have query regarding BEx Authorization for the given selection screen of any variable for any report :
    I have three parameters/variables( Circle ,SSA and Exchange) which needs to be passed from User. Circle(state)->SSA(City)->Exchange(Sub Locality). I want to restrict the value of second and third variable corresponding to the values passed in first variable. For e.g. : if a value Madhya Pradesh is passed as a Circle then SSA selection screen should show only
    City or SSAs of Madhya Pradesh only. Same case with selection screen of exchange variable also.

    Hi Shikhar,
    I think you will have to have Circle (State) as the attribute of SSA(City) and SSA(City) will have to be attribute of Exchange (Sub Locality). Then when you enter a value in Circle variable, the take the F4 help on SSA, then you will get the values which are relevant for the respective Circle. Similarly the Exchange.
    If you enter a wrong value for SSA and Exchange...and click check, then the system should throw an error.
    Apart from this you can also create Authorization objects for all the three objects in RSECADMIN and provide appropriate access to relevant users. In this case the users will see only the authorized values in the F4. However the system will not throw an error during the input of the variables. But will only display authorization error only when you execute the query.
    Good Luck,
    Vikram

  • 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

  • BEx variables restricted value not shown

    Hello,
    I have 2 variables defined and used in a query. I put both these characteristics as global filters.
    When the query is run, a popup screen allows user to input these 2 variable values.
    The navigation block in the worksheet shows only 1 of the 2 variables values entered by the user. That is, only the restricted value for one variable is shown. The other is not shown. The result is, however, correct.
    Not sure why is it so. Hope to get some clues.
    Thanks.
    Regards,
    Mirella Russo

    Dear AVR,
    Thanks for the reply.
    I placed the period and year infoobjects restricted by their respective variables in the free characteristics area but still the filtered values are not showing, although the period and year characteristics for filtering are shown as normal in the navigation block.
    I have several other reports also using the same period and year variables in free char or global filter section without such 'anomaly'.
    I noted that this problem report has columns restricted also by period and year variables. In fact, the year variable is an offset of -1. Is the problem caused by this restriction?
    I tried creating a new query of the same design. The problem is replicated.
    I hope you can throw me some more clues.
    Appreciate it very much.
    Thank you.
    Best regards,
    Mirella Russo

  • Display non changeable Variables / restricted values on variables Screen

    Dear SAP-Experts,
    is it possible to display non changeable / restricted char values on the variables screen?
    regards
    Jürgen

    Dear Jürgen,
    Now I understand what you mean.
    I'm afraid this is indeed not possible, unless you create customer exit for i_step=3 to invalidate any change made by user in variable screen for this variable, which is not really a practical way.
    Actually the user would be able to see the filter information after query execution. The detailed location depends on whether you use BEx Analyzer or portal.
    Regards,
    Patricia

Maybe you are looking for

  • Unable to capture from DV tape

    I was given a Mini DV tape and when I try to capture it starts the first few seconds and stop with the following message: "Capture encountered a problem reading the data on your source tape. This could be due to a problem with the tape. Capture has b

  • Why do my previous purchases show in my iTunes music library but not accessible??, Why do my previous purchases show in my iTunes music library but not accessible??

    I received my new Macbook Pro today and have attempted to sync my iphone 4s with it, unfortunately like a bit of a moron I've ended up wiping all my music on my iphone. I have then gone into Itunes and re-downloaded all my previous purchases (music t

  • Acrobat XI Pro in batch-Modus

    Hallo, ich möchte die jpg-Dateien Hunderter Verzeichnisse je Verzeichnis in eine pdf konvertieren und dabei jeweils dieselben Parameter benutzen: Alle jpg-Dateien von Verzeichnis x zusammenführen, Texterkennung durchführen, alle Seiten auf A4 setzen,

  • Creating an "internal" wi-fi network

    Hi I'd like to use my airport extreme to create a wi-fi network for file sharing and music streaming within my house but I DO NOT want it connected to the internet. Airport utility allows me to setup the wi-fi network but it then doesnt update the ba

  • Hdmi, VGA, RCA adapters - analog hdmi?

    So I'm a bit foggy on this. I have the iPad 1 and have the RCA and VGA adapters that work great. Now I can get the hdmi to work at 720 from what I understand. Isn't hdmi digital? Does iPad 1 output digital and analog? Will my RCA and VGA adapters wor