<?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 Error during program syntax check in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-program-syntax-check/m-p/2670183#M616426</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 have written the following code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
INCLUDE zfirf_rfd_final_top.

* INCLUDE ZFIRF_RFD_FINAL1_O01                    .  " PBO-Modules
* INCLUDE ZFIRF_RFD_FINAL1_I01                    .  " PAI-Modules
 INCLUDE ZFIRF_RFD_FINAL_F01                    .  " FORM-Routines

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS:     p_keydt TYPE erdk-erdat OBLIGATORY.
SELECT-OPTIONS: s_bp    FOR  erdk-partner,
                s_ca    FOR  erdk-vkont.
SELECTION-SCREEN END OF BLOCK b1.


INITIALIZATION.
  SET TITLEBAR 'REFUND'.

START-OF-SELECTION.

PERFORM get_data_from_selection.
FORM get_data_from_selection.

  SELECT opbel
         partner
         vkont
    FROM erdk
    INTO CORRESPONDING FIELDS OF TABLE t_erdk
   WHERE verart      EQ c_43
     AND simulated   EQ space
     AND stokz       EQ space
     AND tobreleasd  EQ space
     AND intopbel    EQ space
     AND invoiced    NE space
     AND partner     IN s_bp
     AND vkont       IN s_ca.

ENDFORM.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i do a syntax check i get the following error &lt;/P&gt;&lt;P&gt;The IN operator with "S_BP" is followed neither by an internal table nor by a value list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you suggest what is the error in the program ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Imran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2007 10:04:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-09T10:04:59Z</dc:date>
    <item>
      <title>Error during program syntax check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-program-syntax-check/m-p/2670183#M616426</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 have written the following code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
INCLUDE zfirf_rfd_final_top.

* INCLUDE ZFIRF_RFD_FINAL1_O01                    .  " PBO-Modules
* INCLUDE ZFIRF_RFD_FINAL1_I01                    .  " PAI-Modules
 INCLUDE ZFIRF_RFD_FINAL_F01                    .  " FORM-Routines

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS:     p_keydt TYPE erdk-erdat OBLIGATORY.
SELECT-OPTIONS: s_bp    FOR  erdk-partner,
                s_ca    FOR  erdk-vkont.
SELECTION-SCREEN END OF BLOCK b1.


INITIALIZATION.
  SET TITLEBAR 'REFUND'.

START-OF-SELECTION.

PERFORM get_data_from_selection.
FORM get_data_from_selection.

  SELECT opbel
         partner
         vkont
    FROM erdk
    INTO CORRESPONDING FIELDS OF TABLE t_erdk
   WHERE verart      EQ c_43
     AND simulated   EQ space
     AND stokz       EQ space
     AND tobreleasd  EQ space
     AND intopbel    EQ space
     AND invoiced    NE space
     AND partner     IN s_bp
     AND vkont       IN s_ca.

ENDFORM.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i do a syntax check i get the following error &lt;/P&gt;&lt;P&gt;The IN operator with "S_BP" is followed neither by an internal table nor by a value list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you suggest what is the error in the program ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Imran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 10:04:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-program-syntax-check/m-p/2670183#M616426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T10:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error during program syntax check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-program-syntax-check/m-p/2670184#M616427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u should give IN ('a', 'b').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S@ameer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 10:07:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-program-syntax-check/m-p/2670184#M616427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T10:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error during program syntax check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-program-syntax-check/m-p/2670185#M616428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Imran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please try this one dont try in perform and form &lt;/P&gt;&lt;P&gt;INCLUDE zfirf_rfd_final_top.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;INCLUDE ZFIRF_RFD_FINAL1_O01                    .  " PBO-Modules&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;INCLUDE ZFIRF_RFD_FINAL1_I01                    .  " PAI-Modules&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; INCLUDE ZFIRF_RFD_FINAL_F01                    .  " FORM-Routines&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;PARAMETERS:     p_keydt TYPE erdk-erdat OBLIGATORY.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_bp    FOR  erdk-partner,&lt;/P&gt;&lt;P&gt;                s_ca    FOR  erdk-vkont.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  SET TITLEBAR 'REFUND'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT opbel&lt;/P&gt;&lt;P&gt;         partner&lt;/P&gt;&lt;P&gt;         vkont&lt;/P&gt;&lt;P&gt;    FROM erdk&lt;/P&gt;&lt;P&gt;    INTO CORRESPONDING FIELDS OF TABLE t_erdk&lt;/P&gt;&lt;P&gt;   WHERE verart      EQ c_43&lt;/P&gt;&lt;P&gt;     AND simulated   EQ space&lt;/P&gt;&lt;P&gt;     AND stokz       EQ space&lt;/P&gt;&lt;P&gt;     AND tobreleasd  EQ space&lt;/P&gt;&lt;P&gt;     AND intopbel    EQ space&lt;/P&gt;&lt;P&gt;     AND invoiced    NE space&lt;/P&gt;&lt;P&gt;     AND partner     IN s_bp&lt;/P&gt;&lt;P&gt;     AND vkont       IN s_ca.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points to all helpful answers &lt;/P&gt;&lt;P&gt;kiran.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 10:13:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-program-syntax-check/m-p/2670185#M616428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T10:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error during program syntax check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-program-syntax-check/m-p/2670186#M616429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Imran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem is in the positioning of your code. Can you paste you complete code, i mean to say the main program, top include and your form include. That should help to analyse better,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 10:14:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-program-syntax-check/m-p/2670186#M616429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T10:14:06Z</dc:date>
    </item>
  </channel>
</rss>

