<?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 elementary dictionary types in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/elementary-dictionary-types/m-p/3409882#M818922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elementary dictionary types ara aslo referred to as what&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Feb 2008 03:57:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-23T03:57:24Z</dc:date>
    <item>
      <title>elementary dictionary types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/elementary-dictionary-types/m-p/3409882#M818922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elementary dictionary types ara aslo referred to as what&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2008 03:57:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/elementary-dictionary-types/m-p/3409882#M818922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-23T03:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: elementary dictionary types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/elementary-dictionary-types/m-p/3409883#M818923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;ABAP Dictionary&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You can define any user-defined types in the ABAP Dictionary. These can be used in the ABAP program to define data objects and types analogously to types that are predefined in the ABAP program (such as C or I) or types that are defined locally in ABAP programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following type categories can be defined in the ABAP Dictionary:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data elements (elementary types)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Elementary types have no structure. They describe the data type attributes (such as given Dictionary data type, number of places) and information that is relevant for the screen (such as title) of unstructured data objects (variables/fields).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Structures (structured types)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Structured types describe the structure and functions of any structured data objects, that is of data structures with components of any type.&lt;/P&gt;&lt;P&gt;A component can be a field with an elementary type or can itself be a structure. A table can also be used as a component in a structure.&lt;/P&gt;&lt;P&gt;A database table always has a structure and is therefore implicitly a structured type. However, the fields of a database table can only have an elementary type.&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 describe the structure and functions of internal tables in the ABAP program. Their rows can have any row type. Table types with elementary row type therefore can be defined just the same as multi-dimensional table types (table types with a table type as row type) or table types using structures with table-like components.&lt;/P&gt;&lt;P&gt;The options for creating types with structured types and table types can be combined as required. In this way you can define any complex types globally in the ABAP Dictionary and use them in ABAP programs. The runtime object of the Dictionary type (nametab) is the interface for their use in ABAP programs. The runtime object permits very efficient access to the relevant information for the type in compressed form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The central definition of types that are used more than once in the ABAP Dictionary allows them to be changed centrally. These changes are made at all the relevant locations by the active ABAP Dictionary. For example, ABAP programs adjust to the changed type definitions when they are recreated. When a type is changed, all the objects (e.g. types or tables) that use this type are automatically adjusted to the change at activation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All Dictionary types lie in a common namespace. A data element, for example, therefore may not have the same name as a structure. However, a type defined in an ABAP program and a Dictionary type may have the same name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following shadowing rule is valid when using types in ABAP programs:&lt;/P&gt;&lt;P&gt;If the names are identical, the local types shadow the types of the type groups and the types defined globally in the Dictionary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2008 04:01:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/elementary-dictionary-types/m-p/3409883#M818923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-23T04:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: elementary dictionary types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/elementary-dictionary-types/m-p/3409884#M818924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The DDIC is nothing but the ABAP Dictionary. The ABAP Dictionary centrally describes and manages all the data definitions used in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data types&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Data types are the actual type definitions in the ABAP Dictionary. They allow you to define elementary types, reference types, and complex types that are visible globally in the system. The data types of database tables are a subset of all possible types, namely flat structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data Elements&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Data elements in the ABAP Dictionary describe individual fields. They are the smallest indivisible units of the complex types described below, and are used to specify the types of columns in the database. Data elements can be elementary types or reference types.&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;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;Type Groups&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Before Release 4.5A, it was not possible to define standalone types in the ABAP Dictionary to which you could refer using a TYPE addition in an ABAP program. It was only possible to refer SAP AG BC - ABAP Programming&lt;/P&gt;&lt;P&gt;Data Types in the ABAP Dictionary to flat structures. Structures in programs corresponded to the structures of database tables or structures in the ABAP Dictionary. In ABAP programs, you could only refer to database tables and structures in the ABAP Dictionary using LIKE. It was, however, possible to refer to individual components of the Dictionary type. Complex local data types such as internal tables or deep structures had no equivalent in the ABAP Dictionary. The solution to this from Release 3.0 onwards was to use type groups. Type groups were based on the include technique, and allowed you to store any type definitions globally in the Dictionary by defining them using TYPES statements.&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;- 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;- 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;- 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;You have to use these function module in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Search Helps:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;These are two types.&lt;/P&gt;&lt;P&gt;Elementary n Collective.&lt;/P&gt;&lt;P&gt;1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)An elementary search help defines the standard flow of an input help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the below link to understand this completely:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2008 04:04:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/elementary-dictionary-types/m-p/3409884#M818924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-23T04:04:20Z</dc:date>
    </item>
  </channel>
</rss>

