<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: FM or text function for initial capitals in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-or-text-function-for-initial-capitals/m-p/5352204#M1232341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you'll not get function for this i think, u can achieve this through custom coding, I found a code on sdn once, but i dont have right now, will give it in a short while,(abt 1 hr).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="16" __jive_macro_name="size"&gt;кu03B1ятu03B9к&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2009 15:15:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-18T15:15:53Z</dc:date>
    <item>
      <title>FM or text function for initial capitals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-or-text-function-for-initial-capitals/m-p/5352202#M1232339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to turn a sentence into initial capitals.  In other words, if I get a string such as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"one thousand and forty dollars" I want a function that returns "One Thousand and Forty Dollars".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 14:59:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-or-text-function-for-initial-capitals/m-p/5352202#M1232339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-18T14:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: FM or text function for initial capitals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-or-text-function-for-initial-capitals/m-p/5352203#M1232340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i dont know if there is a FM that does exactly THAT, but i´d have ideas how to solve it manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first split this string into words, use the "SPLIT" statement for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at the table in which you splitted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use offset (1) to just get the first character of every word (record in your split table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then call FM 2054_TRANSLATE_2_UPPERCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then concatenate your split values into one string again. ready.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 15:05:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-or-text-function-for-initial-capitals/m-p/5352203#M1232340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-18T15:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: FM or text function for initial capitals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-or-text-function-for-initial-capitals/m-p/5352204#M1232341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you'll not get function for this i think, u can achieve this through custom coding, I found a code on sdn once, but i dont have right now, will give it in a short while,(abt 1 hr).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="16" __jive_macro_name="size"&gt;кu03B1ятu03B9к&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 15:15:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-or-text-function-for-initial-capitals/m-p/5352204#M1232341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-18T15:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: FM or text function for initial capitals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-or-text-function-for-initial-capitals/m-p/5352205#M1232342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this might help: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: lv_string TYPE string VALUE 'one thousand and forty dollars',
      lv_temp1(30) TYPE c, lv_temp2(30) TYPE c.
DATA: lv_fin TYPE string.

lv_temp2 = lv_string.
DO.
  SPLIT lv_temp2 AT space INTO lv_temp1 lv_temp2.
  IF lv_temp1 IS INITIAL.
    EXIT.
  ENDIF.

  TRANSLATE lv_temp1+0(1) TO UPPER CASE.

  CONCATENATE lv_fin lv_temp1 INTO lv_fin SEPARATED BY space.
ENDDO.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 15:16:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-or-text-function-for-initial-capitals/m-p/5352205#M1232342</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-03-18T15:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: FM or text function for initial capitals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-or-text-function-for-initial-capitals/m-p/5352206#M1232343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to separte each word of the sting take it into the separete word..and try to use the TRANSLATE key word with PATTARN..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: text TYPE string.
text = `ADFDFDFD`.
TRANSLATE text USING 'Aasdfsd'.

write:text.   "ouptu will be Adfdfdfd&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and do that for all your words in that string ...and merge into one your final sting...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other than this i think we don't have the option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 15:23:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-or-text-function-for-initial-capitals/m-p/5352206#M1232343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-18T15:23:16Z</dc:date>
    </item>
  </channel>
</rss>

