ALV filter problem

Hi,
I am facing a problem with the ALV grid. Recently our system got upgraded to ECC 5.0
There is a column in the grid for displaying message texts.If i try to set a filter for the message text column,a popup comes as usual to select the values in the message column. In that popup, suppose a F4 help is taken, texts are getting truncated.
Could you please suggest any OSS notes need to be added for this?
Regards,
Raju

Hi,
try to use EDIT_MASK for that field and see.
you try this way..
<b>
Fieldcat-edit_mask = '==ALPHA'.</b>
for the text field.
Regards
vijay

Similar Messages

  • Alv grid filter problem

    Hi all,
    I have a problem when filtering data in alv (I use REUSE_ALV_GRID_DISPLAY FM). The problem is that data is truncated in the matchcode of the filter.
    I've seen several threads talking about this, but was not able to find the right solution for me... a lot of notes, and I think I shouldn't have to install all of them.. should I?
    I followed this thread
    ALV filter problem
    but do not know the note installed by the asker in the end...
    Could anybody help me?
    Best Regards

    Hi,
    Please apply OSS note 898852.
    Regards,
    Bharadwaj

  • ALV Filter : Not working for a text field - Strange problem

    Dear All,
    I have a Z-program where the ALV filter is not working on a particular text field.
    The output on that text field is as below :
    ABCD
    JKLM
    YYZZ
    ABCD
    JKLM
    ABCD
    JKLM
    YYZZ
    YYZZ
    When we try to filter on YYZZ, it gives blank list. But for other options given abobe it works fine.
    I know it is because of the negative sign , but how can we over come this problem ?
    Thanks in advance,
    Sandip.

    Hi Sandip,
    Use 'LOWERCASE' in the fieldcatalog.
    For the particular text field when you are appending the Fieldcatalog structure to the Fieldcatalog Table
    ( Suppose LS_FIELDCAT)
    Then check the LOWERCASE field.
    (LS_FIELDCAT-LOWERCASE = 'X' )
    This will serve the purpose.
    Regards,
    Sourav

  • Problem with ALV filter functionality when filtered for multiple values

    Hi,
    I am facing a problem with ALV filter functionality.
    I have displayed an ALV with some columns col_A, col_B and col_C
    col_A---- col_B -
    col_C
    1----
    a -
    abc
    2----
    b -
    pqr
    3----
    c -
    lmn
    4----
    d -
    xyz
    5----
    f -
    stu
    From the settings link I am applying filter on column col_C and selected multiple values say 'pqr', 'xyz' and 'lmn'.
    Now the ALV is showing rows only for last selection i.e . results are fetched only for value 'lmn'.
    i.e. after applying the filter the ALV table looks as below:
    col_A---- col_B -
    col_C
    3----
    c -
    lmn
    But ideally it should be:
    col_A---- col_B -
    col_C
    2----
    b -
    pqr
    3----
    c -
    lmn
    4----
    d -
    xyz
    I could not find any OSS note related to this issue.
    Please help me resolve this issue.
    Thanks,
    Feroz

    Hi,
    I am facing a problem with ALV filter functionality.
    I have displayed an ALV with some columns col_A, col_B and col_C
    col_A---- col_B -
    col_C
    1----
    a -
    abc
    2----
    b -
    pqr
    3----
    c -
    lmn
    4----
    d -
    xyz
    5----
    f -
    stu
    From the settings link I am applying filter on column col_C and selected multiple values say 'pqr', 'xyz' and 'lmn'.
    Now the ALV is showing rows only for last selection i.e . results are fetched only for value 'lmn'.
    i.e. after applying the filter the ALV table looks as below:
    col_A---- col_B -
    col_C
    3----
    c -
    lmn
    But ideally it should be:
    col_A---- col_B -
    col_C
    2----
    b -
    pqr
    3----
    c -
    lmn
    4----
    d -
    xyz
    I could not find any OSS note related to this issue.
    Please help me resolve this issue.
    Thanks,
    Feroz

  • LED in field and traffic lights in ALV filter

    Hi experts,
    Am showing LED in field of ALV(OOPs oriented)and when i click on  ALV filter for led field..it shows me Traffic lights in poup for filter.Please help me to get LED in filter popup also.
    Thanks,
    Sajay.

    Solved

  • LED in field of ALV(OOPs oriented)- Traffic lights in ALV filter popup

    Hi experts,
    Am showing LED in field of ALV(OOPs oriented)and when i click on  ALV filter for led field..it shows me Traffic lights in poup for filter.Please help me to get LED in filter popup also.
    Thanks,
    Sajay.

    Hi,
    Use the fuction module 'ICON_CREATE' as follows.
    CALL FUNCTION 'ICON_CREATE'
        "To create Red/Yellow/Green traffic icons
          EXPORTING
            name   = wrk_light
          IMPORTING
            RESULT = ip_status.
    wrk_light can be;
    'ICON_RED_LIGHT'
    'ICON_YELLOW_LIGHT'
    or 'ICON_GREEN_LIGHT' according to your scenario, that you can use the logic for your scondition.
    Use it in PBO.
    Regards,
    Renjith Michael.

  • ALV filter- In activate case Sensitive nature

    Dear experts,
    I have z report with standard ALV filter and when I try to filter text column and itu2019s did not work. I know this happens because of case sensitive nature of filter. Could u pls help me how to inactivate case sensitive nature of the ALV filter
    Thank you & Best Regards
    Sameera

    Sameera,
    You can use lowercase flag on fieldcat:
    DATA: it_fieldcat     TYPE slis_t_fieldcat_alv,
    FORM monta_layout_alv.
      DATA: la_fieldcat LIKE LINE OF it_fieldcat.
      CLEAR: la_fieldcat.
      la_fieldcat-fieldname   = 'DESC_MOD'.
      la_fieldcat-tabname     = 'IT_SAIDA'.
      la_fieldcat-seltext_m   = 'Modalidade'(804).
      la_fieldcat-lowercase   = 'X'.
      APPEND la_fieldcat TO it_fieldcat.

  • ABAP WebDynpro ALV Filter Dropdown

    Hi guys,
    Is it possbile to do the dropdown list of alv filter?
    If so , how to do that?
    Thanks in advance.
    Best regards,
    Vincent

    Hello Lakshmi,
    I did as follows.
    1. Go to WDComponent.
    2. Add SALV_WD_TABLE as Component use at Used Components tab.
    3. Go to ViewController.
    4. Add SALV_WD_TABLE as used Component and used Interface at Properties tab.
    5. Map FILTER_VALUES node from used Component of ALV to Context of ViewController at Context tab.
    6. Code as follows.
      DATA lo_nd_filter_values TYPE REF TO if_wd_context_node.
      DATA ls_filter_values TYPE REF TO if_wd_context_element.
      DATA l_wdy_key_value_table TYPE TABLE OF wdy_key_value.
      DATA l_wdy_key_value TYPE wdy_key_value.
      lo_nd_filter_values = wd_context->get_child_node( name = wd_this->wdctx_filter_values ).
      ls_filter_values = lo_nd_filter_values->create_element( ).
      ls_filter_values->set_attribute(
        name = `FIELDNAME`
        value = `ATTR1`          "Attribute name that you want to set filter.
    *Followings are filter values.
      l_wdy_key_value-key = `0`.
      l_wdy_key_value-value = ``.
      APPEND l_wdy_key_value TO l_wdy_key_value_table.
      l_wdy_key_value-key = `1`.
      l_wdy_key_value-value = `AAAA`.
      APPEND l_wdy_key_value TO l_wdy_key_value_table.
      l_wdy_key_value-key = `2`.
      l_wdy_key_value-value = `BBBB`.
      APPEND l_wdy_key_value TO l_wdy_key_value_table.
      l_wdy_key_value-key = `3`.
      l_wdy_key_value-value = `CCCC`.
      APPEND l_wdy_key_value TO l_wdy_key_value_table.
      ls_filter_values->set_attribute(
        name = `T_DROPDOWN_VALUES`
        value = l_wdy_key_value_table
      lo_nd_filter_values->bind_element( new_item = ls_filter_values set_initial_elements = abap_false ).
    Regards,
    Masaaki YANOKUCHI
    Edited by: Masaaki Yanokuchi on Jan 26, 2010 10:35 AM

  • Webdynrpo ALV filter issue

    Hi All,
    In web dynpro ALV we have one column called Article . I am trying to find the article 661-2689 by using Standard SAP filter option but the Article is getting converted to 000000000000000661-000000000000002689 . This zero appending happens when I choose the Filter/ Press enter key . It does not find the article by using Filter option .
    Our system version is SAP_BASIS 700 . Please let me know if there is any solution to this ALV Filter issue .
    Thanks in advance,
    Kiran.

    Hi Kiran,
    It depends on the attribute's data element. If it's NUMC this property is automatically displayed in the context in the bottom panel labeled "Formatting".
    But if you are trying to do it whit Article i think the data element is MATNR of type CHAR, so this property will not be displayed.
    May be, you need to convert the value assigned to your filter field before to trigger the filter. I think you have created an action for the event "onFilter" in your table, so in this action before to do "wd_this->table_filter->apply_filter( )" maybe you need to use the FM CONVERSION_EXIT_ALPHA_OUTPUT in order to quit the leading zeros.

  • ALV filter with own logic

    Hello colleagues out there,
    I have a request from my users concerning ALV filtering. They want to have filters of the kind :
    - A = 5 or B = 6
    - A + B > C
    (A, B, C Columns of the table)
    Surely I can implement such rules "hard" coded in the ABAP. But my question is: Is there are more generic way, that allows the users to define their filter rules themselves without having to modify my programs ?
    Many thanky for your help
    Rabanus Diehl

    Hi rabanus,
    1.  A = 5  can be done
        B = 6 can be done
    but OR conditions, between two fields cannot be done,
    in standard alv filter functionality.
    2.  A + B > C
       cannot be done,
      bcos it allows filter only one one field, by one field,
      not
      using some expressions/equations.
    regards,
    amit m.

  • Problem with alv filter

    Hi all,
    I have a problem when i filter ALV column, which has data type  BELNR (FI doc No). I input in filter FI doc: 40000007 (8 char long, w/o zero ahead), then i get the empty result. The really one i want to get is a ALV line with FI doc = '40000007'.
    Could u pls help me?
    Thanks and regards,
    Hung.

    Check the field catalog for field BELNR, it should have conversion exit ALPHA. (check your report or execute [The Consistency Check|http://help.sap.com/saphelp_sm32/helpdata/EN/d6/23253963143e6ae10000000a11402f/frameset.htm])
    Regards,
    Raymond

  • Alv grid filter problem with oops display

    HI experts ,
    i am using o_alv->set_table_for_first_display
    for displaying the data in the grid ,
    i have a problem in filter for fields, when i am selecting any field for filtering , then size of that field becomes less then the orignal size , even search help on that field is shoun only 4 characters of dat fields.
    ex: Bulding (field in alv) is a 9 character field but in filter when we select f4 help then it shows only first four characters, plz tell me the solution.

    Hi Rahul
    Try using output length in field catalogue for those fields. It may solve ur problem.
    Venkat

  • Problem in ALV Filter option

    Hi Experts,
    In the ALV output we are having fields like year,period and plant.If i click on Year or period or plant and then click on filter option in ALV it is giving a select option and then click on the F4 Help in the selection option,it is giving the list of option once i select any one of the value it is displaying(for eg:Year)  as '2004####'.Then if we click ok it is showing error instead of '2004####' it should be '2004' after selection.
    Is there any way to rectify this?????Please reply ASAP.
    Thanks
    Raj.

    Hi
    If it is YEAR (type is GJAHR) .... and passing the value as '2008'.
    Hi Guys,
    Did anyone come across this situation??
    Thanks
    Raj.

  • Problem with ALV Filter Option

    Hi
    In 4.6C version when i click on a column for Filter option, i am able to key only 20 Chars( Visible length is 16 ). Whereas in 4.7 version,  i am able to key in 40 Chars in the Input field of the filter option. Is this a problem with 4.6C version. Please Help...

    Hi
    Can you check report BCALV_TEST_FULLSCREEN_FILTER in 46C. When you put a filter on C60 ( 60 Char field ) the screen display of select-option is small but when you select the multiple options, you can key in upto 60 chars and the filter works well. Check if thsi rpogram helps you.
    Cheers.

  • REgarding ALv filter

    hi
    Experts
    i devloped a report in  alv, it is sucess fully gives output..
    while   i  selected one column field ( material)
    and set filter .
    when  iam selecting one material to display .
    length of the   selected field is so small.
    example
    iam having material s ( MGHJ----1234UR, HFGR-2366,  HFRJRHDL-533 ) IN OUTPUT  FIELD CATELOG ..
    i am selecting mateial  colum and set the filter
    i want display only  mghj----123 material
    while   i am  giving material  in filter   , it length will be like mghj--
    i am unable to see the 123 by drag the legnth ..
    if i executed i did n't get anything..
    please give the   filter field r field catelog  field to display  correct length
    Regards
    Spandna
    Moderator message - Moved to the correct forum
    Edited by: Rob Burbank on May 21, 2009 9:09 AM

    Hi,
        Itu2019s Very simple there are many ways to solve this problem.
    1) if you are using OOPS ALV then use GET_FILTERED_ENTRIES method and read data accorind to   
        that index
          CALL METHOD G_GRID_REFERENCE->GET_FILTERED_ENTRIES
    2) simple way - just set the fieldcatlog outputlen same as Material characteristics
        Ex: - wa_fieldcat-outputlen = 15.
    Salil...

Maybe you are looking for