<?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: stop fields maintainable in display transaction. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop-fields-maintainable-in-display-transaction/m-p/2584418#M591237</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 you need to gray out the fields then in the screen PBO you need to write somehing like this ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
...

loop at screen.
  if screen-name = '&amp;lt;screen field name&amp;gt;'.
    screen-input = 0.
    modify screen.
  endif.
endloop.

...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check demo program DEMO_DYNPRO_MODIFY_SCREEN.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2007 20:36:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-07T20:36:07Z</dc:date>
    <item>
      <title>stop fields maintainable in display transaction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop-fields-maintainable-in-display-transaction/m-p/2584417#M591236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;I have enhanced two fields in standard screen but the fields are able to maintainable even in display transaction.how to stop fields maintainable in display mode.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Janapathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 20:16:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop-fields-maintainable-in-display-transaction/m-p/2584417#M591236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T20:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: stop fields maintainable in display transaction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop-fields-maintainable-in-display-transaction/m-p/2584418#M591237</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 you need to gray out the fields then in the screen PBO you need to write somehing like this ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
...

loop at screen.
  if screen-name = '&amp;lt;screen field name&amp;gt;'.
    screen-input = 0.
    modify screen.
  endif.
endloop.

...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check demo program DEMO_DYNPRO_MODIFY_SCREEN.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 20:36:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop-fields-maintainable-in-display-transaction/m-p/2584418#M591237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T20:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: stop fields maintainable in display transaction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop-fields-maintainable-in-display-transaction/m-p/2584419#M591238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What Transaction you added new fields ? did you use append structure for any Standard table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write simply loop at screen as Ferry Mentioned,make sure that code should be PBO...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;keep the condition like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module screen. -&amp;gt; double click on screen ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will create new module( Use Zinclude in your case).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-tcode =  'Transaction code ". -&amp;gt; keep condition otherwise it will have display for others too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if screen-name = 'Screen field name '.&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;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 20:52:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop-fields-maintainable-in-display-transaction/m-p/2584419#M591238</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T20:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: stop fields maintainable in display transaction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop-fields-maintainable-in-display-transaction/m-p/2584420#M591239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also check the other related fields on the screen - some SAP programs rely on screen groups as a way of determining which fields get locked; so in these cases setting your own fields this way can make SAP's logic to lock fields set yours too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2007 00:29:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop-fields-maintainable-in-display-transaction/m-p/2584420#M591239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-08T00:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: stop fields maintainable in display transaction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop-fields-maintainable-in-display-transaction/m-p/2584421#M591240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i used the code in pbo still fields are maintainable in display mode.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Janapathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2007 13:39:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop-fields-maintainable-in-display-transaction/m-p/2584421#M591240</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-08T13:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: stop fields maintainable in display transaction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop-fields-maintainable-in-display-transaction/m-p/2584422#M591241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Janapathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use code in right area ,did you set up break point ? if break point is not triggering then code will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me say simple example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your screen exit is sub screen, so other screen is calling sub screen,so you should not write the code in PBO of your sub screen, you should write the code pbo of other screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check with that user exit, i guess there will be some other Function module, you need to use one of the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below link for more information:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.jt77.com/development1/programming-22764.html" target="test_blank"&gt;http://www.jt77.com/development1/programming-22764.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2007 15:26:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop-fields-maintainable-in-display-transaction/m-p/2584422#M591241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-08T15:26:34Z</dc:date>
    </item>
  </channel>
</rss>

