<?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/3327460#M797003</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;create one button on screen named 'FND'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write down in user_command module of that screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MODULE user_command_1000 INPUT.&lt;/STRONG&gt;  CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;    WHEN 'BACK' OR 'UP' OR 'CANC'.&lt;/P&gt;&lt;P&gt;      LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;WHEN 'FND'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;CALL SCREEN 1001 STARTING AT 37 5 ENDING AT 87 22.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;ENDCASE.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDMODULE.                 " user_command_1000  INPUT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in the user_command module of second screen ( which is called to enter search term)&lt;/P&gt;&lt;P&gt;write this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_1001 INPUT.&lt;/P&gt;&lt;P&gt;  CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;    WHEN 'OK'.&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;CALL SCREEN 1000.&lt;/STRONG&gt;                first screen......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " USER_COMMAND_1001  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;now u having one module in which u fetching data from database table in PBO...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write like this in that module...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MODULE fetch_data OUTPUT.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT matnr matkl INTO CORRESPONDING FIELDS OF TABLE itab&lt;/P&gt;&lt;P&gt;  FROM mara&lt;/P&gt;&lt;P&gt;  WHERE matnr BETWEEN '000000000000000101' AND '000000000000000115'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;IF strin IS NOT INITIAL.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;wa_itab-mark = 'X'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;LOOP AT itab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;IF itab-matnr = strin.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;line1 = sy-tabix.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;EXIT.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;ENDLOOP.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;IF line1 &amp;lt;&amp;gt; 0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;MODIFY itab INDEX line1 FROM wa_itab TRANSPORTING mark.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;SET CURSOR LINE line1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;tab1-top_line = line1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDMODULE.                 " fetch_data  OUTPUT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here strin is my I/O field on second screen 1001 in which i entre search term&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;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Dhwani shah on Jan 30, 2008 11:11 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jan 2008 10:10:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-30T10:10:59Z</dc:date>
    <item>
      <title>Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3327454#M796997</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 am doing table control program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know about view data from database in table control program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i want to &lt;STRONG&gt;search the data&lt;/STRONG&gt; in table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First type as input field in empno. then click as search button..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;view data in table control..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how is the program it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u can it then send me program..&lt;/P&gt;&lt;P&gt;reply me soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx,&lt;/P&gt;&lt;P&gt;s.suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 09:47:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3327454#M796997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T09:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3327455#M796998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;DATA text_table TYPE TABLE OF string. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND: 'Sweet child in time' TO text_table, &lt;/P&gt;&lt;P&gt;        'you''ll see the line' TO text_table, &lt;/P&gt;&lt;P&gt;        'the line between' TO text_table, &lt;/P&gt;&lt;P&gt;        'good and bad.' TO text_table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SEARCH text_table FOR '.see.' AND MARK. &lt;/P&gt;&lt;P&gt;in the same way u can search table control.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plzz reward points if it helps.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 09:51:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3327455#M796998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T09:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3327456#M796999</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;i cannot understand it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check correct program..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 09:57:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3327456#M796999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T09:57: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/3327457#M797000</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;Do u want like this ?&lt;/P&gt;&lt;P&gt;U displaying ur data in table control and when u press search button it should ask for input and then it will find that entry from table control?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u looking for this then i can help u......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 09:59:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3327457#M797000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T09:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3327458#M797001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fun module TABLE_GET_KEY_TO_SET_CUR_ROW is called for the Function position to find the correct Row .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Means suppose in you table control you have lot of records .To find particular and select that this Fm is useful..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) add a button say search box .&lt;/P&gt;&lt;P&gt;2) when user clicks on this button show&lt;/P&gt;&lt;P&gt;dialog box with enter key field No:&lt;/P&gt;&lt;P&gt;3) when user enter box no search table control&lt;/P&gt;&lt;P&gt;intternal table and if found&lt;/P&gt;&lt;P&gt;set tc1-current_line = sy-tabix of record found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : ata: h_table_key(20) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'V_TQ85 is internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'TABLE_GET_KEY_TO_SET_CUR_ROW'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;table = 'V_TQ85'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;table_key = h_table_key&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;cancelled_by_user = 1&lt;/P&gt;&lt;P&gt;table_not_found = 2&lt;/P&gt;&lt;P&gt;others = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward point if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 10:05:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3327458#M797001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T10:05: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/3327459#M797002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi dhwani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes i want it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;send me correct program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply me soon..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx,&lt;/P&gt;&lt;P&gt;s.suresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 10:07:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3327459#M797002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T10:07: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/3327460#M797003</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;create one button on screen named 'FND'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write down in user_command module of that screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MODULE user_command_1000 INPUT.&lt;/STRONG&gt;  CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;    WHEN 'BACK' OR 'UP' OR 'CANC'.&lt;/P&gt;&lt;P&gt;      LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;WHEN 'FND'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;CALL SCREEN 1001 STARTING AT 37 5 ENDING AT 87 22.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;ENDCASE.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDMODULE.                 " user_command_1000  INPUT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in the user_command module of second screen ( which is called to enter search term)&lt;/P&gt;&lt;P&gt;write this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_1001 INPUT.&lt;/P&gt;&lt;P&gt;  CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;    WHEN 'OK'.&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;CALL SCREEN 1000.&lt;/STRONG&gt;                first screen......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " USER_COMMAND_1001  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;now u having one module in which u fetching data from database table in PBO...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write like this in that module...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MODULE fetch_data OUTPUT.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT matnr matkl INTO CORRESPONDING FIELDS OF TABLE itab&lt;/P&gt;&lt;P&gt;  FROM mara&lt;/P&gt;&lt;P&gt;  WHERE matnr BETWEEN '000000000000000101' AND '000000000000000115'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;IF strin IS NOT INITIAL.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;wa_itab-mark = 'X'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;LOOP AT itab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;IF itab-matnr = strin.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;line1 = sy-tabix.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;EXIT.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;ENDLOOP.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;IF line1 &amp;lt;&amp;gt; 0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;MODIFY itab INDEX line1 FROM wa_itab TRANSPORTING mark.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;SET CURSOR LINE line1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;tab1-top_line = line1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDMODULE.                 " fetch_data  OUTPUT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here strin is my I/O field on second screen 1001 in which i entre search term&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;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Dhwani shah on Jan 30, 2008 11:11 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 10:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3327460#M797003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T10:10: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/3327461#M797004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In first screen say 0100 create a button for "position", if user click on that button call anothoer screen (0210) with input search fields, here if user click on ok it will back to the main screen (0100) at the seleted field: check the code which I used:&lt;/P&gt;&lt;P&gt;*In MAin screen (0100) PAI:&lt;/P&gt;&lt;P&gt;WHEN 'POSI' .&lt;/P&gt;&lt;P&gt; CALL SCREEN 0210 STARTING AT '27' '7' ENDING AT '70' '14' .&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*In screen 210 PAI&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt; MODULE USER_COMMAND_0210.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;    WHEN 'CANC'.                 "Cancel&lt;/P&gt;&lt;P&gt;      CLEAR : g_210plant ,&lt;/P&gt;&lt;P&gt;              g_210reqno .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'OK'.                   "OK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      LOOP AT gt_scr200 TRANSPORTING NO FIELDS&lt;/P&gt;&lt;P&gt;                WHERE werks = g_210plant OR reqpr = g_210reqno.&lt;/P&gt;&lt;P&gt;        SET CURSOR LINE sy-tabix.&lt;/P&gt;&lt;P&gt;        tc_scr200-top_line = sy-tabix .&lt;/P&gt;&lt;P&gt;        CLEAR : g_210plant ,&lt;/P&gt;&lt;P&gt;                g_210reqno .&lt;/P&gt;&lt;P&gt;        EXIT.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LEAVE TO SCREEN 0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;g_210plant and g_210reqno are my search fields&lt;/STRONG&gt;*&lt;/P&gt;&lt;P&gt;tc_scr200 is a table contron in first screen,&lt;/P&gt;&lt;P&gt;gt_scr200  is the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sridher reddy on Jan 30, 2008 1:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 12:26:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3327461#M797004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T12:26:43Z</dc:date>
    </item>
  </channel>
</rss>

