<?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: table_illegal_statment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-illegal-statment/m-p/3716982#M894796</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;Check the read statement,whether you are getting the values in the workarea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2008 05:42:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-24T05:42:50Z</dc:date>
    <item>
      <title>table_illegal_statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-illegal-statment/m-p/3716981#M894795</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 am running a sapscript and calling a subroutine through it. I want to convert the numeric to words. Therefore i am using function module SPELL_AMOUNT. While executing the driver program i am getting an exception ILLEGAL_TABLE_STATEMENT while execution of the FM SPELL_AMOUNT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody please help know what does this exception mean and what can i do to correct it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is the code of the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROGRAM  ZDHSUBPOOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM NUM_TO_WORD TABLES IN_PAR STRUCTURE ITCSY&lt;/P&gt;&lt;P&gt;OUT_PAR STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables zdhboardingpass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : SEAT_NUM TYPE zdhboardingpass-seatnum,&lt;/P&gt;&lt;P&gt;       words LIKE spell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE IN_PAR WITH KEY NAME = 'SEATNUM'.&lt;/P&gt;&lt;P&gt;SEAT_NUM = IN_PAR-VALUE.&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 = SEAT_NUM&lt;/P&gt;&lt;P&gt;*CURRENCY = ' '&lt;/P&gt;&lt;P&gt;*FILLER = ' '&lt;/P&gt;&lt;P&gt;LANGUAGE = sy-langu&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;IN_WORDS = words&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;&lt;/P&gt;&lt;P&gt;OUT_PAR-value = words-word.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY OUT_PAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhiraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 05:37:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-illegal-statment/m-p/3716981#M894795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T05:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: table_illegal_statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-illegal-statment/m-p/3716982#M894796</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;Check the read statement,whether you are getting the values in the workarea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 05:42:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-illegal-statment/m-p/3716982#M894796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T05:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: table_illegal_statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-illegal-statment/m-p/3716983#M894797</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;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY OUT_PAR index 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT OUT_PAR.&lt;/P&gt;&lt;P&gt;  OUT_PAR-value = words-word&lt;/P&gt;&lt;P&gt;  modify out_par.   "This will work only if this is inside  &lt;/P&gt;&lt;P&gt;                            loop/endloop.&lt;/P&gt;&lt;P&gt;ENDLOOP.&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 and regards,&lt;/P&gt;&lt;P&gt;S. Chandra Mouli.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 05:47:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-illegal-statment/m-p/3716983#M894797</guid>
      <dc:creator>former_member784222</dc:creator>
      <dc:date>2008-04-24T05:47:00Z</dc:date>
    </item>
  </channel>
</rss>

