<?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: question on structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719743#M314243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To keep it simple:&lt;/P&gt;&lt;P&gt;Tables: Data is stored in database. &lt;/P&gt;&lt;P&gt;Structure: Doesnt store any data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though data can be populated in both via programs at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this simplies ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Nov 2006 05:22:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-27T05:22:52Z</dc:date>
    <item>
      <title>question on structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719736#M314236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;all v aacept tht tables contain data bt it contains in runtime only so structure also contains data at runtime so van v say struvture contains data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 08:08:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719736#M314236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-18T08:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: question on structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719737#M314237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right that structure might contain data at run time, however that is not persisted data, that means a structure might contain data in memory but not in the database.&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 the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 08:16:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719737#M314237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-18T08:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: question on structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719738#M314238</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 structure that we create in program are workareas where we can store the data from internal tables. They are similar to headerline of the internalt table. We declare structure using data statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : begin of itab,
 ebeln like ekpo-ebeln,
 ebelp like ekpo-ebelp,
end of itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or we can declare a type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;types : begin of ttab,
 ebeln like ekpo-ebeln,
 ebelp like ekpo-ebelp,
end of ttab.
data : itab type ttab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or the header lines of the table can be used as workarea which are structure which have the same type and same name as that of table.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : itab type ttab with header-line.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So during run time the structure contain data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;if helped pls mark points&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 10:09:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719738#M314238</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-18T10:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: question on structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719739#M314239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes structure contains data but is not persistent.&lt;/P&gt;&lt;P&gt;we cannot see the data in a structure once transaction is completed.&lt;/P&gt;&lt;P&gt;but data in table is persistent. we can see and do the changes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 11:24:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719739#M314239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-18T11:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: question on structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719740#M314240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;For each table deifned in R/3 DDIC there is underlying table associated with it in database. &lt;/P&gt;&lt;P&gt;But for structue there is no database table associated with it.. IT has its declaration only in R/3 DDIC...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 11:29:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719740#M314240</guid>
      <dc:creator>messier31</dc:creator>
      <dc:date>2006-11-18T11:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: question on structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719741#M314241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take for example CAUFVD - is a structure for Order Headers and Items.&lt;/P&gt;&lt;P&gt;But in the Module Pool program SAPLCOIH (IW31,IW31, IW33 Transactions) you can find the declarations of the include LCOIHTOP as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----- Tabellen -&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------" /&gt;&lt;P&gt; *&lt;/P&gt;&lt;P&gt;TABLES: CAUFVD.                        "Dialog Table Struktur Header&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the reason that the structures contain data at run time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default your structure cannot hold data as the normal database table do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is what you are expecting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kathirvel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 11:30:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719741#M314241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-18T11:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: question on structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719742#M314242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'Structures'  are nothing but user-defined data types.They are created to hold related data viz.. STUDENT INFO ( name,id,age...) .As we dont expect data be in &lt;/P&gt;&lt;P&gt;the data types(variables) apart from runtime , data in the structures  will not be there except at runtimes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         Where as Tables are created to hold data so any changes to data are persistent (i.e. reflected on the database) even if u leave the Program also.&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;Bhanu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 05:04:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719742#M314242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T05:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: question on structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719743#M314243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To keep it simple:&lt;/P&gt;&lt;P&gt;Tables: Data is stored in database. &lt;/P&gt;&lt;P&gt;Structure: Doesnt store any data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though data can be populated in both via programs at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this simplies ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 05:22:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719743#M314243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T05:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: question on structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719744#M314244</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;   As per ur question about structures containig data during runtime..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structure of course can contain data during runtime as we populate it in the program ...But generally structure is just a skeleton and does not have any data in the underlying database as trasparent tables do..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in HR -- ABAP..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use the P-structures in the program which will have data during runtime ...Bute the pxxxx structure does not contain any data in the database ..where in the data is populated to the  data structure pxxxx during run time from the PAxxxx table ...using a get&amp;lt;node&amp;gt; or other variants..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this gives a clear idea ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 08:31:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719744#M314244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T08:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: question on structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719745#M314245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Structures infact can contain data but that data is not stored in the data base table as there is no underlying table corresponding to a structure in Data dictionary.Normally all structure fields are populated and then updates in various data base tables using various insert/modify/update statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rajesh Sahal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 13:57:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719745#M314245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T13:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: question on structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719746#M314246</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;DB tables contain permanent data, i.e. they write to your Hard rive in Database server. On the other hand, strucure contains data during runtime, only if you want it to contain data... Little explaination on this... Imagine that you are forming an internal table using structure, it can contain data only if you assign something to it, after the program is run, as internal table data is freed, so is the data in structure. For the same reason, structures do not contain key fields also. You can think of structure as a skeleton and tables as complete with flesh blood and skeleton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 05:05:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719746#M314246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T05:05:47Z</dc:date>
    </item>
  </channel>
</rss>

