<?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 Update table with select-options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-table-with-select-options/m-p/12567556#M2008228</link>
    <description>&lt;P&gt;I am trying to update a table with abap code and I am trying to figure out the best way of going about it. Currently I am trying a selection screen with the primary key and then the rest of the columns as select-options, and the user can enter which primary key they want to update and enter in the changes to the select-options.&lt;/P&gt;
  &lt;P&gt;If this is the best way to go about this, is there a way I can put all my select-options into a work area to allow me to call an UPDATE &amp;lt;table&amp;gt; from &amp;lt;wa&amp;gt;?&lt;/P&gt;
  &lt;P&gt;I realize there are other T-CODES that may be better for updating a table but I want to centralize all my operations for this table into one program. &lt;/P&gt;</description>
    <pubDate>Wed, 25 May 2022 14:23:33 GMT</pubDate>
    <dc:creator>former_member805784</dc:creator>
    <dc:date>2022-05-25T14:23:33Z</dc:date>
    <item>
      <title>Update table with select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-table-with-select-options/m-p/12567556#M2008228</link>
      <description>&lt;P&gt;I am trying to update a table with abap code and I am trying to figure out the best way of going about it. Currently I am trying a selection screen with the primary key and then the rest of the columns as select-options, and the user can enter which primary key they want to update and enter in the changes to the select-options.&lt;/P&gt;
  &lt;P&gt;If this is the best way to go about this, is there a way I can put all my select-options into a work area to allow me to call an UPDATE &amp;lt;table&amp;gt; from &amp;lt;wa&amp;gt;?&lt;/P&gt;
  &lt;P&gt;I realize there are other T-CODES that may be better for updating a table but I want to centralize all my operations for this table into one program. &lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 14:23:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-table-with-select-options/m-p/12567556#M2008228</guid>
      <dc:creator>former_member805784</dc:creator>
      <dc:date>2022-05-25T14:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Update table with select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-table-with-select-options/m-p/12567557#M2008229</link>
      <description>&lt;P&gt;If it's a Z table, you can do whatever you want...&lt;/P&gt;&lt;P&gt;What could be easy:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT * FROM &amp;lt;Z-table&amp;gt; WHERE &amp;lt;conditions with select-options&amp;gt; INTO TABLE @DATA(itab).
" modify itab as you wish
UPDATE &amp;lt;Z-table&amp;gt; FROM TABLE itab.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 May 2022 16:13:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-table-with-select-options/m-p/12567557#M2008229</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-05-25T16:13:54Z</dc:date>
    </item>
  </channel>
</rss>

