<?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: function module for convert date as sap internal format ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-convert-date-as-sap-internal-format/m-p/10526465#M1854792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkatesh, &lt;/P&gt;&lt;P&gt; Can you please check with the following function module. For my case, it is working fine.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;CALL FUNCTION 'CONVERT_DATE_TO_INTERN_FORMAT'&lt;/P&gt;
&lt;P&gt;&amp;nbsp; EXPORTING&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; datum = p_gs_date&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dtype = 'DATS'&lt;/P&gt;
&lt;P&gt;&amp;nbsp; IMPORTING&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; idate = p_gs_date&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps to you. &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;Rajkumar Narasimman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jul 2014 11:44:15 GMT</pubDate>
    <dc:creator>rajkumarnarasimman</dc:creator>
    <dc:date>2014-07-30T11:44:15Z</dc:date>
    <item>
      <title>function module for convert date as sap internal format ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-convert-date-as-sap-internal-format/m-p/10526462#M1854789</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;Is there any standard function module to convert the date filed as SAP internal date?&lt;/P&gt;&lt;P&gt;My problem is while uploading data from excel sheet date filed can be any format &lt;/P&gt;&lt;P&gt;for exp: &lt;STRONG&gt;dd/mm/yyyy &lt;/STRONG&gt;or&lt;STRONG&gt; mm/dd/yyyy &lt;/STRONG&gt;or&lt;STRONG&gt; yyyy/dd/mm &lt;/STRONG&gt;or&lt;STRONG&gt; dd-mm-yyyy,mm-dd-yyyy&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dd-mm-yyyy&lt;/STRONG&gt; or&lt;STRONG&gt; dd.mm.yyyy &lt;/STRONG&gt;or&lt;STRONG&gt; mm.dd.yyyy&amp;nbsp; &lt;/STRONG&gt;etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our case there is no particular format in excel it can be differ for each user. I know we have few FM's in standard.&lt;/P&gt;&lt;P&gt;But those are not working for my req. pls help me if you have any idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&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;Venkat Mote.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 11:27:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-convert-date-as-sap-internal-format/m-p/10526462#M1854789</guid>
      <dc:creator>former_member220941</dc:creator>
      <dc:date>2014-07-30T11:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: function module for convert date as sap internal format ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-convert-date-as-sap-internal-format/m-p/10526463#M1854790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure how that would be possible as there would be no way to determine if 01-12 is a month or a day.&amp;nbsp; Your only option is to have a policy that dates be formatted the same way (or at least use day before month or month before day).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 11:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-convert-date-as-sap-internal-format/m-p/10526463#M1854790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-30T11:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: function module for convert date as sap internal format ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-convert-date-as-sap-internal-format/m-p/10526464#M1854791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This could have achieved programmatic but when you have situations like 12122012, you can't&amp;nbsp; differentiate if which is day or month!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am afraid you must have to fix the date format in Excel. Else if you know date format in the excel you can use FORMAT_DATE_4_OUTPUT in program by passing the FORMAT to the FM...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 11:38:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-convert-date-as-sap-internal-format/m-p/10526464#M1854791</guid>
      <dc:creator>satyabrata_sahoo3</dc:creator>
      <dc:date>2014-07-30T11:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: function module for convert date as sap internal format ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-convert-date-as-sap-internal-format/m-p/10526465#M1854792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkatesh, &lt;/P&gt;&lt;P&gt; Can you please check with the following function module. For my case, it is working fine.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;CALL FUNCTION 'CONVERT_DATE_TO_INTERN_FORMAT'&lt;/P&gt;
&lt;P&gt;&amp;nbsp; EXPORTING&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; datum = p_gs_date&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dtype = 'DATS'&lt;/P&gt;
&lt;P&gt;&amp;nbsp; IMPORTING&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; idate = p_gs_date&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps to you. &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;Rajkumar Narasimman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 11:44:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-convert-date-as-sap-internal-format/m-p/10526465#M1854792</guid>
      <dc:creator>rajkumarnarasimman</dc:creator>
      <dc:date>2014-07-30T11:44:15Z</dc:date>
    </item>
  </channel>
</rss>

