cancel
Showing results for 
Search instead for 
Did you mean: 

Sort And Filter(Ascending & Descending) is not available in BTPARTNER

Former Member
0 Kudos

Hi All,

My requirement was to separate the 1st name and last name in BTPARTNER/PartnerSelList as the name was concatenated into single before.

Now I have separated the same to 1stname and last name. But the Sort Ascending/Descending is not available for the 1st name(filter is there), whereas for the last name bothe filter and sort functionality is available in WEB UI.

Please let me know how to add the sort Ascending/Descending for the 1st name in WEB UI screen.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ginger,

You need to implement the GET_P method of both the fields.

here is the code you need to add:

METHOD get_p_firstname.

CASE iv_property.

WHEN if_bsp_wd_model_setter_getter=>fp_sortable.

rv_value = 'TRUE'.

ENDCASE.

ENDMETHOD.

have a look at class CL_BTPARTNE_PARTNER0_CN00 method GET_P_PARTNER_NO_DESCR (this is the component BTPARTNER, view Partner, Node BTPARTNER field PARTNER_NO_DESCR

Kind regards,

Micha

Answers (0)