<?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: INCLUDE statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799539#M343306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;can you plz paste ur code here..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abdul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Dec 2006 13:54:17 GMT</pubDate>
    <dc:creator>abdul_hakim</dc:creator>
    <dc:date>2006-12-24T13:54:17Z</dc:date>
    <item>
      <title>INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799532#M343299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new in ABAP.  I add a include statement in my ABAP. When the main program calls a FORM which is in INCLUDE statement by using the statement PERFORM, I always get a error message that : Statement is not accessable.  Please advise. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2006 04:58:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799532#M343299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-24T04:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799533#M343300</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;first add the statement include program name then double click to create the program and simply save and activate and come back to the main program and write perfrom and double click on the form name to create form and endform a popup will come for u to select were to write the form and end form select the include program and write form and endform in the include program save and activate, then back to your main program save activate and execute.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2006 05:20:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799533#M343300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-24T05:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799534#M343301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously the INCLUDE statement comes after the PERFORM statement. Thus, the main program will not find the FORM routine. Simply change the order of the statements, e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT zreport.

...
PERFORM subroutine.  " =&amp;gt; syntax error, FORM not found

INCLUDE zinclude.  " contains routine subroutine&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT zreport.

* Put the includes rather at the top of the program
INCLUDE zinclude.  " contains routine subroutine
...
PERFORM subroutine.  " =&amp;gt; ok, FORM found&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2006 06:11:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799534#M343301</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-12-24T06:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799535#M343302</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;please activate ur all includes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then try. also chk UWE'S solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2006 06:37:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799535#M343302</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-12-24T06:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799536#M343303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ravi chandran ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the way you introduced , the issue was still there. In the main program, when I double clicked the FORM name, the system can navigate to the INCLUDE program where the FORM exists.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2006 13:21:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799536#M343303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-24T13:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799537#M343304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uwe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I always put the INCLUDE on the top of the main program. When I double clicked the FORM name, the system can even navigate to the INCLUDE program where the FORM exists.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2006 13:24:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799537#M343304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-24T13:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799538#M343305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anversha s ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, all INCLUDES have been activated. Please refer my answer to Uwe as well. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2006 13:25:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799538#M343305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-24T13:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799539#M343306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;can you plz paste ur code here..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abdul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2006 13:54:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799539#M343306</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-12-24T13:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799540#M343307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abdul,  the sample program is attached : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Main program : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  zhr_update_hr_master_data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE zhr_update_hr_master_data_top.&lt;/P&gt;&lt;P&gt;INCLUDE zhr_update_hr_master_data_f01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform get_source_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include porgram :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FORM Fetch source data.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;form get_source_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P_rfc = 'HRDCLNT120'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fetch tracking start date.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;select single update_date into update_start_date from zhr_update_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call Remote function to fetch the data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'ZHR_GET_MASTER_DATA'&lt;/P&gt;&lt;P&gt;  DESTINATION p_rfc&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    fi_date = update_start_date&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    ft_0000 = lt_0000&lt;/P&gt;&lt;P&gt;    ft_0001 = lt_0001&lt;/P&gt;&lt;P&gt;    ft_0002 = lt_0002&lt;/P&gt;&lt;P&gt;    ft_0006 = lt_0006&lt;/P&gt;&lt;P&gt;    ft_0009 = lt_0009.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT lt_0000 .&lt;/P&gt;&lt;P&gt;write : / lt_0000-pernr.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2006 14:50:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799540#M343307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-24T14:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799541#M343308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Jim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Just click on save in each program i.e zhr_update_hr_master_data, zhr_update_hr_master_data_top, zhr_update_hr_master_data_f01.&lt;/P&gt;&lt;P&gt;2. Now click on activate. In the popup window it gives the list of all programs to be activated, select all programs to activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this way you can activate the main program...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards &lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2006 16:38:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799541#M343308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-24T16:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: INCLUDE statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799542#M343309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue has been resolved. There is a check box 'Unicode checks active' under Attributes of main program. I uncheck that check box, the main program is activated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, thanks all for your help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2006 19:05:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-statement/m-p/1799542#M343309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-24T19:05:11Z</dc:date>
    </item>
  </channel>
</rss>

