11-24-2015 4:20 PM
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
11-24-2015 4:36 PM
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
11-24-2015 4:36 PM
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
11-24-2015 4:57 PM
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.
11-24-2015 5:03 PM
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