Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: F4 help in WEB UI with bigger font ?

$
0
0

Hi Rosen,

 

The change mentioned in previous reply would affect all your search helps.

If you want to change for just one search help then method DO_AT_BEGINNING and RENDER_CELL of standard class CL_THTMLB_CELLERATOR needs to be enhanced.

 

Below are the steps:

1. Make a attribute 'GV_MY_SHLP' in CL_THTMLB_CELLERATOR class.

2. You will find the below code in DO_AT_BEGINNING method.

   get_table_content(

     IMPORTING

       et_table_entries      = gt_table_entries

       et_cellerator_columns = gt_cellerator_columns

       et_editable_rows      = gt_editable_rows

       et_selected_rows      = gt_selected_rows

       et_expanded_rows      = gt_expanded_rows

       es_alv                = gs_alv ).

 

The above code will fill table gt_cellerator_columns with the id's that you mentioned in your search help.

Enhance the method. Put a check after this get_table_content method call to check whether your search help parameter is present in gt_cellerator_columns table. If yes, then set the 'GV_MY_SHLP' to 'X'.

 

3. Now go to RENDER_CELL method. At the end you will find the below code.

 

CONCATENATE '<'

               lv_html_tag

               lv_id_string

               ' class="'

               lv_css_class

               '" style="width:'

               lv_css_width

               '; text-align:'

               lv_css_alignment

               '; '

               lv_add_style

               ' "'

               lv_js

               lv_columnindex

               lv_tab_html

               lv_tab_index

               lv_tooltip

               '>'

               lv_testmode_span_start

               lv_bee_html

               lv_testmode_span_end

               '</'

               lv_html_tag

               '>'

          INTO lv_html.


Enhance this method.


Check if 'GV_MY_SHLP' eq 'X', then change the line marked bold.


'" style=" font-size: large; width:'


Now it will work for only your specific search help.


Thanks,

Ritu




Viewing all articles
Browse latest Browse all 7775

Trending Articles



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