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.

Similar Messages

  • 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

  • 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

  • Filter Issues in P6.2.1

    I am facing filter issues in P6.2.1. I used the customized filter for "Planned but Not Started". Below shown were the combination i used to create the filter. but when i run the filter no activities were shown under WBS, i mean empty WBS
    1. Early Start - within a range of - PS - DD
    Activity Status - Not Started.
    2. Early Start - less than or equal to - DD
    Activity Status - Not Started.

    Hi,
    My feeling is that perhaps you don't have any task that is late.
    If not, please try following filter:
    Start is less than or equals to DD
    Activity staus not started yet
    I hope it helps.
    Regards,
    Younus

  • 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.

  • Essbase Security Filter issue.

    Hi,
    Its regarding the security filter issue.
    The major problem is whosoever user is provisioned under that security filter, if the user is trying to connect to Application using Excel Addin / Smartview, it crashes the essbase server [Network Error [10061], timed out error)]
    When we figured out because of this filter essbase server is crashing, we tried to edit the filter. sometimes if we click on edit, it crashes the server or sometimes we can see some junk characters in the filter.
    We have applied the security on Entities dimension and problematic filter is ASP.
    Now the hirerachy is like this.
    Entities dimesnsion and then ASP member and under ASP we have our several members.
    Filter is like this:
    Write : @Idescendants("ASP")
    It was working fine for almost 15 days.
    Now if i edit the filter, i can see like this:
    Write : @Idescendants("ASP")
    Metaread:@Idescendants("*&^%?)
    Junk characters are coming in and no idea from where they are coming.
    I can't delete the filter also, again it crashes the essbase server.
    As a workaround i have created a temp filter and dome the assignation for this group, according to that.
    Everything is working fine.
    I just wanted to know, has anybody faced such kind of problem earlier.
    What cud be the root cause for this.
    How could I delete the filter.
    I have also get messages like security file is corrupted (we have restored it from old backup) but really worried about security file as we are moving the whole thing to production server this weekend.
    Please advise me on this, Please help me. Any help would be highly appreciated.
    I am really in trouble.
    Thanks,
    Pankaj Mehta.

    Try to edit the filter from MaxL command line using
    alter filter sample.basic.filt7 add write on '@IDescendants("ASP")';
    here sample=application
    basic=database
    filt7=filtername
    have good luck

  • Oracle APEX 4.0  -  Interactive Report - Table Column Filter Issue

    Environment: Oracle APEX 4.0  -  Interactive Report - Table Column header Filter Issue
    We have developed an interactive report using Oracle APEX 4.0, which contains a record count of around 3,000 Rows. All the rows values are unique in nature. When we try to filter the same with the help of column header filter option available in the interactive report,We get only 1000 records.
    Could some one help us, why this behaviour under APEX Table Column Header Filter as if it does not display beyond 1000 distinct values.
    Is there a way or workaround on how to get all the records in the column header filter?
    Thanks in advance.
    Krish

    Hi
    Thanks for the advice and this issue has been moved to the below URL
    Oracle APEX 4.0 - Interactive Report - Table Column Filter Issue Posted: No
    Krish

  • Oracle APEX 4.0 - Interactive Report - Table Column Filter Issue Posted: No

    Environment: Oracle APEX 4.0 - Interactive Report - Table Column header Filter Issue
    We have developed an interactive report using Oracle APEX 4.0, which contains a record count of around 3,000 Rows. All the rows values are unique in nature. When we try to filter the same with the help of column header filter option available in the interactive report,We get only 1000 records.
    Could some one help us, why this behaviour under APEX Table Column Header Filter as if it does not display beyond 1000 distinct values.
    Is there a way or workaround on how to get all the records in the column header filter?
    Thanks in advance.
    Krish

    Krish,
    Interactive report has hard coded limit to display 1000 rows of column filter LOV for performance. Unfortunately, the limit cannot be changed. The workaround is to define a Column Filter LOV for the column instead of using "Default Based on Column Type".
    Regards,
    Christina

  • 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

  • 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.

  • Filter Issue in ALV Grid

    I am displaying the table in ALV Grid format. I have 4 fields in the table. The filter works for the first 3 fields, but doesnot work for the last field.
    Please let me know what might be the issue.
    Find the table declaration and the table population as in the below code
    TYPES : BEGIN OF ty_message,
              avm_nr  TYPE avm_nr,
              motiv   TYPE motiv_nr,
              text    TYPE t100-text,
              msg     TYPE merep_orderstat,
            END OF ty_message.
    DATA: gt_message TYPE STANDARD TABLE OF ty_message,
              gs_message TYPE ty_message.
        gs_message-avm_nr   = gs_upload-avm_nr.
        gs_message-motiv      = gs_upload-motiv.
        gs_message-text        = 'Order Successfully Changed'.
        gs_message-msg       = 'Success'.
        APPEND gs_message TO gt_message.
        CLEAR gs_message.
    Regards,
    Salil

    Since the field MSG refer to MEREP_ORDERSTAT which is CHAR10, it will convert the content to UpperCase.
    So, try like:
        gs_message-avm_nr   = gs_upload-avm_nr.
        gs_message-motiv      = gs_upload-motiv.
        gs_message-text        = 'Order Successfully Changed'.
        gs_message-msg       = 'SUCCESS'.
        APPEND gs_message TO gt_message.
        CLEAR gs_message.
    Regards,
    Naimesh Patel

  • Filter issue in ALV

    Hi All,
    Hope you all are doing fine!!
    Am displaying an alv output list for about 15fields among which VBELN ( sales document ) is one of the fields...,am able to filter all the fields in the output except for VBELN field ,,,, i really dont understand wats happening the filter is working for all the fields except sales document field(VBELN)..?
    Wud be greatful for any kind of fix for this problem!
    Thanks
    John

    Hi Raymond,
    Im pasting the code wherever am using VBELN in the program...ok
    TYPES: BEGIN OF ty_data,
          rufnm TYPE char30, "sales resp
           aubel TYPE vbeln_va, "sales doc
           vbeln TYPE char10, "doc doc       bstkd TYPE bstkd,  "po
           bstdk TYPE bstdk, "po item
           erdat TYPE erdat, "created on
           name1 TYPE name1_gp, "customer
           posnr_r TYPE posnr_vf, "billing item
           prctr TYPE prctr, "profit center
           netwr TYPE netwr, "net value
           augdt TYPE datum, "payment date
           terdt TYPE dzfbdt, "base line date
           net_val TYPE netwr_fp, "net val
           profit TYPE netwr_fp, "profit
           END OF ty_data.
    PERFORM build_fieldcat USING:
      'KUNRG' 'IT_DATA' 30 text-019 CHANGING it_fieldcat,
      'VKORG' 'IT_DATA' 30 text-001 CHANGING it_fieldcat,
      'VKBUR' 'IT_DATA' 30 text-020 CHANGING it_fieldcat,
      'SPART' 'IT_DATA' 30 text-021 CHANGING it_fieldcat,
      'VTWEG' 'IT_DATA' 30 text-022 CHANGING it_fieldcat,
      'AUBEL' 'IT_DATA' 30 text-023 CHANGING it_fieldcat,
      'POSNR_A' 'IT_DATA' 30 text-024 CHANGING it_fieldcat,
      'VBELN' 'IT_DATA' 30 text-003 CHANGING it_fieldcat, 
    'BSTKD' 'IT_DATA' 30 text-025 CHANGING it_fieldcat,
      'BSTDK' 'IT_DATA' 30 text-026 CHANGING it_fieldcat,
      'ERDAT' 'IT_DATA' 30 text-011 CHANGING it_fieldcat,
      'NAME1' 'IT_DATA' 30 text-004 CHANGING it_fieldcat,
       'AUGDT' 'IT_DATA' 30 text-012 CHANGING it_fieldcat.
    FORM build_fieldcat USING
             lw_fieldname TYPE slis_fieldcat_alv-fieldname
             lw_tabname TYPE slis_fieldcat_alv-tabname
             lw_outputlen TYPE slis_fieldcat_alv-outputlen
             lw_seltext_l TYPE slis_fieldcat_alv-seltext_l
             CHANGING lit_fieldcat TYPE slis_t_fieldcat_alv.
      DATA: lwa_fieldcat TYPE slis_fieldcat_alv.        "Field string
      lwa_fieldcat-fieldname      = lw_fieldname.
      lwa_fieldcat-tabname        = lw_tabname.
      lwa_fieldcat-outputlen      = lw_outputlen.
      lwa_fieldcat-seltext_l      = lw_seltext_l.
      APPEND lwa_fieldcat TO lit_fieldcat.
      CLEAR: lwa_fieldcat.
    ENDFORM.                    " build_fieldcat
    Thanks
    John

  • Required assistance in ALV filter

    Hi Experts,
    I am not very good in ALV's I have an issue with REUSE_ALV_GRID_DISPLAY function module.The issue is on the initial output if I select the 1st field BOM Header and click on filter it is working fine.I am getting a selection screen and if I press F4 on select -low I am getting the values.But if I choose another field Recepie do the same exercise I could see only 00000 when I clicked on F4 for the selection screen.For information the BOM Header is char30 and Receipe is N 30 .In the below code I am unable to understand the purpose of passing i_default,I_save and I_variant.Can some tell me the root cause for this issue.Thanks in advance.
    Call ALV grid display.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = sy-repid
          is_layout          = i_layout
          it_fieldcat        = g_fieldcat[]
          it_sort            = gi_sort[]
          i_default          = 'X'
          i_save             = 'A'
          is_variant         = i_variant
        TABLES
          t_outtab           = i_final_list
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.

    hi,
    The fields I_default, I_Save and IS_variant are used for variant purpose.
    I guess no relation with the fields and the issue that you are facing  now.

Maybe you are looking for

  • 32 Bit Oracle Client Libraries on a 64 Bit Machine

    Hello, I own a 32 bit application that is running on a 64 bit linux machine currently only installed with 64 bit oracle client libraries. I requested the administrator install the 32 bit client libraries so that my application can function and they t

  • Feature Request:  Auto-save in Background

    Here's a feature request I've submitted.  If you agree, please submit your request to: http://www.adobe.com/go/wish/ *******Enhancement / FMR********* Brief title for your desired feature: Background Auto Save How would you like the feature to work?

  • IMac not getting very far into boot sequence.

    Hi, I can no longer get OSX to boot up much further than after initial screen where it makes the noise, and has the spinning icon, after that if moves to a blue screen, light blue, occasionaly the hard drive will make a noise as if it's accessing it,

  • Multiple checkbox selection in ALV and updating internal table

    Dear Expert, Can anyone tell me how to handle the multiple checkbox selection in ALV Grid report and then updating the internal table. I tried the option but it works only when i select only 1 row in ALV.                 DO L_LINES TIMES.            

  • Dell Inspiron 1525 sound problem

    Hello! I installed Arch x86_64 on my laptop. All devices work fine. But after suspending to ram or disk, sound just disappeared. OS thinks that, sound is still exists, but I can't hear any sound. Reboot can help but this is not a solution. Please hel