<?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: Adding new record in a database table from table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650424#M1866326</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;Am not refreshing IT_MASTER2 after saving..so why is it getting refreshed? By the way, why is sy-subrc = 4 after the MODIFY statement? Could you plz explain?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2014 09:19:41 GMT</pubDate>
    <dc:creator>manish_malakar0316</dc:creator>
    <dc:date>2014-10-13T09:19:41Z</dc:date>
    <item>
      <title>Adding new record in a database table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650413#M1866315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the issue I have is a very common issue and I have seen several threads pertaining to it. However, I am unable to get the desired result in spite of following the resolutions of such threads. I am unable to figure out where I am wrong so it would be of immense help if someone can help me out with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The main requirement is to edit and add new records in a custom database table via a table control with wizard in module pool&lt;/STRONG&gt;. Below are the relevant screenshots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the ztable as shown:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/561405" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I created a module pool . Below are the variables I declared at the TOP include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/561406" width="450" /&gt;&lt;/P&gt;&lt;P&gt;For editing existing records, the flow logic is below:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/561422" /&gt;&lt;/P&gt;&lt;P&gt;The code in &lt;SPAN style="font-size: 10.0pt;"&gt;MODULE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;TC1_USER_COMMAND is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/561423" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/561457" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The above code is working fine. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now for &lt;STRONG&gt;adding new records&lt;/STRONG&gt;,&lt;STRONG&gt; my code is incorrect somewhere&lt;/STRONG&gt;. Below are the screenshots of the flow logic and code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/561424" /&gt;&lt;/P&gt;&lt;P&gt;Below is the code:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/561437" /&gt;&lt;/P&gt;&lt;P&gt;On executing my program, when I click on "NEW" :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/561438" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I add new records in the table control and press "SAVE", there is no data which is saved in the table and hence no new records are getting updated in my ztable. &lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_emote jive_macro" src="https://community.sap.com/1063/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/561446" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/561447" width="450" /&gt;&lt;/P&gt;&lt;P&gt;On debugging it, IT_MASTER2 doesnt have any records. As a result, ITMASTER isnt getting populated and the records are not getting modified in the ztable. How do I rectify this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 06:50:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650413#M1866315</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2014-10-13T06:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new record in a database table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650414#M1866316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Where is it_master2.&lt;/P&gt;&lt;P&gt;I don't see any code for the same except in SAVE.Only it_master has code.Is the code for it_master2 written somewhere.&lt;/P&gt;&lt;P&gt;Please check and populate records to master2 if not.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;K.S&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 07:00:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650414#M1866316</guid>
      <dc:creator>former_member188724</dc:creator>
      <dc:date>2014-10-13T07:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new record in a database table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650415#M1866317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is there inside module tc1_modify?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should be...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify itab from wa index tbc-current_line.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;append wa to itab.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 07:03:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650415#M1866317</guid>
      <dc:creator>former_member202818</dc:creator>
      <dc:date>2014-10-13T07:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new record in a database table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650416#M1866318</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;In PBO you are mentioning IT_MASTER and in PAI you are mentioning IT_MASTER2. Pls check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 07:16:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650416#M1866318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-13T07:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new record in a database table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650417#M1866319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sorry, my mistake. The code I wrote is below. It is not IT_MASTER but IT_MASTER2.&lt;/P&gt;&lt;P&gt;The change is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/561497" /&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 07:19:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650417#M1866319</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2014-10-13T07:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new record in a database table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650418#M1866320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; MODULE TC1_MODIFY ON REQUEST.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;in the above module.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF &amp;lt;INTERNAL TABLE IS EMPTY &amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MODULE TC1_MODIFY.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND&amp;nbsp; &amp;lt;WA&amp;gt; TO &amp;lt;INTERNAL TABLE&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDMODULE.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OTHERWISE FOLLOW SREEKANTH&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 07:23:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650418#M1866320</guid>
      <dc:creator>vamshikrishna_srirangam</dc:creator>
      <dc:date>2014-10-13T07:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new record in a database table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650419#M1866321</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;Inside Module TC1_modify, the following code is there:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;MODULE &lt;/SPAN&gt;TC1_MODIFY &lt;SPAN class="L0S52"&gt;INPUT&lt;/SPAN&gt;&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;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MODIFY &lt;/SPAN&gt;IT_MASTER2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;WA_MASTER2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;INDEX &lt;/SPAN&gt;TC1&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;CURRENT_LINE&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;ENDMODULE&lt;/SPAN&gt;&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;Regards.&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;Manish&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 07:29:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650419#M1866321</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2014-10-13T07:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new record in a database table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650420#M1866322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Modify like this... this will solve your issue.. &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1063/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;MODIFY &lt;/SPAN&gt;IT_MASTER2&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;FROM &lt;/SPAN&gt;WA_MASTER2&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;INDEX &lt;/SPAN&gt;TC1&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;CURRENT_LINE&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;STRONG&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit; background: transparent;"&gt;append &lt;SPAN style="color: #333333; font-size: 12px;"&gt;WA_MASTER2 to IT&lt;SPAN style="color: #333333; font-size: 12px;"&gt;_MASTER2.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;STRONG&gt;endif.&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 07:33:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650420#M1866322</guid>
      <dc:creator>former_member202818</dc:creator>
      <dc:date>2014-10-13T07:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new record in a database table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650421#M1866323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your module tc1_modify should look like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;MODIFY it_master2 &lt;SPAN class="L0S52"&gt;FROM wa_master2&lt;/SPAN&gt; &lt;SPAN class="L0S52"&gt;INDEX tc2&lt;/SPAN&gt;&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;current_line&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Pls check after changing the code in debug whether it_master2 is filled.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Hope this helps.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;K.S&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 07:34:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650421#M1866323</guid>
      <dc:creator>former_member188724</dc:creator>
      <dc:date>2014-10-13T07:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new record in a database table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650422#M1866324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sreekanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it solves the issue. Thanks a lot. But just 1 thing. After I click on the "SAVE" button, the data does get added in the ztable, &lt;STRONG&gt;but the new records from the table control get disappeared&lt;/STRONG&gt;. Wat do I do to prevent that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After adding the records, on clicking "SAVE":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/561592" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/561591" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Regards. &lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 08:53:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650422#M1866324</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2014-10-13T08:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new record in a database table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650423#M1866325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably you are refreshing internal table &lt;STRONG style=": ; color: #333333; font-size: 12px; font-style: inherit; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;IT&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;_MASTER2 &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;some where after saving.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Create a watch point for &lt;STRONG style=": ; color: #333333; font-size: 12px; font-style: inherit; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;IT&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;_MASTER2 &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;and find out..&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 08:59:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650423#M1866325</guid>
      <dc:creator>former_member202818</dc:creator>
      <dc:date>2014-10-13T08:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new record in a database table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650424#M1866326</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;Am not refreshing IT_MASTER2 after saving..so why is it getting refreshed? By the way, why is sy-subrc = 4 after the MODIFY statement? Could you plz explain?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 09:19:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650424#M1866326</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2014-10-13T09:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new record in a database table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650425#M1866327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what are you doing inside module tc1_change_tc_attribute?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now case of sy-subrc = 4. Means modification failed.&lt;/P&gt;&lt;P&gt;Here you are trying to modifying internal table using &lt;STRONG&gt;index tc1-current_line&lt;/STRONG&gt;...&lt;/P&gt;&lt;P&gt;If there is no record in the internal table with the specified index modification will get failed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 09:37:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650425#M1866327</guid>
      <dc:creator>former_member202818</dc:creator>
      <dc:date>2014-10-13T09:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new record in a database table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650426#M1866328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It may help u &lt;A __default_attr="110895" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="Table Control" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 09:41:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650426#M1866328</guid>
      <dc:creator>former_member202818</dc:creator>
      <dc:date>2014-10-13T09:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new record in a database table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650427#M1866329</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;Thanks a lot...you have been of immense help. &lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1063/images/emoticons/grin.gif"&gt;&lt;/SPAN&gt;&amp;nbsp; It was getting refreshed in &lt;SPAN style="color: #333333; font-size: 12px;"&gt; tc1_change_tc_attribute. I rectified it. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 09:56:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650427#M1866329</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2014-10-13T09:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new record in a database table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650428#M1866330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1063/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 10:18:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-record-in-a-database-table-from-table-control/m-p/10650428#M1866330</guid>
      <dc:creator>former_member202818</dc:creator>
      <dc:date>2014-10-13T10:18:36Z</dc:date>
    </item>
  </channel>
</rss>

