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
977

Hello Experts,

I want to convert text into Upper case ,

which function I can use ?

Thanks & Regards,

Rahul Shinde

9 REPLIES 9
Read only

Former Member
0 Likes
917

Pls search in SDN.

SPP01_CONVERT_TO_UPPERCASE

Read only

Former Member
0 Likes
917

hi.

Use

Translate <filed> to uppercase.

Regards,

sabari

Read only

Former Member
0 Likes
917

Plz use follwing

CALL FUNCTION 'SWA_STRING_TO_UPPERCASE'

  • EXPORTING

  • INPUT_EXPRESSION =

INPUT_STRING = 'rajesh

  • PRESERVE_EXISTING_CAPITALS = 'X'

  • CAPITALIZE_AFTER_SPACE = 'X'

  • LANGUAGE = SY-LANGU

  • IMPORTING

OUTPUT_STRING = l_str

  • OUTPUT_EXPRESSION =

  • EXCEPTIONS

  • EXPRESSION_TRUNCATED = 1

  • OTHERS = 2

.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

rgds

rajesh

Edited by: RAJESH KUMAR on Aug 7, 2008 4:38 PM

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
917

Hello,

I think you can use the TRANSLATE stmt.


TRANSLATE V_TEXT TO UPPER CASE.

BR,

Suhas

Read only

Former Member
0 Likes
917

Hi,

Use this FM,

/SAPDII/SPP05_CONVERT_UPPERCAS

In SE37 write UPPER and then press F4 you will fing many Function module to convert sting to UPPER CASE.

Regards

Adil

Read only

Former Member
0 Likes
917

Hi,

goto se37 and give uppercase , press f4.

you will get all Function Moduels..

Regards,

Satish Reddy.

Read only

Former Member
0 Likes
917

Hi Rahul,

Try working around with the function module : STRING_UPPER_LOWER_CASE'

Hope the below thread help you:

https://forums.sdn.sap.com/click.jspa?searchID=14947234&messageID=5442283

Have A Good Day

Chaitanya.

Read only

Former Member
0 Likes
917

hiiii

use FM

HR_99S_CONV_UPPER_CASE

regards

twinkal

Read only

Former Member
0 Likes
917

Hi,

check out the function module:

1. HR_99S_CONV_UPPER_CASE.

2. STRING_UPPER_LOWER_CASE

or u can use keyword TRANSLATE. for this check out F1.

HOPE THIS WILL HELP U