Hi Yugesh,
If I understand your question correctly, below code can help you..
Write below code in IF_FPM_GUIBB_LIST~GET_DEFAULT_CONFIG method of your Feeder class.
*--> Settings height and disabeling Grouping in grid
io_layout_config->set_settings(
EXPORTING
iv_height_mode_ats = if_fpm_list_types=>cs_height_mode_ats-automatic
).
Also set below configuration on your List.
- In Additional Settings of LIST UIBB configuration set below property
- Table Height : Fit to Row count (Resizing Possible)
- Table Height : Fit to Row count (Resizing Possible)
If you want to set Layout related configurations for your list you can do as follows in IF_FPM_GUIBB_LIST~GET_DEFINITION method of your Feeder class:
eo_field_catalog ?= cl_abap_tabledescr=>describe_by_data_ref( p_data_ref = mo_srv->get_srch_rslts( ) ). "Get references to Search result type
Hope this will help.
"Requesting you to please remove question posted on below link. :-) "
Programmatically changing/setting sort/filter in FPM ATS LIST
Thanks-
Abhishek