<?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: turn on / off implementation is active in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/turn-on-off-implementation-is-active/m-p/6202630#M1376302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When deactivate and  debug it I get &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SUBSCREEN : SUBS_1,&lt;/P&gt;&lt;P&gt;                 SUBS_2,&lt;/P&gt;&lt;P&gt;                 SUBS_3,&lt;/P&gt;&lt;P&gt;                 SUBS_4,&lt;/P&gt;&lt;P&gt;                 SUBS_5,&lt;/P&gt;&lt;P&gt;    ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i inside the screen i dont see any FM except the field catalog FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Oct 2009 11:57:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-14T11:57:52Z</dc:date>
    <item>
      <title>turn on / off implementation is active</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/turn-on-off-implementation-is-active/m-p/6202626#M1376298</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 a badi and i want to do to him unit test ,&lt;/P&gt;&lt;P&gt;in the badi there is flag &lt;U&gt;implementation is active&lt;/U&gt; .&lt;/P&gt;&lt;P&gt; my question is if i can turn on / off this badi flag from outside ,i.e. program etc&lt;/P&gt;&lt;P&gt;since I want to do for him unit test .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 07:09:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/turn-on-off-implementation-is-active/m-p/6202626#M1376298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-14T07:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: turn on / off implementation is active</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/turn-on-off-implementation-is-active/m-p/6202627#M1376299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you can do it via SE18/19, then it can be done programatically.  Try debugging the code that's triggered when you deactivate manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 08:35:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/turn-on-off-implementation-is-active/m-p/6202627#M1376299</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2009-10-14T08:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: turn on / off implementation is active</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/turn-on-off-implementation-is-active/m-p/6202628#M1376300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Matt ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try it &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; without success &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is FM or method which can manage this flags ?&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;Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Chris Teb on Oct 14, 2009 12:36 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 08:42:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/turn-on-off-implementation-is-active/m-p/6202628#M1376300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-14T08:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: turn on / off implementation is active</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/turn-on-off-implementation-is-active/m-p/6202629#M1376301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I won't tell you directly what the FM is, but it took me about 2 minutes.  Instead I'll tell you how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SE19, change your BADI implementation.  Start the debugger, hit the deactivate button. Debug through till you're in the processing of the okcode.  ( Module "ok_code" of SAPLSEXO ).  The function module is obvious.  When you've found it, post the answer here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you've found the name of the function module, look at it through SE37.  Then click on "Display Object List" to see the other function modules in the group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find these things out for yourself, you'll develop very useful skills for the future.  Anyway - try again, following my guidelines above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 11:31:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/turn-on-off-implementation-is-active/m-p/6202629#M1376301</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2009-10-14T11:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: turn on / off implementation is active</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/turn-on-off-implementation-is-active/m-p/6202630#M1376302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When deactivate and  debug it I get &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SUBSCREEN : SUBS_1,&lt;/P&gt;&lt;P&gt;                 SUBS_2,&lt;/P&gt;&lt;P&gt;                 SUBS_3,&lt;/P&gt;&lt;P&gt;                 SUBS_4,&lt;/P&gt;&lt;P&gt;                 SUBS_5,&lt;/P&gt;&lt;P&gt;    ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i inside the screen i dont see any FM except the field catalog FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 11:57:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/turn-on-off-implementation-is-active/m-p/6202630#M1376302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-14T11:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: turn on / off implementation is active</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/turn-on-off-implementation-is-active/m-p/6202631#M1376303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I do is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go into implementation in change mode from SE19.  Enter /h in the okcode box.  Hit "deactivate".  In the classic debugger (though not the new one), I set a breakpoint in the &lt;EM&gt;flow logic&lt;/EM&gt;, to stop at &lt;STRONG&gt;MODULE ok_code&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then single step into that module.  And have a quick look at the ABAP.  It appears that the field "ok_code" is the one being tested to decide what to do.  It has the value &lt;STRONG&gt;DEACTIVATE&lt;/STRONG&gt;.  I step into the form &lt;STRONG&gt;common_ok_code&lt;/STRONG&gt;, but it appears DEACTIVATEisn't one of them.  So I keep single stepping.  I get to &lt;STRONG&gt;case ok_code.&lt;/STRONG&gt;.  Then next step I get to is &lt;STRONG&gt;WHEN seex_deactivate.&lt;/STRONG&gt;  A quick look at the code below the WHEN, and I see FM: SXO_IMPL_DACTVE - which has one parameter, imp_name, which is my implementation name!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then look at the function group of SXO_IMPL_DACTVE, and find there is also a function module SXO_IMPL_ACTIVE.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only wrinkle in this is that there might be some global parameters being set by a previous call to another function module in the same group, earlier on.  So you might need to set a breakpoint within a few other FM in the same group, and go through the process again, so you can get the right sequence of function module calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 12:48:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/turn-on-off-implementation-is-active/m-p/6202631#M1376303</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2009-10-14T12:48:10Z</dc:date>
    </item>
  </channel>
</rss>

