<?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 Detecting Code Used in Other Reports in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/detecting-code-used-in-other-reports/m-p/10006332#M1805100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have identified a number of Z custom programs that are obsolete and need to delete them.&lt;/P&gt;&lt;P&gt;However, I need to find out a way to detect if any code, for example SUBMITS or subroutine forms, is referenced from other programs.&lt;/P&gt;&lt;P&gt;Consider ABAP program ZABCDE and ZXYZcontains:&lt;/P&gt;&lt;P&gt;REPORT ZABCDE.&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;FORM Z1234.&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;ENDFORM&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZXYZ.&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;PERFORM Z1234(ZABCDE).&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example if I delete ABAP program ZABCDE then execution of ZXYZ will fail since ZABCDE is no longer available.&lt;/P&gt;&lt;P&gt;Is there a way to check to avoid such a situation where I would not delete ZABCDE.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Soyab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jan 2014 22:26:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-01-24T22:26:33Z</dc:date>
    <item>
      <title>Detecting Code Used in Other Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detecting-code-used-in-other-reports/m-p/10006332#M1805100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have identified a number of Z custom programs that are obsolete and need to delete them.&lt;/P&gt;&lt;P&gt;However, I need to find out a way to detect if any code, for example SUBMITS or subroutine forms, is referenced from other programs.&lt;/P&gt;&lt;P&gt;Consider ABAP program ZABCDE and ZXYZcontains:&lt;/P&gt;&lt;P&gt;REPORT ZABCDE.&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;FORM Z1234.&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;ENDFORM&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZXYZ.&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;PERFORM Z1234(ZABCDE).&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example if I delete ABAP program ZABCDE then execution of ZXYZ will fail since ZABCDE is no longer available.&lt;/P&gt;&lt;P&gt;Is there a way to check to avoid such a situation where I would not delete ZABCDE.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Soyab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 22:26:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detecting-code-used-in-other-reports/m-p/10006332#M1805100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-24T22:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting Code Used in Other Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detecting-code-used-in-other-reports/m-p/10006333#M1805101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Soyab Husein.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Use the standard program &lt;STRONG&gt;RS_ABAP_SOURCE_SCAN&lt;/STRONG&gt; to search any string across all ABAP programs.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 05:21:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detecting-code-used-in-other-reports/m-p/10006333#M1805101</guid>
      <dc:creator>Arun_Prabhu_K</dc:creator>
      <dc:date>2014-01-25T05:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting Code Used in Other Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detecting-code-used-in-other-reports/m-p/10006334#M1805102</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;In fact it is not possible and even system also can't through the message at the time of deleting the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before deleting the program you have to scan the variables, includes..need to check carefully. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better to deletion should happen based on the scan the report and delete-- manual verification is required&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 07:17:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detecting-code-used-in-other-reports/m-p/10006334#M1805102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-25T07:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting Code Used in Other Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detecting-code-used-in-other-reports/m-p/10006335#M1805103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;One is you will have to souce code scan program as mentioned in previous post and in addition to it be careful and cross check whether report or subroutines are not gwtting called dynamically via config or something else.&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 08:43:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detecting-code-used-in-other-reports/m-p/10006335#M1805103</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2014-01-25T08:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting Code Used in Other Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detecting-code-used-in-other-reports/m-p/10006336#M1805104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use t-code 'code_scanner' by the package name for your custom programs/routines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 16:28:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detecting-code-used-in-other-reports/m-p/10006336#M1805104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-25T16:28:23Z</dc:date>
    </item>
  </channel>
</rss>

