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

parameters as type string

Former Member
0 Likes
1,366

Hi,

I have declared a parameter type string.

How to read the value from it as the way exactly user inputs on this field. ( It may be combination of Upper and Lower Case)

It should not be converted into specific lower/upper case.

1 ACCEPTED SOLUTION
Read only

prasanth_kasturi
Active Contributor
0 Likes
1,201

hi,

use parameter addition LOWER CASE

LOWER CASE

Effect

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.

example

parameters : var type string LOWER CASE.

write : var.

O/P----> if you string as AbCd

it displays as AbCd

regards

prasanth

4 REPLIES 4
Read only

prasanth_kasturi
Active Contributor
0 Likes
1,202

hi,

use parameter addition LOWER CASE

LOWER CASE

Effect

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.

example

parameters : var type string LOWER CASE.

write : var.

O/P----> if you string as AbCd

it displays as AbCd

regards

prasanth

Read only

Former Member
0 Likes
1,201

Hello,

Type string don't do upper/low conversion automatically.

Regards.

Read only

Former Member
0 Likes
1,201

PARAMETERS : test(10) type c LOWER CASE.

this will work

Reward IF....................

regards

Anbu

Read only

Former Member
0 Likes
1,201

Hi Charan,

If you are using this parameter to fetch a file name then use:

PARAMETER : p_name TYPE RLGRAP-FILENAME. You'll get the name as it is.

Regards,

Sai