<?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/3659952#M881569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You answered my question before ,it is about table control ,now i want to see the details of table control ,in something like sap library,but i can't find it in sap library,please gave me a link. &lt;/P&gt;&lt;P&gt;thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 May 2008 09:43:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-09T09:43:01Z</dc:date>
    <item>
      <title>table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3659946#M881563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I create a table control named  ZENTER. it used the table i_enter&lt;/P&gt;&lt;P&gt;i_enter contined field enter(key field)&lt;/P&gt;&lt;P&gt;                               materiel(key field)&lt;/P&gt;&lt;P&gt;                               price&lt;/P&gt;&lt;P&gt;                               amount&lt;/P&gt;&lt;P&gt;i used wazid and just display materiel price in the screen layout.&lt;/P&gt;&lt;P&gt;i also create a I/O button P_ENTER,&lt;/P&gt;&lt;P&gt;i want insert date from the screen,for example &lt;/P&gt;&lt;P&gt;p_enter = 0001&lt;/P&gt;&lt;P&gt;materiel =001  price = 20&lt;/P&gt;&lt;P&gt;materiel =002 price =30&lt;/P&gt;&lt;P&gt;materiel =003 price =10&lt;/P&gt;&lt;P&gt;how should i do to apend these data into i_enter&lt;/P&gt;&lt;P&gt;0001 001 20&lt;/P&gt;&lt;P&gt;0001 002 30&lt;/P&gt;&lt;P&gt;0001 003 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the after input modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE ZENTER_MODIFY INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODIFY I_ENTER&lt;/P&gt;&lt;P&gt;    FROM WA_ENTER&lt;/P&gt;&lt;P&gt;    INDEX ZENTER-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what should i do??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 10:10:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3659946#M881563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T10:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3659947#M881564</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;Go through the following Procedure&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;#129;escreen no.&amp;#129;f&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;#129;c&amp;#129;c.&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;#129;eLoop at &amp;#129;c&amp;#129;f 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;#129;eLoop at&amp;#129;c..&amp;#129;f statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system encounters the &amp;#129;eEndloop&amp;#129;f 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;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 10:13:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3659947#M881564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T10:13: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/3659948#M881565</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 need to write this  in that module..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE tab1_modify INPUT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; MODIFY i_mat&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   FROM i_mat&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   INDEX tab1-current_line.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;APPEND i_mat.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                    "TAB1_MODIFY INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if usefull....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 10:17:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3659948#M881565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T10:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3659949#M881566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;now ,i changed my itab and screen,&lt;/P&gt;&lt;P&gt;they have same fields, in the screen of TC,it have 3 fields,&lt;/P&gt;&lt;P&gt;and in itab it also have 3 fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i really want is tansfer data from TC of the screen to itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i execute my program ,&lt;/P&gt;&lt;P&gt;in the screen i input the first line of the 3 fields,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in the module &lt;/P&gt;&lt;P&gt;MODULE ZDELIVERY_MODIFY INPUT.&lt;/P&gt;&lt;P&gt;  MODIFY I_DELIV&lt;/P&gt;&lt;P&gt;    FROM WA_DELIV&lt;/P&gt;&lt;P&gt;    INDEX ZDELIVERY-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(WA_DELIV : 000001  12   100)&lt;/P&gt;&lt;P&gt;(ZDELIVERY-CURRENT_LINE = 1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but after i execute this module ,&lt;/P&gt;&lt;P&gt;the I_DELIV contines 0 items ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why?&lt;/P&gt;&lt;P&gt;and what should i do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 03:54:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3659949#M881566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T03:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3659950#M881567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;now ,i changed my itab and screen,&lt;/P&gt;&lt;P&gt;they have same fields, in the screen of TC,it have 3 fields,&lt;/P&gt;&lt;P&gt;and in itab it also have 3 fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i really want is tansfer data from TC of the screen to itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i execute my program ,&lt;/P&gt;&lt;P&gt;in the screen i input the first line of the 3 fields,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in the module &lt;/P&gt;&lt;P&gt;MODULE ZDELIVERY_MODIFY INPUT.&lt;/P&gt;&lt;P&gt;  MODIFY I_DELIV&lt;/P&gt;&lt;P&gt;    FROM WA_DELIV&lt;/P&gt;&lt;P&gt;    INDEX ZDELIVERY-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(WA_DELIV : 000001  12   100)&lt;/P&gt;&lt;P&gt;(ZDELIVERY-CURRENT_LINE = 1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but after i execute this module ,&lt;/P&gt;&lt;P&gt;the I_DELIV contines 0 items ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why?&lt;/P&gt;&lt;P&gt;and what should i do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 03:55:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3659950#M881567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T03:55: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/3659951#M881568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Hongtan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is your module is inside the loop...endloop, structure if not place the module inside it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 03:59:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3659951#M881568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T03:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3659952#M881569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You answered my question before ,it is about table control ,now i want to see the details of table control ,in something like sap library,but i can't find it in sap library,please gave me a link. &lt;/P&gt;&lt;P&gt;thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 09:43:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3659952#M881569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T09:43:01Z</dc:date>
    </item>
  </channel>
</rss>

