<?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: Dynamically identifying a field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-identifying-a-field/m-p/3704633#M891985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Banupriya,&lt;/P&gt;&lt;P&gt;Thanks..it was useful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gayathri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2008 08:14:05 GMT</pubDate>
    <dc:creator>GayathriRR</dc:creator>
    <dc:date>2008-04-16T08:14:05Z</dc:date>
    <item>
      <title>Dynamically identifying a field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-identifying-a-field/m-p/3704629#M891981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAP gurus,&lt;/P&gt;&lt;P&gt;I need to perform a select query on my DB table.&lt;/P&gt;&lt;P&gt;The "where" criteria of this query will access a field of this DB table which is generated dynamically.&lt;/P&gt;&lt;P&gt;The table is not dynamically generated but the field is..&lt;/P&gt;&lt;P&gt;How do I write my query?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gayathri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 05:07:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-identifying-a-field/m-p/3704629#M891981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T05:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically identifying a field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-identifying-a-field/m-p/3704630#M891982</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;The solution to your problem is that you will have to work with FIELD-SYMBOLS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 05:38:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-identifying-a-field/m-p/3704630#M891982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T05:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically identifying a field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-identifying-a-field/m-p/3704631#M891983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt; can u plz provide the code that at which point the dynamic field is geting generated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 06:01:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-identifying-a-field/m-p/3704631#M891983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T06:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically identifying a field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-identifying-a-field/m-p/3704632#M891984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;here is a simple program which gets the table field name dynamically...&lt;/P&gt;&lt;P&gt; for spfli table .... table name is fixed  here&lt;/P&gt;&lt;P&gt;PARAMETERS:p_input(20) TYPE c,&lt;/P&gt;&lt;P&gt;           p_input1(20) TYPE c,&lt;/P&gt;&lt;P&gt;           p_input2(20) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;fs&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;fs1&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;fs2&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:BEGIN OF fs_struct,&lt;/P&gt;&lt;P&gt;     input(20) TYPE c,&lt;/P&gt;&lt;P&gt;     input1(20) TYPE c,&lt;/P&gt;&lt;P&gt;     input2(20) TYPE c,&lt;/P&gt;&lt;P&gt;     END OF fs_struct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:t_spfli LIKE TABLE OF spfli WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fs_struct-input = p_input.&lt;/P&gt;&lt;P&gt;fs_struct-input1 = p_input1.&lt;/P&gt;&lt;P&gt;fs_struct-input2 = p_input2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT (fs_struct)&lt;/P&gt;&lt;P&gt; INTO CORRESPONDING FIELDS OF&lt;/P&gt;&lt;P&gt; table t_spfli FROM spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ p_input,p_input1,p_input2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT t_spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ASSIGN COMPONENT p_input OF STRUCTURE t_spfli TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;    ASSIGN COMPONENT p_input1 OF STRUCTURE t_spfli TO &amp;lt;fs1&amp;gt;.&lt;/P&gt;&lt;P&gt;    ASSIGN COMPONENT p_input2 OF STRUCTURE t_spfli TO &amp;lt;fs2&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF &amp;lt;fs&amp;gt; IS ASSIGNED OR &amp;lt;fs1&amp;gt; IS ASSIGNED OR &amp;lt;fs2&amp;gt; IS ASSIGNED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WRITE: / &amp;lt;fs&amp;gt;,24 &amp;lt;fs1&amp;gt;, 45 &amp;lt;fs2&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;priya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Banupriya R on Apr 16, 2008 8:02 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 06:01:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-identifying-a-field/m-p/3704632#M891984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T06:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically identifying a field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-identifying-a-field/m-p/3704633#M891985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Banupriya,&lt;/P&gt;&lt;P&gt;Thanks..it was useful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gayathri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 08:14:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-identifying-a-field/m-p/3704633#M891985</guid>
      <dc:creator>GayathriRR</dc:creator>
      <dc:date>2008-04-16T08:14:05Z</dc:date>
    </item>
  </channel>
</rss>

