<?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: help me please in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-please/m-p/3388816#M813686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS: p_mon TYPE char2,
            p_yr  TYPE char4.

DATA: g_date TYPE gkday.

START-OF-SELECTION.

  CONCATENATE p_yr p_mon '01' INTO g_date.

  CALL FUNCTION 'F4_DATE_CONTROL'
    EXPORTING
      date_for_first_month         = g_date
    IMPORTING
      select_date                  = g_date
    EXCEPTIONS
      calendar_buffer_not_loadable = 1
      date_after_range             = 2
      date_before_range            = 3
      date_invalid                 = 4
      factory_calendar_not_found   = 5
      holiday_calendar_not_found   = 6
      parameter_conflict           = 7
      OTHERS                       = 8.

  WRITE: g_date.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2008 05:36:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-11T05:36:24Z</dc:date>
    <item>
      <title>help me please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-please/m-p/3388811#M813681</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;Can anybody help me out please? I'd like to let the user to select a date through f4 and please note that the date should be in month &amp;amp; year.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 05:10:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-please/m-p/3388811#M813681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T05:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: help me please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-please/m-p/3388812#M813682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ANY IDEAS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 05:28:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-please/m-p/3388812#M813682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T05:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: help me please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-please/m-p/3388813#M813683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use FM &lt;STRONG&gt;'F4_DATE'&lt;/STRONG&gt; for displaying the calender.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 05:30:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-please/m-p/3388813#M813683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T05:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: help me please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-please/m-p/3388814#M813684</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;check this FM in SE37&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;F4_DATE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;jose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 05:31:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-please/m-p/3388814#M813684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T05:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: help me please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-please/m-p/3388815#M813685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;parameter: pa_date type sy-datum.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will automatically provide a calendar at F4. But to show the factory calendar, that depends on.. how your system is configured...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 05:32:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-please/m-p/3388815#M813685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T05:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: help me please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-please/m-p/3388816#M813686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS: p_mon TYPE char2,
            p_yr  TYPE char4.

DATA: g_date TYPE gkday.

START-OF-SELECTION.

  CONCATENATE p_yr p_mon '01' INTO g_date.

  CALL FUNCTION 'F4_DATE_CONTROL'
    EXPORTING
      date_for_first_month         = g_date
    IMPORTING
      select_date                  = g_date
    EXCEPTIONS
      calendar_buffer_not_loadable = 1
      date_after_range             = 2
      date_before_range            = 3
      date_invalid                 = 4
      factory_calendar_not_found   = 5
      holiday_calendar_not_found   = 6
      parameter_conflict           = 7
      OTHERS                       = 8.

  WRITE: g_date.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 05:36:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-please/m-p/3388816#M813686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T05:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: help me please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-please/m-p/3388817#M813687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Shaheen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a data element with the data type DATS. Assign this data element to the parameters field that you want to display in selection screen.&lt;/P&gt;&lt;P&gt;Ex. parameters p1 type ZMODIFIED_DATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZMODIFIED_DATE is the data element with the data type DATS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vidhya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 05:37:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-please/m-p/3388817#M813687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T05:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: help me please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-please/m-p/3388818#M813688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks ..... can you please show me how it should be so that I can have the only monthe and year appearing &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4_DATE'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DATE_FOR_FIRST_MONTH               = SY-DATUM&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DISPLAY                            = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FACTORY_CALENDAR_ID                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  GREGORIAN_CALENDAR_FLAG            = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HOLIDAY_CALENDAR_ID                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PROGNAME_FOR_FIRST_MONTH           = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SELECT_DATE                        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SELECT_WEEK                        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SELECT_WEEK_BEGIN                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SELECT_WEEK_END                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CALENDAR_BUFFER_NOT_LOADABLE       = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DATE_AFTER_RANGE                   = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DATE_BEFORE_RANGE                  = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DATE_INVALID                       = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FACTORY_CALENDAR_NOT_FOUND         = 5&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HOLIDAY_CALENDAR_NOT_FOUND         = 6&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PARAMETER_CONFLICT                 = 7&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                             = 8&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 05:38:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-please/m-p/3388818#M813688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T05:38:40Z</dc:date>
    </item>
  </channel>
</rss>

