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

Upper case

Former Member
0 Likes
1,314

can anyone give FM to convert From lower case to upper case letters ..

1 ACCEPTED SOLUTION
Read only

suresh_datti
Active Contributor
0 Likes
1,273

Use the keyword TRANSLATE.

Pl check this

<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/fc/eb33a5358411d1829f0000e829fbfe/frameset.htm">SAP Help</a>

~Suresh

9 REPLIES 9
Read only

suresh_datti
Active Contributor
0 Likes
1,274

Use the keyword TRANSLATE.

Pl check this

<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/fc/eb33a5358411d1829f0000e829fbfe/frameset.htm">SAP Help</a>

~Suresh

Read only

Former Member
0 Likes
1,273

TRANSLATE c TO UPPER CASE.

TRANSLATE c TO LOWER CASE.

======

DATA letters(3) TYPE C.

MOVE 'abc' TO letters.

TRANSLATE letters TO UPPER CASE.

letters now has the contents 'ABC'.

Read only

Former Member
0 Likes
1,273

Hi,

Check FM "AIPC_CONVERT_TO_UPPERCASE"

Cheers

VJ

Read only

0 Likes
1,273

VJ, if ht ere is a normal function like translate is available, do you recoment to use function module like "AIPC_CONVERT_TO_UPPERCASE"? Please advise as it will help all.

Read only

Former Member
0 Likes
1,273

Hi,

you can use this stmnt

TRANSLATE <c> TO UPPER CASE.

regards,

Sumit.

Read only

AFork
Product and Topic Expert
Product and Topic Expert
0 Likes
1,273

Hey vj_bb,

can you give me the reason why you want to use a FM?

If FM is not really desired try the ABAP-statement "translate":

"TRANSLATE text {TO {UPPER|LOWER} CASE}

| {USING mask}."

and see the F1-help for more information.

Greetings,

Achim

Read only

Former Member
0 Likes
1,273

hi,

This FM translates from lower case to upper case.

<b> EDITOR_LINE_TRANSLATE_CASE</b>

Regards,

Sailaja.

Read only

Former Member
0 Likes
1,273

Try this example

DATA letters(3) TYPE C.

MOVE 'abc' TO letters.

TRANSLATE letters TO UPPER CASE.

Give points if helpfull

Regards

Read only

Former Member
0 Likes
1,273

hi vj,

check the function module SWA_STRING_TO_UPPERCASE