<?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 Modify screen statement used in which event ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-screen-statement-used-in-which-event/m-p/6345179#M1398015</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt; We can use Modify screen statement in PBO . Can we use it in PAI ? If yes why and if not why ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Nov 2009 18:15:55 GMT</pubDate>
    <dc:creator>former_member242512</dc:creator>
    <dc:date>2009-11-07T18:15:55Z</dc:date>
    <item>
      <title>Modify screen statement used in which event ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-screen-statement-used-in-which-event/m-p/6345179#M1398015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt; We can use Modify screen statement in PBO . Can we use it in PAI ? If yes why and if not why ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Nov 2009 18:15:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-screen-statement-used-in-which-event/m-p/6345179#M1398015</guid>
      <dc:creator>former_member242512</dc:creator>
      <dc:date>2009-11-07T18:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Modify screen statement used in which event ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-screen-statement-used-in-which-event/m-p/6345180#M1398016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;doubl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Clemens Li on Nov 7, 2009 7:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Nov 2009 18:55:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-screen-statement-used-in-which-event/m-p/6345180#M1398016</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2009-11-07T18:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Modify screen statement used in which event ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-screen-statement-used-in-which-event/m-p/6345181#M1398017</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;&lt;STRONG&gt;You can modify the structure screen in your ABAP program during the PBO event of a screen, to modify screen elements in the ABAP program.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The modified elements override the static attributes of the screen fields for exactly a single screen call.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The only allowed statements that you can use with screen are:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT SCREEN.
...
  MODIFY SCREEN.
...
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN is an own statement, which is not to be confused with a loop over an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the beginning of the PBO, ACTIVE is always set to 1, regardless of the static attribute settings. Setting ACTIVE to 0 automatically sets INPUT = 0, OUTPUT = 0, and INVISIBLE = 1. Any other changes to the settings of INPUT; OUTPUT, and INVISIBLE to the current screen element are ignored. Conversely, setting INPUT = 0, OUTPUT = 0, and INVISIBLE = 1 automatically sets ACTIVE to 0, and any further assignment to ACTIVE for the current screen element will be ignored. The setting ACTIVE = 1 has no other effect on the attributes. The only purpose of the ACTIVE component is to allow you to make a screen field inactive through a single assignment. You should particularly note that a module call linked to a FIELD statement in the screen flow logic is always executed, even when SCREEN-ACTIVE = 0 for the field in question. If you want to prevent a module from being processed for an inactive field, you must specify the FIELD- and MODULE statements separately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="18" __jive_macro_name="size"&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Next time, please use F1 yourself.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Setting Attributes Dynamically|http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/content.htm]&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Nov 2009 18:56:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-screen-statement-used-in-which-event/m-p/6345181#M1398017</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2009-11-07T18:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Modify screen statement used in which event ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-screen-statement-used-in-which-event/m-p/6345182#M1398018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Modify screen will work only in PBO .It makes no sense in PAI as the screen is already outputted on the GUI when event PAI is fired.modify screen shd be always defined in between &lt;STRONG&gt;loop at screen&lt;/STRONG&gt; statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Nov 2009 08:11:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-screen-statement-used-in-which-event/m-p/6345182#M1398018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-08T08:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Modify screen statement used in which event ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-screen-statement-used-in-which-event/m-p/6345183#M1398019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ujjawal, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is not sense to keep MODIFY SCREEN statement in PAI , as it changes the properties of screen elements before display, to display them as desired.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI is executed after the dislpay of screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence, MODIFY SCREEN is placed in PBO which is executed before display of screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you understand it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Nov 2009 09:06:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-screen-statement-used-in-which-event/m-p/6345183#M1398019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-08T09:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Modify screen statement used in which event ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-screen-statement-used-in-which-event/m-p/6345184#M1398020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , Thanks for your answers ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Nov 2009 11:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-screen-statement-used-in-which-event/m-p/6345184#M1398020</guid>
      <dc:creator>former_member242512</dc:creator>
      <dc:date>2009-11-08T11:25:24Z</dc:date>
    </item>
  </channel>
</rss>

