<?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: Date conversion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-conversion/m-p/1302791#M159024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rupa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As its YY format its difficult to know whether it is 19XX or 20XX, so based on assumptions you need to concatenate with 19 or 20 to YY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Jun 2006 11:13:40 GMT</pubDate>
    <dc:creator>Manohar2u</dc:creator>
    <dc:date>2006-06-04T11:13:40Z</dc:date>
    <item>
      <title>Date conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-conversion/m-p/1302790#M159023</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;i have a Date field in flat file as YYDDMM format.&lt;/P&gt;&lt;P&gt;i have to read it into internal table and according to that i have to fetch some data.&lt;/P&gt;&lt;P&gt;how can i convert the YY field into YYYY.&lt;/P&gt;&lt;P&gt;my system date format is YYYYMMDD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Jun 2006 10:51:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-conversion/m-p/1302790#M159023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-04T10:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-conversion/m-p/1302791#M159024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rupa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As its YY format its difficult to know whether it is 19XX or 20XX, so based on assumptions you need to concatenate with 19 or 20 to YY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Jun 2006 11:13:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-conversion/m-p/1302791#M159024</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-06-04T11:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-conversion/m-p/1302792#M159025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roopa,&lt;/P&gt;&lt;P&gt;follow this code ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: date like sy-datum.
data: date1 like sy-datum.
data: date2(10) type c.

date = 050102 (as your format).

move: date to date_8.
write date1 to date2.

write: date2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here the date2 will have the 10 digit date format which will have your SAP System format .. whatever the format you have in the System this DATE2 will also have the same format .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please close the thread if this answers the question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Jun 2006 11:18:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-conversion/m-p/1302792#M159025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-04T11:18:30Z</dc:date>
    </item>
  </channel>
</rss>

