<?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: SELECTION SCREEN EVENT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/4523087#M1069303</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should be done at at selection-screen output event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN OUTPUT. "It is OUTPUT
LOOP AT SCREEN.
IF screen-group1 = 'SHP'.
IF s_kschl-low NE 'ZABC'.
SCREEN-INPUT = '1'.
ELSE.
SCREEN-INPUT = '0'.
ENDIF.
MODIFY SCREEN .
ENDIF.
ENDLOOP&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2008 08:15:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-24T08:15:41Z</dc:date>
    <item>
      <title>SELECTION SCREEN EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/4523084#M1069300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;   we have a customized selection program similar to RSNAST00. In that while maintaining the variant when the users enter values other than say "ZABC " in output type field (KSCHL) and press enter certain fields in the screen should not be available for input. I have written this event which is getting trigerred but no changes are done to the screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON S_KSCHL.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-group1 = 'SHP'.&lt;/P&gt;&lt;P&gt;      IF s_kschl-low NE 'ZABC'.&lt;/P&gt;&lt;P&gt;        SCREEN-INPUT = '1'.&lt;/P&gt;&lt;P&gt;        ELSE.&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;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please advice me how to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Krithika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 08:07:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/4523084#M1069300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T08:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/4523085#M1069301</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;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON S_KSCHL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF s_kschl-low NE 'ZABC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF screen-group1 = 'SHP'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = '1'.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN .&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF screen-group1 = 'SHP'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN .&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&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;Sharin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 08:11:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/4523085#M1069301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T08:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/4523086#M1069302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do it in the PBO not PAI of the selection screen, that is use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data:
  w_kschl type kschl.

Select-options:
  s_kschl for w_kschl.

Parameters:
  char(5)." modif id shp.


AT SELECTION-SCREEN OUTPUT.

IF s_kschl-low NE 'ZABC' and s_kschl-low is not initial..

LOOP AT SCREEN.
IF screen-name CS 'CHAR'.
SCREEN-INPUT = 0.
MODIFY SCREEN .
ENDIF.
ENDLOOP.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With luck,&lt;/P&gt;&lt;P&gt;Pritam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 08:14:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/4523086#M1069302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T08:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/4523087#M1069303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should be done at at selection-screen output event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN OUTPUT. "It is OUTPUT
LOOP AT SCREEN.
IF screen-group1 = 'SHP'.
IF s_kschl-low NE 'ZABC'.
SCREEN-INPUT = '1'.
ELSE.
SCREEN-INPUT = '0'.
ENDIF.
MODIFY SCREEN .
ENDIF.
ENDLOOP&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 08:15:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/4523087#M1069303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T08:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/4523088#M1069304</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;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN OUTPUT.
if S_KSCHL is intial or S_KSCHL ne ZABC.
 LOOP AT SCREEN.
      IF screen-group1 EQ 'NAM'.
        screen-active = 0.
        MODIFY SCREEN.
      ENDIF.                           " IF screen-group1..
    ENDLOOP.                           " Loop at screen..
  ELSE.
    LOOP AT SCREEN.
      IF screen-group1 EQ 'NAM'.
        screen-active = 1.
        MODIFY SCREEN.
      ENDIF.                           " IF screen-group1..
    ENDLOOP.                           " Loop at screen..&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&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;Sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 13:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/4523088#M1069304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T13:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/4523089#M1069305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krithika,&lt;/P&gt;&lt;P&gt;Recently 3 days before i have posted the same question and i got the solution which i am sharing you. I am having a drop box input field where if i select NO from the dropdown then automatically concern fields has to be disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ZFORMA-CISWK = 'NO'.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-NAME = 'ZFORMA-YISWK'. "field will become inactive&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;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ZFORMA-CISWK = 'YES'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-NAME = 'ZFORMA-YISWK'. "field will be active&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 1.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = 1.&lt;/P&gt;&lt;P&gt;SCREEN-OUTPUT = 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;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is work with me fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope my answer will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 16:29:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/4523089#M1069305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T16:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/4523090#M1069306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much guys all your answers were very helpful. Rewarded everyone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2008 07:42:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/4523090#M1069306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-25T07:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN EVENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/4523091#M1069307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Everyone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2008 07:42:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/4523091#M1069307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-25T07:42:57Z</dc:date>
    </item>
  </channel>
</rss>

