<?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 updation problem in BDC. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-updation-problem-in-bdc/m-p/2242929#M483734</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;After getting the field into screen use the Conversion exit for ex. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_IDATE_INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will solve your problem. pass the field to this as input and again as output&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;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2007 06:39:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-30T06:39:53Z</dc:date>
    <item>
      <title>Date updation problem in BDC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-updation-problem-in-bdc/m-p/2242926#M483731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, very gud morning &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have written a BDC program to a dialog UI screen,&lt;/P&gt;&lt;P&gt;So in dialog screen there is a date field, which wud be entered and updated.&lt;/P&gt;&lt;P&gt;So if v update the date, using screen its been updated into the database corectly.&lt;/P&gt;&lt;P&gt;ex: if i enter 30.05.2007, its updated as the same.&lt;/P&gt;&lt;P&gt;But if i have saved the data in a .txt file and if i update the database using BDC, its been updating as 30.05.2020 into the database instead of taking it as 30.05.2007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So do u knw watz the problem n solution for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sourav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 06:11:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-updation-problem-in-bdc/m-p/2242926#M483731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-30T06:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Date updation problem in BDC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-updation-problem-in-bdc/m-p/2242927#M483732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please    make your   date field  as below    because  the txt format and sap  formats are different  for date .... so  for any BDC   the date's should   followed as  below .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Date format for entry into BDC 

Because a date field is stored and displayed in different formats within SAP the following code is 
required to convert the date into a format which can be input onto a screen field.

 

* Date field         
  data: ld_date(8).
  
  ld_date(2)   = sy-datum+6(2).
  ld_date+2(2) = sy-datum+4(2).
  ld_date+4(4) = sy-datum(4).


 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 06:17:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-updation-problem-in-bdc/m-p/2242927#M483732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-30T06:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Date updation problem in BDC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-updation-problem-in-bdc/m-p/2242928#M483733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sowrabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When ever you use the date in BDC define it as a char10 field. &lt;/P&gt;&lt;P&gt;Check in the debugging what is the vaalue coming for this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 06:26:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-updation-problem-in-bdc/m-p/2242928#M483733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-30T06:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Date updation problem in BDC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-updation-problem-in-bdc/m-p/2242929#M483734</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;After getting the field into screen use the Conversion exit for ex. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_IDATE_INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will solve your problem. pass the field to this as input and again as output&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;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 06:39:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-updation-problem-in-bdc/m-p/2242929#M483734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-30T06:39:53Z</dc:date>
    </item>
  </channel>
</rss>

