<?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: spell_amount in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862319#M1136906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratima,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time format will be XX:YY:ZZ.&lt;/P&gt;&lt;P&gt;So you need to use the following syntax while splitting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT p_var1 AT ' : ' INTO var1 var2 var3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can pass the splitted variables into the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Dec 2008 06:19:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-03T06:19:28Z</dc:date>
    <item>
      <title>spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862314#M1136901</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;   Iam trying to print the time in words using spell_amount FM. I split the time in to 3 pieces but I got the error &lt;/P&gt;&lt;P&gt;    " Offset Specification "+3" is greater than or equal to field length ("2"). My code is...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : var1(2) type n,&lt;/P&gt;&lt;P&gt;       var2(2) type n,&lt;/P&gt;&lt;P&gt;       var3(2) type n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p_var1 type t. "like payr_fi-rwbtr default '123456789.12'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split p_var1 at space into : var1&lt;EM&gt;0(2) var2&lt;/EM&gt;3(2) var3+6(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'SPELL_AMOUNT'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   AMOUNT          = var1&lt;/P&gt;&lt;P&gt;   CURRENCY        = 'INR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILLER          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   LANGUAGE        = SY-LANGU&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   IN_WORDS        = spell&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOT_FOUND       = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TOO_LARGE       = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS          = 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body help me....?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarda,&lt;/P&gt;&lt;P&gt;Prathima.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 05:51:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862314#M1136901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T05:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862315#M1136902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; parameters : p_var1 type t. &lt;/P&gt;&lt;P&gt;&amp;gt; split p_var1 at space into : var1&lt;EM&gt;0(2) var2&lt;/EM&gt;3(2) var3+6(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know what is type T?&lt;/P&gt;&lt;P&gt;and how much its lenght and what data type?&lt;/P&gt;&lt;P&gt;and more important why you choose type T.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 05:55:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862315#M1136902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T05:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862316#M1136903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you hav split your hr,min,sec into 3 variables.&lt;/P&gt;&lt;P&gt;var2 is of lenght 2 and in your split stmt you hav given var2+3(2).&lt;/P&gt;&lt;P&gt;that variable var2+3(2) means that ur var2 is of lenght 5 which is not.&lt;/P&gt;&lt;P&gt; use like this&lt;/P&gt;&lt;P&gt;split p_var1 at space into : var1 var2 var3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and call ur FM spell_amount thrice passing these 3 variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Winnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 05:58:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862316#M1136903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T05:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862317#M1136904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : var1(2) type n,&lt;/P&gt;&lt;P&gt;var2(2) type n,&lt;/P&gt;&lt;P&gt;var3(2) type n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p_var1 type t. "like payr_fi-rwbtr default '123456789.12'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split p_var1 at space into : var1&lt;EM&gt;0(2) var2&lt;/EM&gt;3(2) var3+6(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=====&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in split statement&lt;/P&gt;&lt;P&gt;for VAR2+3(2) means from 4th character &lt;/P&gt;&lt;P&gt;but your var2 contains only 1st &amp;amp; 2nd chars mean var2&lt;EM&gt;0(2) only allowed not var2&lt;/EM&gt;3(2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 06:04:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862317#M1136904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T06:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862318#M1136905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratima..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : MONEY TYPE I,&lt;/P&gt;&lt;P&gt;VALUE LIKE SY-WAERS,&lt;/P&gt;&lt;P&gt;LANG LIKE SY-LANGU,&lt;/P&gt;&lt;P&gt;IN_LETTERS TYPE SPELL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MONEY = 1000.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SPELL_AMOUNT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;AMOUNT = MONEY&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;IN_WORDS = IN_LETTERS&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;NOT_FOUND = 1&lt;/P&gt;&lt;P&gt;TOO_LARGE = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC 0.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE : / MONEY, VALUE, IN_LETTERS-word.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 06:07:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862318#M1136905</guid>
      <dc:creator>SujeetMishra</dc:creator>
      <dc:date>2008-12-03T06:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862319#M1136906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratima,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time format will be XX:YY:ZZ.&lt;/P&gt;&lt;P&gt;So you need to use the following syntax while splitting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT p_var1 AT ' : ' INTO var1 var2 var3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can pass the splitted variables into the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 06:19:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862319#M1136906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T06:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862320#M1136907</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;   Type t  holds 6 characters.&lt;/P&gt;&lt;P&gt;   its a time field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pratima.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 06:19:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862320#M1136907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T06:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862321#M1136908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt; use ur code like dis....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

