<?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: User Exit Activate/Deactivate in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-activate-deactivate/m-p/4848549#M1133933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you can deactivate the fields in the tab by using the following in PBO of the screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT screen.
if plant eq 'XXXX'  " Plant value
IF screen-name EQ 'XXXXX'. " screen field name
screen-active = '0'.
MODIFY screen.
endif.
endif.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2008 20:37:47 GMT</pubDate>
    <dc:creator>former_member194669</dc:creator>
    <dc:date>2008-12-02T20:37:47Z</dc:date>
    <item>
      <title>User Exit Activate/Deactivate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-activate-deactivate/m-p/4848545#M1133929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a user exit that is activated. When it is activated it shows an additional tab on an SAP process Order screen for the customer to use. However, I would only like the tab to show for a specific certain plant (WERKS) Process Orders only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible for code to de-activate a User Exit in an IF statement? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else, I guess I would need to figure out how to underintensify this tab for all plants, except for the one it was created for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Thank-You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 20:07:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-activate-deactivate/m-p/4848545#M1133929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T20:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit Activate/Deactivate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-activate-deactivate/m-p/4848546#M1133930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nope, either it is active fro all cases or none.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 20:11:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-activate-deactivate/m-p/4848546#M1133930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T20:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit Activate/Deactivate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-activate-deactivate/m-p/4848547#M1133931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So there is now way to underintensify it in some cases?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 20:12:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-activate-deactivate/m-p/4848547#M1133931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T20:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit Activate/Deactivate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-activate-deactivate/m-p/4848548#M1133932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you put that tab? if you used a BADI, then maybe you can try putting  the if code where you are activating  the tab, but the ones I worked on , dont have enough import paramters there to check the fileds ( plant ) you want to check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 20:25:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-activate-deactivate/m-p/4848548#M1133932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T20:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit Activate/Deactivate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-activate-deactivate/m-p/4848549#M1133933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you can deactivate the fields in the tab by using the following in PBO of the screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT screen.
if plant eq 'XXXX'  " Plant value
IF screen-name EQ 'XXXXX'. " screen field name
screen-active = '0'.
MODIFY screen.
endif.
endif.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 20:37:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-activate-deactivate/m-p/4848549#M1133933</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-12-02T20:37:47Z</dc:date>
    </item>
  </channel>
</rss>

