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: 

Passing a string of a PARAMETER

Former Member
0 Kudos

Hello,

I am new to ABAP. I am trying to pass a string of a PARAMETER to a variable.

My problem is i do for example:

PARAMETERS :     s_lstnam(20) TYPE C * if i write Hello World


String = s_lstnam


String = HELLO WORLD.


It allways changes the text to CAPS, and i want it to remain the same has i write in the parameter.


Anyone knows how to solve this ?


Regards,

Miguel Barão

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You will find that the F1 button very helpful. If you press F1 on the PARAMETERS statement, you will find the option that allows you to keep case sensitivity.

Rob

3 REPLIES 3

Former Member
0 Kudos

You will find that the F1 button very helpful. If you press F1 on the PARAMETERS statement, you will find the option that allows you to keep case sensitivity.

Rob

0 Kudos

Thank you very much Rob, just had to do PARAMETERS :     s_lstnam(20) LOWER CASE TYPE C, like it was described in the Help menu after hiting the f1 button. Do you actualy know if there is something similar for Select-options ? Tryed the F1 button there, but couldnt find.

0 Kudos

Remember that SELECT-OPTIONS are tied to another field. If that field has lower case attributes, then the SELECT-OPTION will too.

If it is a data dictionary field, it will be in the domain.

Rob