<?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: Buffers in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffers/m-p/3351048#M803796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each SAP instance (application server) has its own buffers. These buffers are also known as client caches because they are implemented on the client, that is, the application server. SAP buffers occupy memory areas that are local to the work process, and in individual shared memory segments that can be accessed by all work processes. These memory areas are executed for the application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link,hope this would help you to solve your problem.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/c4/3a6dbb505211d189550000e829fbbd/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/c4/3a6dbb505211d189550000e829fbbd/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2008 14:00:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-23T14:00:46Z</dc:date>
    <item>
      <title>Buffers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffers/m-p/3351047#M803795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.What are the buffers available in SAP?List them and explain&lt;/P&gt;&lt;P&gt;2.How many header lines can be created in ABAP/4 for a program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 13:57:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffers/m-p/3351047#M803795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T13:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Buffers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffers/m-p/3351048#M803796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each SAP instance (application server) has its own buffers. These buffers are also known as client caches because they are implemented on the client, that is, the application server. SAP buffers occupy memory areas that are local to the work process, and in individual shared memory segments that can be accessed by all work processes. These memory areas are executed for the application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link,hope this would help you to solve your problem.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/c4/3a6dbb505211d189550000e829fbbd/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/c4/3a6dbb505211d189550000e829fbbd/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 14:00:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffers/m-p/3351048#M803796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T14:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Buffers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffers/m-p/3351049#M803797</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;Whenever an Open SQL statement is used to read a record,&lt;/P&gt;&lt;P&gt;the data buffer is checked first to see whether it is there. If not, the data is read from the database. &lt;/P&gt;&lt;P&gt;If the table's attributes indicate that the data should be buffered, &lt;/P&gt;&lt;P&gt;the record is saved in RAM on the application server in data buffers. &lt;/P&gt;&lt;P&gt;Later, if that record is read again, it is read from the buffer instead of the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By buffering data, you increase performance in two important ways: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The programs using the buffered data run faster because they don't have to wait for it to come from the database. This reduces delays waiting for the database and the network that connects it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other programs that need to access the database run faster because there is less load on the database and less traffic on the network. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Three types of buffering are possible: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full buffering &lt;/P&gt;&lt;P&gt;Generic buffering &lt;/P&gt;&lt;P&gt;Single-record buffering &lt;/P&gt;&lt;P&gt;Although you use a check box to indicate the buffering type, only one type can be selected at a time. If you choose more than one, an error message will be displayed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two data buffers on each application server, and the buffering type chosen determines which buffer is used. On an application sever there are: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The generic record buffer &lt;/P&gt;&lt;P&gt;The single-record buffer &lt;/P&gt;&lt;P&gt;The generic record buffer is called TABL (short for "table"). The single-record buffer is TABLP ("P"' stands for "partial"). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full Buffering:&lt;/P&gt;&lt;P&gt;To activate the full buffering type, tickmark the Full check box.&lt;/P&gt;&lt;P&gt;When an attempt is made to read data from a fully buffered table,&lt;/P&gt;&lt;P&gt;the system looks in the TABL buffer for it.&lt;/P&gt;&lt;P&gt;If it is not found there, all rows are loaded from the database into TABL .&lt;/P&gt;&lt;P&gt;This happens whenever a select statement for it is executed, no matter how many records match the where clause.&lt;/P&gt;&lt;P&gt;Even if no records match, all are loaded into the buffer if the table is not already there or&lt;/P&gt;&lt;P&gt;if it has been invalidated due to buffer synchronization. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loading of TABL does not occur with select single statements; only select/ endselect does this. &lt;/P&gt;&lt;P&gt;If the table is fully buffered and a select single statement is executed, no records are loaded into TABL. &lt;/P&gt;&lt;P&gt;However, if the table is already loaded into TABL, select single will read records from it. &lt;/P&gt;&lt;P&gt;During buffer synchronization, the entire table is invalidated if any record within it changes. The next time data is read the entire table is reloaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full buffering is appropriate for small tables that seldom change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generic Buffering:&lt;/P&gt;&lt;P&gt;With generic buffering, a group of records is loaded into TABL instead of the entire table. &lt;/P&gt;&lt;P&gt;To activate this type of buffering, tickmark the Generic check box &lt;/P&gt;&lt;P&gt;and put a number n in the No. of Key Fields so that the n left-most fields of the primary key will group records.&lt;/P&gt;&lt;P&gt;When a record is read and n is 1, all records having the same value &lt;/P&gt;&lt;P&gt;in the first field of the primary key are loaded into the buffer. &lt;/P&gt;&lt;P&gt;When a record is read and n is 2, all records having the same value in the first two fields of the primary key are loaded&lt;/P&gt;&lt;P&gt;into the buffer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generic buffering is suitable for tables in which records are usually accessed in sets or groups. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Single Record Buffering:&lt;/P&gt;&lt;P&gt;With this type of buffering, select single picks one record into the single record buffer TABLP.&lt;/P&gt;&lt;P&gt;With this buffering type, records are only buffered when the select single statement is executed. &lt;/P&gt;&lt;P&gt;Select/endselect does not load or read TABLP. &lt;/P&gt;&lt;P&gt;Single-record buffering is appropriate for very large tables in which a small percentage of the records are read often.&lt;/P&gt;&lt;P&gt;For single-record buffering to work, records must be read using the select single statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two buffers: TABL (the generic record buffer) and TABLP (the single record buffer). &lt;/P&gt;&lt;P&gt;There are also two varieties of the select statement: select and select single. The select statement loads TABL and the select single statement loads TABLP. &lt;/P&gt;&lt;P&gt;When reading, select only reads TABL; it ignores TABLP. select single reads both buffers. This behavior is summarized in Figure 5.20. Remember that a record can only be in one buffer at a time because a table can only have one buffering type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 14:01:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffers/m-p/3351049#M803797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T14:01:18Z</dc:date>
    </item>
  </channel>
</rss>

