<?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: selction-screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen/m-p/3720775#M895717</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  With the field defined as a DATE field (which allows the calendar dropdown) you wouldn't be able to show the MM and YYYY in that field, but add 2 PARAMETER fields one for MM and one for YYYY but do not allow input to these fields.  Upon the changing of your DATE field, extrapulate the MM and YYYY from it ( date&lt;EM&gt;0(4) = YYYY and date&lt;/EM&gt;4(2) = MM) and put these values in the parameter fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Apr 2008 10:25:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-25T10:25:05Z</dc:date>
    <item>
      <title>selction-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen/m-p/3720774#M895716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all..&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  iam having date field in the selction screen.... so if i click f4 i can get calander and i can enter specific date...&lt;/P&gt;&lt;P&gt;  now my requirement is to i  hav ti enter month end year only....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if i click any date in the seach help calender.... the input field of the selection screen has to avoid date and need to capture month and year....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz replay with code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Naveen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2008 10:04:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen/m-p/3720774#M895716</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2008-04-25T10:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: selction-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen/m-p/3720775#M895717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  With the field defined as a DATE field (which allows the calendar dropdown) you wouldn't be able to show the MM and YYYY in that field, but add 2 PARAMETER fields one for MM and one for YYYY but do not allow input to these fields.  Upon the changing of your DATE field, extrapulate the MM and YYYY from it ( date&lt;EM&gt;0(4) = YYYY and date&lt;/EM&gt;4(2) = MM) and put these values in the parameter fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2008 10:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen/m-p/3720775#M895717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-25T10:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: selction-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen/m-p/3720776#M895718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's an example.  Note that update occurs when the user hits Enter &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS:
  mydate  TYPE datum OBLIGATORY.
PARAMETERS:
  mymm(2) TYPE c MODIF ID xxx,
  myyy(4) TYPE c MODIF ID xxx.

AT SELECTION-SCREEN OUTPUT.

  mymm = mydate+4(2).
  myyy = mydate+0(4).

  LOOP AT SCREEN.
    CASE screen-group1.
      WHEN 'XXX'.
        screen-input = 0.
        MODIFY SCREEN.
    ENDCASE.
  ENDLOOP.

START-OF-SELECTION.

  mymm = mydate+4(2).
  myyy = mydate+0(4).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2008 10:43:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen/m-p/3720776#M895718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-25T10:43:25Z</dc:date>
    </item>
  </channel>
</rss>

