<?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: saving a custom table from table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/saving-a-custom-table-from-table-control/m-p/2773638#M646378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Sep 2007 12:07:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-07T12:07:49Z</dc:date>
    <item>
      <title>saving a custom table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/saving-a-custom-table-from-table-control/m-p/2773634#M646374</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 have to read a table control which will be filled by end user and update the same in a custom table.  Im aware of displaying a table control with data from a table.  But im not sure how to capture and move data from screen (i.e. table control) to custom table. Please let me know how to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vinny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 12:17:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/saving-a-custom-table-from-table-control/m-p/2773634#M646374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T12:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: saving a custom table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/saving-a-custom-table-from-table-control/m-p/2773635#M646375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically the data transport is done in the PBO and PAI of your screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT internal_table&lt;/P&gt;&lt;P&gt;       INTO wa_for_internal_table&lt;/P&gt;&lt;P&gt;       WITH CONTROL table_control_name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the fields of structure wa_for_internal_table are the ones you specify in the table control as columns (screen painter).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This loop takes care of the data tranport from the internal table to the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can now make changes on the table control (change/add/delete) and when he hits enter the 'internal_table' contains the correct values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at internal_table.&lt;/P&gt;&lt;P&gt;  the fields of structure wa_for_internal_table contain the values from the dynpro for each line of the table control.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that you use wa_for_internal_table-field1, wa_for_internal_table-field2 etc when you define the table control columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 16:46:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/saving-a-custom-table-from-table-control/m-p/2773635#M646375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T16:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: saving a custom table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/saving-a-custom-table-from-table-control/m-p/2773636#M646376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can either look at internal_table when you hit save (assumed it is defined globally in your program) or at the time when you loop at internal_table in the PAI move the data out of wa_for_internal_table into whatever internal table you need it to be in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 16:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/saving-a-custom-table-from-table-control/m-p/2773636#M646376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T16:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: saving a custom table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/saving-a-custom-table-from-table-control/m-p/2773637#M646377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my first reply I meant&lt;/P&gt;&lt;P&gt;PBO:&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;PAI: (instead of PBO)&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 16:50:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/saving-a-custom-table-from-table-control/m-p/2773637#M646377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T16:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: saving a custom table from table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/saving-a-custom-table-from-table-control/m-p/2773638#M646378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 12:07:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/saving-a-custom-table-from-table-control/m-p/2773638#M646378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T12:07:49Z</dc:date>
    </item>
  </channel>
</rss>

