<?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: Deactivate a Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539919#M1657270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No i am not advising to update the SAP tale directly. didn't realize that someone will pick it literally. The intent is just to indicate how it can be done. One will have to find out a way of how standard SAP fills that table. It involved some debugging.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Feb 2012 21:58:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-02-15T21:58:47Z</dc:date>
    <item>
      <title>Deactivate a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539903#M1657254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In our PRD, there is a custom program YVU_CORR_MATNR  (Y-program)&lt;/P&gt;&lt;P&gt;Is it possible to deactivate this program. (rather than deleting)&lt;/P&gt;&lt;P&gt;How can we check the status of this program? (Activate or Inactivate)&lt;/P&gt;&lt;P&gt;(There is no t-code assign to this custom program)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have cheeked in se38,&lt;/P&gt;&lt;P&gt;Under "Program" menu , it has "Active &amp;lt;-&amp;gt; Inactive"&lt;/P&gt;&lt;P&gt;When click on this is displays;&lt;/P&gt;&lt;P&gt;" YVU_CORR_MATNR does not have any inactive versions"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know, how to proceed with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;zerandib&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: zerandib on Feb 15, 2012 7:44 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 06:43:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539903#M1657254</guid>
      <dc:creator>former_member199632</dc:creator>
      <dc:date>2012-02-15T06:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539904#M1657255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This program is active in your PRD system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since it doesnt have any tcode assigned,no one can execute it other than from SE38.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So why do u want to deactivate it in PRD directly ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 06:49:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539904#M1657255</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2012-02-15T06:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539905#M1657256</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;If it a executable program then you can do is in event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;if sy-ucomm eq 'ONLI'.&lt;/P&gt;&lt;P&gt;message e000(8i) with 'Program cannot be executed'.&lt;/P&gt;&lt;P&gt;endif.&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;Madhukar Shetty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 06:51:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539905#M1657256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T06:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539906#M1657257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Gautham ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to some other program to execute this.?&lt;/P&gt;&lt;P&gt;There are some inconsistencies in MBEW  table. ..&lt;/P&gt;&lt;P&gt;when examining , SAP support informed that "YVU_CORR_MATNR which are also potential cause of inconsistencies "&lt;/P&gt;&lt;P&gt;So they have asked to deactivate/remove this program.&lt;/P&gt;&lt;P&gt;Is it possible to deactivate this prog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Zerandib&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 06:53:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539906#M1657257</guid>
      <dc:creator>former_member199632</dc:creator>
      <dc:date>2012-02-15T06:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539907#M1657258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this program can also be called from some other programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do a where used list to find out all the places it has been used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it can cause inconsistencies then you can comment the code in DEV system&lt;/P&gt;&lt;P&gt;and transport to PRD instead of deleting the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you dont want to comment the code,use an authorization object and &lt;/P&gt;&lt;P&gt;restrict access to other users from executing it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 06:57:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539907#M1657258</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2012-02-15T06:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539908#M1657259</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 only delete a program, there is no sort of deactivatin a program in ABAP. Check the usage of your program in other objects if no where used delete it, if it has been used in some other objects remove the usage and delete the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 07:01:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539908#M1657259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T07:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539909#M1657260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you just comment out all the code in the report except for the first Report statement ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 07:54:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539909#M1657260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T07:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539910#M1657261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is not required any more and even potentially harmful, then delete it in DEV system and transport through the landscape. Everything else, whether technically possible or not, is a waste of time, in my opinion (unless there are good reasons to keep it, that you did not tell us about yet)&lt;/P&gt;&lt;P&gt;Even if you would need it again later you can retrieve it from the version database via SE38.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 11:39:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539910#M1657261</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2012-02-15T11:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539911#M1657262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi zerandib&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not possible to deactivate a program. &lt;/P&gt;&lt;P&gt;And option to switch between Ative &amp;lt;-&amp;gt; Inactive only works when you have one active version and a modified version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 11:58:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539911#M1657262</guid>
      <dc:creator>former_member214857</dc:creator>
      <dc:date>2012-02-15T11:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539912#M1657263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't wat to delete it, comment the code out. If it is called from somewhere, the call won't fail, but nothing will hapen.&lt;/P&gt;&lt;P&gt;If you comment it out, it is safe to keep it, but as Thomas said delete it would make more sense.&lt;/P&gt;&lt;P&gt;Cheers Otto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 12:53:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539912#M1657263</guid>
      <dc:creator>OttoGold</dc:creator>
      <dc:date>2012-02-15T12:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539913#M1657264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What Thomas said. :-).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Feb 15, 2012 9:23 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 14:23:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539913#M1657264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T14:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539914#M1657265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or if it is a case where only restricted access is needed, then assign some authorization roles to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or if SAP suggests that its causing inconsistencies then why hesitating to delete?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: lazarus_joey on Feb 15, 2012 4:58 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 15:57:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539914#M1657265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T15:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539915#M1657266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Is it possible to some other program to execute this.?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You can do a where used list to see if it is called from another program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If OSS says get rid of it, nuke it.&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, 15 Feb 2012 16:04:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539915#M1657266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T16:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539916#M1657267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello zerandib,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program details are stored in table: REPOSRC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field R3STATE corresponds to program status. "A" is for active and "I" is for "Inactive".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a program is in "Inactive" stage then you will see two entries in this table. One will have "A" and the other will have "I".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's why in SE38 when you go by menu: Active &amp;lt;-&amp;gt; Inactive then it switches from "I" to "A".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways you can develop a program which can update this table and Insert "I" for the program you have mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I still don't think that just by making a program "Inactive" it will serve your purpose. Even if a program is "Inactive" but if it is syntactically correct then it will execute anyways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternative is to use SM01 and Lock this transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck,&lt;/P&gt;&lt;P&gt;Neeraj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Neeraj Singh on Feb 15, 2012 9:12 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 20:12:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539916#M1657267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T20:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539917#M1657268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Anyways you can develop a program which can update this table and Insert "I" for the program you have mentioned.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;You must be kidding, right? Did you just suggest to update the SAP standard table directly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 20:20:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539917#M1657268</guid>
      <dc:creator>OttoGold</dc:creator>
      <dc:date>2012-02-15T20:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539918#M1657269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zeran,&lt;/P&gt;&lt;P&gt;              There is no direct way for this, but if you really wish to use this program for some cases and switch off for other you should better put a check, for example you can keep an entry in TVARVC table and in the start of this program you have to put a code which will check this entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say your entry will be nothing but a flag. 'X'. So if flag is there program will execute otherwise it will not, this way you can activate deactivate just by changing the table entry, no help required from any ABAPer.  (Ofcourse one time help is required to put this code in the program) after that it will work as a switch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Tapodipta Khan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 20:35:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539918#M1657269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T20:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539919#M1657270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No i am not advising to update the SAP tale directly. didn't realize that someone will pick it literally. The intent is just to indicate how it can be done. One will have to find out a way of how standard SAP fills that table. It involved some debugging.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 21:58:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-a-program/m-p/8539919#M1657270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T21:58:47Z</dc:date>
    </item>
  </channel>
</rss>

