<?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: Program deactivation tool? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-deactivation-tool/m-p/3556479#M855775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sitaram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want to comment all the lines in a program by using a program ,if it is so I guess it can be done by adding a * programatically to every line in the program.If you go through the program RM07DOCS of MB51 you will come across an perform Check_version.Here in this subroutine it comments some lines &lt;/P&gt;&lt;P&gt;In the perform Check_version it is done this way.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FORM check_version.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DATA: dtg_db(14) TYPE n.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SELECT MAX( dtg ) INTO dtg_db FROM mmim_rep_cust&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;WHERE report = 'RM07DOCS'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;IF sy-subrc = 0.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;READ REPORT 'RM07DOCS_GENERATED' INTO code.         READ TABLE code INDEX 1.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;CONCATENATE '*' dtg_db INTO timestamp.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;This code is declared as follows&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DATA: BEGIN OF code OCCURS 0,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;          &lt;EM&gt;line(72),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;          &lt;EM&gt;END OF code.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I guess you can tweak the above logic and get your requirement done.May be this can give you a lead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Mar 2008 04:50:56 GMT</pubDate>
    <dc:creator>kiran_k8</dc:creator>
    <dc:date>2008-03-18T04:50:56Z</dc:date>
    <item>
      <title>Program deactivation tool?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-deactivation-tool/m-p/3556477#M855773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to develop program deactivation tool like whenever we run the tool it has to  comment  the entire code for particular program like that how we can develop logic to put comments ................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 04:13:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-deactivation-tool/m-p/3556477#M855773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T04:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Program deactivation tool?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-deactivation-tool/m-p/3556478#M855774</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;I think there is no such tool available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 04:17:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-deactivation-tool/m-p/3556478#M855774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T04:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Program deactivation tool?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-deactivation-tool/m-p/3556479#M855775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sitaram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want to comment all the lines in a program by using a program ,if it is so I guess it can be done by adding a * programatically to every line in the program.If you go through the program RM07DOCS of MB51 you will come across an perform Check_version.Here in this subroutine it comments some lines &lt;/P&gt;&lt;P&gt;In the perform Check_version it is done this way.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FORM check_version.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DATA: dtg_db(14) TYPE n.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SELECT MAX( dtg ) INTO dtg_db FROM mmim_rep_cust&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;WHERE report = 'RM07DOCS'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;IF sy-subrc = 0.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;READ REPORT 'RM07DOCS_GENERATED' INTO code.         READ TABLE code INDEX 1.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;CONCATENATE '*' dtg_db INTO timestamp.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;This code is declared as follows&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DATA: BEGIN OF code OCCURS 0,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;          &lt;EM&gt;line(72),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;          &lt;EM&gt;END OF code.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I guess you can tweak the above logic and get your requirement done.May be this can give you a lead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 04:50:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-deactivation-tool/m-p/3556479#M855775</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2008-03-18T04:50:56Z</dc:date>
    </item>
  </channel>
</rss>

