<?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: Module Pool Table Control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/1618392#M276800</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;  Append blank rows to the item internal table when the new rows are pressed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Then make the entries enabled for input..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Sep 2006 01:43:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-15T01:43:33Z</dc:date>
    <item>
      <title>Module Pool Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/1618391#M276799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SDN Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing a screen in which i have 2 table controls, one table control show the header details and the second one shows item details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am able to display them perfectly fine, but what i want is in the item table control i shud be able to create new items.. how to do it, since the item table which i am filling comes from an internal table. so how do i add the newly appended items to the item table in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;Pratyusha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 01:32:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/1618391#M276799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-15T01:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/1618392#M276800</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;  Append blank rows to the item internal table when the new rows are pressed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Then make the entries enabled for input..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 01:43:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/1618392#M276800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-15T01:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/1618393#M276801</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;In the PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_mat.&lt;/P&gt;&lt;P&gt;    CHAIN.&lt;/P&gt;&lt;P&gt;      FIELD : wa_mat-partno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MODULE update_tc.&lt;/P&gt;&lt;P&gt;    ENDCHAIN.&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;&lt;/P&gt;&lt;P&gt;MODULE UPDATE_TC.&lt;/P&gt;&lt;P&gt;append WA_MAT to IT_MAT.&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;Put the field name of the Last column in table control inside CHAIN - ENDCHAIN. So, when user enters value in the last field and hits enter, the CHAIN. ENDCHAIN would be triggered and record would be updated in the internal table of table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 01:52:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/1618393#M276801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-15T01:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/1618394#M276802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren / Patil plz reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi thanks for the reply.. see the code below and plz suggest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select statement for IT_RFQSVC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      select * from ZES_RFQ_SVC&lt;/P&gt;&lt;P&gt;               into table IT_RFQSVC&lt;/P&gt;&lt;P&gt;               where RFQ_NO = ZES_RFQ-RFQ_NO&lt;/P&gt;&lt;P&gt;                 and RFQ_LN = ITEMLIST.&lt;/P&gt;&lt;P&gt;      sort IT_RFQSVC by SVC_NO.&lt;/P&gt;&lt;P&gt;      describe table IT_RFQSVC lines FILL2.&lt;/P&gt;&lt;P&gt;      TC2-LINES = FILL2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PBO&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;module FILL_TC2 output.&lt;/P&gt;&lt;P&gt;  if TC2-CURRENT_LINE le FILL2.&lt;/P&gt;&lt;P&gt;  read table IT_RFQSVC into IS_RFQSVC index TC2-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;  if SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;    if not IS_RFQSVC-SVC_LN is initial.&lt;/P&gt;&lt;P&gt;      loop at screen.&lt;/P&gt;&lt;P&gt;        if SCREEN-NAME = 'ZES_RFQ_SVC-SVC_LN' or&lt;/P&gt;&lt;P&gt;           SCREEN-NAME = 'ZES_RFQ_SVC-SVC_NO' or&lt;/P&gt;&lt;P&gt;           SCREEN-NAME = 'ZES_RFQ_SVC-SVC_STEXT'.&lt;/P&gt;&lt;P&gt;          SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;          modify screen.&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;      endloop.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;    ZES_RFQ_SVC-SVC_NO    = IS_RFQSVC-SVC_NO.&lt;/P&gt;&lt;P&gt;    ZES_RFQ_SVC-SVC_LN    = IS_RFQSVC-SVC_LN.&lt;/P&gt;&lt;P&gt;    ZES_RFQ_SVC-SVC_STEXT = IS_RFQSVC-SVC_STEXT.&lt;/P&gt;&lt;P&gt;    ZES_RFQ_SVC-SVC_LTEXT = IS_RFQSVC-SVC_LTEXT.&lt;/P&gt;&lt;P&gt;    ZES_RFQ_SVC-SVC_QTY   = IS_RFQSVC-SVC_QTY.&lt;/P&gt;&lt;P&gt;    ZES_RFQ_SVC-SVC_UOM   = IS_RFQSVC-SVC_UOM.&lt;/P&gt;&lt;P&gt;    ZES_RFQ_SVC-SVC_LAMT  = IS_RFQSVC-SVC_LAMT.&lt;/P&gt;&lt;P&gt;    ZES_RFQ_SVC-WAERS     = IS_RFQSVC-WAERS.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  clear IS_RFQSVC.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endmodule.                 " fill_tC2  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PAI&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  if TC2-CURRENT_LINE le FILL2.&lt;/P&gt;&lt;P&gt;  read table IT_RFQSVC into IS_RFQSVC index TC2-CURRENT_LINE. " with key RFQ_LN = ITEMLIST.&lt;/P&gt;&lt;P&gt;  if SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;    IS_RFQSVC-SVC_LTEXT = ZES_RFQ_SVC-SVC_LTEXT.&lt;/P&gt;&lt;P&gt;    IS_RFQSVC-SVC_QTY   = ZES_RFQ_SVC-SVC_QTY.&lt;/P&gt;&lt;P&gt;    L_SQTY = L_SQTY + IS_RFQSVC-SVC_QTY.&lt;/P&gt;&lt;P&gt;    IS_RFQSVC-SVC_UOM   = ZES_RFQ_SVC-SVC_UOM.&lt;/P&gt;&lt;P&gt;    IS_RFQSVC-SVC_LAMT  = ZES_RFQ_SVC-SVC_LAMT.&lt;/P&gt;&lt;P&gt;    L_SAMT = L_SAMT + IS_RFQSVC-SVC_LAMT.&lt;/P&gt;&lt;P&gt;    IS_RFQSVC-WAERS     = ZES_RFQ_SVC-WAERS.&lt;/P&gt;&lt;P&gt;    modify IT_RFQSVC from IS_RFQSVC index TC2-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;    clear : IS_RFQSVC.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so when ever i add a new row the select statement is getting executed and it returns the same value in FILL2 which i use to populate the Table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and one more thing, i use a drop down list to change items in the 2nd tab ctrl, so when ever i change a value in the drop down the previous values are not getting cleared off. but is over writing the new item details with the previous ones.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Pratyu Usha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 01:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/1618394#M276802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-15T01:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/1618395#M276803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when ever u try to add a new row check it with existing values and then fill it, if already exists then throw a error or append them to IT_RFQSVC and add 1 to FILL2, so that when u read the table in PBO there will not be any mimatch of number of rows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 04:06:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/1618395#M276803</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2006-09-15T04:06:07Z</dc:date>
    </item>
  </channel>
</rss>

