Allowing Parameters to Accept Upper and Lower Case
To allow upper or lower case for character string parameters, you use the following syntax:
PARAMETERS <p> ...... LOWER CASE ......
If you do not use the LOWER CASE addition, all input values are automatically converted into upper case.
If you use the TYPE addition to refer to data types from the ABAP Dictionary, the parameter adopts all attributes of the Dictionary field. These attributes cannot be changed, and you cannot use the LOWER CASE addition. The possibility for entering either upper- or lower-case values must be defined in the ABAP Dictionary.
FIELD2(10) LOWER CASE.
WRITE: FIELD1, FIELD2.
Assume the following input values on the selection screen:
The output appears as follows:
The contents of FIELD1 are changed to upper case.