F4 help in WEB UI with bigger font ?
i have such an issue.
I have DDIC table lets call it ZTAB1 and a text table ZTAB1T related to it.
I have also created simple search help.
I have a field in a context node in the UI component (standard component, not only Z ones).
When F4 is pressed on it it automatically displays the values of the ZTAB1T.
It is all correct.
The problem is that customer needs to see the values of the search help with the bigger font size.
I can imagine one solution: use decision popup. I could create my own Z view and implement logic which sets bigger font of the columns in the view.
But this easily could work in a Z component in a standard one i have to add additional view which i do not want.
I have read about importing CSS styles in SAP.
However i'm not exactly shure how to use them in my case. I do not know which view is called when F4 is pressed, i suppose some standard component.
Do you have any idea about this?
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.
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.
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.