cancel
Showing results for 
Search instead for 
Did you mean: 

string case

aravindcsebe
Explorer
0 Kudos
387

when i give some input as string it is automatically being received as in uppercase i want it to be received as the same string as given without changing in the case.

string = 'hElLo'

if I give the above string as the input it has to be stored in the variable as the same.

please help me.

FredericGirod
Active Contributor
0 Kudos

string = `hElLo`.

does not work ?

Tomas_Buryanek
Active Contributor
0 Kudos

What do you mean by "input"? Selection screen PARAMETER, importing parameter of the method, parameter of the Function module... or?

How is the "string" defined?

Sandra_Rossi
Active Contributor
0 Kudos

PARAMETERS ... LOWER CASE ...

or

refer to DDIC field whose domain has lower case checkbox

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Pls chk this code

DATA: T(10) VALUE 'abcdefghij',
STRING LIKE T.


STRING = T.
WRITE STRING.

TRANSLATE STRING TO UPPER CASE.
WRITE / STRING.

Regards

Christian Fritsch