‎2022 Jun 28 7:59 AM
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.
‎2022 Jun 28 8:38 AM
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
‎2022 Jun 28 8:07 AM
Hello kunimbedu30
Use LOWER CASE addition with PARAMETERS to define the selection field.
Best regards
Dominik Tylczynski
‎2022 Jun 28 8:17 AM
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.
‎2022 Jun 28 8:38 AM
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
‎2022 Jun 28 10:15 AM
‎2022 Jun 28 8:40 AM
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