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

Former Member
0 Likes
961

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

Former Member
0 Likes
912

Did you try the ABAP command TRANSLATE?

translate lv_text to upper case.

translate lv_text to lower case.

Did you try the ABAP command TRANSLATE?

translate lv_text to upper case.

translate lv_text to lower case.

5 REPLIES 5
Read only

Former Member
0 Likes
913

Did you try the ABAP command TRANSLATE?

translate lv_text to upper case.

translate lv_text to lower case.

Read only

Former Member
0 Likes
912

If using ABAP just write:

TRANSLATE f TO UPPER CASE

or

TRANSLATE f TO LOWER CASE.

where f is your variable/fieldname.

Read only

0 Likes
912

Use translate.

Translate v_text to upper case.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
912

Hi,

VAr = 'test'.

translate var to upper

Regards

Amole

Read only

0 Likes
912

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