Reputation: 2674
I have an input field with a default value of Test 1
:
PARAMETERS: gv_inp1 TYPE string DEFAULT 'Test 1' ,
gv_inp2 TYPE string DEFAULT 'Test 2',
gv_inp3 TYPE string DEFAULT 'Test 3'.
The problem is that the value is translated to upper case when writing it:
gv_txt1 = gv_inp1.
WRITE /: gv_txt1.
Result: TEST 1
I want to have those values without any changes.
Upvotes: 3
Views: 7195
Reputation: 11
This is the normal behaviour for parameters unless you specify the LOWER CASE
addition like this:
PARAMETER: gv_inp1 TYPE string DEFAULT 'Test 1' LOWER CASE.
Upvotes: 1
Reputation: 6033
you have to add "LOWER CASE" to your parameter declaration. For instance:
PARAMETERS:
lv_para TYPE STRING LOWER CASE DEFAULT 'Test 1'.
Upvotes: 5