<?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: screen disabling in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-disabling/m-p/4298102#M1024940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Aug 2008 14:36:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-07T14:36:18Z</dc:date>
    <item>
      <title>screen disabling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-disabling/m-p/4298095#M1024933</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;I have added a sub screen in the stnd. application.&lt;/P&gt;&lt;P&gt;The added screen is in editable mode.Now i need have to make the screen enabled or disabled when i select the CHANGE&amp;lt;-&amp;gt;DISPLAY button in the appl'n.&lt;/P&gt;&lt;P&gt;Pl tell me hw to get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 13:44:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-disabling/m-p/4298095#M1024933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T13:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: screen disabling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-disabling/m-p/4298096#M1024934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to add the below code in one of the userexit so as that it trigger accordingly.&lt;/P&gt;&lt;P&gt;if sy-tcode = &amp;lt;display&amp;gt;.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;  if screen-name = &amp;lt;field-name&amp;gt;.&lt;/P&gt;&lt;P&gt;    screen-input = 0.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 13:49:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-disabling/m-p/4298096#M1024934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T13:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: screen disabling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-disabling/m-p/4298097#M1024935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CASE sy-ucomm.
  WHEN 'DISPLAY'.---&amp;gt;your Button name
    LOOP AT SCREEN.
      IF screen-name CS 'p_docno'--&amp;gt;here like this you can write for all your screen elements by using AND addition.
        screen-enable = 0.
        MODIFY SCREEN.
      ENDIF.                           " IF screen-name CS 'p_docno'.
    ENDLOOP.                           " LOOP AT SCREEN.
  
  WHEN 'CHANGE'..---&amp;gt;your Button name

    LOOP AT SCREEN .
      IF screen-name CS 'p_docno'.
        screen-enable = 1.
        screen-input = 1.
        MODIFY SCREEN.
      ENDIF.                           " IF screen-name CS 'p_docno'.
    ENDLOOP.                           " LOOP AT SCREEN .
  
ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope it helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 13:59:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-disabling/m-p/4298097#M1024935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T13:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: screen disabling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-disabling/m-p/4298098#M1024936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Use case endcase.&lt;/P&gt;&lt;P&gt;Firstly you will have to put the fields you want in display and change mode in the screen painter (SE51)and then use that group name in the screen-group1 parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case sy-ucomm.&lt;/P&gt;&lt;P&gt; when 'DISPLAY'.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-group1 = 'DIS'.&lt;/P&gt;&lt;P&gt;      screen-input = '0'.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN .&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; when 'CHANGE'.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-group1 = 'CHA'.&lt;/P&gt;&lt;P&gt;      screen-input = '1'.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN .&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endcacse&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sneha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 14:03:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-disabling/m-p/4298098#M1024936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T14:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: screen disabling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-disabling/m-p/4298099#M1024937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sneha,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Can u tell me where can i keep tihs peice of code..&lt;/P&gt;&lt;P&gt;in PBO or in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 14:22:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-disabling/m-p/4298099#M1024937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T14:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: screen disabling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-disabling/m-p/4298100#M1024938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; You can keep this piece of code in the PBO (PROCESS BEFORE OUTPUT) since you have to modify the screen attributes as soon as you click on the particular pushbutton so that you can further do the changes on to the screen as per your need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sneha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 14:25:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-disabling/m-p/4298100#M1024938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T14:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: screen disabling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-disabling/m-p/4298101#M1024939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your reply..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 14:36:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-disabling/m-p/4298101#M1024939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T14:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: screen disabling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-disabling/m-p/4298102#M1024940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 14:36:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-disabling/m-p/4298102#M1024940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T14:36:18Z</dc:date>
    </item>
  </channel>
</rss>

