<?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/1162382#M120825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with controls statement specify cursor and it should be of type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;later u can use it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Feb 2006 12:13:21 GMT</pubDate>
    <dc:creator>hymavathi_oruganti</dc:creator>
    <dc:date>2006-02-21T12:13:21Z</dc:date>
    <item>
      <title>table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1162379#M120822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; how can you read the cursor in table control&lt;/P&gt;&lt;P&gt;Can anybody help me on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 12:03:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1162379#M120822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-21T12:03: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/1162380#M120823</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;PRE&gt;&lt;CODE&gt;set cursor field 'name of the field' line table_control_name-current_line.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.s reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 12:09:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1162380#M120823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-21T12:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1162381#M120824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Syntax for table controls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At PBO.&lt;/P&gt;&lt;P&gt;	Loop at &amp;lt;itab&amp;gt; with control &amp;lt;name&amp;gt; cursor &amp;lt;name&amp;gt;-top_line.&lt;/P&gt;&lt;P&gt;	module &amp;lt;mod_name&amp;gt;.&lt;/P&gt;&lt;P&gt;	Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At PAI.&lt;/P&gt;&lt;P&gt;	Loop at &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declaration for table control.&lt;/P&gt;&lt;P&gt;	controls &amp;lt;name&amp;gt; type tableview using screen &amp;lt;no&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 12:10:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1162381#M120824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-21T12:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1162382#M120825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with controls statement specify cursor and it should be of type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;later u can use it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 12:13:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1162382#M120825</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-02-21T12:13: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/1162383#M120826</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;At PAI you &amp;lt;u&amp;gt;can read the current cursor position&amp;lt;/u&amp;gt; using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET CURSOR FIELD &amp;lt;f&amp;gt; LINE &amp;lt;lin&amp;gt; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At PBO you can set the cursor on a specific field of a specific row of a table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD &amp;lt;f&amp;gt; LINE &amp;lt;lin&amp;gt; [OFFSET &amp;lt;off&amp;gt;]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the optional addition OFFSET, you can enter the offset of the cursor in the field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR MORE DETAILS ON THIS GO TO THE LINK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac9f35c111d1829f0000e829fbfe/content.htm"&amp;gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac9f35c111d1829f0000e829fbfe/content.htm&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE REWARD POINTS IF THIS FINDS USEFUL..&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;ANOOP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 12:14:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1162383#M120826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-21T12:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1162384#M120827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in PBO u can do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at t_0100 with control tctrl_0100&lt;/P&gt;&lt;P&gt;                     cursor  tctrl_0100-current_line.&lt;/P&gt;&lt;P&gt;    module m_modify_line.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 12:15:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1162384#M120827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-21T12:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1162385#M120828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi there check out this program for setting the cursor position.&lt;/P&gt;&lt;P&gt;////////////////////////////////////&lt;/P&gt;&lt;P&gt;REPORT demo_dynpro_set_cursor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:  field1(14) TYPE c, field2(14) TYPE c, field3(14) TYPE c,&lt;/P&gt;&lt;P&gt;       name(10) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK bloc WITH FRAME.&lt;/P&gt;&lt;P&gt;PARAMETERS: def RADIOBUTTON GROUP rad,&lt;/P&gt;&lt;P&gt;            txt RADIOBUTTON GROUP rad,&lt;/P&gt;&lt;P&gt;            f1  RADIOBUTTON GROUP rad,&lt;/P&gt;&lt;P&gt;            f2  RADIOBUTTON GROUP rad,&lt;/P&gt;&lt;P&gt;            f3  RADIOBUTTON GROUP rad.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK bloc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS pos TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF txt = 'X'.&lt;/P&gt;&lt;P&gt;  name = 'TEXT'.&lt;/P&gt;&lt;P&gt;ELSEIF f1 = 'X'.&lt;/P&gt;&lt;P&gt;  name = 'FIELD1'.&lt;/P&gt;&lt;P&gt;ELSEIF f2 = 'X'.&lt;/P&gt;&lt;P&gt;  name = 'FIELD2'.&lt;/P&gt;&lt;P&gt;ELSEIF f3 = 'X'.&lt;/P&gt;&lt;P&gt;  name = 'FIELD3'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE cursor OUTPUT.&lt;/P&gt;&lt;P&gt;  IF def NE 'X'.&lt;/P&gt;&lt;P&gt;    SET CURSOR FIELD name OFFSET pos.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'SCREEN_100'.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE back INPUT.&lt;/P&gt;&lt;P&gt;  LEAVE SCREEN.&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;execute the report name(as given) in se38 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ur looking for the cursor in  table control then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in PAI module of the &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  LOOP AT &amp;lt;internal table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loops through an internal table and a screen table in parallel. In particular, LOOP AT loops through the portion of the internal table that is currently visible in the screen. You can use this form of the LOOP statement for both table controls and step loops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The complete syntax for this form of the LOOP statement is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT &amp;lt;internal table&amp;gt; CURSOR &amp;lt;scroll-var&amp;gt;&lt;/P&gt;&lt;P&gt;[WITH CONTROL &amp;lt;table-control&amp;gt; ] &lt;/P&gt;&lt;P&gt;[FROM &amp;lt;line1&amp;gt; ] [TO &amp;lt;line2&amp;gt; ]. &lt;/P&gt;&lt;P&gt;...&amp;lt;actions&amp;gt;...&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This form of LOOP loops through the internal table, performing &amp;lt;actions&amp;gt; for each row. For each internal table row, the system transfers the relevant program fields to or from the corresponding screen table row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using step loops, omit the CURSOR parameter in the PAI event. The FROM and TO parameters are only possible with step loops. (For further information, refer to Using Step Loops.) The WITH CONTROL parameter is only for use with table controls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For further information, refer to the following sections: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How the System Transfers Data Values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scrolling and the Scroll Variables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 12:22:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1162385#M120828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-21T12:22: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/1162386#M120829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;LOOP AT itab WITH CONTROL ctrl CURSOR ctrl-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;LOOP AT itab WITH CONTROL ctrl.&lt;/P&gt;&lt;P&gt;  MODULE ctrl_pai.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, the system fills the output fields before displaying the screen by reading the internal table itab . &lt;/P&gt;&lt;P&gt;When the user has entered data, the module ctrl_pai INPUT must be executed to check the input and to refresh the contents of the internal table. &lt;/P&gt;&lt;P&gt;Vertical scrolling with the scroll bar is followed by the event PAI for the displayed page. Then, cntl-TOP_LINE is increased and PBO is processed for the next page. &lt;/P&gt;&lt;P&gt;Program-driven scrolling and the most of the functionality described above is achieved by manipulating the control attributes. &lt;/P&gt;&lt;P&gt;Attributes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CONTROLS statement creates a complex data object of the type CXTAB_CONTROL with the name of the control. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You maintain the initial values in the Screen Painter and assign the screen with the initial values for a control using the addition USING SCREEN . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initialization is achieved automatically in the "1st access to the control" (setting or reading values). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the customizing button (in the top right corner) to save the current setting (column widths and column positions) and use it as the initial value for the next call. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the initial values can be overwritten by the program using the MOVE ... TO TC attributes statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 12:26:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1162386#M120829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-21T12:26:29Z</dc:date>
    </item>
  </channel>
</rss>

