Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Why we get parameter output in Upper Case..?

Former Member
0 Likes
739

Hi all,

plz find the code below.

report xxx.

parameters test(10) type c.

write test.

when i execute this code nd if i give the input string in lower case even its getting in upper case , why it happens .?

can any one please tell this.

Hi all,

plz find the code below.

report xxx.

parameters test(10) type c.

write test.

when i execute this code nd if i give the input string in lower case even its getting in upper case , why it happens .?

can any one please tell this.

3 REPLIES 3
Read only

Former Member
0 Likes
671

hi,

do this way ..By default it takes UPPER CASE ... convert it in to lower case by the below statement ...

report xxx.

parameters test(10) type c lower case.

write test.

Read only

prasanth_kasturi
Active Contributor
0 Likes
671

hi,

in abap its by default caps

use LOWER CASE addition of parametrs

parameters : test(10) type c lowercase. "<----- check the addition

and your value becomes case sensitive

This addition prevents the content of character-type fields from being converted to uppercase letters when the input field on the selection screen is transported to the data object para in the program and vice versa.

The addition LOWER CASE cannot be used together with the additions AS CHECKBOX or RADIOBUTTON

regards

prasanth

Read only

Former Member
0 Likes
671

Hi,

ABAP automatically converts to upper case, so you need to specify lowercase explicitly

in your code.

Shruthi