<?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 - sample program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-sample-program/m-p/1456578#M215797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the step by step guide for dialog programming - table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://www.sappoint.com/abap/dptc1.pdf"&amp;gt;http://www.sappoint.com/abap/dptc1.pdf&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 Jun 2006 21:30:59 GMT</pubDate>
    <dc:creator>Manohar2u</dc:creator>
    <dc:date>2006-06-24T21:30:59Z</dc:date>
    <item>
      <title>Table control - sample program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-sample-program/m-p/1456574#M215793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What is table control? Can you show me a simple program (with instructions) of how to implement a table control in a program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2006 19:03:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-sample-program/m-p/1456574#M215793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-24T19:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Table control - sample program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-sample-program/m-p/1456575#M215794</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;TABLE CONTROL is a screen table to display several records in a dialog program (module pool).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can find goods sample using trx ABAPDOCU or DWDM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2006 19:14:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-sample-program/m-p/1456575#M215794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-24T19:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Table control - sample program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-sample-program/m-p/1456576#M215795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nuren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table control is used in DYNPROS (Module pool screens) to display or edit data in table format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also create a standard, executable report program and use a CALL SCREEN to display a screen (that was created in SE51) containing the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information, please check this link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This example shows how to build a table control using ABAP. &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;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2006 19:29:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-sample-program/m-p/1456576#M215795</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2006-06-24T19:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Table control - sample program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-sample-program/m-p/1456577#M215796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Nuren, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Screen tables&lt;/P&gt;&lt;P&gt;A table can be created in transaction. These tables, when designed on the screen are called as SCREEN TABLES. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are of two types.&lt;/P&gt;&lt;P&gt;Table Controls and Step loops&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These tables are treated as Loops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)Features of Table Controls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data is displayed in the form of table.&lt;/P&gt;&lt;P&gt;Table control gives user the feeling of an actual table.&lt;/P&gt;&lt;P&gt;You can scroll through the table vertically as well as horizontally.&lt;/P&gt;&lt;P&gt;You can select rows and columns.&lt;/P&gt;&lt;P&gt;You can resize the with of columns.&lt;/P&gt;&lt;P&gt;You can have separator lines between rows and columns.&lt;/P&gt;&lt;P&gt;Automatic resizing of the table when the user resizes the window.&lt;/P&gt;&lt;P&gt;You can update information in the table control and it can be updated in the database table by writing code for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)Steps for creating table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declaration of table control in module pool program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Designing of table controls on the screen.&lt;/P&gt;&lt;P&gt;Passing data to table control in flow logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4)Declaration of TC in MPP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;controls &amp;lt;name of table control&amp;gt; type tableview using screen &amp;lt;&amp;#145;screen no.&amp;#146;&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5)Designing Table control on screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on Table in Control bar and place it on the screen. You can adjust the length and width of the Table Control.&lt;/P&gt;&lt;P&gt;Name the table control.(same name as given in data declaration).&lt;/P&gt;&lt;P&gt;From dictionary object OR from program fields select the fields and place them in the table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6)Passing data to table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually transfer of data from program to screen is automatic.&lt;/P&gt;&lt;P&gt;In case of TC, you need to explicitly transfer the data to table control.&lt;/P&gt;&lt;P&gt;ABAP/4 provides Loop statement, which is associated with flow logic to transfer the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7)Passing of data contd.&lt;/P&gt;&lt;P&gt;PBO.&lt;/P&gt;&lt;P&gt;Loop at &amp;lt;name of internal table&amp;gt; with control &amp;lt;name of table control&amp;gt; cursor &amp;lt;scroll variable&amp;gt;.&lt;/P&gt;&lt;P&gt;module&amp;#133;&amp;#133;.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;PAI.&lt;/P&gt;&lt;P&gt;Loop at &amp;lt; name of internal table&amp;gt;.Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8)Scroll variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Top_line : the row of table where the screen display starts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current_line : the row currently being processed inside a loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9)Transfer of data from prg to TC.&lt;/P&gt;&lt;P&gt;With &amp;#145;Loop at &amp;#133;&amp;#146; statement, the first row is placed in the header of internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any module is specified between Loop and End loop, it will be executed. In this module, generally we will be assigning this internal table fields to table control screen fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The row in internal table is transferred to the TC as stated in the &amp;#145;Loop at&amp;#133;..&amp;#146; statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system encounters the &amp;#145;Endloop&amp;#146; statement and control is passed back to the next line of internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the same way all the records of the internal table are passed to the TC.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think Both of the above post had already made you clear with the concept of Table Control&lt;/P&gt;&lt;P&gt;Here is a link which contains an example of Creating Table Control&lt;/P&gt;&lt;P&gt;This example shows how to build a table control using ABAP. The program builds a simple phone list. The code and accompanying screen shots describe the entire procedure. If there is demand, I'll be glad to describe the procedure. &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;Here are some other useful links.....&lt;/P&gt;&lt;P&gt;Check it out.......&lt;/P&gt;&lt;P&gt;This link Contain full fledge tutorial of Dialogue Programming..you Will be Able to understabd a lot from this.....&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/documents/document.asp?i=752" target="test_blank"&gt;http://sap.ittoolbox.com/documents/document.asp?i=752&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u find it useful award some points&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2006 21:04:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-sample-program/m-p/1456577#M215796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-24T21:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Table control - sample program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-sample-program/m-p/1456578#M215797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the step by step guide for dialog programming - table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://www.sappoint.com/abap/dptc1.pdf"&amp;gt;http://www.sappoint.com/abap/dptc1.pdf&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2006 21:30:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-sample-program/m-p/1456578#M215797</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-06-24T21:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Table control - sample program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-sample-program/m-p/1456579#M215798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DEMO_DYNPRO_TABLE_CONTROL_1    Table Control with LOOP Statement&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABLE_CONTROL_2    Table Control with LOOP AT ITAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;gunjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2006 04:55:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-sample-program/m-p/1456579#M215798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-25T04:55:18Z</dc:date>
    </item>
  </channel>
</rss>

