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: 

Function Module

Former Member
0 Kudos
93

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?

1 ACCEPTED SOLUTION

Former Member
0 Kudos
65

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>

3 REPLIES 3

Former Member
0 Kudos
65

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.

Former Member
0 Kudos
66

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>

Former Member
0 Kudos
65

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