<?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: Character - Date in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-date/m-p/2415905#M539196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why can't your select option be changed to a date type?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jun 2007 23:14:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-19T23:14:07Z</dc:date>
    <item>
      <title>Character - Date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-date/m-p/2415901#M539192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have field which is Char type. The input to this field will be date format. How to convert to the date input to CHAR  or make to CHAR to accept DATE as input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 21:42:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-date/m-p/2415901#M539192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T21:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Character - Date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-date/m-p/2415902#M539193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be better to define a field of type date.&lt;/P&gt;&lt;P&gt;You can declare a field like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters : p_date like sy-datum.&lt;/P&gt;&lt;P&gt;And then convert it into char field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write p_date to v_char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;If you want to convert char field to date, you can use function CONVERSION_EXIT_IDATE_INPUT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 21:51:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-date/m-p/2415902#M539193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T21:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Character - Date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-date/m-p/2415903#M539194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The field is under select options we can enter a range....&lt;/P&gt;&lt;P&gt;How to acheive it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 21:57:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-date/m-p/2415903#M539194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T21:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Character - Date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-date/m-p/2415904#M539195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;select-options : s_date for sy-datum.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;And then convert it into char field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write s_date-low to v_char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if you have multiple dates then.&lt;/P&gt;&lt;P&gt;loop at s_date.&lt;/P&gt;&lt;P&gt;write s_date-low to ..&lt;/P&gt;&lt;P&gt;write s_date-high to...&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if you still want to go with the character field on the screen.&lt;/P&gt;&lt;P&gt;LOOP AT S_DATE.&lt;/P&gt;&lt;P&gt;CALL FUNCTION CONVERSION_EXIT_IDATE_INPUT&lt;/P&gt;&lt;P&gt;EXPORTING INPUT = S_DATE-LOW&lt;/P&gt;&lt;P&gt;IMPORTING OUTPUT = V_DATE1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION CONVERSION_EXIT_IDATE_INPUT&lt;/P&gt;&lt;P&gt;EXPORTING INPUT = S_DATE-HIGH&lt;/P&gt;&lt;P&gt;IMPORTING OUTPUT = V_DATE2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;* Here may you be you can write code to append these 2 fields to other internal table.&amp;lt;/b&amp;gt;&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;Can you give me the exact logic, how you want to use these fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 22:03:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-date/m-p/2415904#M539195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T22:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Character - Date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-date/m-p/2415905#M539196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why can't your select option be changed to a date type?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 23:14:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-date/m-p/2415905#M539196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T23:14:07Z</dc:date>
    </item>
  </channel>
</rss>

