Restricting Value Help In WAD

Hi All,
I have a query which is executed in Explorer.
There is a material Selection variable ready for input.
When we press value help for this variable, It is populating all the materials present master data table.
Now the requirement is to restrict the materials populated in search help window, say it should show only materials of material group 5 in search help window.
Any Ideas..!!!
Thanks in Advance

Hello Vidya Sagar,
It seems that you want for only one Web Template of the Query used. If so you can try these two ways,
1. Goto Navigation Block -> Property Window -> Choose List and in that Set Material -> in that Select Read Mode -> Posted Values - Q
2. After executing the Web Template, Goto Filter of the Material -> In the Pop-up window, Select Search for Display Attributes Activated -> Select Material Group and Select the required value.
But one thing I fear that the 2nd Method will be temporary only.
If these two is not applicable then I think you have to do it Query level or sometime with JavaScript also.
Thanks
Chandran
Edited by: Chandran Ganesan on Feb 29, 2008 9:55 AM

Similar Messages

  • Need to restrict values in F4 help for Batch Characteristic

    Hi,
    I need to restrict values in F4 Help for a batch characteristic based on values entered for another characteristic. I could not find any BADI or Exit for this purpose. There is a BADI CACL_VALUE which is triggered after an entry is selected from dropdown list but nothing when we press F4. I thought of using Object Dependency but I need to write a programming logic for the requirement. Please let me know if there is any way to write program in Object Dependency or any other way for this requirement.
    Regards,
    Nikhil

    Hi nikhil simha,
    first of all, find out which search help is called.
    [Hierarchy of the Search Help Call|http://help.sap.com/saphelp_nw70/helpdata/en/0b/32e9b798da11d295b800a0c929b3c3/frameset.htm]
    may help you.
    If you know the search help, you may enhance it, but first of all you should check the where-used-list and make sure that the search help shows the requested behavior only in the context where you want it to.
    If it is your own program, you may be better off to create your own search help and define the triggering fields as search help interface input fields. Then you can use the values to filter results.
    Regards
    Clemens

  • How to Restrict Master data in value help screen for a user???URGENT

    Hello Gurus,
    I have a requirement.When a authorized user logins to view the report, he should see only list of customers assigned to that user in the value help screen, instead of displaying whole master data.and the data is displayed perfectly fine for the authorized sales rep. By default, Value help screen displaying all the customer numbers.
    How can I restrict in the value help screen?
    Any help appreciated with points.
    Regards,
    PNK

    Hi Chandran,
                I got that Idea too. I created a authorized customer, I created a authorized Object and assigned to a role.But in the role, when I am changing the object to generate profile, it is asking to select list of customers from the customer table.If the customers are always constant then this would work,  but in my scenario, customers for the sales rep changes over time and when I ever reps open the query, they should see updated list of customers assigned to them only, as we update the master data everyday from source system and that shud reflect in the value help.
    I am trying User Exit to achieve this, but I am not getting proper ideas how to do this.
    Any Help on this issue with user exit code???
    Thanks in Advance
    regards,
    PNK

  • F4 help:Restrict Value Range

    Hello Experts,
    I want to a search help for one field such that when user click on F4 help , it will again pop- up with one  screen, in which I need to have 2- 4 fields to Restrict the values then user enter some values here then F4 help will appaer.
    Like in standard tables mseg-lifnr F4 help Restrict Value Range screen , but i require only one tab
    Plz suggest
    Aastha

    Hello,
    Use the following piece of code.
    Parameter : p_value type ......
      TYPES : BEGIN OF y_value,
                      value TYPE text6,
                     END OF y_value.
      DATA : t_value TYPE STANDARD TABLE OF y_value.
      DATA: t_return TYPE STANDARD TABLE OF ddshretval.
    Fill table t_value with the values which  u require in the F4 help.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield         = 't_value-value' 
          dynpprog     = sy-repid
          dynpnr         = sy-dynnr
          dynprofield   = 'p_email'     
    TABLES
          value_tab       = t_value
          return_tab      = i_return
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.

  • Need help in WAD 7.0 - anaylsis item cell value as filter to another web...

    Hi ,
    I need help in WAD 7.0
    i have 2 web items, analyis item 1 & 2
    when user clicks any cell value in column xxx of analysis item1, then i need to filter the analysis item 2 values for  column xxx  , for that user clicked value.
    how do i enable this ?

    Hi.
    You can try the nxt approach:
    1. in analysis item A (first) properties define in "behaviour" -> "row selection" = "single with command".
    2. set this command to "SET_SELECTION_STATE_BY_BINDING".
    3. define "data provider affected" = your second data provider for analysis item B.
    4. in "selection binding" set needed variables to binding type "VARIABLE"
    In this case, when you select any row in analysis item A some variables will be populatd from this row and affect on analys item B (dataprovider B).
    Regards.

  • Hi experts,   restricted value through F4 help

    hi all
    in alv grid output there is a input enabled field say xyz, this field is given f4 help by creating ztable, and when f4 is pressed on xyz field, it is fetching all the data related to that field, but the user wants restricted value with respect to company code and land1. 
    how to restrict the value coming in through F4 help ???
    thanking u in advance
    rocky

    Rocky,
    In  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    check the name of the USER_COMMANG.Based on  User command there will be one FORM ......... ENDFORM .
    In that there will be selection statement to internal table by which you are getting F4 help.Put the condition WHERE company code eq and land1 eq.
    Pls. reward if useful.....

  • How to link Value Helps in Visual Composer?

    I would like to know, how to link value helps in VC...??? It's like.....after selecting a value from Value Help 1, how do i restrict my Value Help 2 values so that it contains the values that are relevant to the value selected from Value Help 1 only....???? Request you to please provide the solution.......

    Hi Christophe
    Thanks so much for your help. I have been trying to do the way that you have suggested but am unsuccessfull...... Can you please tell me as to where should I create a field in the second popup view...??? After I double click on the link between "Start" and the "BAPI" in the second popup view...... , I find no "+" symbol in the "Configure Element Panel"  using which I can add the value taken from the first popup view.....
    Is there any pdf file or documentation that shows as to how to do this process...????
    Waiting for your response..... Thanks for your suggestion.....
    Regards
    Deepak Jaju

  • Date format is not working properly for Calender value help

    Hi Experts,
    We have two problems.
    1. We want to change the format of date displayed. We want format of dd-MMM-yy. For that we have created one Simple
    Type Dictionary Object with Displaying format dd-MMM-yy. It is working
    fine for the non editable UI. But once I apply the dictionary type
    object as data type for an input field, probem happens. Once the user
    choose a date from calender value help the value in the input field is
    coming like 01-011-12 not like 01-Jan-12.
    The date format is not changing from the calender. But if we set the
    display format of the dictionary object to MM-dd-yy or MM/dd/yy or
    dd/MM/yy or dd-MM-yy the format conversion from calender to input field
    is happening properly.
    The only problem once we put MMM in place of MM for the input field
    where user is selecting from a calender value help.
    2. We want to restrict users from entering the value manually for date input field. The user
    should be able only to enter value by selecting from calender value
    help.
    Please give suitable solution for these problems
    Thanks
    Shankha

    Hi Sankha,
    Please refer the links below:
    http://scn.sap.com/thread/1659463
    http://scn.sap.com/thread/1533443
    Regards,
    Manoj

  • How to restrict values of Dimensions in Webi report prompt

    Hi
            I need to create a WebI report for a set of Business users. We have several thousands of Agencies. Business Users want to see only the agencies they work with (about 100) in the prompt. This way they need not go through thousands of agencies they dont work with. I tried to use List Of Values option but that didnt give me desired result.  Please let me know how to restrict values in prompt to few values from the n number of values available in database.
    Thanks in advance.

    Hi,
    there is no such step-by-step!
    I would encourage you to consult documentation and search for terms 'row level restriction' in the help guides.
    Practice makes perfect
    Good luck
    H

  • How do I restrict F4 help?

    Hello experts,
    I want to restrict F4 help so that only 3 valid values will be shown when users press F4 on my parameter. How do I do that?
    Again, thanks a lot guys and have a nice day!

    Hi Viraylab,
    Use this code and in the select statement put your condition to select only the 3 records that you want to display in your F4 help.
    REPORT  ZHELP                             .
    TABLES : MARA.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS : P_MATNR(10) TYPE C.
    SELECTION-SCREEN END OF BLOCK B1.
    DATA : BEGIN OF ITAB OCCURS 0,
           MATNR TYPE MATNR,
           END OF ITAB.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.
      SELECT MATNR
             FROM MARA
             INTO TABLE ITAB
             UP TO 10 ROWS.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          RETFIELD        = 'MATERIAL NUMBER'
          DYNPPROG        = SY-REPID
          DYNPNR          = SY-DYNNR
          DYNPROFIELD     = 'P_MATNR'
          VALUE_ORG       = 'S'
        TABLES
          VALUE_TAB       = ITAB
        EXCEPTIONS
          PARAMETER_ERROR = 1
          NO_VALUES_FOUND = 2
          OTHERS          = 3.
    Regards,
    Mukesh Kumar
    Message was edited by: mukesh kumar

  • How to restrict value of materila in a PR created from PS to 1 Rupee

    Hello Gurus,
    While creation of material PR from P, system is picking value either info record or material master. How can we restrict value of materila in a PR created from PS to 1 Rupee?
    Nagaraj

    Hi,
    On costing variants(OPL1)->valuation varient u can define which would be picked for planing, there give top priority for "Plan price 1"
    To get plan price 1, you have to update on material master(mm02) on costing 2 tab as 1 rupee for all required materials.
    hope this would help
    regards,
    SL

  • How to restrict values of characteristics in Bex

    Hi All,
    I want to restrict values for a particular characteristics starting from ZABC* in Bex without writing CMOD ABAP code
    For Ex
    ZABC123
    12656
    ZABC234
    So in the report o/p shd be
    ZABC123
    ZABC234

    Hi Roshan,
    I don't understand well your issue, but I will try to answer to you with two possible solutions anyway.
    You can use the variable not in the characteristic filter but in each index. For example, if you have two indexes to be displayed in your column structure, try to filter them with the characteristic value variable. In this case you can probably see all of the characteristic values but for only ones that start from ZABC* you can see KFs values.
    According to an another my supposition, you can use an exception (there is a dedicated tab when you restrict your characteristic). You can find more informations reading the following link:
    http://help.sap.com/SAPhelp_nw70/helpdata/en/43/21b4cd14cd06f4e10000000a422035/content.htm
    Hope it helps.
    Best regards.
    Simone.

  • Implementing routine in DTP to restrict value

    Hi ,
    I want to implement a routine in DTP to restrict value 'F' or 'f' which can appear anywhere in the number of a field.
    ex : "00000F389877" .
    As 'F' appears at the six position in the number, there can be a possibility of 'F'/'f' appearing at any position in the number.
    I went to the filter section of the DTP under extraction and tried to implement the logic but I need some help as to what exactly I should put there.
    I have included the table name as '/BIC/A....' and the high and low variables for the range .
    Any qucik help in this regard would be highly appreciated.
    Kindly also let me know if there is any alternate method to tackle this kind of problem.
    Regards,
    Amit

    Hello,
    Find below a sample code used in DTP filter to restrict date field:
    form compute_/BIC/ZDATE
      tables l_t_range structure rssdlrange
      changing p_subrc like sy-subrc.
          Insert source code to current selection field
    $$ begin of routine - insert your code only below this line        -
    data: l_idx like sy-tabix.
              read table l_t_range with key
                   fieldname = '/BIC/ZDATE'.
              l_idx = sy-tabix.
    data: g_date(6) type n.
    data: g_date1 type d.
    CALL FUNCTION 'ZMONTH_CALC'
    Exporting
         MONTHS = -17
         OLDDATE = sy-datum
    Importing
         NEWDATE = g_date1.
    g_date = g_date1+0(6).
    clear g_date1.
    concatenate g_date '01' into g_date1.
    l_t_range-iobjnm = 'ZDATE'.
    l_t_range-FIELDNAME = '/BIC/ZDATE'.
    l_t_range-sign = 'I'.
    L_T_RANGE-OPTION = 'GE'.
    l_t_range-LOW = g_date1.
              if l_idx <> 0.
                modify l_t_range index l_idx.
              else.
                append l_t_range.
              endif.
              p_subrc = 0.
    But i feel what you want to achieve will be much more easier to achieve in start routine of the transformation.
    Here you just need to loop at result package, check for the record with the number containing F/f and delete the record.
    REgds,
    Shashank
    Edited by: Shashank Dighe on Feb 27, 2008 10:22 AM

  • Text Missing from F4 help in WAD

    Hi All,
    We are working on BW35 and EPP6. We have created one Z-InfoObject with text and used them in a Cube. When I use this InfoObject in a query with variable on it and run the report I can see the key and text both in the value help. But when I attached the same query in WAD and tried to execute it the value help shows only key and no text. I have tried changing properties of InfoObject and BEx query but nothing is working for me.
    Please let me know what else can make the difference or is there any setting in the system as I don't have any issue with the standard objects.
    Thanks in advance,
    Rohit

    Hi,
    go to transaction rsdcube.
    Chose the right tab (Characteristic or Time Characteristic)
    Go to Extras->Structure Specific Infoobject Properties and
    adjust your properties.
    Kind Regards,
    Alican

  • WDA select-options value help configuration

    Hello,
    I would like to configure the value help in the select-options component in WebDynpro ABAP. I used the parameter I_VALUE_HELP_TYPE of the method ADD_SELECTION_FIELD, but I didn't know how to pass a correct value for this parameter. Could someone give me an example with coding? That would be great! Thanks in advance.
    Regards,
    Georg

    For those of you who, like me, get a screen full of OTR keys on the buttons and tabs, the answer is on the first tab, 6th button.  Note that it is based on SPFLI, so the expected linkage between CARRID and CONNID does not happen.
    The code is in MAIN_VIEW method ONACTIONON_CRS_FLD_F4_CASES.
    The essence of it is:
        wd_this->m_handler->add_selection_field(
            i_id                         = CARRID
            it_result                    = lt_range_table
            i_value_help_structure       = 'SFLIGHT'
            i_value_help_structure_field = "CARRID  ).
        wd_this->m_handler->add_selection_field(
            i_id                         = CONNID
            it_result                    = lt_range_table
            i_value_help_structure       = 'SFLIGHT'
            i_value_help_structure_field = "CONNID  ).
    The result is that you select the CARRID, and that restricts the CONNIDs.
    I have used SFLIGHT because it will give linked search helps for CARRID and CONNID.  It works with parameters too, but remember GET_PARAMETER_FIELD is not currently implemented (it exists, but contains no code, so your program will seem to work, but it won't) , so use GET_PARAMETER_FIELDS which does work.

Maybe you are looking for