<?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 Finding column Name in structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-column-name-in-structure/m-p/7464690#M1554329</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 a requirement where i have the field names ( matnr, ekorg) etc., in an intenal table. eg., . using those names I need to read another internal table which carries values for the fields. I need to write a program to check if a particular field in table 1 has an initial value in table 2 or not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for my logic, I am looping on tab1( since it will contan only few fields) and assigning it to field symbols. but since the values from tab1 are dynamic, i cant hard code to assign field name like Matnr. So I am unable to figure out who to read tab2 with the field names i find in tab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used cl_abap_tabledescr=&amp;gt;describe_by_data (itab2) to columize the fields of itab2. but this method doesnt fetch me the field values? I was wondering if my approach was correct and if there is any way to use fields from itab1 to read values from itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not an ABAP expert, so any help is appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ruel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Dec 2010 06:28:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-16T06:28:51Z</dc:date>
    <item>
      <title>Finding column Name in structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-column-name-in-structure/m-p/7464690#M1554329</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 a requirement where i have the field names ( matnr, ekorg) etc., in an intenal table. eg., . using those names I need to read another internal table which carries values for the fields. I need to write a program to check if a particular field in table 1 has an initial value in table 2 or not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for my logic, I am looping on tab1( since it will contan only few fields) and assigning it to field symbols. but since the values from tab1 are dynamic, i cant hard code to assign field name like Matnr. So I am unable to figure out who to read tab2 with the field names i find in tab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used cl_abap_tabledescr=&amp;gt;describe_by_data (itab2) to columize the fields of itab2. but this method doesnt fetch me the field values? I was wondering if my approach was correct and if there is any way to use fields from itab1 to read values from itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not an ABAP expert, so any help is appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ruel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 06:28:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-column-name-in-structure/m-p/7464690#M1554329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-16T06:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Finding column Name in structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-column-name-in-structure/m-p/7464691#M1554330</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;You can use this to get the field values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ASSIGN COMPONENT &amp;lt;comp&amp;gt; OF STRUCTURE &amp;lt;s&amp;gt; TO &amp;lt;FS&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Here|http://help.sap.com/saphelp_470/helpdata/en/fc/eb3923358411d1829f0000e829fbfe/content.htm] is the link to documentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 06:36:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-column-name-in-structure/m-p/7464691#M1554330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-16T06:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Finding column Name in structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-column-name-in-structure/m-p/7464692#M1554331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you nitwick for your quick help. i am able to read the value using fs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assigned full points. thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 07:47:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-column-name-in-structure/m-p/7464692#M1554331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-16T07:47:04Z</dc:date>
    </item>
  </channel>
</rss>

