Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALV: avoid uppercase

Former Member
0 Likes
4,438

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

1 ACCEPTED SOLUTION
Read only

0 Likes
2,090

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

6 REPLIES 6
Read only

ThomasZloch
Active Contributor
0 Likes
2,090

Check if the domain behind this field of your ALV list allows lower case letters.

Thomas

Read only

Former Member
0 Likes
2,090

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.

Read only

0 Likes
959

Thanks a lot, your answer is of great help. I am able to resolve my issue.

Read only

0 Likes
2,091

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

Read only

Former Member
0 Likes
2,090

change the data element or ddic reference of that field to type string,

Read only

Former Member
0 Likes
2,090

Hi,

If u want only to input lowercase values only then u can use the option in fieldcatalog lowercase .

Regards,

Srinivas..