<?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: Problem in date format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-date-format/m-p/4050859#M968282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello arun,&lt;/P&gt;&lt;P&gt;it seems your function module is using a date field of differnt type than sy-datum .So declare field3 with that type..go to se37,write the function module name &amp;amp; check what type is it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,.&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jun 2008 05:55:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-26T05:55:16Z</dc:date>
    <item>
      <title>Problem in date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-date-format/m-p/4050855#M968278</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;I have  FM  in which there is a submit which calls the &lt;/P&gt;&lt;P&gt;report say X  in background . Selection screen of  Report X has various fields say  &lt;/P&gt;&lt;P&gt;                                      filed 1 type ***&lt;/P&gt;&lt;P&gt;                                      field 2 type ****&lt;/P&gt;&lt;P&gt;                                      field 3 type sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when in the submit  if fied 3 has no value  which  is send  to the repot takes the value of date as 00.00.0000 and the report failsin background . if i take the values in the foreground for all the fields it shows in the screen that DATE FORMAT IS WRONG .  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if i am checking for the value and sending the value in to the program it is OK . But if the value is not there  i am &lt;/P&gt;&lt;P&gt;not sending it . BUT the problem here is still the value &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; .  .   is send to the program which is also wrong . as it also shows rong date format . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest how can i proceed forward.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 05:34:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-date-format/m-p/4050855#M968278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T05:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-date-format/m-p/4050856#M968279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun , &lt;/P&gt;&lt;P&gt;In Debug u can find out which date format it is taking , FM requires Date should me in YYYYMMDD format.&lt;/P&gt;&lt;P&gt;so check ur i/p to that FM , and values of that field in thta FM as well.&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;Prabhu .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 05:40:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-date-format/m-p/4050856#M968279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T05:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-date-format/m-p/4050857#M968280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prabhu ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while debugging i have seen that it is taking the value &lt;/P&gt;&lt;P&gt;in dd mm yyyy format . the field 3 date is calculated &lt;/P&gt;&lt;P&gt;from some logic and format declared in the FM is sy-datum only . The problem here is not with the filed 3 with normal input  it is with blank entry . when i am sending the blank entry to report it is not going as blank Rather it is&lt;/P&gt;&lt;P&gt;going as   dot dot ( .  . )format  Please suggest how to handle this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 05:45:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-date-format/m-p/4050857#M968280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T05:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-date-format/m-p/4050858#M968281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you not make date field as mandatory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if so than try to look at FM to solve only formate problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are pleanty of FM you can search by just giving &lt;STRONG&gt;date&lt;/STRONG&gt;conversion* in SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 05:49:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-date-format/m-p/4050858#M968281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T05:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-date-format/m-p/4050859#M968282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello arun,&lt;/P&gt;&lt;P&gt;it seems your function module is using a date field of differnt type than sy-datum .So declare field3 with that type..go to se37,write the function module name &amp;amp; check what type is it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,.&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 05:55:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-date-format/m-p/4050859#M968282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T05:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-date-format/m-p/4050860#M968283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i dont y its carring ( . .), may be some where u are they are changing the format, bcos in any case date will be YYYYMMDD format only for FM i/P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try smoke thing like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if s_date is not initial.&lt;/P&gt;&lt;P&gt; do something.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 05:57:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-date-format/m-p/4050860#M968283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T05:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-date-format/m-p/4050861#M968284</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;I can not make the date field as mandatory because it is &lt;/P&gt;&lt;P&gt;used by many other programs .  In the FM i am calculateing the DATE in the field   wf_date  which is field &lt;/P&gt;&lt;P&gt;SY-DATUM  then through submit i am calling the report &lt;/P&gt;&lt;P&gt;no where the date format is changed  from sy-datum .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 06:12:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-date-format/m-p/4050861#M968284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T06:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-date-format/m-p/4050862#M968285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of taking the type of field3 as sy-datum y don't you declare it as D type field because when you declare it as sy-datum internal representation is different from external representation .I think (. .) is taking internally. Try this I hope this works.&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;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 06:42:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-date-format/m-p/4050862#M968285</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-06-26T06:42:43Z</dc:date>
    </item>
  </channel>
</rss>

