<?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: Tool to scan custom programs which update database tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tool-to-scan-custom-programs-which-update-database-tables/m-p/6983282#M1492868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Write Select Qry to retrive all custom program from TADIR/TRDIR then Move to ITAB&lt;/P&gt;&lt;P&gt;2. Then Loop the ITAB and use syntax "READ REPORT prog INTO itab."&lt;/P&gt;&lt;P&gt;                &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : BEGIN OF itab OCCURS 100,
                                 rep TYPE char200,
                             END OF itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and Check each line with the string UPDATE/INSERT/MODIFY then if the program contains any one of the statement then you will get program name, Line number and Number &amp;lt;Update&amp;gt; statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally you will get How many programs used UPDATE/INSERT/MODIFY to update DB table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kanagaraja L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jun 2010 02:06:11 GMT</pubDate>
    <dc:creator>Kanagaraja_L</dc:creator>
    <dc:date>2010-06-09T02:06:11Z</dc:date>
    <item>
      <title>Tool to scan custom programs which update database tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tool-to-scan-custom-programs-which-update-database-tables/m-p/6983280#M1492866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have below requirement in my company and I have no clue how to achieve this. Please let me know if you have any ideas on this.&lt;/P&gt;&lt;P&gt;Auditors need a tool/program which can scan all the custom programs in the system which are used to update database tables(both standard &amp;amp; custom) and provide a report. This tool/program will be scheduled every night to get a report  or could be run every night manually. Database update could be using BAPI ,modify,insert statements and anything else like that. Tool/Program should not consider custom programs which make a database read,it should only look for programs which updates database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jhansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 14:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tool-to-scan-custom-programs-which-update-database-tables/m-p/6983280#M1492866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-08T14:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Tool to scan custom programs which update database tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tool-to-scan-custom-programs-which-update-database-tables/m-p/6983281#M1492867</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;have a look at report RPR_ABAP_SOURCE_SCAN. It allows you to search for string in ABAP source code. For example you can run it for all custom packages. Basically, you need to look for all statements which are required by auditors. For example you can start with "UPDATE", "INSERT", "DELETE", "MODIFY" and "CALL 'BAPI_". You will have to exclude somehow statements related to the internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 01:37:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tool-to-scan-custom-programs-which-update-database-tables/m-p/6983281#M1492867</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2010-06-09T01:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Tool to scan custom programs which update database tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tool-to-scan-custom-programs-which-update-database-tables/m-p/6983282#M1492868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Write Select Qry to retrive all custom program from TADIR/TRDIR then Move to ITAB&lt;/P&gt;&lt;P&gt;2. Then Loop the ITAB and use syntax "READ REPORT prog INTO itab."&lt;/P&gt;&lt;P&gt;                &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : BEGIN OF itab OCCURS 100,
                                 rep TYPE char200,
                             END OF itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and Check each line with the string UPDATE/INSERT/MODIFY then if the program contains any one of the statement then you will get program name, Line number and Number &amp;lt;Update&amp;gt; statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally you will get How many programs used UPDATE/INSERT/MODIFY to update DB table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kanagaraja L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 02:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tool-to-scan-custom-programs-which-update-database-tables/m-p/6983282#M1492868</guid>
      <dc:creator>Kanagaraja_L</dc:creator>
      <dc:date>2010-06-09T02:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Tool to scan custom programs which update database tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tool-to-scan-custom-programs-which-update-database-tables/m-p/6983283#M1492869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Database update could be using BAPI ,modify,insert statements and anything else like that.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are FMs which are not BAPIs which perform a direct update on DB tables (e.g., the FMs which update User Role tables - AGR* tables). How do you plan to capture those ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not user if any standard code scanning program can help either. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the requirement is weird. Anyways good luck with your endeavours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 02:53:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tool-to-scan-custom-programs-which-update-database-tables/m-p/6983283#M1492869</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-06-09T02:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Tool to scan custom programs which update database tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tool-to-scan-custom-programs-which-update-database-tables/m-p/6983284#M1492870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the inputs. I will share these ideas with my manager and see what she feels about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jhansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 16:59:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tool-to-scan-custom-programs-which-update-database-tables/m-p/6983284#M1492870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-09T16:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Tool to scan custom programs which update database tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tool-to-scan-custom-programs-which-update-database-tables/m-p/6983285#M1492871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has been asked here before. I believe there is no good way to meet your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 18:30:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tool-to-scan-custom-programs-which-update-database-tables/m-p/6983285#M1492871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-09T18:30:54Z</dc:date>
    </item>
  </channel>
</rss>

