<?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/3991386#M953573</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;&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 t_rf05l.&lt;/P&gt;&lt;P&gt;append t_rf05l.&lt;/P&gt;&lt;P&gt;write :......&lt;/P&gt;&lt;P&gt;&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;manish sharma.&lt;/P&gt;&lt;P&gt;thanx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jun 2008 06:12:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-13T06:12:14Z</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/3991386#M953573</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;&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 t_rf05l.&lt;/P&gt;&lt;P&gt;append t_rf05l.&lt;/P&gt;&lt;P&gt;write :......&lt;/P&gt;&lt;P&gt;&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;manish sharma.&lt;/P&gt;&lt;P&gt;thanx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 06:12:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3991386#M953573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T06:12:14Z</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/3991387#M953574</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 select data into type t_rf05l. It is only a type definition. You have to select your data into some structure or table with this type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select * from rf05l into it_rf05l.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 06:14:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3991387#M953574</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2008-06-13T06:14:54Z</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/3991388#M953575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, &lt;/P&gt;&lt;P&gt;     In select stmt .. write into  table &amp;lt;inttable&amp;gt; or into &amp;lt;workarea&amp;gt;,&lt;/P&gt;&lt;P&gt;but not  into types declaration variable as it does not hold any memory it is showing error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds.,&lt;/P&gt;&lt;P&gt;subash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 06:17:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3991388#M953575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T06:17:25Z</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/3991389#M953576</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; RF05L is a structure.It is not a database table.You can write select query to fetch data from database tables only.structures does not conatain any data.&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;Veeresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 06:17:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3991389#M953576</guid>
      <dc:creator>former_member673464</dc:creator>
      <dc:date>2008-06-13T06:17:27Z</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/3991390#M953577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok.....&lt;/P&gt;&lt;P&gt;i have given the internal table name ... but it gives same error in select query that rf05l is not a table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 06:20:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3991390#M953577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T06:20:01Z</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/3991391#M953578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;because RF05L is only structure. It is not database table so there can not be stored any data. Go and check it in SE11. What exactly do you want to do? I think you should start reading about ABAP dictionary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 06:31:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3991391#M953578</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2008-06-13T06:31:59Z</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/3991392#M953579</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;RF05L is not a database table, it is a structure.RF05L does not contain any data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF t_mara.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE mara.&lt;/P&gt;&lt;P&gt;TYPES : END OF t_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : 
  i_mara TYPE STANDARD TABLE 
           OF mara WITH HEADER LINE.

SELECT SINGLE * 
  FROM mara 
  INTO i_mara.
APPEND i_mara.

LOOP AT i_mara.
  WRITE : i_mara-matnr,
          i_mara-ernam.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fetch the data from the db table not from structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 06:45:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3991392#M953579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T06:45:25Z</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/3991393#M953580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai, Sharma&lt;/P&gt;&lt;P&gt;you are saying that rf051 is a structure, as veeresh said that we dont have data in a structure, just we can refer that structure as a type specification to our internal table. So there is no data in a structure, if u want u can define table name using thae following statement for a database table as given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE &amp;lt;db-tablename&amp;gt;.&lt;/P&gt;&lt;P&gt;now it creates internal table structure with a headerline in our application.&lt;/P&gt;&lt;P&gt;                    Thank you,&lt;/P&gt;&lt;P&gt;                       regards,&lt;/P&gt;&lt;P&gt;                        Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 06:56:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-read-value-from-structure/m-p/3991393#M953580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T06:56:37Z</dc:date>
    </item>
  </channel>
</rss>

