Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9129

Re: Setting "Visible Row Count" of LIST UIBB at Runtime

$
0
0

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.

 

  1. In Additional Settings of LIST UIBB configuration set below property
    1. 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


Viewing all articles
Browse latest Browse all 9129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>