<?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 Entry in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-entry/m-p/1227103#M138209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi yamini,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ENTER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. for doing this,&lt;/P&gt;&lt;P&gt;   the user will have to &lt;/P&gt;&lt;P&gt;   press ENTER&lt;/P&gt;&lt;P&gt;   so that event gets triggered&lt;/P&gt;&lt;P&gt;   and we can disable the other date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. just copy paste in new program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT abc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : postdate TYPE sy-datum MODIF ID a,&lt;/P&gt;&lt;P&gt;             entdate TYPE sy-datum MODIF ID b.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------" /&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF postdate IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'B'.&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;&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF entdate IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;      LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;        IF screen-group1 = 'A'.&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;&lt;/P&gt;&lt;P&gt;    ENDIF.&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;&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Mar 2006 14:09:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-24T14:09:59Z</dc:date>
    <item>
      <title>Selection Screen Entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-entry/m-p/1227102#M138208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    I have a requirement where in i have 2 entries 1&amp;gt; posting date 2&amp;gt; entry date on my selection screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   If i am entering any value in Posting date then the entry date on the selection screen should be disabled if not &lt;/P&gt;&lt;P&gt;  if i enter any value in entry date then the posting date field on the selection screen has to be disabled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any inputs for this query will be really helpful for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Yamini.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 13:59:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-entry/m-p/1227102#M138208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-24T13:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen Entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-entry/m-p/1227103#M138209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi yamini,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ENTER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. for doing this,&lt;/P&gt;&lt;P&gt;   the user will have to &lt;/P&gt;&lt;P&gt;   press ENTER&lt;/P&gt;&lt;P&gt;   so that event gets triggered&lt;/P&gt;&lt;P&gt;   and we can disable the other date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. just copy paste in new program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT abc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : postdate TYPE sy-datum MODIF ID a,&lt;/P&gt;&lt;P&gt;             entdate TYPE sy-datum MODIF ID b.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------" /&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF postdate IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'B'.&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;&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF entdate IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;      LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;        IF screen-group1 = 'A'.&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;&lt;/P&gt;&lt;P&gt;    ENDIF.&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;&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 14:09:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-entry/m-p/1227103#M138209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-24T14:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen Entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-entry/m-p/1227104#M138210</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;you can do it with the help of event at selection screen output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
at selection-screen output.

loop at screen.
if screen-name = 'ABCD'.
screen-input = 0.
modify screen.
endif.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 14:10:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-entry/m-p/1227104#M138210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-24T14:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen Entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-entry/m-p/1227105#M138211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  YCHATEST                                                    *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;                                                                     *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*

REPORT  ychatest                                .

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.

PARAMETERS : podate TYPE sy-datum MODIF ID s1.

PARAMETERS : entrydt TYPE sy-datum MODIF ID s2.

SELECTION-SCREEN END OF BLOCK b1.
DATA : input TYPE i.

AT SELECTION-SCREEN OUTPUT.

  if not podate is initial.
     LOOP AT SCREEN.
    IF screen-group1 = 'S2'.
      screen-input = 0..
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.
 endif.
 if not entrydt is initial.
     LOOP AT SCREEN.
    IF screen-group1 = 'S1'.
      screen-input = 0..
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.
 endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 14:18:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-entry/m-p/1227105#M138211</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-24T14:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen Entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-entry/m-p/1227106#M138212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  ABAP is event driven program. Unless the user performs an action PAI event cannot be triggered. &lt;/P&gt;&lt;P&gt;you can achieve your purpose by making a provision for two radiobuttons in the selection screen.&lt;/P&gt;&lt;P&gt; One radio button for Posting Date and one for Entry date.&lt;/P&gt;&lt;P&gt;When the user clicks the radio button corresponding the Posting date, activate POsting date and deactive the Entry date field. Do the vice-a-versa if the user clicks the radio button corresponding to Entry Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All you have to do is assign USER-COMMAND to the Radio buttons. &lt;/P&gt;&lt;P&gt;Now in the AT SELECTION-SCREEN OUTPUT event disable the field as per your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 21:00:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-entry/m-p/1227106#M138212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-24T21:00:49Z</dc:date>
    </item>
  </channel>
</rss>

