<?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: Convert string to Date/date format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-string-to-date-date-format/m-p/3452540#M829456</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the function CONVERT_DATE_TO_INTERNAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    DATE_EXTERNAL                  = L_VAR1&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;     DATE_INTERNAL                  = L_VAR2&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   DATE_EXTERNAL_IS_INVALID       = 1&lt;/P&gt;&lt;P&gt;   OTHERS                         = 2.&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;&lt;/P&gt;&lt;P&gt;Kim Werner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Feb 2008 17:11:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-14T17:11:21Z</dc:date>
    <item>
      <title>Convert string to Date/date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-string-to-date-date-format/m-p/3452539#M829455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;I have a scenario where in i need to convert a string which contains date into date format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex.&lt;/P&gt;&lt;P&gt;data : l_var1 type string,&lt;/P&gt;&lt;P&gt;         l_var2 type dats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_var1 = '00.00.0000' " this value depends on the data format setting of the users profile in this ex the date format set by the user is DD.MM.YYYY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to convert the contents of l_var2 to be '00000000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My objective is to find out the content of l_var1 is initial which according to my logic is only via convertion to a date/dats format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Om&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2008 16:26:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-string-to-date-date-format/m-p/3452539#M829455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-14T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Convert string to Date/date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-string-to-date-date-format/m-p/3452540#M829456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the function CONVERT_DATE_TO_INTERNAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    DATE_EXTERNAL                  = L_VAR1&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;     DATE_INTERNAL                  = L_VAR2&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   DATE_EXTERNAL_IS_INVALID       = 1&lt;/P&gt;&lt;P&gt;   OTHERS                         = 2.&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;&lt;/P&gt;&lt;P&gt;Kim Werner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2008 17:11:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-string-to-date-date-format/m-p/3452540#M829456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-14T17:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Convert string to Date/date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-string-to-date-date-format/m-p/3452541#M829457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!! a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:44:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-string-to-date-date-format/m-p/3452541#M829457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T05:44:56Z</dc:date>
    </item>
  </channel>
</rss>

