<?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  probelm in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-probelm/m-p/6134242#M1365916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can i have cde form  endform  of   MODULE tc_data_get_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here my req is  how  to trigger subscreen,&lt;/P&gt;&lt;P&gt;when i enter some  value  header field,  based on that line items  should  trigger in  table control  of subscreen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in  main screen  (100).&lt;/P&gt;&lt;P&gt;PAI  Event.&lt;/P&gt;&lt;P&gt;when i press 'PULL'  button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How  it  fill values in table  control  of  subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Sep 2009 15:04:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-17T15:04:38Z</dc:date>
    <item>
      <title>Table control  probelm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-probelm/m-p/6134240#M1365914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;My  screen  having  header  and  detail  inf,  detail  is  table  control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i press  one  field  of header get  line  items in detail table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for that&lt;/P&gt;&lt;P&gt; I created subscreen    with  200  and  called in main screen  100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt; MODULE STATUS_0200.&lt;/P&gt;&lt;P&gt;CALL SUBSCREEN sub including SY-REPID '0400'.&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SUBSCREEN sub.&lt;/P&gt;&lt;P&gt; MODULE USER_COMMAND_0200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my req is , when i enter value  in  field and  press button  automatically  lineitems displayed in  detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any sample  code, could  you paste it.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 13:54:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-probelm/m-p/6134240#M1365914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-17T13:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Table control  probelm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-probelm/m-p/6134241#M1365915</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; you can populate the Table control in PBO of the subscreen &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PROCESS BEFORE OUTPUT.
MODULE getdata.
  MODULE tc_data_change_tc_attr.
  LOOP AT   it_bapi3008_2
       INTO lw_bapi3008_2
       WITH CONTROL tc_data
       CURSOR tc_data-current_line.
    MODULE tc_data_get_lines.
  ENDLOOP PROCESS AFTER INPUT.
  LOOP AT it_bapi3008_2.
    CHAIN.
      FIELD lw_bapi3008_2-sp_gl_ind.
      FIELD lw_bapi3008_2-doc_no.
      FIELD lw_bapi3008_2-doc_date.
      FIELD lw_bapi3008_2-lc_amount.
      MODULE get_cursor.
    ENDCHAIN.
  ENDLOOP..&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards&lt;/P&gt;&lt;P&gt;Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 14:49:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-probelm/m-p/6134241#M1365915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-17T14:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Table control  probelm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-probelm/m-p/6134242#M1365916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can i have cde form  endform  of   MODULE tc_data_get_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here my req is  how  to trigger subscreen,&lt;/P&gt;&lt;P&gt;when i enter some  value  header field,  based on that line items  should  trigger in  table control  of subscreen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in  main screen  (100).&lt;/P&gt;&lt;P&gt;PAI  Event.&lt;/P&gt;&lt;P&gt;when i press 'PULL'  button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How  it  fill values in table  control  of  subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 15:04:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-probelm/m-p/6134242#M1365916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-17T15:04:38Z</dc:date>
    </item>
  </channel>
</rss>

