2007 Aug 03 3:22 PM
The import parameter of a function module I wrote is case-sensitive.
Within my abap code, the import parameter is all caps.
How can I maintain the case of the paramter?
2007 Aug 03 3:29 PM
each parameter belongs to a domain.
in the domain wehave an option for the case sensitive which needs to be selected.
regards,
srinivas
<b>*reward for useful answers*</b>
2007 Aug 03 3:27 PM
In debug mode at the point the FM it to be called is the value in upper case. If so where has it come from.
Are you passing in the value from a selection-screen field. If so use the addition to your selection-screen parameter LOWER CASE.
Otherwise I would need to see your code.
2007 Aug 03 3:29 PM
each parameter belongs to a domain.
in the domain wehave an option for the case sensitive which needs to be selected.
regards,
srinivas
<b>*reward for useful answers*</b>
2007 Aug 03 3:34 PM
HI,
use the following function module to change your case from the upper to lower or lower to upper.
EDITOR_LINE_TRANSLATE_CASE
<b>data: a type RSTXP-TDLINE.
data: b type RSTXP-TDLINE.
a = 'ABDCCC'.
CALL FUNCTION 'EDITOR_LINE_TRANSLATE_CASE'
EXPORTING
I_LINE = a
WANTED_CASE = 'LOWER'
IMPORTING
O_LINE = b.
write:/ b.</b>
Regards