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 to transform text from uppercase to lowercase

Former Member
0 Kudos

Hello expert,

I'm working with CRM 5.0

I need to find a function to transform text from uppercase to lowercase and viceversa.

For example I have "A" and I want to transform it in "a".

What is the function?

Thank in advance,

Lorenzo

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Did you try the ABAP command TRANSLATE?

translate lv_text to upper case.

translate lv_text to lower case.

5 REPLIES 5

Former Member
0 Kudos

Did you try the ABAP command TRANSLATE?

translate lv_text to upper case.

translate lv_text to lower case.

Former Member
0 Kudos

If using ABAP just write:

TRANSLATE f TO UPPER CASE

or

TRANSLATE f TO LOWER CASE.

where f is your variable/fieldname.

0 Kudos

Use translate.

Translate v_text to upper case.

Regards,

Rich Heilman

Former Member
0 Kudos

Hi,

VAr = 'test'.

translate var to upper

Regards

Amole

0 Kudos

hi,

Use Translate Statement for the same based on on which case you want it to convert...

TRANSLATE <field> TO UPPER CASE
or
TRANSLATE <field> TO LOWER CASE.

Regards,

Santosh