<?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: problem in spell_amount in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-spell-amount/m-p/2785734#M649443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but what if i have multiple 'hundreds' in my amount/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2007 10:04:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-04T10:04:05Z</dc:date>
    <item>
      <title>problem in spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-spell-amount/m-p/2785731#M649440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;I m having a requirement in which i need to put 'and' in between the converted string which i m getting as o/p from spell_amount FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. if i give as 1234.00 its giving me as one thousend two hundred thirty four.&lt;/P&gt;&lt;P&gt;But i should print as one thousend two hundred &amp;lt;b&amp;gt;AND&amp;lt;/b&amp;gt; thirty four. I can get it through finding string 'hundred' in the o/p and after that i can concatenate AND, but problem is if there are multiple occurences of ' Hundred' if m facing a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Points will be rewarded accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 09:31:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-spell-amount/m-p/2785731#M649440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T09:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: problem in spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-spell-amount/m-p/2785732#M649441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose if u have string like 1234.00 here pass last two digits to one more string let us say 34 to str1 and replace 0's with 34, 1200 and pass it to srting str2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now call spell_amount to str1 and str2.&lt;/P&gt;&lt;P&gt;now str2 will result one thousand two hundered&lt;/P&gt;&lt;P&gt;and str1 will result thirty four&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now concatenate str2 'AND' str1 into final_string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kiran.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 09:47:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-spell-amount/m-p/2785732#M649441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T09:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: problem in spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-spell-amount/m-p/2785733#M649442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;str = 1234.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split string at '.' into str1 , str2.&lt;/P&gt;&lt;P&gt;str1 = 1234&lt;/P&gt;&lt;P&gt;str2 = 00&lt;/P&gt;&lt;P&gt;len = strlen (str1). =4&lt;/P&gt;&lt;P&gt;len1 = len - 2. = 2&lt;/P&gt;&lt;P&gt;str3 = str +  len1(2). =34&lt;/P&gt;&lt;P&gt;str4 = str1 +  0(len1). =12&lt;/P&gt;&lt;P&gt;concatenate str4 '00' into str5. =1200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now u have 1200 in str5 and 34 in str3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass str5 and str3 to spell_amount FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if it is helpful.&lt;/P&gt;&lt;P&gt;kiran.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 10:01:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-spell-amount/m-p/2785733#M649442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T10:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: problem in spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-spell-amount/m-p/2785734#M649443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but what if i have multiple 'hundreds' in my amount/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 10:04:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-spell-amount/m-p/2785734#M649443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T10:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: problem in spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-spell-amount/m-p/2785735#M649444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI&lt;/P&gt;&lt;P&gt;First check my logic and understand i am spliting last two digits (34 ) and concatenating with 'AND'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check once...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 10:12:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-spell-amount/m-p/2785735#M649444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T10:12:42Z</dc:date>
    </item>
  </channel>
</rss>

