Application Development 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: 

Capture parameter in small letters instead of capitals

Former Member
0 Kudos

Hi ABAP gurus,

I have a selection screen with an input parameter as STRING used to indicate the output path of the resulting .txt file from my report.

The problem I have is that the value in the string is always applied in capital letters which means the directory is created using capitals instead of what was input at the selection screen. It's not a big problem but I would just like to know if there is any way of keeping the strings value as it was entered in the beginning.

Any suggestions?

Regards,

Simon.

1 ACCEPTED SOLUTION

former_member156446
Active Contributor
0 Kudos

Hi you can declare as below:

PARAMETER: pa_char(250) TYPE c LOWER CASE.

5 REPLIES 5

former_member156446
Active Contributor
0 Kudos

Hi you can declare as below:

PARAMETER: pa_char(250) TYPE c LOWER CASE.

0 Kudos

Sorry, I didn't explain myself properly.

I don't want it all in lower case, just the characters which are entered in lower case.

0 Kudos

yeah above post will solve ur purpose..

tarangini_katta
Active Contributor
0 Kudos

HI Simon,

declare like this.

PARAMETERS : p_file TYPE rlgrap-filename.

It will keep the file as u entered.

Thanks,

0 Kudos

Yeah you're right J@Y,

Thanks to you both.

Simon