Skip to Content
author's profile photo Former Member
Former Member

How can I convert Upper case word in Title case in Sap-Script

Hi All,

I have a text 'AAAAA BBBBB CCCCC' in sap-script.

I want to display it as 'Aaaa Bbbbb Ccccc'.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2005 at 08:43 AM

    Hi,

    Another way could be to call the FM <b>SWA_STRING_TO_UPPERCASE</b> from your sapscript for every string that you want in the desired format. It translates first character of each alphabetical substring to upper case. Set the input parameter <b>PRESERVE_EXISTING_CAPITALS</b> = SPACE, if your are receiving the values already in uppercase.

    Hope this helps.

    Regards

    Message was edited by: Shehryar Khan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2005 at 08:30 AM

    Try to manage string into abap report (translate upper/lower) before call sapscript.

    Gianluca

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.