<?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/945918#M64163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you set DELIVERY_TAB-CURRENT_LINE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Sep 2005 20:49:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-29T20:49:56Z</dc:date>
    <item>
      <title>Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945917#M64162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have defined a table control using wizard. Table control is based on a ABAP internal table (G_DELIVERY_DATA_ITAB&lt;/P&gt;&lt;P&gt;) and I have defined a explicit work area (G_DELIVERY_DATA_WA) for the internal table. I have data populated in the internal table and in the PBO I am using the following statement to move the data to the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT   G_DELIVERY_DATA_ITAB&lt;/P&gt;&lt;P&gt;       INTO G_DELIVERY_DATA_WA&lt;/P&gt;&lt;P&gt;       WITH CONTROL DELIVERY_TAB&lt;/P&gt;&lt;P&gt;       CURSOR DELIVERY_TAB-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see that G_DELIVERY_DATA_WA gets the data from the internal table in the above loop ( and my screen fields are defined as G_DELIVERY_DATA_WA-VBELN, G_DELIVERY_DATA_WA-POSNR etc..) but I don't see them on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know what could be causing this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2005 20:17:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945917#M64162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-29T20:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945918#M64163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you set DELIVERY_TAB-CURRENT_LINE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2005 20:49:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945918#M64163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-29T20:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945919#M64164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you need to explicitly set it? I do see the current line getting incremented along with the internal table index in that loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2005 22:37:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945919#M64164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-29T22:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945920#M64165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chandrika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://members.aol.com/_ht_a/skarkada/sap/table_control/table_control.htm" target="test_blank"&gt;http://members.aol.com/_ht_a/skarkada/sap/table_control/table_control.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2005 22:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945920#M64165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-29T22:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945921#M64166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use following psuedo code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think u cant define screen fields with WA rather define them as G_DELIVERY_DATA_ITAB-fieldname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT G_DELIVERY_DATA_ITAB WITH CONTROL TCTRCL.&lt;/P&gt;&lt;P&gt;    MODULE DISPLAY.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE DISPLAY OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE G_DELIVERY_DATA_ITAB INDEX TCTRCL-CURRENT_LINE&lt;/P&gt;&lt;P&gt;                    TRANSPORTING NO FIELDS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2005 23:06:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945921#M64166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-29T23:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945922#M64167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandrika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code you have written should work fine. I would suggest you double-check your screen fields, data declarations etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2005 05:43:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945922#M64167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-30T05:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945923#M64168</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;Check the link.In this, I am handling Table control without wizard.It will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/table" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/table&lt;/A&gt; control in abap.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward points by clicking the star on the left of reply,if it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2005 06:09:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945923#M64168</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-09-30T06:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945924#M64169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed the screen fields to point to G_DELIVERY_DATA_ITAB-fieldname and tried the below code.&lt;/P&gt;&lt;P&gt;Still doesn't work. I can see the internal table header line has all the data in module DISPLAY, but the screen shows up blank after this PBO code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT G_DELIVERY_DATA_ITAB WITH CONTROL TCTRCL.&lt;/P&gt;&lt;P&gt;MODULE DISPLAY.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE DISPLAY OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE G_DELIVERY_DATA_ITAB INDEX TCTRCL-CURRENT_LINE&lt;/P&gt;&lt;P&gt;TRANSPORTING NO FIELDS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2005 14:13:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945924#M64169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-30T14:13: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/945925#M64170</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;If you have define your screen fields as G_DELIVERY_DATA_WA, in PBO module you should write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE G_DELIVERY_DATA_ITAB INTO G_DELIVERY_DATA_WA&lt;/P&gt;&lt;P&gt;                              INDEX TCTRCL-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0. CLEAR  G_DELIVERY_DATA_WA. ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE G_DELIVERY_DATA_ITAB INDEX TCTRCL-CURRENT_LINE&lt;/P&gt;&lt;P&gt;TRANSPORTING NO FIELDS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have define your screen fields as G_DELIVERY_DATA_ITAB, it's useless the statament&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE G_DELIVERY_DATA_ITAB INDEX TCTRCL-CURRENT_LINE&lt;/P&gt;&lt;P&gt;TRANSPORTING NO FIELDS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: max bianchi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2005 14:41:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945925#M64170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-30T14:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945926#M64171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why are u using 'transporting no fields' to your read statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;transporting no fields will not place the required contents in the workarea and hence in the screen fields which u defined same as the work area.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2005 14:50:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945926#M64171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-30T14:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945927#M64172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for your helpful answers. I have given points to all of you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did solve the problem. All I did is delete the table control from the screen and add it back using the wizard and it works now. I don't know what was causing the problem since the table control definition and PBO logic is the same as before.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2005 21:43:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/945927#M64172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-03T21:43:18Z</dc:date>
    </item>
  </channel>
</rss>

