Skip to Content
0
Nov 10, 2012 at 12:56 PM

Create search help value, based on SQL query result

34 Views

Hi,

I need to implement search help value for settype field based on SQL query with join statement. I read and followed the steps, described in article http://scn.sap.com/docs/DOC-25478, but I still has a problem. If I define type of settype field as drop down list with the following code:

  1. CASE iv_property.
  2. WHEN if_bsp_wd_model_setter_getter~fp_fieldtype.
  3. rv_value = cl_bsp_dlc_view_descriptor=>field_type_picklist.
  4. ENDCASE.

I get the right values in the drop-down list, but because I have about 50 values in this list and it will be more useful to present this search help as popup with value table.

The problem is that I don't know how to implement presentation of search help as popup table?

I guess, I need to define a correct type of rv_value in GET_P_SETTYPE( ), but I actually don't know what exactly should I write.

So, how can I implement this?

Thanks.