<?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: z table not getting modified in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138769#M113917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try writing commit work after modify &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify deblo from table debloque.&lt;/P&gt;&lt;P&gt;commit work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Jan 2006 09:59:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-07T09:59:42Z</dc:date>
    <item>
      <title>z table not getting modified</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138768#M113916</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;/P&gt;&lt;P&gt;i am using modify syntax to modify z table.  following is the code:&lt;/P&gt;&lt;P&gt;modify deblo from table debloque.&lt;/P&gt;&lt;P&gt;it is showing sy-subrc = 0, but the changes are not reflecting in z table when i view it through se11 tc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could anyone explain or suggest any syntax to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2006 09:57:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138768#M113916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-07T09:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: z table not getting modified</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138769#M113917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try writing commit work after modify &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify deblo from table debloque.&lt;/P&gt;&lt;P&gt;commit work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2006 09:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138769#M113917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-07T09:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: z table not getting modified</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138770#M113918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check there is any entry already exists with the data which you are going to modify..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2006 10:00:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138770#M113918</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-07T10:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: z table not getting modified</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138771#M113919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DOn't forget to use commit work &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      commit work.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2006 10:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138771#M113919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-07T10:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: z table not getting modified</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138772#M113920</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 tried commit work after modify syntax.  the prob is, for some record there is difference of line data, so these records are multiple.  i want to modify z table with single record.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2006 10:03:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138772#M113920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-07T10:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: z table not getting modified</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138773#M113921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;modify will compare the key fields from internal table to that of database table.If the key fields are same then only it will update the database table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2006 10:08:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138773#M113921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-07T10:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: z table not getting modified</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138774#M113922</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;USe UPDATE and try....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE deblo FROM TABLE debloque. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vijay Babu Dudla&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2006 10:09:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138774#M113922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-07T10:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: z table not getting modified</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138775#M113923</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;update syntax is also not updating the z table with single record.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2006 10:12:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138775#M113923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-07T10:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: z table not getting modified</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138776#M113924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can specify the where clause &lt;/P&gt;&lt;P&gt;using update and try with where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2006 10:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138776#M113924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-07T10:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: z table not getting modified</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138777#M113925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u give an example by specifying some records in internal table with vales , and what u r expecting those records to get updated in Z TABLe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2006 10:31:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138777#M113925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-07T10:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: z table not getting modified</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138778#M113926</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 think the problem is how you have create your z-table, you should give us the structure of your z-table too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2006 10:36:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138778#M113926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-07T10:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: z table not getting modified</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138779#M113927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi raj,&lt;/P&gt;&lt;P&gt;i hope you are talking about the ztable,&lt;/P&gt;&lt;P&gt;then as our friends said you need to commit work,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else if its an internal table, you wont see the data, unless you insert it into the ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your query is answered by any of our friends or me, please reward points &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Aditya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jan 2006 17:33:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138779#M113927</guid>
      <dc:creator>former_member184495</dc:creator>
      <dc:date>2006-01-08T17:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: z table not getting modified</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138780#M113928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Modify statement acts as INSERT + UPDATE.  If the record is does not exist then it will inserted.  If it is already exist, it will update the custom table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Regarding your problem, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     MODIFY &amp;lt;ztable&amp;gt; from table &amp;lt;internal table&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The above statement returns sy-subrc when alteast one record of internal table is modified/inserted.  So in your case it was updated atleast one record.  Analyze the data in se11/se16 with respect to internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Still you are not able to find it out, you can follow the below code to get the correct error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Loop at &amp;lt;internal table&amp;gt; into &amp;lt;work area&amp;gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;     MODIFY &amp;lt;Ztable&amp;gt; from &amp;lt;work area&amp;gt;&lt;/P&gt;&lt;P&gt;     IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;       write: / 'fail'.&lt;/P&gt;&lt;P&gt;     ELSE.&lt;/P&gt;&lt;P&gt;       write: / 'Success'.&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  I think your problem may be solved in the above way.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  Reward points if it really helps you &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ganesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2006 04:28:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-table-not-getting-modified/m-p/1138780#M113928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-09T04:28:05Z</dc:date>
    </item>
  </channel>
</rss>

