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

String automatically converted to upper case on the selection screen

former_member806437
Participant
0 Likes
3,615

Hi,

In module pool programming, I enter a string value manually on the selection screen. But it is getting converted to upper case automatically.

So, please help me in declaring the variable to accept both upper and lowercase.

DATA : v_ct_id type string. This is the variable I've declared.

Thanks.

1 ACCEPTED SOLUTION
Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
3,558

kunimbedu30

You said in the initial question "string value manually on the selection screen'. So you must have defined a selection screen and a selection parameter there. Reports' selection parameters are declared with PARAMETERS statement. That's why I mentioned LOWER CASE addition.

If your screen is however implemented with SAP Screen Builder make sure to mark "Case-Sensitive" property of the field:

Best regards

Dominik Tylczynski

5 REPLIES 5
Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
3,558

Hello kunimbedu30

Use LOWER CASE addition with PARAMETERS to define the selection field.

Best regards

Dominik Tylczynski

Read only

3,558

Hi,

I have declared the variable as DATA: v_ct_id TYPE string.

So may I know where to add LOWER CASE in the above statement.

Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
3,559

kunimbedu30

You said in the initial question "string value manually on the selection screen'. So you must have defined a selection screen and a selection parameter there. Reports' selection parameters are declared with PARAMETERS statement. That's why I mentioned LOWER CASE addition.

If your screen is however implemented with SAP Screen Builder make sure to mark "Case-Sensitive" property of the field:

Best regards

Dominik Tylczynski

Read only

3,558

Hi,

Thank you so much.

It is working now.

Read only

Sandra_Rossi
Active Contributor
3,558

You may search the forum/SAP Web site with your favorite Web search engine. I see many answers for search below. Based on the results, if it still doesn't solve, you may anyway refine your query/provide more information.

upper case on the selection screen site:sap.com