<?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: Table Control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1566967#M256143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mr.Gopi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Answer was quite helpful for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Oct 2006 03:53:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-17T03:53:59Z</dc:date>
    <item>
      <title>Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1566965#M256141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me introduce myself. I am Hema, working for a German based Company in Bangalore, India.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am into ABAP programming from past 10 days.  I am very much new to the language.  I have been given the responsibility of developing a software module to fulfill the functional requirement of the client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to use Table Control in one of the screens in the module.  I placed the Table Control in the screen 300, and the control is attached with the internal table in PBO module of the screen.  I am calling this screen from another screen 200.  As soon as I call the screen 300, excepion occurs saying syntax error in screen 300.  Also when I try to activate screen 300, I get an error "Table has no columns".  How do I proceed now?  My code look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: zcust.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: FCODE(4) TYPE C,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTROLS ZTBLCTL TYPE TABLEVIEW using screen '0300'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA ITAB LIKE STANDARD TABLE OF zcust.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA INIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA MARK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA  COL TYPE CXTAB_COLUMN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE init_table OUTPUT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PBO of screen 300.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;IF INIT IS INITIAL.&lt;/P&gt;&lt;P&gt;   select * from zcust into corresponding fields of &lt;/P&gt;&lt;P&gt;          table itab.&lt;/P&gt;&lt;P&gt;   DESCRIBE TABLE ITAB LINES ztblctl-LINES.&lt;/P&gt;&lt;P&gt;    INIT = 'X'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE action_screen INPUT.&lt;/P&gt;&lt;P&gt;*PAI of screen 200.&lt;/P&gt;&lt;P&gt;    case fscode.&lt;/P&gt;&lt;P&gt;        when 'VIEW'.&lt;/P&gt;&lt;P&gt;            set screen 300.&lt;/P&gt;&lt;P&gt;            leave screen.&lt;/P&gt;&lt;P&gt;    endcase.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 03:32:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1566965#M256141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T03:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1566966#M256142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hema,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make sure u have the loop endloop statements in both the PAI and PBO flowlogic of the screen 300.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for reference see the examples:&lt;/P&gt;&lt;P&gt;demo_dynpro_tabcont_loop.&lt;/P&gt;&lt;P&gt;demo_dynpro_tabcont_loop_at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 03:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1566966#M256142</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2006-10-17T03:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1566967#M256143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mr.Gopi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Answer was quite helpful for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 03:53:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1566967#M256143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T03:53:59Z</dc:date>
    </item>
  </channel>
</rss>

