<?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 Datum field gets changed when getting data from database into itab in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/datum-field-gets-changed-when-getting-data-from-database-into-itab/m-p/14011081#M2038452</link>
    <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;I am sorry if this has been asked before, I havent been able to find anything related to this in the discussions, but I feel like this is a fairly basic question.&lt;BR /&gt;For a smartform, I'm trying to get the data from a database table into an internal table, but for some reason the datum field gets changed, and not just the order but the numbers in general.&lt;BR /&gt;Does anyone know if this makes sense, and how I can change it back? I've attached a picture of the database table entries, internal table entries, and how I get the data into the internal table.&lt;BR /&gt;Thank you so much in advance!&lt;BR /&gt;&lt;BR /&gt;How I get the data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RomyA_1-1738952499991.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/223620i9A12792EEA20163A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RomyA_1-1738952499991.png" alt="RomyA_1-1738952499991.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Entries in database table:&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RomyA_2-1738952550281.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/223621iA57821B880FD36C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RomyA_2-1738952550281.png" alt="RomyA_2-1738952550281.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Entries in internal table in debugger:&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RomyA_3-1738952566950.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/223622i831FE70CFF2AF6CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RomyA_3-1738952566950.png" alt="RomyA_3-1738952566950.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2025 18:24:58 GMT</pubDate>
    <dc:creator>RomyA</dc:creator>
    <dc:date>2025-02-07T18:24:58Z</dc:date>
    <item>
      <title>Datum field gets changed when getting data from database into itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/datum-field-gets-changed-when-getting-data-from-database-into-itab/m-p/14011081#M2038452</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;I am sorry if this has been asked before, I havent been able to find anything related to this in the discussions, but I feel like this is a fairly basic question.&lt;BR /&gt;For a smartform, I'm trying to get the data from a database table into an internal table, but for some reason the datum field gets changed, and not just the order but the numbers in general.&lt;BR /&gt;Does anyone know if this makes sense, and how I can change it back? I've attached a picture of the database table entries, internal table entries, and how I get the data into the internal table.&lt;BR /&gt;Thank you so much in advance!&lt;BR /&gt;&lt;BR /&gt;How I get the data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RomyA_1-1738952499991.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/223620i9A12792EEA20163A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RomyA_1-1738952499991.png" alt="RomyA_1-1738952499991.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Entries in database table:&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RomyA_2-1738952550281.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/223621iA57821B880FD36C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RomyA_2-1738952550281.png" alt="RomyA_2-1738952550281.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Entries in internal table in debugger:&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RomyA_3-1738952566950.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/223622i831FE70CFF2AF6CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RomyA_3-1738952566950.png" alt="RomyA_3-1738952566950.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 18:24:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/datum-field-gets-changed-when-getting-data-from-database-into-itab/m-p/14011081#M2038452</guid>
      <dc:creator>RomyA</dc:creator>
      <dc:date>2025-02-07T18:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Datum field gets changed when getting data from database into itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/datum-field-gets-changed-when-getting-data-from-database-into-itab/m-p/14011329#M2038454</link>
      <description>&lt;P&gt;It's an old ABAP concept. Search in forum and doc the ABAP statements &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapconvert_date.htm" target="_self"&gt;CONVERT, DATE, INVERTED-DATE (ABAP Keyword Documentation)&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Feb 2025 07:25:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/datum-field-gets-changed-when-getting-data-from-database-into-itab/m-p/14011329#M2038454</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2025-02-08T07:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Datum field gets changed when getting data from database into itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/datum-field-gets-changed-when-getting-data-from-database-into-itab/m-p/14011464#M2038456</link>
      <description>&lt;P&gt;Use the conversion exit:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thomas_mller13_0-1739040265121.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/223759i0CB052F36FDB7ADC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thomas_mller13_0-1739040265121.png" alt="thomas_mller13_0-1739040265121.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Feb 2025 18:44:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/datum-field-gets-changed-when-getting-data-from-database-into-itab/m-p/14011464#M2038456</guid>
      <dc:creator>thomas_mller13</dc:creator>
      <dc:date>2025-02-08T18:44:32Z</dc:date>
    </item>
  </channel>
</rss>

