<?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 modification in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-modification/m-p/2110976#M441189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Vivek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your logic is correct, but the place you have put the code is not right i guess!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;put the following code inside a module, written inside&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at i&amp;lt;nternal table name&amp;gt; with control &amp;lt;table control name&amp;gt; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF sy-tcode EQ 'VA03' OR sy-tcode EQ 'VA23'.

LOOP AT SCREEN .
IF screen-name EQ 'I_CUSTOM-FIELD5'8'.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Sajan Joseph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2007 11:56:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-16T11:56:11Z</dc:date>
    <item>
      <title>Screen modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-modification/m-p/2110975#M441188</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;I am designing a table control related with screen exit. It is having 5 fields, among that 4 are only for output and one field is both input and output. when the tcode is va03 or va23 that one field also to be in only display mode. for that i have written the following logic in PBO.&lt;/P&gt;&lt;P&gt;IF sy-tcode EQ va03 OR&lt;/P&gt;&lt;P&gt;      sy-tcode EQ 'VA23'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     LOOP AT SCREEN .&lt;/P&gt;&lt;P&gt;       IF screen-name EQ 'I_CUSTOM-FIELD5'8'.&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;But it is not working. &lt;/P&gt;&lt;P&gt;Can anybody tell me what is the problem and how to ressolve that. If any body having logic please provide me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Vivek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 11:50:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-modification/m-p/2110975#M441188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T11:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Screen modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-modification/m-p/2110976#M441189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Vivek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your logic is correct, but the place you have put the code is not right i guess!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;put the following code inside a module, written inside&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at i&amp;lt;nternal table name&amp;gt; with control &amp;lt;table control name&amp;gt; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF sy-tcode EQ 'VA03' OR sy-tcode EQ 'VA23'.

LOOP AT SCREEN .
IF screen-name EQ 'I_CUSTOM-FIELD5'8'.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Sajan Joseph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 11:56:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-modification/m-p/2110976#M441189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T11:56:11Z</dc:date>
    </item>
  </channel>
</rss>

