<?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 databases in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-databases/m-p/1702023#M307668</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2312262"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;A logical database is a special ABAP/4 program which combines the contents of certain database tables. You can link a logical database to an ABAP/4 report program as an attribute. The logical database then supplies the report program with a set of hierarchically structured table lines which can be taken from different database tables.&lt;/P&gt;&lt;P&gt;Check this for LDB&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/EN/c6/8a15381b80436ce10000009b38f8cf/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/EN/c6/8a15381b80436ce10000009b38f8cf/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cs.ucc.ie/~abf/CS507-8/l37c.pdf" target="test_blank"&gt;http://www.cs.ucc.ie/~abf/CS507-8/l37c.pdf&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Good tutorial to start with.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_FunctionalAreas_LogicalDB.asp" target="test_blank"&gt;http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_FunctionalAreas_LogicalDB.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also check this thread,&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1959601"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Nov 2006 09:28:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-07T09:28:41Z</dc:date>
    <item>
      <title>Logical databases</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-databases/m-p/1702019#M307664</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;Can any body give me links for tutorials on Logical databases. how it works and how to work with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Narendiran Rathinavelu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 09:26:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-databases/m-p/1702019#M307664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-07T09:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Logical databases</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-databases/m-p/1702020#M307665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/HR_ABAP_LDB.htm" target="test_blank"&gt;http://www.planetsap.com/HR_ABAP_LDB.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;award points if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 09:26:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-databases/m-p/1702020#M307665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-07T09:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Logical databases</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-databases/m-p/1702021#M307666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  check the following link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kinshuk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 09:27:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-databases/m-p/1702021#M307666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-07T09:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Logical databases</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-databases/m-p/1702022#M307667</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;LOGIGAL SYSTEM means usually the SLD entry "logical system" resp the name which is given by customizing in transaction SALE. It is only used for IDoc traffic. I dont know where you found that in the proxy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proxy deoes not require any logical name of the system. This is the entry made in transaction SALE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to following weblog for proxy.&lt;/P&gt;&lt;P&gt;/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies - Activate Proxy&lt;/P&gt;&lt;P&gt;/people/siva.maranani/blog/2005/04/03/abap-server-proxies - ABAP Server Proxy&lt;/P&gt;&lt;P&gt;/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Client Proxy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this demo of ABAP Proxy.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#xi" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#xi&lt;/A&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logical databases are special ABAP programs that retrieve data and make it available to application programs. The most common use of logical databases is to read data from database tables by linking them to executable ABAP programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, from Release 4.5A, it has also been possible to call logical databases using the function module LDB_PROCESS. This allows you to call several logical databases from any ABAP program, nested in any way. It is also possible to call a logical database more than once in a program, if it has been programmed to allow this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logical databases contain Open SQL statements that read data from the database. You do not therefore need to use SQL in your own programs. The logical database reads the program, stores them in the program if necessary, and then passes them line by line to the application program or the function module LDB_PROCESS using an interface work area. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tasks of Logical Databases&lt;/P&gt;&lt;P&gt;1.Reading the same data for several programs. &lt;/P&gt;&lt;P&gt;2.Defining the same user interface for several programs. &lt;/P&gt;&lt;P&gt;3.Central authorization checks &lt;/P&gt;&lt;P&gt;4.Improving performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First part of your question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So,if i am not wrong, LDB cannot be completely considered as object oriented programmming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have highlighted some important points above &lt;/P&gt;&lt;P&gt;For understanding this in detail you can go through the sap help .(if you donot know go through the below path&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sap library&lt;/P&gt;&lt;P&gt;+ Basis Components&lt;/P&gt;&lt;P&gt;-Abap Programing and runtime enviornment&lt;/P&gt;&lt;P&gt;-BC-ABAP Programming(noe serach for ldb &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I am mentioning a link which shows a complete implementation of an LDB.&lt;/P&gt;&lt;P&gt;&lt;A href="http://homepages.wmich.edu/~r2raviko/HandsOnQuest/HO9.doc" target="test_blank"&gt;http://homepages.wmich.edu/~r2raviko/HandsOnQuest/HO9.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose after going through the reply(or sap help) and the link mentioned above all your doubts regarding LDB will be cleared. &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;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="490352"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="257816"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For Logical database&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;very useful&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&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;Ram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 09:28:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-databases/m-p/1702022#M307667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-07T09:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Logical databases</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-databases/m-p/1702023#M307668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2312262"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;A logical database is a special ABAP/4 program which combines the contents of certain database tables. You can link a logical database to an ABAP/4 report program as an attribute. The logical database then supplies the report program with a set of hierarchically structured table lines which can be taken from different database tables.&lt;/P&gt;&lt;P&gt;Check this for LDB&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/EN/c6/8a15381b80436ce10000009b38f8cf/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/EN/c6/8a15381b80436ce10000009b38f8cf/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cs.ucc.ie/~abf/CS507-8/l37c.pdf" target="test_blank"&gt;http://www.cs.ucc.ie/~abf/CS507-8/l37c.pdf&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Good tutorial to start with.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_FunctionalAreas_LogicalDB.asp" target="test_blank"&gt;http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_FunctionalAreas_LogicalDB.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also check this thread,&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1959601"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 09:28:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-databases/m-p/1702023#M307668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-07T09:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Logical databases</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-databases/m-p/1702024#M307669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi narendiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. A logical database is in fact&lt;/P&gt;&lt;P&gt;a program only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. This LDB provides two main things :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) a pre-defined selection screen&lt;/P&gt;&lt;P&gt;which handles all user inputs and validations&lt;/P&gt;&lt;P&gt;b) pre defined set of data &lt;/P&gt;&lt;P&gt;based upon the user selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. So we dont have to worry about from&lt;/P&gt;&lt;P&gt;which tables to fetch data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Moreover, this LDB Program,&lt;/P&gt;&lt;P&gt;handles all user-authorisations&lt;/P&gt;&lt;P&gt;and is efficient in all respects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. tcode is SLDB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. To get a taste of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. create a new z program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. while creating type PNP&lt;/P&gt;&lt;P&gt;in logical database field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. paste this code and execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ABC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------" /&gt;&lt;P&gt;infotypes : 0001.&lt;/P&gt;&lt;P&gt;TABLES : PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;GET PERNR.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; PERNR-PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. The selection screen which u see&lt;/P&gt;&lt;P&gt;is coming from logical database PNP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Execute&lt;/P&gt;&lt;P&gt;7. U will get a list of pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPDBPNP&lt;/P&gt;&lt;P&gt;this is the main program of LDB PNP&lt;/P&gt;&lt;P&gt;which does the main work.&lt;/P&gt;&lt;P&gt;SAPDB + ldb name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 09:29:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-databases/m-p/1702024#M307669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-07T09:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Logical databases</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-databases/m-p/1702025#M307670</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;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Logical database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A logical database is a special ABAP/4 program which combines the contents of certain database tables. Using logical databases facilitates the process of reading database tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HR Logical Database is PNP &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Main Functions of the logical database PNP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Standard Selection screen &lt;/P&gt;&lt;P&gt;Data Retrieval &lt;/P&gt;&lt;P&gt;Authorization check  &lt;/P&gt;&lt;P&gt;To use logical database PNP in your program, specify in your program attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Standard Selection Screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date selection delimits the time period for which data is evaluated. GET PERNR retrieves all records of the relevant infotypes from the database.  When you enter a date selection period, the PROVIDE loop retrieves the infotype records whose validity period overlaps with at least one day of this period. &lt;/P&gt;&lt;P&gt;Person selection&lt;/P&gt;&lt;P&gt;Person selection is the 'true' selection of choosing a group of employees for whom the report is to run. &lt;/P&gt;&lt;P&gt;Sorting Data&lt;/P&gt;&lt;P&gt;· The standard sort sequence lists personnel numbers in ascending order.&lt;/P&gt;&lt;P&gt;· SORT function allows you to sort the report data otherwise. All the sorting fields are from infotype 0001. &lt;/P&gt;&lt;P&gt;Report Class &lt;/P&gt;&lt;P&gt;· You can suppress input fields which are not used on the selection screen by assigning a report class to your program.&lt;/P&gt;&lt;P&gt;· If SAP standard delivered report classes do not satisfy your requirements, you can create your own report class through the IMG. &lt;/P&gt;&lt;P&gt;Data Retrieval from LDB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create data structures for infotypes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    INFOTYPES: 0001, "ORG ASSIGNMENT
                        0002, "PERSONAL DATA
                        0008. "BASIC PAY&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;2. Fill data structures with the infotype records. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  Start-of-selection. 
         GET PERNR. 
    End-0f-selection.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Read Master Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Infotype structures (after GET PERNR) are internal tables loaded with data. &lt;/P&gt;&lt;P&gt;The infotype records (selected within the period) are processed sequentially by the PROVIDE - ENDPROVIDE loop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  GET PERNR.
             PROVIDE * FROM Pnnnn BETWEEN PN/BEGDA AND PN/ENDDA
                    If Pnnnn-XXXX = ' '. write:/ Pnnnn-XXXX. endif. 
             ENDPROVIDE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Period-Related Data&lt;/P&gt;&lt;P&gt;All infotype records are time stamped. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT0006 (Address infotype)&lt;/P&gt;&lt;P&gt;01/01/1990   12/31/9999  present &lt;/P&gt;&lt;P&gt;          Which record to be read depends on the date selection period specified on the&lt;/P&gt;&lt;P&gt;          selection screen. PN/BEGDA PN/ENDDA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current Data &lt;/P&gt;&lt;P&gt;IT0006 Address  -  01/01/1990 12/31/9999   present &lt;/P&gt;&lt;P&gt;RP-PROVIDE-FROM-LAST retrieves the record which is valid in the data selection period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, pn/begda = '19990931'    pn/endda = '99991231'&lt;/P&gt;&lt;P&gt;IT0006 subtype 1 is resident address&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;RP-PROVIDE-FROM-LAST P0006 1 PN/BEGDA PN/ENDDA.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&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;if hlped pls mark points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 09:30:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-databases/m-p/1702025#M307670</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-07T09:30:17Z</dc:date>
    </item>
  </channel>
</rss>

