<?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: Put value into internal table field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/put-value-into-internal-table-field/m-p/6954171#M1489090</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this sample&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: begin of t_display,
      col1(10) type c,
      end of t_display.

FIELD-SYMBOLS: &amp;lt;fs&amp;gt; type any.

data: var2 type i,
      var1 type string.

var2 = 200.

var1 = 't_display-col1'.

assign (var1) to &amp;lt;fs&amp;gt; CASTING TYPE c.
if sy-subrc = 0.
  &amp;lt;fs&amp;gt; = var2.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jun 2010 14:05:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-23T14:05:47Z</dc:date>
    <item>
      <title>Put value into internal table field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/put-value-into-internal-table-field/m-p/6954170#M1489089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one field which I stored into one variable through cncatenate statment in variable VAR1.&lt;/P&gt;&lt;P&gt;and I have another variable VAR2 have some amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I want to put this amount to the field which is present into the VAR1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: VAR1 = 't_display-co1'&lt;/P&gt;&lt;P&gt;      VAR2 = 200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I wnat to put this 200 into t_display-co1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o/p  t_display-co1 = 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

       CONCATENATE 'w_display-' col_name into var1.
       ASSIGN VAR1 to &amp;lt;fs&amp;gt;.
         
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in adv.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 13:30:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/put-value-into-internal-table-field/m-p/6954170#M1489089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-23T13:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Put value into internal table field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/put-value-into-internal-table-field/m-p/6954171#M1489090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this sample&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: begin of t_display,
      col1(10) type c,
      end of t_display.

FIELD-SYMBOLS: &amp;lt;fs&amp;gt; type any.

data: var2 type i,
      var1 type string.

var2 = 200.

var1 = 't_display-col1'.

assign (var1) to &amp;lt;fs&amp;gt; CASTING TYPE c.
if sy-subrc = 0.
  &amp;lt;fs&amp;gt; = var2.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 14:05:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/put-value-into-internal-table-field/m-p/6954171#M1489090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-23T14:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Put value into internal table field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/put-value-into-internal-table-field/m-p/6954172#M1489091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vickrant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have solved my prob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you for your Help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 14:31:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/put-value-into-internal-table-field/m-p/6954172#M1489091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-23T14:31:26Z</dc:date>
    </item>
  </channel>
</rss>

