<?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: insert the internal table into database ! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-the-internal-table-into-database/m-p/3442104#M826628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;&lt;SPAN __default_attr="sylfaen" __jive_macro_name="font"&gt;&lt;SPAN __default_attr="15" __jive_macro_name="size"&gt;
Hi,

You have to explicitly move field by field unlike in non-unicode system where we can directly pass from one one structure to other structure.

In Unicode enabled systems, the system performs few checks(eg. Length) which will not be met in most of the cases. So it expects the conversions directly for data types other then &lt;STRONG&gt;'C'&lt;/STRONG&gt;.

Eg: A normal structure can be directly passed to a string in Non-unicode system whereas the same results in errror for Unicode system.

So try moving the values field by field though i can understand it is a pain.
&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN __default_attr="maroon" __jive_macro_name="color"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Feb 2008 01:57:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-22T01:57:12Z</dc:date>
    <item>
      <title>insert the internal table into database !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-the-internal-table-into-database/m-p/3442100#M826624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi:&lt;/P&gt;&lt;P&gt; i want to insert the internal table into database , the internal table and database table have the same fields,&lt;/P&gt;&lt;P&gt;but the internal table don't have the same fields'name.&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF typ_ztts_proj_task  ,       " &amp;amp;#39033;&amp;amp;#30446;&amp;amp;#20219;&amp;amp;#21153;&amp;amp;#20027;&amp;amp;#25968;&amp;amp;#25454;&amp;amp;#34920;&lt;/P&gt;&lt;P&gt;       value_0001 LIKE ztts_proj_task-pjsnm,&lt;/P&gt;&lt;P&gt;            value_0002 LIKE ztts_proj_task-taskid,&lt;/P&gt;&lt;P&gt;            value_0003 LIKE ztts_proj_task-tasknm,&lt;/P&gt;&lt;P&gt;            value_0004 LIKE ztts_proj_task-prtyp,&lt;/P&gt;&lt;P&gt;            value_0005  LIKE ztts_proj_task-prlvl,&lt;/P&gt;&lt;P&gt;   END   OF typ_ztts_proj_task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_proj_task  TYPE TABLE OF typ_ztts_proj_task,&lt;/P&gt;&lt;P&gt;      fc_proj_task  TYPE typ_ztts_proj_task.&lt;/P&gt;&lt;P&gt; &lt;EM&gt;&lt;STRONG&gt;and the database table have the fields like these:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;ztts_proj_task:    &lt;/P&gt;&lt;P&gt;  pjsnm   LIKE ztts_proj_task-pjsnm,&lt;/P&gt;&lt;P&gt;      taskid   LIKE ztts_proj_task-taskid,&lt;/P&gt;&lt;P&gt;      tasknm LIKE ztts_proj_task-tasknm,&lt;/P&gt;&lt;P&gt;      prtyp     LIKE ztts_proj_task-prtyp,&lt;/P&gt;&lt;P&gt;       prlvl     LIKE ztts_proj_task-prlvl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the synax have the information like this:&lt;/P&gt;&lt;P&gt;the type of the database table and work area are not Unicode-convertible,&lt;/P&gt;&lt;P&gt;thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 01:40:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-the-internal-table-into-database/m-p/3442100#M826624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T01:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: insert the internal table into database !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-the-internal-table-into-database/m-p/3442101#M826625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;correct code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF typ_ztts_proj_task , " &amp;amp;#39033;&amp;amp;#30446;&amp;amp;#20219;&amp;amp;#21153;&amp;amp;#20027;&amp;amp;#25968;&amp;amp;#25454;&amp;amp;#34920;&lt;/P&gt;&lt;P&gt;value_0001 type ztts_proj_task-pjsnm,&lt;/P&gt;&lt;P&gt;value_0002 type ztts_proj_task-taskid,&lt;/P&gt;&lt;P&gt;value_0003 type ztts_proj_task-tasknm,&lt;/P&gt;&lt;P&gt;value_0004 type ztts_proj_task-prtyp,&lt;/P&gt;&lt;P&gt;value_0005 type ztts_proj_task-prlvl,&lt;/P&gt;&lt;P&gt;END OF typ_ztts_proj_task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_proj_task TYPE TABLE OF typ_ztts_proj_task,&lt;/P&gt;&lt;P&gt;           c_proj_task TYPE  it_proj_task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 01:46:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-the-internal-table-into-database/m-p/3442101#M826625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T01:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: insert the internal table into database !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-the-internal-table-into-database/m-p/3442102#M826626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare ur Internal Tbale like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF typ_ztts_proj_task .&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE  ztts_proj_task .&lt;/P&gt;&lt;P&gt;TYPES : END OF typ_ztts_proj_task .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_proj_task TYPE TABLE OF typ_ztts_proj_task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thnk we should have same field names in the structure as well,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 01:48:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-the-internal-table-into-database/m-p/3442102#M826626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T01:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: insert the internal table into database !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-the-internal-table-into-database/m-p/3442103#M826627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but the precondition is i must use the field name like value_000 ,&lt;/P&gt;&lt;P&gt; i know if i create the same fileds'name like database table ,it will success,&lt;/P&gt;&lt;P&gt;but i cann't modify the internal table'field name ,so tell me other solution,&lt;/P&gt;&lt;P&gt;thanks !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 01:55:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-the-internal-table-into-database/m-p/3442103#M826627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T01:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: insert the internal table into database !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-the-internal-table-into-database/m-p/3442104#M826628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;&lt;SPAN __default_attr="sylfaen" __jive_macro_name="font"&gt;&lt;SPAN __default_attr="15" __jive_macro_name="size"&gt;
Hi,

You have to explicitly move field by field unlike in non-unicode system where we can directly pass from one one structure to other structure.

In Unicode enabled systems, the system performs few checks(eg. Length) which will not be met in most of the cases. So it expects the conversions directly for data types other then &lt;STRONG&gt;'C'&lt;/STRONG&gt;.

Eg: A normal structure can be directly passed to a string in Non-unicode system whereas the same results in errror for Unicode system.

So try moving the values field by field though i can understand it is a pain.
&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN __default_attr="maroon" __jive_macro_name="color"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 01:57:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-the-internal-table-into-database/m-p/3442104#M826628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T01:57:12Z</dc:date>
    </item>
  </channel>
</rss>

