<?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: cdate convertion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cdate-convertion/m-p/1944824#M389554</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;Either you can use write to statement ie write (your date field) to (any char variable having 10 char as property).&lt;/P&gt;&lt;P&gt;Or you can check the login country from syst table and mask to get the required format of dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunmit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Feb 2007 05:21:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-28T05:21:28Z</dc:date>
    <item>
      <title>cdate convertion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cdate-convertion/m-p/1944822#M389552</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 problem with the date formates my requirement is &lt;/P&gt;&lt;P&gt;&amp;#150; currently when running the upload program  the document date (BKPF_BLDAT) defaults in to the current date.  As the program is now, that date is being formatted in US MMDDYYYY.  For those who use any other date format (i.e. European format DDMMYYYY) they are getting an error (Invalid date).  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is also a problem with the posting date field BKPF_BUDAT) which comes from the upload spreadsheet and will be in the same format as the user&amp;#146;s profile.  We need to have this report changed so that both the date fields accept any and all date formats.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 04:53:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cdate-convertion/m-p/1944822#M389552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T04:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: cdate convertion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cdate-convertion/m-p/1944823#M389553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can solve this type of problem with 2 statments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say your date is BKPF_BLDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data: Date1 type Sy-datum,
         date2(10) type c.
Move BKPF_BLDAT to Date1.
Write Date1 to Date2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So, now here the Date2 will have the User format, it will pick the User date format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 05:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cdate-convertion/m-p/1944823#M389553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T05:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: cdate convertion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cdate-convertion/m-p/1944824#M389554</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;Either you can use write to statement ie write (your date field) to (any char variable having 10 char as property).&lt;/P&gt;&lt;P&gt;Or you can check the login country from syst table and mask to get the required format of dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunmit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 05:21:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cdate-convertion/m-p/1944824#M389554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T05:21:28Z</dc:date>
    </item>
  </channel>
</rss>

