<?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 structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3272869#M782402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is a structure, table type, view ,lock objects, match code?&lt;/P&gt;&lt;P&gt;only definitions plz?&lt;/P&gt;&lt;P&gt;thankyou.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2008 08:54:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-16T08:54:27Z</dc:date>
    <item>
      <title>structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3272869#M782402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is a structure, table type, view ,lock objects, match code?&lt;/P&gt;&lt;P&gt;only definitions plz?&lt;/P&gt;&lt;P&gt;thankyou.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 08:54:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3272869#M782402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T08:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3272870#M782403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Structure is something without any data. It's only a list of field definition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 08:57:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3272870#M782403</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2008-01-16T08:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3272871#M782404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Structures&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;A structure is a sequence of any other data types from the ABAP Dictionary, that is, data elements, structures, table types, or database tables. When you create a structure in the ABAP Dictionary, each component must have a name and a data type. In an ABAP program, you can use the TYPE addition to refer directly to a structure. &lt;/P&gt;&lt;P&gt;If you define a local data type in a program by referring to a structure as follows:&lt;/P&gt;&lt;P&gt;TYPES &amp;lt;t&amp;gt; TYPE &amp;lt;structure&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table Types&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Table types are construction blueprints for internal tables that are stored in the ABAP Dictionary.&lt;/P&gt;&lt;P&gt;When you create a table type in the ABAP Dictionary, you specify the line type, access type, and key. The line type can be any data type from the ABAP Dictionary, that is, a data element, a structure, a table type, or the type of a database table. You can also enter a predefined Dictionary type directly as the line type, in the same way that you can with a domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Views:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 4 types views are avilable in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database View - To club more than one table&lt;/P&gt;&lt;P&gt;Projection View - To hide fields in one table&lt;/P&gt;&lt;P&gt;Maintanance View - To maintain database records in table&lt;/P&gt;&lt;P&gt;Help View - To provide help for a fields (Same functionality as Search help. This is outdated)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;View are improves perfromance in the following aspects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If you want to use more than two table in 'JOIN' condition better to use Views . It will improves performance of a program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If you want to use mutiple FOR ALL ENTRIES clause, better to club all SELECT statement in a view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Lock Objects:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Provide three type of Lock objects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read Lock(Shared Locked) &lt;/P&gt;&lt;P&gt;protects read access to an object. The read lock allows other transactions read access but not write access to &lt;/P&gt;&lt;P&gt;the locked area of the table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write Lock(exclusive lock) &lt;/P&gt;&lt;P&gt;protects write access to an object. The write lock allows other transactions neither read nor write access to &lt;/P&gt;&lt;P&gt;the locked area of the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enhanced write lock (exclusive lock without cumulating) &lt;/P&gt;&lt;P&gt;works like a write lock except that the enhanced write lock also protects from further accesses from the &lt;/P&gt;&lt;P&gt;same transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Technicaly: &lt;/P&gt;&lt;P&gt;When you create a lock object System automatically creat two function module. &lt;/P&gt;&lt;P&gt;1. ENQUEUE_&amp;lt;Lockobject name&amp;gt;. to insert the object in a queue. &lt;/P&gt;&lt;P&gt;2. DEQUEUE_&amp;lt;Lockobject name&amp;gt;. To remove the object is being queued through above FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 09:01:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3272871#M782404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T09:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3272872#M782405</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;STRONG&gt;Transparent Tables&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;     are used to hold application data. Application data is the master data or transaction data used by an application.&lt;/P&gt;&lt;P&gt;Transparent tables are much more common than pooled or cluster tables. They are used to hold application data. Application data is the master data or transaction data used by an application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table Pools and Pooled Tables&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    A pooled table in R/3 has a many-to-one relationship with a table in the database (see Figures 3.1 and 3.2). For one table in the database, there are many tables in the R/3 Data Dictionary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooled tables are primarily used by SAP to hold customizing data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table Clusters and Cluster Tables&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A cluster table is similar to a pooled table. It has a many-to-one relationship with a table in the database. Many cluster tables are stored in a single table in the database called a table cluster. &lt;/P&gt;&lt;P&gt;They are used to hold data from a few (approximately 2 to 10) very large tables.&lt;/P&gt;&lt;P&gt;They would be used when these tables have a part of their primary keys in common, and if the data in these tables are all accessed simultaneously. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;lock objects&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The SAP System synchronizes simultaneous access of several users to the same data records with a lock mechanism. When interactive transactions are programmed, locks are set and released by calling function modules (see Function Modules for Lock Requests). These function modules are automatically generated from the definition of lock objects in the ABAP Dictionary.&lt;/P&gt;&lt;P&gt;  The tables in which data records should be locked with a lock request are defined in a lock object together with their key fields. When tables are selected, one table (the primary table) is first selected. Further tables (secondary tables) can also be added using foreign key relationships&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;views&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;A view can be used to combine the data distributed in several tables. Fields which are not required can be masked out, minimizing interfaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;structures&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;   Whereas data in tables is stored on the database, structures only contain data temporarily during program runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Structures are defined (almost) exactly like tables; the only difference is that no database tables are generated from them. The same data elements and domains can be used in structures as in tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer to the following site&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm" target="test_blank"&gt;http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please rewrd points if helpful,&lt;/P&gt;&lt;P&gt;shylaja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 05:36:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3272872#M782405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T05:36:06Z</dc:date>
    </item>
  </channel>
</rss>

