<?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 mismatching in BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305759#M1223556</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;Thnx for u peoples reply, but the problem is am not able to change the input file format. Even i am not able to change the user machine settings also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thy are going go maintain in MMDDYY format only, i need to correct in the program itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mohana V&lt;/P&gt;&lt;P&gt;Chennai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Mar 2009 06:40:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-12T06:40:50Z</dc:date>
    <item>
      <title>Date format mismatching in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305753#M1223550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;displaying wrong date format	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am uploading some price records, inthat input file i have MMDDYY format, but while uploading its giving error. Its geting stuckup there. i think i need to change the format before passing FVAL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I declared the date field as RV13A-DATAB .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How resolve this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone having idea please help this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mohana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 06:30:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305753#M1223550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T06:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Date format mismatching in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305754#M1223551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;1) change the input format to YYYYMMDD&lt;/P&gt;&lt;P&gt;2) Use write source to target statement.&lt;/P&gt;&lt;P&gt;3) Use the target field to populate the screen field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because, the screen data is with respect to User profile data, hence it changes everytime user changes the format.&lt;/P&gt;&lt;P&gt;It would better for you to change the text file data to above specified format and carry out the rest of the steps.&lt;/P&gt;&lt;P&gt;The write to statement converts the data to what so ever user format being used, hence no inconsistencies with respect screen field format, which is nothing but the user format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sharath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 06:33:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305754#M1223551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T06:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Date format mismatching in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305755#M1223552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on your system default date settings. In debug mode please change the format to DDMMYYYY to see if it works. Else try with other formats like YYYYDDMM .&lt;/P&gt;&lt;P&gt;I hope using this method you should be able to solve it in quick time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 06:33:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305755#M1223552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T06:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Date format mismatching in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305756#M1223553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Mohana.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of MMDDYY u can use DDMMYY.&lt;/P&gt;&lt;P&gt;I Mean to say , i n ur file data date is like 022309 instead of this u can write that in format 230209.&lt;/P&gt;&lt;P&gt;and your internal table date field u can five as tezt means  date(10) type C instead of  RV13A-DATAB .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue exist revert back.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 06:35:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305756#M1223553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T06:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Date format mismatching in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305757#M1223554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mohan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass the value coming from source file to FM:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Convert_date_to_internal:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will convert date from MM/DD/YYYY to YYYYMMDD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass this intranla table to FM: Convert_date_to_extranal. This will convert the internal table to &lt;/P&gt;&lt;P&gt;the external user format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 06:39:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305757#M1223554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T06:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Date format mismatching in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305758#M1223555</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;&lt;/P&gt;&lt;P&gt;Check the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;write fs_item-eeind to lw_date. " (1)
  concatenate 'RM06B-EEIND(' w_pos ')' into lw_line.
  perform bdc_field using lw_line lw_date.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;  " (2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above code ( 1 &amp;amp; 2 are of your interest)  is with respect to ME51 transaction for table control and also populating screen. I had a similar issue with respect to date and that's how I could resolve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sharath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 06:39:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305758#M1223555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T06:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Date format mismatching in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305759#M1223556</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;Thnx for u peoples reply, but the problem is am not able to change the input file format. Even i am not able to change the user machine settings also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thy are going go maintain in MMDDYY format only, i need to correct in the program itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mohana V&lt;/P&gt;&lt;P&gt;Chennai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 06:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305759#M1223556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T06:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Date format mismatching in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305760#M1223557</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;This is simple...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Declare the date field as Char rather than RV13A-DATAB .&lt;/P&gt;&lt;P&gt;2.when you get the data into internal table, simply use offset and concatenate mechanism that convert the date into the required filed.&lt;/P&gt;&lt;P&gt;Means extract the MM,DD and YYYY from the filedval in the intrenal table then finally concatenate the 2 variablr as MMDDYY into the final 4th variable and use that variable or overwrite the variable in the intrenal table and use it in BDC recording.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this might help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 06:41:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305760#M1223557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T06:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Date format mismatching in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305761#M1223558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MMDDYY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Data: var1 type sy-datum. &lt;/P&gt;&lt;P&gt;   If file data was in Var2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   var1(2) = '20'  " First 2 digits of the year - but it will work only till 2099 year.&lt;/P&gt;&lt;P&gt;   var1&lt;EM&gt;2(2) = file_data-date&lt;/EM&gt;4(2).&lt;/P&gt;&lt;P&gt;   var1+4(4) = file_data-date(4). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 06:46:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305761#M1223558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T06:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date format mismatching in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305762#M1223559</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;BDC uses the data in the form of EXTERNAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to convert the date and use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ref FM: CONVERT_DATE_TO_EXTERNAL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 06:49:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-mismatching-in-bdc/m-p/5305762#M1223559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T06:49:05Z</dc:date>
    </item>
  </channel>
</rss>