data : var1(2) type n,
var2(2) type n,
var3(2) type n,
spell TYPE spell.

parameters : p_var1 type t. 

var1 = p_var1+0(2).
var2 = p_var1+2(2).
var3 = p_var1+4(2).


CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
AMOUNT = var1
CURRENCY = 'INR'


FILLER = ' '
LANGUAGE = SY-LANGU
IMPORTING
IN_WORDS = spell

EXCEPTIONS
NOT_FOUND = 1
TOO_LARGE = 2
OTHERS = 3
.
IF sy-subrc &amp;lt;&amp;gt; 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your p_var1 wont contain the delimiter '' : ".&lt;/P&gt;&lt;P&gt;so your split stmt will fail.&lt;/P&gt;&lt;P&gt;Use as per the above code.&lt;/P&gt;&lt;P&gt;and pass your var1,var2,var3 to your FM.....by calling it 3 times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back if ny queries&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Winnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 06:36:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862321#M1136908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T06:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862322#M1136909</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;    I passed the variables into FM. But the var2 and var3 not taking the values ... this is my code&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;    tables: spell.&lt;/P&gt;&lt;P&gt;data : var1(2) type n,&lt;/P&gt;&lt;P&gt;       var2(2) type n,&lt;/P&gt;&lt;P&gt;       var3(2) type n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p_var1 type t. "like payr_fi-rwbtr default '123456789.12'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split p_var1 at ':' into  var1 var2 var3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'SPELL_AMOUNT'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   AMOUNT          = var1&lt;/P&gt;&lt;P&gt;   CURRENCY        = 'INR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILLER          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   LANGUAGE        = SY-LANGU&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   IN_WORDS        = spell&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOT_FOUND       = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TOO_LARGE       = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS          = 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write :&lt;/P&gt;&lt;P&gt;        spell-decword(64).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SPELL_AMOUNT'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   AMOUNT          = var2&lt;/P&gt;&lt;P&gt;   CURRENCY        = 'INR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILLER          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   LANGUAGE        = SY-LANGU&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   IN_WORDS        = spell&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOT_FOUND       = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TOO_LARGE       = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS          = 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   write : spell-decword(64).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'SPELL_AMOUNT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    AMOUNT          = var3&lt;/P&gt;&lt;P&gt;    CURRENCY        = 'INR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   FILLER          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    LANGUAGE        = SY-LANGU&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    IN_WORDS        = spell&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   NOT_FOUND       = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   TOO_LARGE       = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   OTHERS          = 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;           .&lt;/P&gt;&lt;P&gt; IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;           write: spell-decword(64).&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                 spell-word(64).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggest me Plz...&lt;/P&gt;&lt;P&gt;   Why they are not taking the value???.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 06:59:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862322#M1136909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T06:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862323#M1136910</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;    My problem is solved with ur Answer.. I have a small doubt.. regarding my code,,  when i use the Split statement the var2 and var3 variables are not taking the values..Why?. Here ur passing the input to variables  using offset but in "split" not able to take...???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;  Prathima.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 07:10:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862323#M1136910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T07:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862324#M1136911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;if u go into debugging mode, u will see dat p_var1 doesnt contain delimiters.&lt;/P&gt;&lt;P&gt;for eg: if p_var1 u enter as  10:25:05&lt;/P&gt;&lt;P&gt;the value is stored as 102505...so as u see,there is no delimiter " : " by which u can use ur split stmt.&lt;/P&gt;&lt;P&gt;that is y var2 &amp;amp; var3 r empty , since all the values get stored into var1.&lt;/P&gt;&lt;P&gt;and since u hav used offset as var1+0(2)...only 10 will be stored in var1.------&amp;gt;dis is as per ur original code&lt;/P&gt;&lt;P&gt;Hope i hav cleard ur doubt.&lt;/P&gt;&lt;P&gt;Thanx 4 ur points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Winnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 08:19:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862324#M1136911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T08:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862325#M1136912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratima,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While using SPLIT statement we need to specify field separator.&lt;/P&gt;&lt;P&gt;In your case, the field separator is not there (like space or , or - or / or . etc..).&lt;/P&gt;&lt;P&gt;So the statement is not working.&lt;/P&gt;&lt;P&gt;It will be better if you use offset statement and pass those values to the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 08:22:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862325#M1136912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T08:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862326#M1136913</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;  Thanx for ur Answer... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prathima.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 10:22:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/4862326#M1136913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T10:22:16Z</dc:date>
    </item>
  </channel>
</rss>

