Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

' REUSE_ALV_GRID_LAYOUT_INFO_SET' problem (+)

Hello,

I'm using REUSE_ALV_GRID_LAYOUT_INFO_SET to change filter values in ALV grid, which is displayed using REUSE_ALV_GRID_DISPLAY. In spite of specifying all the values in table IT_FILTER, filter values do not change. If I try to change values manually, I've got error message 'Filter error ::: 15'. Does anyone have an example of using REUSE_ALV_GRID_LAYOUT_INFO_SET in this way?

      CLEAR filter_string.
      REFRESH it_filter.


      filter_string-fieldname = 'MATNR'.
      filter_string-tabname =  1 .
      filter_string-valuf = '*.*'.
      filter_string-valuf_int = '*.*'.
      filter_string-sign0 = 'I'.
      filter_string-optio = 'CP'.
      filter_string-decimals = 0.
      filter_string-intlen = 18.
      filter_string-inttype = 'C'.
      filter_string-order = 1.
      filter_string-ref_fieldname = 'MATNR'.
      APPEND filter_string TO it_filter.

      CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_SET'
        EXPORTING
 
          it_filter            = it_filter
                  .
 

Tags:
Former Member
replied

HI Cyril,

IN addition to the filter data, also pass the field catalog info also.

Regards,

Ravi

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question