<?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: Finding for includes in customized programs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-for-includes-in-customized-programs/m-p/1663172#M293793</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use function module &amp;lt;b&amp;gt;RS_GET_ALL_INCLUDES&amp;lt;/b&amp;gt; to determine all includes in a program.&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>Sat, 04 Nov 2006 19:28:50 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2006-11-04T19:28:50Z</dc:date>
    <item>
      <title>Finding for includes in customized programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-for-includes-in-customized-programs/m-p/1663170#M293791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My requirement is to get all include objects in several customized programs. I am making use of the functionality in std program RPR_ABAP_SOURCE_SCAN.&lt;/P&gt;&lt;P&gt;With the result from above, I get the listing of includes. My program needs to clean the output list to &amp;lt;u&amp;gt;only&amp;lt;/u&amp;gt; derive at the include's object name. Please refer to examples below to see how include statement being programmed in several ways. &lt;/P&gt;&lt;P&gt;How would you best recommend that i split/search to only get the object names, or is there a tool in SAP that could help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;b&amp;gt;a. INCLUDE ZMKTEST_INCLUDE1            .
b. INCLUDE ZMKTEST_INCLUDE1
       .
c. INCLUDE:ZMKTEST_INCLUDE1,         
           ZMKTEST_PERFORM.  "INCLUDE ZMKTEST.
d. INCLUDE  :  ZMKTEST_INCLUDE1.   "   , ZMKTEST_PERFORM.
e. INCLUDE:ZMKTEST_INCLUDE1      "INCLUDE ZMKTEST
           ,ZMKTEST_PERFORM.&amp;lt;/b&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: There is no meaning for the red colour above, I'm using "code" formating for the above to distinguish my explanations and the examples, but somehow it returns some words in red colour.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Nov 2006 15:49:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-for-includes-in-customized-programs/m-p/1663170#M293791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-04T15:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Finding for includes in customized programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-for-includes-in-customized-programs/m-p/1663171#M293792</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 just use table WBCROSSI to find all includes for a main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example I created a program as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZPROG2                                  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;include zinclu1.&lt;/P&gt;&lt;P&gt;include zinclu2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that I go to SE16 and gave table nale WBCROSSI and specified ABAP/4 main program field (MASTER) as ZPROG2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It returned with two entries.&lt;/P&gt;&lt;P&gt;zinclu1&lt;/P&gt;&lt;P&gt;zinclu2&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&lt;/P&gt;&lt;P&gt;Ramakrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Nov 2006 16:47:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-for-includes-in-customized-programs/m-p/1663171#M293792</guid>
      <dc:creator>venkata_ramisetti</dc:creator>
      <dc:date>2006-11-04T16:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Finding for includes in customized programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-for-includes-in-customized-programs/m-p/1663172#M293793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use function module &amp;lt;b&amp;gt;RS_GET_ALL_INCLUDES&amp;lt;/b&amp;gt; to determine all includes in a program.&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>Sat, 04 Nov 2006 19:28:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-for-includes-in-customized-programs/m-p/1663172#M293793</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-11-04T19:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Finding for includes in customized programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-for-includes-in-customized-programs/m-p/1663173#M293794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramakrishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;But I am in version 4.6C, and the table is not available in my system. Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Nov 2006 03:13:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-for-includes-in-customized-programs/m-p/1663173#M293794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-05T03:13:33Z</dc:date>
    </item>
  </channel>
</rss>

