<?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: Error when using INCLUDE statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741097#M1112271</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 below thread,&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5851183"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Nov 2008 12:16:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-17T12:16:11Z</dc:date>
    <item>
      <title>Error when using INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741094#M1112268</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;If you could please help ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created an INCLUDE program - Z01INIT - to be used in a dialogue program. I've added the INCLUDE z01init in the GLOBAL DATA. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I activate Z01INIT I get the following error : Statement is not accessible -- line 6. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Z01INIT : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 TABLES : z000.&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3 DATA : wa_z000 TYPE z000.&lt;/P&gt;&lt;P&gt;4 *&lt;/P&gt;&lt;P&gt;4 **-Get default values&lt;/P&gt;&lt;P&gt;6 SELECT SINGLE * FROM z000 INTO wa_z000 WHERE werks_prod_veh &amp;gt; ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dialogue program is UNICODE active. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 12:08:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741094#M1112268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T12:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741095#M1112269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hhh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Abhilash on Nov 17, 2008 1:13 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 12:12:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741095#M1112269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T12:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741096#M1112270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You commonly get this error when the code is placed after a FORM ....... ENDFORM. Check whether the INCLUDE is properly placed in a subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just for your reference&lt;/P&gt;&lt;P&gt;[http://www.saptechnical.com/Tips/ABAP/StatementNotAccessible/Solution.htm]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 12:15:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741096#M1112270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T12:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741097#M1112271</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 below thread,&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5851183"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 12:16:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741097#M1112271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T12:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741098#M1112272</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;You can declare all your data in the include Program.&lt;/P&gt;&lt;P&gt;Remove the select statement from the include and put this some other PBO module where you can actually do the validation.&lt;/P&gt;&lt;P&gt;I hope this anwers your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 12:18:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741098#M1112272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T12:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741099#M1112273</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;So if the fields that I declared in the INCLUDE is going to be used in 1001 subroutines I must add the select stamement to 1001 subroutines ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 12:24:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741099#M1112273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T12:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741100#M1112274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the fields and the processing logic of the screen must be related. Please try it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 12:26:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741100#M1112274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T12:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741101#M1112275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There is no problem ,&lt;/P&gt;&lt;P&gt;check the below code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
tables : mara.

data : wa type mara.

select single * from mara into wa.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just retype the code what you have written.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Kumar M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 12:50:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741101#M1112275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T12:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741102#M1112276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx Neha &amp;amp; Avinash - your advice worked ! Much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 10:41:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-using-include-statement/m-p/4741102#M1112276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T10:41:37Z</dc:date>
    </item>
  </channel>
</rss>

