Filtering values in segment search

Hi,
I want to show only profle sets in the result view in segment search( Component name SEGAS_SEG). Currently system is showing up the result in tree structure profile set, profile and TG. How can I stop to show profile and TG?
Thanks.

Hi,
You are removing the row from a particular table. This doesn't mean you are removing row, you are removing contents of the row.
To achieve your requirement create a new table and add rows except your unwanted rows.
Regards,
Sateesh Chandra

Similar Messages

  • Selecting multiple values from a search help

    Hi Experts
    Anyone knows if it is possible to select multiple values from a search help?
    Thanks
    Gaurav

    Hi,
    You cannot select mutiple values from search help as it is linked to inputfield and hence it will accept single value only. But at the same time, you may able to pass row of values to different inputfields.
    Refer http://help.sap.com/saphelp_dm40/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm
    Thanks,
    Chandra

  • How can I access the Attribute Values from the Search Region

    Hi all,
    I have a table which contains Company id, department id, and PositonId. For a particular Company and Department there may be multiple records.
    I have to pupulate a table which contains the position and other details that comes under a particular Department and Position based on the selection in the Three comboBoxes.
    Also I have to populate a select many Shuttle to add new postions and records under a particular Department.
    I created a query panel *(Search Region)* for the serch and a table to display the data. That is working fine.
    Now the issue is I am using a view criteria to populate the shuttle with two bind variables ie, DepartmentId and CompanyId.
    If the serach will return a resuktant set in the table it will also pupulate the correct records, otherwise ie, if the if the serch result is empty the corresponding iterator and the attribute is setting as null.
    SO I want to access the attribute values from the Search Region itsef to populate the shuttle.
    I don't know how can I access the data from the Search Region.
    Please Help.
    Regards,
    Ranjith

    you could access the parameters entered in search region by the user as follows:
    You can get handle to the value entered by the user using queryListener method in af:query.
    You can intercept the values entered as described
    public void onQueryList(QueryEvent queryEvent) {
    // The generated QueryListener replaced by this method
    //#{bindings.ImplicitViewCriteriaQuery.processQuery}
    QueryDescriptor qdes = queryEvent.getDescriptor();
    //get the name of the QueryCriteria
    System.out.println("NAME "+qdes.getName());
    List<Criterion> searchList = qdes.getConjunctionCriterion().getCriterionList();
    for ( Criterion c : searchList) {
    if (c instanceof AttributeCriterion ) {
    AttributeCriterion a = (AttributeCriterion) c;
    a.getValues();
    for ( Object o : a.getValues()){
    System.out.println(o.toString());
    //call default Query Event
    invokeQueryEventMethodExpression("#{bindings.ImplicitViewCriteriaQuery.processQuery}",queryEvent);
    public void onQueryTable(QueryEvent queryEvent) {
    // The generated QueryListener replaced by this method
    //#{bindings.ImplicitViewCriteriaQuery.processQuery}
    QueryDescriptor qdes = queryEvent.getDescriptor();
    //get the name of the QueryCriteria
    System.out.println("NAME "+qdes.getName());
    invokeQueryEventMethodExpression("#{bindings.ImplicitViewCriteriaQuery.processQuery}",queryEvent);
    private void invokeQueryEventMethodExpression(String expression, QueryEvent queryEvent){
    FacesContext fctx = FacesContext.getCurrentInstance();
    ELContext elctx = fctx.getELContext();
    ExpressionFactory efactory = fctx.getApplication().getExpressionFactory();
    MethodExpression me = efactory.createMethodExpression(elctx,expression, Object.class, new Class[]{QueryEvent.class});
    me.invoke(elctx, new Object[]{queryEvent});
    Thanks,
    Navaneeth

  • How Can I get multi column values from dynamic search help?

    Hi Gurus;
    I'm using dynamic search help in my program.
    I want to get multi column values from search help. But I dont know solution for this issue.
    I'm using F4IF_INT_TABLE_VALUE_REQUEST FM.
    How Can I get multi column values from dynamic search help?
    Thanks.

    Believe it or not, the same FM worked for me in a dynpro. I will try to explain here how it works in custom screen and then you can do your work for other screens or program types. I am not going to write my actual work but will explain in general.
    I have 4 fields (FLD1, FLD2, FLD3, FLD4) and i made the search based on FLD2 and when user click on a line (could be any field), then this would bring the line on to the screens.
    There are like 3 steps.
    You have your value_tab for my fields FLD1, FLD2, FLD3 and FLD4. This is just the data that we pass into the FM. (data: IT_VALTAB type table of ZVAL_TABLE)
    Next map the screen fields into an internal table (data: It_dynpfld type table of dselc ). I also have other internal tables defined  (just to keep it straight, i will be putting here) data:  It_return type standard table of ddshretval.
    Next step is to call the function module. Make sure you have values in IT_VALTAB.
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
            retfield        = 'FLD2'
            value_org       = 'S'
          tables
            value_tab       = It_VALTAB
            return_tab      = It_return
            dynpfld_mapping = It_dynpfld
          exceptions
            parameter_error = 1
            no_values_found = 2
            others          = 3.
        if sy-subrc <> 0.
          message id sy-msgid type sy-msgty number sy-msgno
          with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        else.
          perform get_selected_fields tables It_return.
        endif.
    The code within the perform GET_SELECTED_FIELDS  - We need to map the result fields after user selects it. The code goes like this. This is step is to update the dynpro fields.
    I need a internal table as well as a work area here. like,
    data: lt_fields type table of dynpread,
            la_fields type dynpread.
      field-symbols: <fs_return> type ddshretval.
    so fill out LT_FIELDS from the IT_RETURN table
    loop at lt_return assigning <fs_return>.
        la_fields-fieldname = <fs_return>-retfield.
        la_fields-fieldvalue = <fs_return>-fieldval.
        append la_fields to lt_fields.
        clear: la_fields.
      endloop.
    Call the FM to update the dynpro
    call function 'DYNP_VALUES_UPDATE'
        exporting
          dyname               = sy-repid
          dynumb               = '1002' "This is my screen number. You could use 1000 for selection screen (hope so)
        tables
          dynpfields           = lt_fields
        exceptions
          invalid_abapworkarea = 1
          invalid_dynprofield  = 2
          invalid_dynproname   = 3
          invalid_dynpronummer = 4
          invalid_request      = 5
          no_fielddescription  = 6
          undefind_error       = 7
          others               = 8.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    good luck

  • Issue with filtering values in Web Template

    I am facing a problem with filtering values in Web Template.
    I have two queries based on two different data providers. One query is getting data from an Info set and the other from a Remote Cube. I have a single navigational block to filter values for both these queries but the change gets reflected only on the variable of one query. The other reflects no change and shows all the values irrespective of the filter condition.
    I have tried the option of setting in the properties of the navigational block, ‘affected data providers’ as both your data providers.But no effect.
    Can a single navigational block be used to filter values on 2 queries which are built on different data providers? If yes, can someone please tell me how it is possible?
    Kindly let me know how can I make the changes appear in both the queries?I am using SAP BI 3.5.
    Thanks & Regards,
    Suchitra

    Hi Peng,
    Frank also published a fix for 11g R1: http://www.oracle.com/technology/products/jdev/tips/fnimphius/rc_expand_menu_on_mouse_over.html
    function showMenu(event){
       var adfRichMenu = event.getSource();
       adfRichMenu.getPeer().show(null,true);
    }This should work.
    Luc Bors

  • How to include variable "assigned to" values in quick search

    Hi!
    The values available in field "assigned to" (agent inbox), vary depending on settings in PPOMA_CRM.
    I can see different teams or even nothing.
    When I try to define a quick search (TX: CRMC_IC_AUI_QUICKS), the field "assigned to" has two values: Me and My groups. Looks like this values are fixed, as they do not vary if I change my assignments in PPOMA_CRM.
    Does that mean that we cannot define any other values in quick search, and that we have to manually choose them in inbox?
    Thanks,
    Borut

    No one encountered this requirment?

  • How to add Value Table or Search Help for a field which is on Standard SAP?

    Hi All,
        I have a field HERST (tcode IE01) which doesnt have any value table or search Help. I have the same field in a Z table which I should display for the standard screen field in tcode IE01. So Pls suggest me on this.
        Thanks in advance.
    Regards
    Jaker.

    Hi, Tamas,
    I found the reason. The function Z_WEBRFC_READ_DATA_SH had a string concatenation error.
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    The correct code is like:
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},{"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    Another question is, I can't get any words in Chinese from WebRFC. It returns error when I try it. How can I configure it?
    Xin

  • Change default value "Number of Search Results" - Component PPM_DYNSEARCH

    Hi Gurus,
    I am new to SAP CRM WebUI development and hope you can help me on following problem.
    In Pipeline & Performance Management we want to change the default value for the search results from 100 to 1000.
    SAP CRM 7.0
    Component: PPM_DYNSEARCH
    View: PPM_DYNSEARCH/Filter
    I have already tried to solve this via following solution:
    1) Assign parameter SEARCH_MAX_HITS to a parameter profile in the following IMG and set his value to 1000:
    CRM >> UI Framework >> Technical role definition >> Define parameters.
    2) Then, assign your parameter profile to your business role:
    CRM >> UI Framework >> Business role >> Define business role.
    However this works for all initial search screens but not for Pipeline and Performance Management.
    Can anyone give me a short hint how I can set the max number of search results from 100 to 1000 in the PPM Screen.
    Many Thanks
    Michael

    Hi Michael,
    Seems like this is a normal edit page, not a search page.
    Keep a break point at this code in the HTML page.
    <thtmlb:inputField id        = "maxHitsInput"
                               width     = "80%"
                               value     = "<%= lv_display_max_hits %>"
                               maxlength = "8"
                               design    = "DEFAULT"
                               type      = "INTEGER" />\
    Change lv_display_max_hits in debugging and see if that brings in the value on the UI.
    Normally for a search page there will be a THTMLB attribute maxHits where we pass the value. But in your case it is a normal view.
    Regards,
    Masood Imrani S.

  • SVS, EVS, and OVS, Value Help and Search Help

    what and how to use SVS, EVS, and OVS, Value Help and Search Help  in abap webdynpro...Can anyone please give example link or document...As i am able to get on ovs but unable to get rest of other

    SVS and EVS are Web Dynpro Java specific types of value help.  They do not exist in Web Dynpro ABAP.  In Web Dynpro ABAP we have Data Dictionary based Search Help, OVS, and Freely Programmed Value Help.  In WDA 7.02 we have the slight variant on DDic Search Help called Suggest Values.  It doesn't change the development model, just the runtime user experience. 
    You can read more about each of the types of WDA based value help in the online help:
    http://help.sap.com/saphelp_nw73ehp1/helpdata/en/47/9b298c66eb3376e10000000a421937/frameset.htm

  • Process On Value Request with Search Help Problem

    I have a screen with a field that has a custom search help attached to it.  I am using Process On Value-Request which ultimately uses function module F4IF_FIELD_VALUE_REQUEST to return the selected value from the search help. The value is then moved to the screen field.
    THE PROBLEM: If I enter a value in a field on the screen, then use the search help from a different field the first value I entered gets cleared. Here is a code sample. Any suggestions as to why this is happening?
    NOTE: The values that get cleared are fields on the screen that I do not reference at all in user_command_2501.
    *****SCREEN 2500 FLOW LOGIC*********
    PROCESS BEFORE OUTPUT.
      MODULE status_2500.
    PROCESS AFTER INPUT.
      MODULE user_command_2500.
    PROCESS ON VALUE-REQUEST.
      FIELD makt-matnr MODULE user_command_2501.
    MODULE user_command_2501 INPUT.
      ok_code = sy-ucomm.
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
           EXPORTING
                searchhelp      = 'ZWS_ASSETMATR'
                fieldname       = ' '
                tabname         = ' '
           TABLES
                return_tab      = search_itab
           EXCEPTIONS
                no_values_found = 1.
      MOVE search_itab-fieldval TO: makt-matnr.
      REFRESH search_itab.
      SELECT SINGLE maktg FROM makt INTO crea_description
        WHERE matnr = search_itab-fieldval.
      MOVE 'I' TO scrn_attr_sw.
      sy-ucomm = 'ENTER'.
      LEAVE SCREEN.
      CALL SCREEN 2500.
    ENDMODULE.                 " user_command_2501  INPUT
    Message was edited by: Jason DeLuca
    Message was edited by: Jason DeLuca

    Hi Jason
    It seems you should first revise your code since your POV is not implemented so good.
    Regards
    *--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

  • Need to set default value on Account Search

    HI All,
    In BSP BP_HEADSEARCH view MainSearch I need to default the value of the attribute 'RESP_AREA' to '01'. I can see the attribute on the value node SEARCH but when get the current context of SEARCH the entity is of a type CL_CRM_BOL_DQUERY_SERVICE and I am not sure how to set the default value.
    Any help will be appreciated,
    Regards,
    Tom

    Hi Tom,
    When it comes to setting values in a search entity you can not use the normal getter/setter methods because the context node class will be inherited from CL_BSP_WD_CONTEXT_NODE_ASP. In the context node class there will be few attributes (FIELD,MAX_HITS,OPERATOR,VALUE1,VALUE2) that corresponds to the fields diosplayed in the search criteria. The fields VALUE1 and VALUE2 represents the LOW and HIGH values.
    To set default value for RESP_AREA you must redefine SET_VALUE1 method and read the ATTR_NAME. If ATTR_NAME is RESP_AREA then you can set the value.
    Method SET_VALUE1.
    * Get current criterion
      data: criterion type ref to if_bol_bo_property_access.
      if iterator is bound.
        criterion = iterator->get_current( ).
      else.
        criterion = me->parameter_collection->get_current( ).
      endif.
    * Set its low value from user input
      try.
          data: lv_value type string.
          lv_value =
             me->convert_value_from_string( iv_string = value
                                            iv_criterion = criterion ).
          criterion->set_property( iv_attr_name = 'LOW'
                                   iv_value = lv_value ).       "#EC NOTEXT
        cleanup.
    *     Keep buggy user input for correction
          criterion->set_property( iv_attr_name = 'LOW'
                                   iv_value = value ).          "#EC NOTEXT
      endtry.
    * Set the default value for RESP_AREA
    lv_attr_name =  criterion->get_property_as_string( 'ATTR_NAME' ).
    if lv_attr_name eq 'RESP_AREA'.
        criterion->set_property( iv_attr_name = 'LOW' iv_value = ---- ).
    Endif.
    Regards,
    Arun

  • Retrieving the value using formatted search

    Hi everyone. I have a question regarding on how I can get the value of the user-defined field in the title of a marketing document. I would like to get the value using formatted search and sql query.
    Here's the format I am currently using.
    $[$ <Item>.<Pane>.<Variable>]
    Is my format correct? Thanks.
    Regards,
    Omann

    Hi Omann,
    You can refer to fields in an entry screen using the syntax
    $[Table name.Field name]
    The table name is the name of the table belonging to the entry screen, for example, OINV for the A/R invoice entry screen.
    You can also use the fieldu2019s item number and fieldu2019s column number to refer to a field on the entry screen. By doing this, the query applies to all document entry screens. The syntax is then
    $[$Fieldu2019s item number.Fieldu2019s column number.NUMBER/CURRENCY/DATE/0]
    The system is able to uniquely identify each field of a document using the fieldu2019s index number and fieldu2019s column number. If you have activated the debug information under View  Debug Information, the system displays the fieldu2019s item number and the fieldu2019s column number in the status bar.
    You use the NUMBER parameter if the field concerned contains an amount and a currency key, and you want to extract the amount only. 
    You use the CURRENCY parameter if the field concerned contains an amount and a currency key, and you want to extract only the currency key.
    You use the DATE parameter if the field concerned is a date field and you want to use it for calculations.
    Regards, Yatsea

  • BD64 Filtering Value (Sale org/ Distri Channel) need to get in EXIT_SAPLMV01_002

    IHi ,
    In BD64, Under MATMAS Data filtration is set on Sales Org and Distribution Channel. When I am sending material from BD10 , I need to get these values ( Sale Org / Distribu Channel ). B'cos on the basis of these values I need to fetch PLANT from MVKE table by passing SOrg and Dchl .
    I am reading Segment value in exit EXIT_SAPLMV01_002, but , these values are present at MVKE Segment but I need those values at MARC Segment and MVKE Segment trigger at last where MARC segment trigger initially , So I am not able capture values in Segment also.
    On the basis on MARC-MATERIAL & MVKE-PLANT , I need to fetch TRLT (Lead Time) from MARC.
    How to retrieve Sale Org/ Dch either from Filtration Set at BD64 or from MVKE Segment that is triggering later then MARC Segemnt??
    Regards
    Ankesh

    Hello Ankesh,
    Modify MARC segment after MVKE is filled.
    Please find the below sample code :-
    Loop at IDOC_DATA  into WA_ IDOC_DATA  .
    case wa_idoc_data-SEGNAM.
    when 'E1MVKEM'
    READ TABLE IDOC_DATA into WA_ido WITH KEY segname = E1MARCM     
    if sy-subrc = 0.
    *write your logic here and modify idoc_data
    endif.                               
    endcase.
    Endloop.
    Thanks

  • Validate values while displaying search help records

    Hi Experts,
    I have created one serach help. This search help was using by so many programs.
    Based on the material type I need to restrict some values while displaying search help.
    Suppose search help contain three rows.
    Material type   ---   Material   --- Material Desc
    A1                    ---    12345       --- XXXXXXXXXXX
    A2                    ---    4586         --- XXXXXXXXXXX
    A3                    ---     2345       ---  XXXXXXXXXXX
    A1                     ---    852        ---  XXXXXXXXXXXX
    In my module pool program, I need to display A2 and A3 material type records only.
    How can we acheive this?
    I checked search help exit by creating new. none of the table contains those records. What code I need to write in search help exit?.
    Pls help me.
    Thanks in advance
    Raghu

    Hi check[ My wiki|https://wiki.sdn.sap.com/wiki/x/du0] for the code

  • Filtering Values from DDLB causes flickering

    Hi Experts,
    I am reducing the number of entries we have in a drop down list box for a standard field in an search overview page by means of redefining method 'get_dquery_definitions' of the controller class of the respective view and removing entries from table <rt_result>.
    Example:
    read table rt_result with key field = 'COST_TYPE' assigning <rt_result>.
    delete <rt_result>-options index 1.
    This method is executed twice: Once when the search view is created and once when the applicable search field is selected (as this field is not visible by default when the view is built).
    Functionally, the filtering works fine but what when the DDLB is built we see some kind of flickering before the values are displayed which seems to be caused by the sandclock showing up and being hidden again very quickly a number of times. Different from the example above we are not only removing a single entry from the DDLB but instead are reducing the list of entries significantly. When we only remove a single entry from the list, the flickering does not occur.
    Does anybody know where this flickering comes from (e.g. AJAX roundtrips) and how it can be suppressed?
    Thanks a lot and Regards,
    Jens

    Hi Jens,
    What method are you using to populate the drop down initially?
    Does the V getter method of that attribute create an object which uses interface IF_BSP_WD_VALUEHELP_DESCRIPTOR?
    If so you could restriuct the values in the class before the page is rendered.
    Gregor

Maybe you are looking for

  • Itunes get "Send Error Report" message

    Alright so when I try and open itunes I get a send error report message. I've tried updating it and that doesnt work and I've already tried reinstalling it. I thought quicktime was the error so I went to try and remove it from my computer. As it was

  • How can I find my old Apple ID's from previous computers and email addresses?

    My old computer and IPod (classic) have my ITunes library on them ... I can't remember my old email passwords  ... and one of my original email addresses no longer works.  How can I go to the store and get the music that i have purchased in the past

  • Plug-in development standard or professional?

    Hi all, Our company develops plugins for Acrobat X professional. We are planning to upgrade multiple machines to Acrobat XI. The SDK documentation states  "Plug-ins for Acrobat Standard do not have access to some APIs". But we are unable to find out

  • Don't see the eject function in iPhoto where it used to be...

    I recently had to install a new hard drive and am working on restoring everything back in my MacBook....I downloaded iPhoto and copied my photos from my iPhone to my MacBook.  I now want to take unplug my iPhone, but cannot find where to "eject" the

  • While creating proxie asking for transport Request/task...

    Hi Experts, This is the first time i am creating proxies. When i entered Spoxy transaction  and trying to activate the proxie its asking for package name,Prefix and Transport (Request/Task) . The transport request shouild be created by network people