<?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: Logical data base in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-data-base/m-p/3506327#M843312</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use logical databases to read logically consistent data from databases. Each logical database has a&lt;/P&gt;&lt;P&gt;structure containing a hierarchy of those tables and views that are to be read.&lt;/P&gt;&lt;P&gt;You can attach exactly one logical database to each type 1 program. The logical database then supplies&lt;/P&gt;&lt;P&gt;your program with entries from tables and views. This means that you only need to program the data&lt;/P&gt;&lt;P&gt;processing statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are special data collection programs data delivered by SAP&lt;/P&gt;&lt;P&gt;Provide your program with data in a hierarchically logical&lt;/P&gt;&lt;P&gt;sequence&lt;/P&gt;&lt;P&gt;Contain data base accesses that have been optimized for&lt;/P&gt;&lt;P&gt;performance&lt;/P&gt;&lt;P&gt;Supply a dynamic selection screen&lt;/P&gt;&lt;P&gt;Contain all necessary authorization checks&lt;/P&gt;&lt;P&gt;You can attach a logical database to each type 1 program&lt;/P&gt;&lt;P&gt;using the program attributes.&lt;/P&gt;&lt;P&gt;Special event blocks are also available for processing&lt;/P&gt;&lt;P&gt;individual records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every logical database is an encapsulated data collection program for frequent database access.&lt;/P&gt;&lt;P&gt;The database access has been optimized using Open SQL.&lt;/P&gt;&lt;P&gt;If you are working with a logical database, you do not need to program a selection screen for user entry,&lt;/P&gt;&lt;P&gt;since this is created automatically.&lt;/P&gt;&lt;P&gt;The system performs authorization checks according to the SAP authorization concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The NODES &amp;lt;node&amp;gt; statement performs two functions:&lt;/P&gt;&lt;P&gt;It defines a data object (a structure) as a table work area that has the same structure as the ABAP&lt;/P&gt;&lt;P&gt;Dictionary Structure &amp;lt;node&amp;gt;, that is a node of the hierarchical structure of the logical database. This&lt;/P&gt;&lt;P&gt;structure is then filled at runtime with data records that the logical database has read from the&lt;/P&gt;&lt;P&gt;database and made available to the program.&lt;/P&gt;&lt;P&gt;It determines how detailed the selection screen is: The selection screen that has been defined in&lt;/P&gt;&lt;P&gt;the logical database should contain only those key information input fields that the program needs.&lt;/P&gt;&lt;P&gt;The NODES statement allows you to ensure only information from relevant tables is available to the&lt;/P&gt;&lt;P&gt;selection screen.&lt;/P&gt;&lt;P&gt;Logical databases read according to their structure from top to bottom. The depth of data read depends&lt;/P&gt;&lt;P&gt;on a program's GET statements. The level is determined by the deepest GET statement (from the logical&lt;/P&gt;&lt;P&gt;database's structural view).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logical databases are included in type 1 programs as program attributes. Only one logical database can&lt;/P&gt;&lt;P&gt;be attached per program.&lt;/P&gt;&lt;P&gt;You can tell a logical database exactly which fields you need from the database using the GET addition&lt;/P&gt;&lt;P&gt;FIELDS. If the logical database supports this action, then it will read only those fields specified from the&lt;/P&gt;&lt;P&gt;database.&lt;/P&gt;&lt;P&gt;If you need database table data for a list that is not supplied by your logical database, you can program&lt;/P&gt;&lt;P&gt;any additional database access needed using SELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can include a logical database in every type 1 program using the program attributes.&lt;/P&gt;&lt;P&gt;Each node in the logical database's hierarchy also provides you with a GET event block (in addition to&lt;/P&gt;&lt;P&gt;the other event blocks). (GET SPFLI, GET SFLIGHT, GET SBOOK in the example above).&lt;/P&gt;&lt;P&gt;You can program individual record processing within these GET event blocks.&lt;/P&gt;&lt;P&gt;At runtime the event blocks that create lists are processed, in the following order:&lt;/P&gt;&lt;P&gt;START-OF SELECTION.&lt;/P&gt;&lt;P&gt;GET SPFLI and GET SFLIGHT are called several times in nested SELECT logic according to the&lt;/P&gt;&lt;P&gt;structure of the logical database.&lt;/P&gt;&lt;P&gt;END-OF-SELECTION is called after all GET events, and immediately before the list is sent to the&lt;/P&gt;&lt;P&gt;presentation server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At runtime the event blocks that create lists are processed in the following order:&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;GET spfli: the first data record from database table SPFLI that corresponds to the selection criteria&lt;/P&gt;&lt;P&gt;is placed in work area spfli and the event block is processed.&lt;/P&gt;&lt;P&gt;GET sflight: the first data record from SFLIGHT that corresponds to the selection criteria as well as&lt;/P&gt;&lt;P&gt;to the key of the current SPFLI record is placed in work area sflight and the event block is&lt;/P&gt;&lt;P&gt;processed.&lt;/P&gt;&lt;P&gt;GET sflight: the next data record from database table SFLIGHT is placed in work area sflight and&lt;/P&gt;&lt;P&gt;the event block is processed again.&lt;/P&gt;&lt;P&gt;GET sflight: is called again until no further corresponding data records are found.&lt;/P&gt;&lt;P&gt;GET spfli LATE is called before the next data record from SPFLI is placed in work area spfli.&lt;/P&gt;&lt;P&gt;GET spfli: The logical database places the next corresponding data record from SPFLI in work&lt;/P&gt;&lt;P&gt;area spfli.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;END-OF-SELECTION: is called immediately before the list is sent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Do Reward if helpful&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Mar 2008 11:31:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-11T11:31:29Z</dc:date>
    <item>
      <title>Logical data base</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-data-base/m-p/3506326#M843311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need some information about logical database VVAV, can anyone explain baout it ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 11:14:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-data-base/m-p/3506326#M843311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-11T11:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Logical data base</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-data-base/m-p/3506327#M843312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use logical databases to read logically consistent data from databases. Each logical database has a&lt;/P&gt;&lt;P&gt;structure containing a hierarchy of those tables and views that are to be read.&lt;/P&gt;&lt;P&gt;You can attach exactly one logical database to each type 1 program. The logical database then supplies&lt;/P&gt;&lt;P&gt;your program with entries from tables and views. This means that you only need to program the data&lt;/P&gt;&lt;P&gt;processing statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are special data collection programs data delivered by SAP&lt;/P&gt;&lt;P&gt;Provide your program with data in a hierarchically logical&lt;/P&gt;&lt;P&gt;sequence&lt;/P&gt;&lt;P&gt;Contain data base accesses that have been optimized for&lt;/P&gt;&lt;P&gt;performance&lt;/P&gt;&lt;P&gt;Supply a dynamic selection screen&lt;/P&gt;&lt;P&gt;Contain all necessary authorization checks&lt;/P&gt;&lt;P&gt;You can attach a logical database to each type 1 program&lt;/P&gt;&lt;P&gt;using the program attributes.&lt;/P&gt;&lt;P&gt;Special event blocks are also available for processing&lt;/P&gt;&lt;P&gt;individual records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every logical database is an encapsulated data collection program for frequent database access.&lt;/P&gt;&lt;P&gt;The database access has been optimized using Open SQL.&lt;/P&gt;&lt;P&gt;If you are working with a logical database, you do not need to program a selection screen for user entry,&lt;/P&gt;&lt;P&gt;since this is created automatically.&lt;/P&gt;&lt;P&gt;The system performs authorization checks according to the SAP authorization concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The NODES &amp;lt;node&amp;gt; statement performs two functions:&lt;/P&gt;&lt;P&gt;It defines a data object (a structure) as a table work area that has the same structure as the ABAP&lt;/P&gt;&lt;P&gt;Dictionary Structure &amp;lt;node&amp;gt;, that is a node of the hierarchical structure of the logical database. This&lt;/P&gt;&lt;P&gt;structure is then filled at runtime with data records that the logical database has read from the&lt;/P&gt;&lt;P&gt;database and made available to the program.&lt;/P&gt;&lt;P&gt;It determines how detailed the selection screen is: The selection screen that has been defined in&lt;/P&gt;&lt;P&gt;the logical database should contain only those key information input fields that the program needs.&lt;/P&gt;&lt;P&gt;The NODES statement allows you to ensure only information from relevant tables is available to the&lt;/P&gt;&lt;P&gt;selection screen.&lt;/P&gt;&lt;P&gt;Logical databases read according to their structure from top to bottom. The depth of data read depends&lt;/P&gt;&lt;P&gt;on a program's GET statements. The level is determined by the deepest GET statement (from the logical&lt;/P&gt;&lt;P&gt;database's structural view).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logical databases are included in type 1 programs as program attributes. Only one logical database can&lt;/P&gt;&lt;P&gt;be attached per program.&lt;/P&gt;&lt;P&gt;You can tell a logical database exactly which fields you need from the database using the GET addition&lt;/P&gt;&lt;P&gt;FIELDS. If the logical database supports this action, then it will read only those fields specified from the&lt;/P&gt;&lt;P&gt;database.&lt;/P&gt;&lt;P&gt;If you need database table data for a list that is not supplied by your logical database, you can program&lt;/P&gt;&lt;P&gt;any additional database access needed using SELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can include a logical database in every type 1 program using the program attributes.&lt;/P&gt;&lt;P&gt;Each node in the logical database's hierarchy also provides you with a GET event block (in addition to&lt;/P&gt;&lt;P&gt;the other event blocks). (GET SPFLI, GET SFLIGHT, GET SBOOK in the example above).&lt;/P&gt;&lt;P&gt;You can program individual record processing within these GET event blocks.&lt;/P&gt;&lt;P&gt;At runtime the event blocks that create lists are processed, in the following order:&lt;/P&gt;&lt;P&gt;START-OF SELECTION.&lt;/P&gt;&lt;P&gt;GET SPFLI and GET SFLIGHT are called several times in nested SELECT logic according to the&lt;/P&gt;&lt;P&gt;structure of the logical database.&lt;/P&gt;&lt;P&gt;END-OF-SELECTION is called after all GET events, and immediately before the list is sent to the&lt;/P&gt;&lt;P&gt;presentation server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At runtime the event blocks that create lists are processed in the following order:&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;GET spfli: the first data record from database table SPFLI that corresponds to the selection criteria&lt;/P&gt;&lt;P&gt;is placed in work area spfli and the event block is processed.&lt;/P&gt;&lt;P&gt;GET sflight: the first data record from SFLIGHT that corresponds to the selection criteria as well as&lt;/P&gt;&lt;P&gt;to the key of the current SPFLI record is placed in work area sflight and the event block is&lt;/P&gt;&lt;P&gt;processed.&lt;/P&gt;&lt;P&gt;GET sflight: the next data record from database table SFLIGHT is placed in work area sflight and&lt;/P&gt;&lt;P&gt;the event block is processed again.&lt;/P&gt;&lt;P&gt;GET sflight: is called again until no further corresponding data records are found.&lt;/P&gt;&lt;P&gt;GET spfli LATE is called before the next data record from SPFLI is placed in work area spfli.&lt;/P&gt;&lt;P&gt;GET spfli: The logical database places the next corresponding data record from SPFLI in work&lt;/P&gt;&lt;P&gt;area spfli.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;END-OF-SELECTION: is called immediately before the list is sent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Do Reward if helpful&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 11:31:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-data-base/m-p/3506327#M843312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-11T11:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Logical data base</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-data-base/m-p/3506328#M843313</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;goto se36 --&amp;gt; enter the name of the ldb and goto the documentation for this may it helps u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Report RVDBVAV0 is a sample program for this ldb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 11:39:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-data-base/m-p/3506328#M843313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-11T11:39:26Z</dc:date>
    </item>
  </channel>
</rss>

