<?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: problem in screen painter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5141524#M1191682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the PBO always runs after the PAI (in case you remain on the same screen). What you've coded in the PAI, just cut and paste into the PBO, logically combining with the code already there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jan 2009 09:36:26 GMT</pubDate>
    <dc:creator>JozsefSzikszai</dc:creator>
    <dc:date>2009-01-23T09:36:26Z</dc:date>
    <item>
      <title>problem in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5141523#M1191681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a list box and a list of fields in my screen.&lt;/P&gt;&lt;P&gt;During PBO i am disabling some of the fields by making screen-active = 0 for those fields.And when user chooses a particular value in the list box iam enabling those hidden fields by making screen-active = 1 for those fields at PAI.The fields are getting deactivated during PBO but during PAI when the user enters a particular value and presses enter the fields are not getting activated(i.e they are not visible).what might be the pbm.please any of u give me soln for this.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 09:20:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5141523#M1191681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-23T09:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: problem in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5141524#M1191682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the PBO always runs after the PAI (in case you remain on the same screen). What you've coded in the PAI, just cut and paste into the PBO, logically combining with the code already there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 09:36:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5141524#M1191682</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2009-01-23T09:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: problem in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5141525#M1191683</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;What you do is related to &lt;STRONG&gt;dialog step&lt;/STRONG&gt;. This is PAI-&amp;gt;PBO which means, after you pick up the value from listbox system tries to show up you fields in PAI, but immediately after it finishes PAI goes to PBO to redisplay the screen. Here as you said you deactivate your screen fields again, hence there are never displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dialog step&lt;/STRONG&gt; is only different in first execution of screen. It consist of PBO only. Then when screen is already displayed dialog step is considered as PAI-&amp;gt;PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To solve your problem, simply activate or deavtive in turn your desired screen fields depending on the value in listbox ie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
AT SELECTION-SCREEN.
   Loop at screen.
   check screen-name = "name of the fields to be switched on/off
   if value = ...
      screen-active = 1.
   else.
      screen-active = 0.
   endif.
   modify screen.
  endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 09:38:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5141525#M1191683</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-01-23T09:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: problem in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5141526#M1191684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank u...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my problem is solved...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 09:50:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5141526#M1191684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-23T09:50:23Z</dc:date>
    </item>
  </channel>
</rss>

