11-29-2007 4:28 PM
11-29-2007 4:35 PM
Hi you can mention key word lower case while declaring Parameters.
Parameters:p_1 type c lower case.
This allows data entry in lower case.by default sap converts all data into upper case unless this option is specified
11-29-2007 4:36 PM
If you want to test it in se37, there is a check box in se37 when you run in, which can be checked (Upper/lower case).
If you pass it from the program(the Importing parameter of the Fm should be normal char type, then it would work fine. Or use a domain that has a LOWERCASE check box checked.
Reward points..
11-29-2007 4:52 PM
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.