Application Development and Automation 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: 
Read only

Function Module

Former Member
0 Likes
486

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
Read only

Former Member
0 Likes
458

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
Read only

Former Member
0 Likes
458

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.

Read only

Former Member
0 Likes
459

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>

Read only

Former Member
0 Likes
458

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