<?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 Just another Syntax Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/just-another-syntax-error/m-p/5461465#M1251219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the dump description&lt;/P&gt;&lt;P&gt;  Error in the ABAP Application Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The current ABAP program "RMCX0010" had to be terminated because it has&lt;/P&gt;&lt;P&gt;  come across a statement that unfortunately cannot be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The following syntax error occurred in program "SAPFMCVF " in include "FMCV2710&lt;/P&gt;&lt;P&gt;   " in&lt;/P&gt;&lt;P&gt;  line 14:&lt;/P&gt;&lt;P&gt;  "Field "ZZLIS001-SPTAG" is unknown. It is neither in one of the specifi"&lt;/P&gt;&lt;P&gt;  "ed tables nor defined by a "DATA" statement. ."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and here is the part of the code where the error is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM MCV2_710.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  TABLES: S711.&lt;/P&gt;&lt;P&gt;  RANGES: L_FECHAS FOR SY-DATUM.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  REFRESH L_FECHAS.&lt;/P&gt;&lt;P&gt;  L_FECHAS-SIGN = 'I'.&lt;/P&gt;&lt;P&gt;  L_FECHAS-OPTION = 'BT'.&lt;/P&gt;&lt;P&gt;  CONCATENATE ZZLIS001-SPTAG(6) '01' INTO L_FECHAS-LOW.&lt;/P&gt;&lt;P&gt;  L_FECHAS-HIGH = ZZLIS001-SPTAG.&lt;/P&gt;&lt;P&gt;  IF ZZLIS001-SPTAG+6(2) &amp;lt;&amp;gt; '01'.&lt;/P&gt;&lt;P&gt;    L_FECHAS-HIGH = ZZLIS001-SPTAG - 1.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  APPEND L_FECHAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think is the error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Apr 2009 03:55:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-28T03:55:08Z</dc:date>
    <item>
      <title>Just another Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/just-another-syntax-error/m-p/5461465#M1251219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the dump description&lt;/P&gt;&lt;P&gt;  Error in the ABAP Application Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The current ABAP program "RMCX0010" had to be terminated because it has&lt;/P&gt;&lt;P&gt;  come across a statement that unfortunately cannot be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The following syntax error occurred in program "SAPFMCVF " in include "FMCV2710&lt;/P&gt;&lt;P&gt;   " in&lt;/P&gt;&lt;P&gt;  line 14:&lt;/P&gt;&lt;P&gt;  "Field "ZZLIS001-SPTAG" is unknown. It is neither in one of the specifi"&lt;/P&gt;&lt;P&gt;  "ed tables nor defined by a "DATA" statement. ."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and here is the part of the code where the error is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM MCV2_710.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  TABLES: S711.&lt;/P&gt;&lt;P&gt;  RANGES: L_FECHAS FOR SY-DATUM.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  REFRESH L_FECHAS.&lt;/P&gt;&lt;P&gt;  L_FECHAS-SIGN = 'I'.&lt;/P&gt;&lt;P&gt;  L_FECHAS-OPTION = 'BT'.&lt;/P&gt;&lt;P&gt;  CONCATENATE ZZLIS001-SPTAG(6) '01' INTO L_FECHAS-LOW.&lt;/P&gt;&lt;P&gt;  L_FECHAS-HIGH = ZZLIS001-SPTAG.&lt;/P&gt;&lt;P&gt;  IF ZZLIS001-SPTAG+6(2) &amp;lt;&amp;gt; '01'.&lt;/P&gt;&lt;P&gt;    L_FECHAS-HIGH = ZZLIS001-SPTAG - 1.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  APPEND L_FECHAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think is the error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 03:55:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/just-another-syntax-error/m-p/5461465#M1251219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T03:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Just another Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/just-another-syntax-error/m-p/5461466#M1251220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your subroutine doesn't know about ZZLIS001-SPTAG which is declared in main program.Pass them to form&lt;/P&gt;&lt;P&gt;Check this link to know how to pass tables and fields:&lt;/P&gt;&lt;P&gt; &lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/db979035c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/9f/db979035c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 04:03:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/just-another-syntax-error/m-p/5461466#M1251220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T04:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Just another Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/just-another-syntax-error/m-p/5461467#M1251221</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;try passing the table to the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;perform MCV2_710 tables ZZLIS001.

FORM MCV2_710 using ZZLIS001 type any table.
TABLES: S711.
RANGES: L_FECHAS FOR SY-DATUM.
*
REFRESH L_FECHAS.
L_FECHAS-SIGN = 'I'.
L_FECHAS-OPTION = 'BT'.
CONCATENATE ZZLIS001-SPTAG(6) '01' INTO L_FECHAS-LOW.
L_FECHAS-HIGH = ZZLIS001-SPTAG.
IF ZZLIS001-SPTAG+6(2) '01'.
L_FECHAS-HIGH = ZZLIS001-SPTAG - 1.
ENDIF.
APPEND L_FECHAS.
endform.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this works!!!&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 04:15:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/just-another-syntax-error/m-p/5461467#M1251221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T04:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Just another Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/just-another-syntax-error/m-p/5461468#M1251222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ur form statement is not awrae of this .&lt;/P&gt;&lt;P&gt;ZZLIS001-SPTAG ,&lt;/P&gt;&lt;P&gt;so pass this in the perform and accept in form.&lt;/P&gt;&lt;P&gt;form name using ZZLIS001 type any table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 05:51:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/just-another-syntax-error/m-p/5461468#M1251222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T05:51:18Z</dc:date>
    </item>
  </channel>
</rss>

