‎2009 Nov 10 9:53 AM
Hi,
I am trying to show a text with the characters entered into alv field. More exactly if I insert characters in a field of my alv, after saving the data into internal table and then refreshing the alv, I find the characters in my alv text field in uppercase.
I use lo_grid->check_changed_data( ) to save the alv in my internal table. I use lo_grid->refresh_table_display. to refresh the alv after changing my internal table (for example removing lines with all field set to blank).
I hope in your help.
Thanks in advance.
Regards,
Giovanni
‎2009 Nov 10 10:42 AM
HI,
Use "lowercase " enable for that field in feild catalog.
*Field catalog for first report
CLEAR wa_fldcat_rep1.
wa_fldcat_rep1-col_pos = 1.
wa_fldcat_rep1-fieldname = 'KOSTL'(115).
wa_fldcat_rep1-outputlen = 15.
wa_fldcat_rep1-seltext_m = 'New Cost Center'(102).
wa_fldcat_rep2-ddictxt = 'M'.
wa_fldcat_rep2-lowercase = 'X'
APPEND wa_fldcat_rep1 TO i_fld_cat_rep1.
Thanks,
Nelson
‎2009 Nov 10 9:56 AM
Check if the domain behind this field of your ALV list allows lower case letters.
Thomas
‎2009 Nov 10 10:00 AM
Hi,
This is not because of ur ALV.. Check the settings of the domain element whcih you are using.. There would be a check box with name 'Lower Case'. tick that option.
‎2025 Sep 25 11:19 AM
Thanks a lot, your answer is of great help. I am able to resolve my issue.
‎2009 Nov 10 10:42 AM
HI,
Use "lowercase " enable for that field in feild catalog.
*Field catalog for first report
CLEAR wa_fldcat_rep1.
wa_fldcat_rep1-col_pos = 1.
wa_fldcat_rep1-fieldname = 'KOSTL'(115).
wa_fldcat_rep1-outputlen = 15.
wa_fldcat_rep1-seltext_m = 'New Cost Center'(102).
wa_fldcat_rep2-ddictxt = 'M'.
wa_fldcat_rep2-lowercase = 'X'
APPEND wa_fldcat_rep1 TO i_fld_cat_rep1.
Thanks,
Nelson
‎2009 Nov 10 11:01 AM
change the data element or ddic reference of that field to type string,
‎2009 Nov 10 12:22 PM
Hi,
If u want only to input lowercase values only then u can use the option in fieldcatalog lowercase .
Regards,
Srinivas..