<?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: Fieldsymbol assignment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fieldsymbol-assignment/m-p/1461016#M217601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to know the column name that you want to access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN COMPONENT 'COLUMN1' OF STRUCTURE XXX TO &amp;lt;FS_ANY&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, you have the value of column1 in &amp;lt;FS_ANY&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can even have a variable that holds the column name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN COMPONENT (COLUMN1) OF STRUCTURE XXX TO &amp;lt;FS_ANY&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jul 2006 13:33:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-17T13:33:10Z</dc:date>
    <item>
      <title>Fieldsymbol assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fieldsymbol-assignment/m-p/1461013#M217598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I want to perform a field symbol assign for a dynamic data type(Structure).But i am not sure how the components &lt;/P&gt;&lt;P&gt;of the structure need to be accessed at runtime.&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;'text' - VARIABLE which contains the structure name.&lt;/P&gt;&lt;P&gt;...................................&lt;/P&gt;&lt;P&gt;DATA : ls_DATA TYPE REF TO DATA.&lt;/P&gt;&lt;P&gt;field-symbols: &amp;lt;fs_list&amp;gt; type any.&lt;/P&gt;&lt;P&gt;CREATE DATA ls_DATA TYPE (text).&lt;/P&gt;&lt;P&gt;assign ls_data-&amp;gt;* to &amp;lt;fs_list&amp;gt;.&lt;/P&gt;&lt;P&gt;.................................................&lt;/P&gt;&lt;P&gt;.............................&lt;/P&gt;&lt;P&gt;In all the target structures a field named 'VALUE' will be present.And i want to populate it with some value.&lt;/P&gt;&lt;P&gt;How do i access that at runtime?&lt;/P&gt;&lt;P&gt;&amp;lt;fs_list&amp;gt;-VALUE cannot be used DIRECTLY?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 13:26:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fieldsymbol-assignment/m-p/1461013#M217598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-17T13:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Fieldsymbol assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fieldsymbol-assignment/m-p/1461014#M217599</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;use command:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;do.
 assign component sy-index of structure &amp;lt;fs_list&amp;gt; to &amp;lt;f&amp;gt;.
 if sy-subrc &amp;lt;&amp;gt; 0.
  exit.
 endif.
...
enddo.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 13:30:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fieldsymbol-assignment/m-p/1461014#M217599</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-07-17T13:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Fieldsymbol assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fieldsymbol-assignment/m-p/1461015#M217600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN COMPONENT SY-INDEX OF (STRUCTURE) TO &amp;lt;FS&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: &amp;lt;FS&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 13:31:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fieldsymbol-assignment/m-p/1461015#M217600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-17T13:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Fieldsymbol assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fieldsymbol-assignment/m-p/1461016#M217601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to know the column name that you want to access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN COMPONENT 'COLUMN1' OF STRUCTURE XXX TO &amp;lt;FS_ANY&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, you have the value of column1 in &amp;lt;FS_ANY&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can even have a variable that holds the column name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN COMPONENT (COLUMN1) OF STRUCTURE XXX TO &amp;lt;FS_ANY&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 13:33:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fieldsymbol-assignment/m-p/1461016#M217601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-17T13:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Fieldsymbol assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fieldsymbol-assignment/m-p/1461017#M217602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a ton Ravi!Solved the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 13:37:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fieldsymbol-assignment/m-p/1461017#M217602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-17T13:37:56Z</dc:date>
    </item>
  </channel>
</rss>

