Monday, December 20, 2010
Please use the below function module

  • ISP_CONVERT_FIRSTCHARS_TOUPPER

Programatically
TYPES:
BEGIN OF ty_data,
data(100),
END   OF ty_data.
DATA:
wa_data TYPE ty_data,
it_data TYPE STANDARD TABLE OF ty_data.
DATA:
text(200) VALUE 'i am abap programmer'.


SPLIT text AT ' ' INTO TABLE it_data.
CLEAR text.

LOOP AT it_data INTO wa_data.
TRANSLATE wa_data-data+0(1) TO UPPER CASE.
CONCATENATE text wa_data-data INTO text SEPARATED BY ' '.
ENDLOOP.

text = text+1.

WRITE: text.

0 comments:

Post a Comment

Your useful comments, suggestions are appreciated.Your comments are moderated.

Followers

Contact Form

Name

Email *

Message *

Web Dynpro ABAP Book

An SAP Consultant

Follow US


Want to Contribute ?

If you are interested in writing about the new stuff you learn everyday while working, please write to the.sap.consultants@gmail.com.

Click on Contribution for more details.