<?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: Failed to update database record using field-symbol in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/failed-to-update-database-record-using-field-symbol/m-p/3793385#M912377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What was the solution ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jun 2008 18:22:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-18T18:22:01Z</dc:date>
    <item>
      <title>Failed to update database record using field-symbol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/failed-to-update-database-record-using-field-symbol/m-p/3793382#M912374</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 one question regrading the Field-Symbol to update the database table. I created the internal table using the dynamic method. When all of the information has been stored to internal table than executing the last command - insert. The error would be occur - &lt;/P&gt;&lt;P&gt;Runtime Error  - UNICODE_TYPES_NOT_CONVERTIBLE&lt;/P&gt;&lt;P&gt;The types of the operands "dbtab" and "wa" are not mutually convertible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the internal table and database table structrue. They were same data type and length. Futhermore, I try the other [update to database command ], such as modify and update but still failed. What' happened ?  Please get me the detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 06:18:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/failed-to-update-database-record-using-field-symbol/m-p/3793382#M912374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T06:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to update database record using field-symbol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/failed-to-update-database-record-using-field-symbol/m-p/3793383#M912375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved it !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 03:23:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/failed-to-update-database-record-using-field-symbol/m-p/3793383#M912375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-23T03:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to update database record using field-symbol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/failed-to-update-database-record-using-field-symbol/m-p/3793384#M912376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 03:24:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/failed-to-update-database-record-using-field-symbol/m-p/3793384#M912376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-23T03:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to update database record using field-symbol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/failed-to-update-database-record-using-field-symbol/m-p/3793385#M912377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What was the solution ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 18:22:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/failed-to-update-database-record-using-field-symbol/m-p/3793385#M912377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T18:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to update database record using field-symbol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/failed-to-update-database-record-using-field-symbol/m-p/3793386#M912378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you used the bulid-in method CL_ALV_TABLE_CREATE=&amp;gt;CREATE_DYNAMIC_TABLE ?&lt;/P&gt;&lt;P&gt;if yes, the problem is the new structure which does not match your orginal table structure.The error will trigger because the field length size is double. If you want to solve that you must be changed the fields lenght correspondence with the orginal fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my source code&lt;/P&gt;&lt;P&gt;Please execute the method CREATE_DYNAMIC_TABLE first !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:IT_STRUCT_INFO TYPE ABAP_COMPDESCR_TAB,&lt;/P&gt;&lt;P&gt;     WA_STRUCT_INFO TYPE ABAP_COMPDESCR.&lt;/P&gt;&lt;P&gt;DATA:REF_TABLE_DES TYPE REF TO CL_ABAP_STRUCTDESCR.&lt;/P&gt;&lt;P&gt;DATA:PR_LEN LIKE XFC-INTLEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REF_TABLE_DES ?= CL_ABAP_TYPEDESCR=&amp;gt;DESCRIBE_BY_NAME( P_TABLE ).&lt;/P&gt;&lt;P&gt;IT_STRUCT_INFO[] = REF_TABLE_DES-&amp;gt;COMPONENTS[].&lt;/P&gt;&lt;P&gt;LOOP AT IT_STRUCT_INFO INTO WA_STRUCT_INFO.&lt;/P&gt;&lt;P&gt;  CLEAR XFC.&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;IF WA_STRUCT_INFO-TYPE_KIND = 'C'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;PR_LEN = WA_STRUCT_INFO-LENGTH / 2.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  XFC-FIELDNAME = WA_STRUCT_INFO-NAME .&lt;/P&gt;&lt;P&gt;  XFC-DATATYPE  = WA_STRUCT_INFO-TYPE_KIND.&lt;/P&gt;&lt;P&gt;  XFC-INTTYPE   = WA_STRUCT_INFO-TYPE_KIND.&lt;/P&gt;&lt;P&gt;  XFC-INTLEN    = PR_LEN.&lt;/P&gt;&lt;P&gt;  XFC-DECIMALS  = WA_STRUCT_INFO-DECIMALS.&lt;/P&gt;&lt;P&gt;  APPEND XFC TO IFC.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;FREE: REF_TABLE_DES,IT_STRUCT_INFO,WA_STRUCT_INFO.&lt;/P&gt;&lt;P&gt;CLEAR:REF_TABLE_DES,IT_STRUCT_INFO,WA_STRUCT_INFO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward the points !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 02:13:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/failed-to-update-database-record-using-field-symbol/m-p/3793386#M912378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T02:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to update database record using field-symbol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/failed-to-update-database-record-using-field-symbol/m-p/3793387#M912379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Wong,&lt;/P&gt;&lt;P&gt;Thanks so very much for this solution.&lt;/P&gt;&lt;P&gt;I was able to resolve my problem successfully.&lt;/P&gt;&lt;P&gt;I award you points for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ajeet Phadnis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 13:50:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/failed-to-update-database-record-using-field-symbol/m-p/3793387#M912379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-20T13:50:40Z</dc:date>
    </item>
  </channel>
</rss>

