<?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 Syntax for changing column-name in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-changing-column-name/m-p/3746672#M901449</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 would like to delete an internal table with changing columns. Could you please suggest what should be done if I have to execute the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DELETE lr_rep-&amp;gt;mt_sel_prg_plans WHERE (ls_sel_value-name) &amp;lt;&amp;gt; ls_sel_value-value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Varun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Apr 2008 08:31:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-22T08:31:03Z</dc:date>
    <item>
      <title>Syntax for changing column-name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-changing-column-name/m-p/3746672#M901449</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 would like to delete an internal table with changing columns. Could you please suggest what should be done if I have to execute the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DELETE lr_rep-&amp;gt;mt_sel_prg_plans WHERE (ls_sel_value-name) &amp;lt;&amp;gt; ls_sel_value-value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Varun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 08:31:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-changing-column-name/m-p/3746672#M901449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T08:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for changing column-name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-changing-column-name/m-p/3746673#M901450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look an Txn ABAPHELP key word "DELETE itab": There it says:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;The dynamic specification of components using character-type data objects in parentheses is not supported here.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would do the following:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT lr_rep-&amp;gt;mt_sel_prg_plans ASSIGNING &amp;lt;wa&amp;gt;.
  ASSIGN COMPONENT ls_sel_value-name TO &amp;lt;fs&amp;gt;.
  IF &amp;lt;fs&amp;gt; EQ ls_sel_value-value.
    CLEAR &amp;lt;fs&amp;gt;.
  ENDIF.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 08:36:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-changing-column-name/m-p/3746673#M901450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T08:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for changing column-name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-changing-column-name/m-p/3746674#M901451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT my_table INTO my_work_area. " or ASSIGNING TO &amp;lt;my_work_area&amp;gt;
  ASSIGN COMPONENT (variable_containing_column_name) OF STRUCTURE my_work_area INTO  &amp;lt;field_symbol&amp;gt;.
  CLEAR &amp;lt;field_symbol&amp;gt;.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 13:38:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-changing-column-name/m-p/3746674#M901451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T13:38:24Z</dc:date>
    </item>
  </channel>
</rss>

