<?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: delete modify from ztable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-modify-from-ztable/m-p/1558322#M252649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; There is no necessary for deleting a record &amp;amp; then inserting the same record.You can aswell just Modify the record. When you do delete or update operations in a ztable,it will take time for the database to update &amp;amp; it might give you a problem( if you dont use WAIT statement).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Oct 2006 15:12:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-16T15:12:57Z</dc:date>
    <item>
      <title>delete modify from ztable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-modify-from-ztable/m-p/1558321#M252648</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 RETRIVING DATA  FROM ZTABLE AND UPDATING OR DELETING FEW RECORDS IN TABLE CONTROL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is is advisable to delete and modify the ztable for a particular  record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a delete a record with say id number 111&lt;/P&gt;&lt;P&gt;and insert the modified records of id number 111 at the same time when i  save it, because when i deleting the records iam just deleting from table control anfd not from ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what iam thinking i would delete all the items that exist in ztable with this id and insert all the modified records of the same id when i save it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let  me know your advice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suchitra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 15:09:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-modify-from-ztable/m-p/1558321#M252648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T15:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: delete modify from ztable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-modify-from-ztable/m-p/1558322#M252649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; There is no necessary for deleting a record &amp;amp; then inserting the same record.You can aswell just Modify the record. When you do delete or update operations in a ztable,it will take time for the database to update &amp;amp; it might give you a problem( if you dont use WAIT statement).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 15:12:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-modify-from-ztable/m-p/1558322#M252649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T15:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: delete modify from ztable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-modify-from-ztable/m-p/1558323#M252650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suchitra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, you should always just MODIFY / UPDATE the records in one step... do not ask the app and DB servers to do more work than is necessary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 15:17:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-modify-from-ztable/m-p/1558323#M252650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T15:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: delete modify from ztable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-modify-from-ztable/m-p/1558324#M252651</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;  Let's say if you are deleting the record from the table control internal table..Mark the record for deletion..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Then if another record is inserted with the same id..Then check if there is a record in the table control internal table that is already marked for deletion..If so raise an error message that there is the same record is marked for deletion..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  But if the user saves the changes to the database..Then tries to create a new entry with the same id...Then allow..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  This will avoid lot of confusion..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 15:18:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-modify-from-ztable/m-p/1558324#M252651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T15:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: delete modify from ztable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-modify-from-ztable/m-p/1558325#M252652</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;this is my exact requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each record , i have a header info, item details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for header iam ok , i can use modify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for item details i have like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itemno material materialdesc quantity&lt;/P&gt;&lt;P&gt;1 m1 pqr 12&lt;/P&gt;&lt;P&gt;2 m2 def 9&lt;/P&gt;&lt;P&gt;3 m3 abc 2&lt;/P&gt;&lt;P&gt;4 m4 xyz 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;item no and material are my primary keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so iam retrieving this data from a z table and have to update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be i need to delete 3 record and modify 2 record,i would do that based on the selectionfrom table control &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itemno material materialdesc quantity&lt;/P&gt;&lt;P&gt;1 m1 pqr 12&lt;/P&gt;&lt;P&gt;2 m2 def 19&lt;/P&gt;&lt;P&gt;3 m4 xyz 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i have deleted 3 record and modifed 2 with increase in quantity and the itemno are changed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have ths data in my internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iAM USING MODIFY STATEMNT WHEN I SAVE THE DATA INTO DATABASE TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i SEE THE FOLLOWING DAT AIN MY ZTABLE&lt;/P&gt;&lt;P&gt;1 m1 pqr 12&lt;/P&gt;&lt;P&gt;2 m2 def 19&lt;/P&gt;&lt;P&gt;3 m3 abc 2&lt;/P&gt;&lt;P&gt;4 m4 xyz 1&lt;/P&gt;&lt;P&gt;3 m4 xyz 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THOGHT I NEED ONLY THESE DATA TO BE PRESENT IN MY ZTABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 m1 pqr 12&lt;/P&gt;&lt;P&gt;2 m2 def 19&lt;/P&gt;&lt;P&gt;3 m4 xyz 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 15:27:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-modify-from-ztable/m-p/1558325#M252652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T15:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: delete modify from ztable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-modify-from-ztable/m-p/1558326#M252653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; There is a problem in the way you are updating the Item in the internal table from the Table control.Unless you specify the item no  in the table control, it will take the line no. as the item no &amp;amp; thats why i see this problem while updating.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 15:39:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-modify-from-ztable/m-p/1558326#M252653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T15:39:00Z</dc:date>
    </item>
  </channel>
</rss>

