<?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: Append screen inserted row to internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-screen-inserted-row-to-internal-table/m-p/10293963#M1833147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ashutosh,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Firstly, &lt;STRONG&gt;whenever you make any entry in table control, it automatically gets updated in the internal table.&lt;/STRONG&gt; This you can check in debugger also (switch ON debugger, just before pressing ENTER).&lt;/P&gt;&lt;P&gt;&amp;nbsp; Secondly, &lt;STRONG&gt;the sy-ucomm value for ENTER is generally ' ' (Space)&lt;/STRONG&gt;. So, just check once, if you wrote any code already for sy-ucomm = ' '. If it's so, that part of code will trigger when you press ENTER.&amp;nbsp; Might be that is why your entire row is getting blank when you press enter.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thirdly, please check&lt;STRONG&gt; if you are clearing the work area for the internal table in the PBO/PAI part&lt;/STRONG&gt;. In that case, the newly added record might get blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'll suggest to &lt;STRONG&gt;debug once thoroughly from entering the value in table control till it disappears from the screen&lt;/STRONG&gt; and &lt;STRONG&gt;you might end up finding and resolving the issue yourself.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anubhab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Apr 2014 11:38:57 GMT</pubDate>
    <dc:creator>anubhab</dc:creator>
    <dc:date>2014-04-23T11:38:57Z</dc:date>
    <item>
      <title>Append screen inserted row to internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-screen-inserted-row-to-internal-table/m-p/10293958#M1833142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a program using table control. But after filling a row when i press enter the entire row getting blank.&lt;/P&gt;&lt;P&gt;So i need to append the last inserted row from table control to internal table so that when i press enter that row remains on screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Ashutosh Katara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 07:17:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-screen-inserted-row-to-internal-table/m-p/10293958#M1833142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-23T07:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Append screen inserted row to internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-screen-inserted-row-to-internal-table/m-p/10293959#M1833143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashutosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&amp;nbsp; MODULE STATUS_0100.&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOOP AT ITAB WITH CONTROL TABC.&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODULE MODIFY_TABLE_CONTROL.&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Write the read_table_control module like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;MODULE modify_table_control INPUT.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; MODIFY itab INDEX tabc-current_line.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; ENDMODULE.&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>Wed, 23 Apr 2014 07:24:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-screen-inserted-row-to-internal-table/m-p/10293959#M1833143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-23T07:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Append screen inserted row to internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-screen-inserted-row-to-internal-table/m-p/10293960#M1833144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #333333; font-size: 12px;"&gt;Aditya&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply but its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 10:23:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-screen-inserted-row-to-internal-table/m-p/10293960#M1833144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-23T10:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Append screen inserted row to internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-screen-inserted-row-to-internal-table/m-p/10293961#M1833145</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;Try as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO&lt;/P&gt;&lt;P&gt;Loop itab into wtab with *****&lt;/P&gt;&lt;P&gt;Module Show data: Here &lt;/P&gt;&lt;P&gt;Endloop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI&lt;/P&gt;&lt;P&gt;Loop itab&lt;/P&gt;&lt;P&gt;Module modify_data:&lt;/P&gt;&lt;P&gt;Endloop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Module show_data.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;move watab to (structure used in table control)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Endmodule&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Module modify_data.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;move (table control structure) to watab&lt;/P&gt;&lt;P&gt;modify itab from watab index tctrl-current_line&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;append watab to itab.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Endmodule&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 10:41:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-screen-inserted-row-to-internal-table/m-p/10293961#M1833145</guid>
      <dc:creator>former_member192842</dc:creator>
      <dc:date>2014-04-23T10:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Append screen inserted row to internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-screen-inserted-row-to-internal-table/m-p/10293962#M1833146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this code&amp;nbsp; in PAI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;IF&lt;/SPAN&gt; sy-ucomm = &lt;SPAN class="L1S33"&gt;'ENTER'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;if&lt;/SPAN&gt;&amp;nbsp; tabc-col1 &lt;SPAN class="L1S52"&gt;is&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;NOT&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;INITIAL&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tabc-col2 &lt;SPAN class="L1S52"&gt;is&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;NOT&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;INITIAL&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tabc-col3 &lt;SPAN class="L1S52"&gt;is&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;NOT&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;INITIAL&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tabc-col4 &lt;SPAN class="L1S52"&gt;is&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;NOT&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;INITIAL&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; w_tab-field1 =&amp;nbsp; tabc-col1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; w_tab-field2 = tabc-col2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; w_tab-field3 = tabc-col3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; w_tab-field3 =&amp;nbsp; tabc-col4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;modify&lt;/SPAN&gt; &amp;lt;itab&amp;gt; &lt;SPAN class="L1S52"&gt;FROM&lt;/SPAN&gt; &amp;lt;workarea&amp;gt; &lt;SPAN class="L1S52"&gt;INDEX&lt;/SPAN&gt; sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;ENDIF&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;ENDIF&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 11:22:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-screen-inserted-row-to-internal-table/m-p/10293962#M1833146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-23T11:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Append screen inserted row to internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-screen-inserted-row-to-internal-table/m-p/10293963#M1833147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ashutosh,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Firstly, &lt;STRONG&gt;whenever you make any entry in table control, it automatically gets updated in the internal table.&lt;/STRONG&gt; This you can check in debugger also (switch ON debugger, just before pressing ENTER).&lt;/P&gt;&lt;P&gt;&amp;nbsp; Secondly, &lt;STRONG&gt;the sy-ucomm value for ENTER is generally ' ' (Space)&lt;/STRONG&gt;. So, just check once, if you wrote any code already for sy-ucomm = ' '. If it's so, that part of code will trigger when you press ENTER.&amp;nbsp; Might be that is why your entire row is getting blank when you press enter.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thirdly, please check&lt;STRONG&gt; if you are clearing the work area for the internal table in the PBO/PAI part&lt;/STRONG&gt;. In that case, the newly added record might get blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'll suggest to &lt;STRONG&gt;debug once thoroughly from entering the value in table control till it disappears from the screen&lt;/STRONG&gt; and &lt;STRONG&gt;you might end up finding and resolving the issue yourself.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anubhab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 11:38:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-screen-inserted-row-to-internal-table/m-p/10293963#M1833147</guid>
      <dc:creator>anubhab</dc:creator>
      <dc:date>2014-04-23T11:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Append screen inserted row to internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-screen-inserted-row-to-internal-table/m-p/10293964#M1833148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ashutosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check with this below Code it will work.&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/439121" /&gt;&lt;/P&gt;&lt;P&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/439122" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 11:58:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-screen-inserted-row-to-internal-table/m-p/10293964#M1833148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-23T11:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Append screen inserted row to internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-screen-inserted-row-to-internal-table/m-p/10293965#M1833149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you reply it was helpful.&lt;/P&gt;&lt;P&gt;Resolved the query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Apr 2014 10:17:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-screen-inserted-row-to-internal-table/m-p/10293965#M1833149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-26T10:17:18Z</dc:date>
    </item>
  </channel>
</rss>

