Entering content frame

Allowing Parameters to Accept Upper and Lower Case Locate the document in its SAP Library structure

To allow upper or lower case for character string parameters, you use the following syntax:


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.


REPORT demo_sel_screen_param_lower_ca.

PARAMETERS: field1(10) TYPE c,
            field2(10) TYPE c LOWER CASE.
WRITE: field1, field2.

Assume the following input values on the selection screen:

This graphic is explained in the accompanying text

The output appears as follows:

UPPER      lower

The contents of field1 are changed to upper case.



Leaving content frame