<?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: screen error table control not refreshed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-error-table-control-not-refreshed/m-p/7152247#M1514752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move your select statement to PBO and&lt;/P&gt;&lt;P&gt;use a "loop with control" statement instead of REFRESH CONTROL statement,&lt;/P&gt;&lt;P&gt;and set  TBC_QT-LINES = row count of your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP WITH CONTROL TBC_QT.&lt;/P&gt;&lt;P&gt;    MODULE TRANSP_ITAB.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the module TRANSP_ITAB :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE itab INDEX table-current_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By this way you are moving the content of internal table to screen &lt;/P&gt;&lt;P&gt;on every time PBO - PAI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Demo program DEMO_DYNPRO_TABLE_CONTROL_1 is a good example for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Aug 2010 21:24:24 GMT</pubDate>
    <dc:creator>bbalci</dc:creator>
    <dc:date>2010-08-02T21:24:24Z</dc:date>
    <item>
      <title>screen error table control not refreshed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-error-table-control-not-refreshed/m-p/7152245#M1514750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi expertS ,&lt;/P&gt;&lt;P&gt;i created one gui screen . in screen paiinter with i/o(PRODUCTION ORDER) field and table control . first i entred orderno  value in i/o text field that is in theexists  data base .&lt;/P&gt;&lt;P&gt;when ever click on ok button (select the data base from data base) the data comes to table control. .&lt;/P&gt;&lt;P&gt;now i didnt refresh table control .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in the first i/o text  field (production order)  i given onother number that value not there not in the data base .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i write code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chain .&lt;/P&gt;&lt;P&gt;pai .&lt;/P&gt;&lt;P&gt;fields : zbarcode_db-aufnr ( this is the screen field name)  .&lt;/P&gt;&lt;P&gt;module xyz .&lt;/P&gt;&lt;P&gt;endchain .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in program&lt;/P&gt;&lt;P&gt;module xyz .&lt;/P&gt;&lt;P&gt;select single aufnr ....from zbarcode_db ..where aufnr .. = zbarcode_db-aufnr ..&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0 .&lt;/P&gt;&lt;P&gt;REFRESH CONTROL 'TBC_QT' FROM SCREEN '0300'. refreshing table control properties &lt;/P&gt;&lt;P&gt;clear t_table . ( iam clear  internal table)&lt;/P&gt;&lt;P&gt;message e001. ( u entered document not there in the data base ) .&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;but when ever sy-subrc ne 0 . the error message will come .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its giving error message are coming . but table control data not refreshing  internal table (t_barcode) ..&lt;/P&gt;&lt;P&gt;any solstion for this .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 06:40:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-error-table-control-not-refreshed/m-p/7152245#M1514750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-02T06:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: screen error table control not refreshed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-error-table-control-not-refreshed/m-p/7152246#M1514751</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;chk whether ur internal table is with header line.&lt;/P&gt;&lt;P&gt;if it is with header line the use refresh instead of clear e.g. refresh itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;Sarang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 17:34:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-error-table-control-not-refreshed/m-p/7152246#M1514751</guid>
      <dc:creator>sarang_gujrati2</dc:creator>
      <dc:date>2010-08-02T17:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: screen error table control not refreshed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-error-table-control-not-refreshed/m-p/7152247#M1514752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move your select statement to PBO and&lt;/P&gt;&lt;P&gt;use a "loop with control" statement instead of REFRESH CONTROL statement,&lt;/P&gt;&lt;P&gt;and set  TBC_QT-LINES = row count of your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP WITH CONTROL TBC_QT.&lt;/P&gt;&lt;P&gt;    MODULE TRANSP_ITAB.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the module TRANSP_ITAB :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE itab INDEX table-current_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By this way you are moving the content of internal table to screen &lt;/P&gt;&lt;P&gt;on every time PBO - PAI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Demo program DEMO_DYNPRO_TABLE_CONTROL_1 is a good example for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 21:24:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-error-table-control-not-refreshed/m-p/7152247#M1514752</guid>
      <dc:creator>bbalci</dc:creator>
      <dc:date>2010-08-02T21:24:24Z</dc:date>
    </item>
  </channel>
</rss>

