<?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: Retain Data in Table control Screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712949#M1672149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohan,&lt;/P&gt;&lt;P&gt;May be you are not putting&lt;STRONG&gt; Modify &lt;/STRONG&gt;statement in proper place inside &lt;STRONG&gt;PAI event&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;You just have to Update the contents of work area (selection screen) into internal table which is used to&lt;/P&gt;&lt;P&gt;display final output by &lt;STRONG&gt;Transporting&lt;/STRONG&gt;&amp;nbsp; Field names which you are passing on screen using proper &lt;STRONG&gt;INDEX&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also see to it that , the contents of final internal table are not modified by previous values because of&amp;nbsp; incorrect sequence of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Sachin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2012 12:33:06 GMT</pubDate>
    <dc:creator>former_member213851</dc:creator>
    <dc:date>2012-05-21T12:33:06Z</dc:date>
    <item>
      <title>Retain Data in Table control Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712943#M1672143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm in a situation wher in When i click "SAVE" button , the data entered in the Table control screen gets cleared (though it will be saved in Database Table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need it to be remain in the Sceen itself, How can i do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestions please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 07:09:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712943#M1672143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-04T07:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Retain Data in Table control Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712944#M1672144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Debug after hitting SAVE. What else can be suggested &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/731/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 07:19:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712944#M1672144</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-05-04T07:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Retain Data in Table control Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712945#M1672145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kesavadas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no no you got me wrong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the thing is Behind SAVE Button i have written code for change(update) , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e., i have two buttons in my application SAVE and SUBMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAVE updates the table temporarily, if we make changes it should update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where as SUBMIT saves the data into table permanently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this reason i need the data in table control to be reatined there it self.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 07:35:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712945#M1672145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-04T07:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Retain Data in Table control Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712946#M1672146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check your PBO flowlogic.In the PBO you have to loop the internal table and pass the values to the structure defined in the table control .&lt;/P&gt;&lt;P&gt;In your case after save the temp internal table should be used to pass the values to your table control structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOOP AT t_test INTO s_test WITH CONTROL tc CURSOR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; tc-current_line.&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 08:46:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712946#M1672146</guid>
      <dc:creator>former_member282968</dc:creator>
      <dc:date>2012-05-04T08:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Retain Data in Table control Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712947#M1672147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the code look for the REFRESH statement and check the ok_code saved value before executing.&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>Fri, 04 May 2012 09:01:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712947#M1672147</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-05-04T09:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Retain Data in Table control Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712948#M1672148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i did the same as you said,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; coding what i did in my program is same but once you click SAVE button the values get dissapeared from the screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 12:20:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712948#M1672148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-21T12:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Retain Data in Table control Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712949#M1672149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohan,&lt;/P&gt;&lt;P&gt;May be you are not putting&lt;STRONG&gt; Modify &lt;/STRONG&gt;statement in proper place inside &lt;STRONG&gt;PAI event&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;You just have to Update the contents of work area (selection screen) into internal table which is used to&lt;/P&gt;&lt;P&gt;display final output by &lt;STRONG&gt;Transporting&lt;/STRONG&gt;&amp;nbsp; Field names which you are passing on screen using proper &lt;STRONG&gt;INDEX&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also see to it that , the contents of final internal table are not modified by previous values because of&amp;nbsp; incorrect sequence of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Sachin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 12:33:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712949#M1672149</guid>
      <dc:creator>former_member213851</dc:creator>
      <dc:date>2012-05-21T12:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Retain Data in Table control Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712950#M1672150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sachin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me explain my scenario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i click 'SAVE' Button, i call a class method say "create". in create method i have written code for data to go and store in table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i didn't add any extra internal table, the only internal table i used is one which bring sits in Export parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what can i do as a best practice. i didn't use modify statement , instead i used insert statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 12:50:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712950#M1672150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-21T12:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Retain Data in Table control Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712951#M1672151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my assumption , after pressing the SAVE button some other activity ( triggering of select querry which in turn updating Internal table ) is getting crried out ,&amp;nbsp; which is updating the internal table and thus the contents of the inernal table (values on selction screen which you have passed) are getting overlapped with the blank values and you are getting nothing on selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to overcome this issue, I suggest you to debug after pressing SAVE button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Sachin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 13:19:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retain-data-in-table-control-screen/m-p/8712951#M1672151</guid>
      <dc:creator>former_member213851</dc:creator>
      <dc:date>2012-05-21T13:19:09Z</dc:date>
    </item>
  </channel>
</rss>

