<?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 error in read value from structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3992537#M953818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the structure does not contain any data.... so i have 2 problem related to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. do i apply the select query nd write statement on structure rf05l. i apply it gives error that rf05l is not the table.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. so what is the use of include structure in report, why we used it nd what is the procedure to read data from structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : BEGIN OF t_rf05l.&lt;/P&gt;&lt;P&gt;include structure rf05l.&lt;/P&gt;&lt;P&gt;types : END OF t_rf05l.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : it_rf05l TYPE STANDARD TABLE OF t_rf05l WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;wa_it_rf05l TYPE t_rf05l.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from rf05l into it_rf05l.&lt;/P&gt;&lt;P&gt;append it_rf05l.&lt;/P&gt;&lt;P&gt;write :......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply me soon....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;P&gt;manish sharma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jun 2008 06:24:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-13T06:24:18Z</dc:date>
    <item>
      <title>error in read value from structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3992537#M953818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the structure does not contain any data.... so i have 2 problem related to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. do i apply the select query nd write statement on structure rf05l. i apply it gives error that rf05l is not the table.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. so what is the use of include structure in report, why we used it nd what is the procedure to read data from structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : BEGIN OF t_rf05l.&lt;/P&gt;&lt;P&gt;include structure rf05l.&lt;/P&gt;&lt;P&gt;types : END OF t_rf05l.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : it_rf05l TYPE STANDARD TABLE OF t_rf05l WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;wa_it_rf05l TYPE t_rf05l.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from rf05l into it_rf05l.&lt;/P&gt;&lt;P&gt;append it_rf05l.&lt;/P&gt;&lt;P&gt;write :......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply me soon....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;P&gt;manish sharma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 06:24:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3992537#M953818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T06:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: error in read value from structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3992538#M953819</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;select * from rf05l into it_rf05l.&lt;/P&gt;&lt;P&gt;append it_rf05l.&lt;/P&gt;&lt;P&gt;write :......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from rt05l &lt;/P&gt;&lt;P&gt;into corresponding fields of table it_r05l.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_ro5l into wa_it_rf05l.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write....&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;include structure rf05l. mens you are including all the fields of that Database table into itab or your structure. its does not mean that rt05l can be used as ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 06:35:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3992538#M953819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T06:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: error in read value from structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3992539#M953820</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; -- SELECT statement should be used only on database tables like, MARA, MARC etc...--&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;The example given by you is an internal table, but not database table.&lt;/DEL&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use below logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select * from rf051 into &lt;STRONG&gt;table&lt;/STRONG&gt; it_rf051.&lt;/P&gt;&lt;P&gt; Loop at it_rf051.&lt;/P&gt;&lt;P&gt;   Write: ......&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Include strucute , includes the fields of a structure into the internal table. i.e., no need to define each field individually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ramesh Hirial on Jun 13, 2008 3:42 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 06:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3992539#M953820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T06:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: error in read value from structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3992540#M953821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          INCLUDE STRUCTURE is only used to declare the Internal table structure , structures do not hold any data&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         Check the relevent TRANSPARENT table for that structure and use SELECT for that table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 06:40:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3992540#M953821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T06:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: error in read value from structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3992541#M953822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it has given same problem that rf05l is not a dicitionary table or view.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 06:40:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3992541#M953822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T06:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: error in read value from structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3992542#M953823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First u know what is difference between the table and structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table has data and structure dosent has data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In select querie write the DB table name and into ur structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hence it is throwing error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select * from table &amp;lt;DB talbe &amp;gt; into table it_rf051 where &lt;/P&gt;&lt;P&gt;                                                                condition.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 06:52:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3992542#M953823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T06:52:50Z</dc:date>
    </item>
  </channel>
</rss>

