<?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 - Values not displayed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317120#M508286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using a table control to display data from an internal table. Table has proper data(say 5 rows in our case). All the calculations are proper which are based on these 5 rows only. But while displaying only first row is displayed. Also, data is stored properly in the database after we pass the table control screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think could be the reasons?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2007 12:26:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-23T12:26:06Z</dc:date>
    <item>
      <title>Table Control - Values not displayed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317120#M508286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using a table control to display data from an internal table. Table has proper data(say 5 rows in our case). All the calculations are proper which are based on these 5 rows only. But while displaying only first row is displayed. Also, data is stored properly in the database after we pass the table control screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think could be the reasons?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 12:26:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317120#M508286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T12:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Values not displayed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317121#M508287</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;U should past your code used to manage the PBO, probably the data aren't correctly transfer from internal table and table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to transfer the data depends on which fields you have used to design the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 12:30:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317121#M508287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T12:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Values not displayed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317122#M508288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Munish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is coming due to write statement. Are you writing the statement like this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes then it will show only last record. You need to use like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/ itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 12:35:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317122#M508288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T12:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Values not displayed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317123#M508289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the PBO:&lt;/P&gt;&lt;P&gt;  loop with control inst_plan.&lt;/P&gt;&lt;P&gt;    module display_data_0300.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Module is:&lt;/P&gt;&lt;P&gt;  READ TABLE t_inst_plan INDEX inst_plan-current_line. (tab containing data)&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;    EXIT FROM STEP-LOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fkkop-betrh  = t_inst_plan-betrh. (Screen fields)&lt;/P&gt;&lt;P&gt;  fkkop-faedn  = t_inst_plan-faedn.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 13:32:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317123#M508289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T13:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Values not displayed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317124#M508290</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;It should be ok, but the code you're using it's used for the STEP-LOOP, it's older way than TABLE CONTROL to display the data of a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway it usually works for table control too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can try to replace it with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at t_inst_plan  with control inst_plan cursor t_inst_plan-current_line.
module display_data_0300.
endloop.

module display_data_0300.
fkkop-betrh = t_inst_plan-betrh. 
fkkop-faedn = t_inst_plan-faedn. 
endmodule.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before the LOOP of PBO try to check the values of field LINES of table control, it should have the number of records of internal table, you can force it by a module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;module set_lines.
loop at t_inst_plan  with control inst_plan cursor t_inst_plan-curren_line.
module display_data_0300.
endloop.

module set_lines.
describe table t_inst_plan lines t_inst_plan-lines.
endmodule.

module display_data_0300.
fkkop-betrh = t_inst_plan-betrh. 
fkkop-faedn = t_inst_plan-faedn. 
endmodule.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 13:48:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317124#M508290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T13:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Values not displayed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317125#M508291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for all your replies!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem was (and still is) that first row is displayed on the first page. Then remaining lines on this page are blank &amp;amp; input disabled. Rest of the 3 rows are displayed on the next page. By making use of navigation buttons I am able to get to that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on how can I fix it? I want all the rows to be displayed on first page only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Munish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 13:10:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317125#M508291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-24T13:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Values not displayed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317126#M508292</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;Before looping the table control try to check the value of t_inst_plan-lines, its values should be the number of the record of the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 13:26:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317126#M508292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-24T13:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Values not displayed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317127#M508293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;checked that... thst correct number&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 13:32:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317127#M508293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-24T13:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Values not displayed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317128#M508294</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 to write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;READ TABLE t_inst_plan INDEX inst_plan-current_line.
IF sy-subrc = 0.
*EXIT FROM STEP-LOOP.
  fkkop-betrh = t_inst_plan-betrh. (Screen fields)
  fkkop-faedn = t_inst_plan-faedn. 
ELSE.
  CLEAR fkkop.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 13:46:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317128#M508294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-24T13:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Values not displayed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317129#M508295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Created the table control again. The first one was a bit messed up &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Munish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2007 11:09:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-not-displayed/m-p/2317129#M508295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-25T11:09:53Z</dc:date>
    </item>
  </channel>
</rss>

