<?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 Table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3578520#M861446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello gurus ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           &lt;STRONG&gt;I am using a table control in that I have call some data from differt table and I want to insert some data manually in differt coloum , and some calculation in differt column ,Now data is caoming from differt table and I can enter the value also in visible column , but when I press enter , the entry data is disapper means what I have enterd . I mean to say hw to fix taht data in the screen after pressing enter, is there any way or example .Plz help .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am waiting for your valuable answer .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards .&lt;/P&gt;&lt;P&gt;Joy .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Mar 2008 03:59:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-29T03:59:59Z</dc:date>
    <item>
      <title>Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3578520#M861446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello gurus ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           &lt;STRONG&gt;I am using a table control in that I have call some data from differt table and I want to insert some data manually in differt coloum , and some calculation in differt column ,Now data is caoming from differt table and I can enter the value also in visible column , but when I press enter , the entry data is disapper means what I have enterd . I mean to say hw to fix taht data in the screen after pressing enter, is there any way or example .Plz help .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am waiting for your valuable answer .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards .&lt;/P&gt;&lt;P&gt;Joy .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2008 03:59:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3578520#M861446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-29T03:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3578521#M861447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a typical problem for the scenario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why it happens:&lt;/P&gt;&lt;P&gt;We have an internal table which we project on the screen as a table control...In the PBO the screen is displayed from values in the internal table....In the PAI,once you input the data..the screen does not automatically feed the values to your internal table and it remains empty..so when u press enter..it goes to PAI..then to PBO and shows data from table in PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to solve it:&lt;/P&gt;&lt;P&gt;Write a module in PAI to modify the internal table with values from table control in the screen...Please see the sample code below written in PAI...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;in PAI we are looping at the table from screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;loop at int_screentable.&lt;/P&gt;&lt;P&gt;       module f_set_data.&lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module f_set_data.&lt;/P&gt;&lt;P&gt;*pass data from screen to work area&lt;/P&gt;&lt;P&gt;  wa_screentable = int_screentable.&lt;/P&gt;&lt;P&gt;*update the current line in the internal table from screen&lt;/P&gt;&lt;P&gt;modify internaltable from wa_screentable index sy-tabix.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO..you are already displaying the internal table..so need to change there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that in most of the cases the name of the internal table and screentable will be the same&lt;/P&gt;&lt;P&gt;which means internaltable = int_screentable.&lt;/P&gt;&lt;P&gt;in such case do the code&lt;/P&gt;&lt;P&gt;module f_set_data.&lt;/P&gt;&lt;P&gt;*pass data from screen to work area&lt;/P&gt;&lt;P&gt;  wa_screentable = int_screentable.&lt;/P&gt;&lt;P&gt;*update the current line in the internal table from screen&lt;/P&gt;&lt;P&gt;modify int_screentable from wa_screentable index sy-tabix.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;and yes..even if it the same table on screen and code you need to modify the currentline(sy-tabix) then only it will get reflected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls check , revert and reward if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2008 04:16:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3578521#M861447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-29T04:16:21Z</dc:date>
    </item>
  </channel>
</rss>

