<?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 format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396012#M191858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Normally date defualt settings will in user settings, you can go from menu system-utilities' users own data. or SU01 tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There you set the detault date formats for a user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also irrespective of date format in bdc you can do by moving the date into char(10) field and then passing this into screen field in bdcdata table.&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>Tue, 13 Jun 2006 20:08:22 GMT</pubDate>
    <dc:creator>Manohar2u</dc:creator>
    <dc:date>2006-06-13T20:08:22Z</dc:date>
    <item>
      <title>date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396011#M191857</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;I have date on my selection screen and updating fk02 using bdc.&lt;/P&gt;&lt;P&gt;date parameter has different format and date in fk02 has different format, which causing error while updating.&lt;/P&gt;&lt;P&gt;could you please let me know how to change date format, is there any settings need to be changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;rk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 20:05:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396011#M191857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T20:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396012#M191858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Normally date defualt settings will in user settings, you can go from menu system-utilities' users own data. or SU01 tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There you set the detault date formats for a user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also irrespective of date format in bdc you can do by moving the date into char(10) field and then passing this into screen field in bdcdata table.&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>Tue, 13 Jun 2006 20:08:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396012#M191858</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-06-13T20:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396013#M191859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi raj how ur date format looks currently and what is the expected format?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 20:12:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396013#M191859</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-06-13T20:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396014#M191860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just do the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE my_input_date TO my_bdc_field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 20:16:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396014#M191860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T20:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396015#M191861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In BDc you can read user date format like this ..it reads from TR.SU3 . I`m using for every BDC. we have written a custom FM . we pass date and it`ll retrun as per user format &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;RETRIEVE USER PROFILE DATE SETTING&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  select single datfm&lt;/P&gt;&lt;P&gt;         into   user_setting&lt;/P&gt;&lt;P&gt;         from   usr01&lt;/P&gt;&lt;P&gt;         where  bname = sy-uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then reformat it ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this&amp;#146;ll give you idea!!&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;P.S award the points.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Good luck &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saquib Khan&lt;/P&gt;&lt;P&gt;"Some are wise and some are otherwise"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 20:17:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396015#M191861</guid>
      <dc:creator>former_member181966</dc:creator>
      <dc:date>2006-06-13T20:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396016#M191862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that the person running the program and the person running the BDC have the same date formats in their profiles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 21:22:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396016#M191862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T21:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396017#M191863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am hoping that this is not a batch input session processing. I am assuming that this is a call transaction, in which case the person who is executing the program will be the one who will be executing the transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 21:51:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396017#M191863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T21:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396018#M191864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case, writing the date to the BDC field should work, but it sounds like the date on the selection screen has a different format from the transaction. That's why I'm thinking session processing by different people.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 22:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396018#M191864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T22:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396019#M191865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;1&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;Assume P_begda is Selection-screen date.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;2&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;Declare one variable like this.&lt;/P&gt;&lt;P&gt;DATA :l_begda(10),&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;3&amp;lt;/b&amp;gt;. &lt;/P&gt;&lt;P&gt;Use the below statement before populating BDCDATA table &lt;/P&gt;&lt;P&gt;  WRITE p_begda TO l_begda.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;4&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;Pass L_begda like this.&lt;/P&gt;&lt;P&gt;PERFORM bdc_field   USING 'RP50G-BEGDA'&lt;/P&gt;&lt;P&gt;                             l_begda.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that this helps u .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkat.O&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 02:09:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396019#M191865</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2006-06-14T02:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396020#M191866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you could try moving the field first to a variable with type datum or sy-datum and pass that field to the field in the BDC. Use "move" or "write" not "=".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we cannot ask the user to change his/her settings in SU01.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 02:29:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format/m-p/1396020#M191866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T02:29:17Z</dc:date>
    </item>
  </channel>
</rss>

