Skip to Content
avatar image
Former Member

I have created Age field in service order result screen,now Standard sorting is not working for this field?Sorting is not wroking?

Hi Team,

I have created Age field in service order result screen,now Standard sorting is not working for this field?Sorting is not working.remaining 3 AET fields sorting is working fine standard functionality is not working in Age field.

Could you please here.

Thanks in Advance

Thank

Kalpana

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    May 21, 2015 at 01:14 PM

    Hi Team,

    Could you please help Here.

    Thanks

    Kalpana

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 21, 2015 at 01:15 PM

    Hello,

    Try changing the metadata to a character format in GET_M method (say char10).

    May be it was not working fine with the integer format.

    Regards,

    Bharathy.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Kalpana,

      Looks like you are filling the value in GET_ method. Since this value is not in collection, the sort will not work. To have the sort work, you have to fill the collection with data for this field. You can do this while building this data collection or in do_prepare_output method of the view.

  • avatar image
    Former Member
    May 22, 2015 at 02:20 PM

    Hi Kalpana,

    Kindly change in get_p method.

    provide fp_sortable as abap_true.

    WHEN if_bsp_wd_model_setter_getter=>fp_sortable.
    rv_value = abap_true.


    Regards,

    Arun.

    Add comment
    10|10000 characters needed characters exceeded