<?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 - READ in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639076#M1283489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lavanya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I went through your links and programs, but still my requirement is not completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Data from table control is not coming to my Internal Table in the Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I just need to keep those data which is entered on the screen in the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Please help.&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;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 May 2009 06:04:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-11T06:04:06Z</dc:date>
    <item>
      <title>Table Control - READ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639067#M1283480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirement:&lt;/STRONG&gt;  I need to read data from a table control and store it in an internal table. From Screen to internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have declared the internal table of the same structure as that of the Table Control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried a lot, but I am looking for some accurate ways, can anyone please help me ?&lt;/P&gt;&lt;P&gt;&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;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 05:43:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639067#M1283480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T05:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - READ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639068#M1283481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi chandan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried the following code for reading of list. it works fine....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: vbrk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;vbeln TYPE vbrk-vbeln,&lt;/P&gt;&lt;P&gt;kurrf like vbrk-kurrf,&lt;/P&gt;&lt;P&gt;netwr like vbrk-netwr,&lt;/P&gt;&lt;P&gt;x(15) TYPE c,&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;SELECT  vbeln kurrf netwr Up TO 5 ROWS&lt;/P&gt;&lt;P&gt;FROM vbrk&lt;/P&gt;&lt;P&gt;INTO TABLE itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;itab-x = itab-netwr * itab-kurrf.&lt;/P&gt;&lt;P&gt;MODIFY itab.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write:/ itab-vbeln,&lt;/P&gt;&lt;P&gt;itab-netwr ,&lt;/P&gt;&lt;P&gt;itab-kurrf,&lt;/P&gt;&lt;P&gt;itab-x.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;  READ TABLE ITAB INDEX sy-loopc.&lt;/P&gt;&lt;P&gt;  loop at itab.&lt;/P&gt;&lt;P&gt;  WRITE / ITAB-vbeln.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-LOOPC is used to read the tablecontrol and use the logic of sy-ucomm as given in previous thread. Hope it will work for u.... and if u r not using the previous thread pls close it, marking on star mark.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 06:38:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639068#M1283481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T06:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - READ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639069#M1283482</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;Use below logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at internal table TB_TABLE_CONT( which has the fields which are displayed in the table control)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the entry if not blank then i.e not TB_TABLE_CONT is initial.&lt;/P&gt;&lt;P&gt;  MODIFY tb_table_cont INDEX tc_fact_in-current_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0. append tb_table_cont.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 06:52:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639069#M1283482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T06:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - READ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639070#M1283483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Lavanya, can you suggest me, why the Internal Table which is of same structure as that of the Table Control is empty, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I entered 1 row of data from the Screen, but in PAI, the internal table for the same is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 08:16:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639070#M1283483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T08:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - READ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639071#M1283484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please look into this thread and help me, I really need this thing on high priority.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Kindly understand my problem,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 09:54:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639071#M1283484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T09:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - READ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639072#M1283485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls follow this code and modify accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt; MODULE STATUS_0905.&lt;/P&gt;&lt;P&gt;MODULE FILL_TABLE.&lt;/P&gt;&lt;P&gt;LOOP AT T_LOTNR WITH CONTROL TABLE1.&lt;/P&gt;&lt;P&gt;*MODULE FILL_TABLE_CONTROL.&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;&lt;/P&gt;&lt;P&gt;LOOP AT T_LOTNR.&lt;/P&gt;&lt;P&gt;   MODULE READ_TABLE_CONTROL.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0905.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE READ_TABLE_CONTROL INPUT.&lt;/P&gt;&lt;P&gt;  IF SY-UCOMM NE 'GOBACK'.&lt;/P&gt;&lt;P&gt;    APPEND T_LOTNR.&lt;/P&gt;&lt;P&gt;    SORT T_LOTNR BY LOTNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DELETE ADJACENT DUPLICATES FROM T_LOTNR COMPARING LOTNR.&lt;/P&gt;&lt;P&gt;    CLEAR T_LOTNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DATA : T_LOTNR3 TYPE TABLE OF TP_LOTNR WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    REFRESH T_LOTNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    L_SYUCOMM = SY-UCOMM.&lt;/P&gt;&lt;P&gt;    IF SY-UCOMM NE 'BACK'.&lt;/P&gt;&lt;P&gt;      CLEAR : SY-UCOMM.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    APPEND T_LOTNR.&lt;/P&gt;&lt;P&gt;    SORT T_LOTNR BY LOTNR.&lt;/P&gt;&lt;P&gt;    DELETE ADJACENT DUPLICATES FROM T_LOTNR COMPARING LOTNR.&lt;/P&gt;&lt;P&gt;    CLEAR T_LOTNR.&lt;/P&gt;&lt;P&gt;  ENDIF.&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;Regards,&lt;/P&gt;&lt;P&gt;Krishna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 10:28:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639072#M1283485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T10:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - READ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639073#M1283486</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;the columns in the table control should refer to the internal table like&lt;/P&gt;&lt;P&gt;TB_TABLE_CONT-KSCHL&lt;/P&gt;&lt;P&gt;TB_TABLE_CONT-VARCOND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these are 2 fields in the internal table and are defined as columns in the screen layout of table control, if this is done then there will entries in the internal table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 10:34:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639073#M1283486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T10:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - READ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639074#M1283487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didnt get u lavanya, what I did is I created one structure having say 10 fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I designed the table control exactly like that of the structure above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I declared one ITAB type of this structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI, I am using LOOP AT ITAB&lt;/P&gt;&lt;P&gt;                           MODULE data_cal.&lt;/P&gt;&lt;P&gt;                           ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Now even though, I am entering data on screen, this ITAB is not getting filled. WHY ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Please suggest on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 11:27:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639074#M1283487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T11:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - READ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639075#M1283488</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 below links-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="7433321"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer below programs- how to create table control and define table control elements&lt;/P&gt;&lt;P&gt;and use the logic posted in earlier forum how to save data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DEMO_DYNPRO_TABLE_CONTROL_1&lt;/P&gt;&lt;P&gt; DEMO_DYNPRO_TABLE_CONTROL_2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 May 2009 03:47:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639075#M1283488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-10T03:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - READ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639076#M1283489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lavanya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I went through your links and programs, but still my requirement is not completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Data from table control is not coming to my Internal Table in the Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I just need to keep those data which is entered on the screen in the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Please help.&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;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 06:04:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-read/m-p/5639076#M1283489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-11T06:04:06Z</dc:date>
    </item>
  </channel>
</rss>

