<?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 Updating client dependent database ztable from internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-client-dependent-database-ztable-from-internal-table/m-p/11385997#M1923920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am updating client dependent Ztable from a file. Program reads data file and populates them in internal table. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Internal table does not have client field so when using this internal table in MODIFY db FROM TABLE it is giving &lt;/SPAN&gt;Unicode&lt;SPAN style="font-size: 10pt;"&gt; error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Is there any other way than looping on first internal table then populating second internal table with client field in it a&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;nd, update the db table from second internal table?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Dec 2015 09:51:32 GMT</pubDate>
    <dc:creator>jitendra_it</dc:creator>
    <dc:date>2015-12-01T09:51:32Z</dc:date>
    <item>
      <title>Updating client dependent database ztable from internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-client-dependent-database-ztable-from-internal-table/m-p/11385997#M1923920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am updating client dependent Ztable from a file. Program reads data file and populates them in internal table. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Internal table does not have client field so when using this internal table in MODIFY db FROM TABLE it is giving &lt;/SPAN&gt;Unicode&lt;SPAN style="font-size: 10pt;"&gt; error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Is there any other way than looping on first internal table then populating second internal table with client field in it a&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;nd, update the db table from second internal table?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 09:51:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-client-dependent-database-ztable-from-internal-table/m-p/11385997#M1923920</guid>
      <dc:creator>jitendra_it</dc:creator>
      <dc:date>2015-12-01T09:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Updating client dependent database ztable from internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-client-dependent-database-ztable-from-internal-table/m-p/11385998#M1923921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jitendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any problem to keep client field in internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Pavan Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 10:05:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-client-dependent-database-ztable-from-internal-table/m-p/11385998#M1923921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-12-01T10:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Updating client dependent database ztable from internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-client-dependent-database-ztable-from-internal-table/m-p/11385999#M1923922</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;File will not have client data and i declared internal table same as file structure to upload data via method&amp;nbsp; cl_gui_frontend_services&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;gui_upload.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 10:09:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-client-dependent-database-ztable-from-internal-table/m-p/11385999#M1923922</guid>
      <dc:creator>jitendra_it</dc:creator>
      <dc:date>2015-12-01T10:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Updating client dependent database ztable from internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-client-dependent-database-ztable-from-internal-table/m-p/11386000#M1923923</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;You can have one client field in both internal table and in uploading file(in file client field data can be blank) or you can use second internal table to update Z table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code given to copy internal table data to second internal table with client filed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;TYPES&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;BEGIN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;ty_itab&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; kunnr&amp;nbsp; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;kunnr&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; ernam&amp;nbsp; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;ernam&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;END &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;ty_itab&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;TYPES&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;BEGIN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;ty_itab1&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; mandt &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;mandt&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; kunnr&amp;nbsp; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;kunnr&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; ernam&amp;nbsp; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;ernam&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;END &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;ty_itab1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;t_itab1 &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF&amp;nbsp; &lt;/SPAN&gt;ty_itab&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; w_itab1&amp;nbsp; &lt;SPAN class="L0S52"&gt;TYPE&amp;nbsp; &lt;/SPAN&gt;ty_itab&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t_itab2 &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;ty_itab1&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; w_itab2 &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;ty_itab1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;LOOP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;AT &lt;/SPAN&gt;t_itab1 &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;w_itab1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MOVE-CORRESPONDING &lt;/SPAN&gt;w_itab1 &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;w_itab2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; w_itab2&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;mandt &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;mandt&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;w_itab2 &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;t_itab2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;MODIFY &lt;/SPAN&gt;ztable &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;t_itab2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Pavan Kumar&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 10:31:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-client-dependent-database-ztable-from-internal-table/m-p/11386000#M1923923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-12-01T10:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Updating client dependent database ztable from internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-client-dependent-database-ztable-from-internal-table/m-p/11386001#M1923924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope you have to maintain the Exact structure In internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 10:38:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-client-dependent-database-ztable-from-internal-table/m-p/11386001#M1923924</guid>
      <dc:creator>former_member196331</dc:creator>
      <dc:date>2015-12-01T10:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Updating client dependent database ztable from internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/updating-client-dependent-database-ztable-from-internal-table/m-p/11386002#M1923925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read again online help/your course: Your structure always had to fulfill the &lt;A href="http://help.sap.com/abapdocu_731/en/index.htm?url=abapset_dataset.htm"&gt;prerequisites&lt;/A&gt; for open-sql work area (and that since a long long time) now with Unicode there are even more constaints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As long as you don't use CLIENT SPECIFIED the system will use current client sy-mandt. Just add MANDT to your internal table, you can keep its value initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 10:42:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/updating-client-dependent-database-ztable-from-internal-table/m-p/11386002#M1923925</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-12-01T10:42:27Z</dc:date>
    </item>
  </channel>
</rss>

