<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ABAP Tutorials &#187; SAP Query</title>
	<atom:link href="http://www.abap-tutorials.com/category/sap-query/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.abap-tutorials.com</link>
	<description>ABAP Tutorials, Guides, Training, Manuals</description>
	<lastBuildDate>Thu, 17 Nov 2011 07:43:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>SAP addresses performance issues with cluster table BSEG</title>
		<link>http://www.abap-tutorials.com/2011/09/13/sap-addresses-performance-issues-with-cluster-table-bseg/</link>
		<comments>http://www.abap-tutorials.com/2011/09/13/sap-addresses-performance-issues-with-cluster-table-bseg/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 05:57:51 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[SAP]]></category>
		<category><![CDATA[SAP Query]]></category>
		<category><![CDATA[BSEG]]></category>
		<category><![CDATA[cluster table]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[index table]]></category>
		<category><![CDATA[index tables]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.abap-tutorials.com/?p=1942</guid>
		<description><![CDATA[Many times we have seen many threads related to performance issues on BSEG table. It takes quite a lot of time when fetching data directly from BSEG if we do not have proper key fields. Here is the solution for this. Since it is not possible to create the secondary INDEX for cluster tables, SAP came [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Many times we have seen many threads related to performance issues on BSEG table. It takes quite a lot of time when fetching data directly from BSEG if we do not have proper key fields. Here is the solution for this.</p>
<div style="width: 100%; float: left;">
<p style="text-align: center;"><a href="http://www.abap-tutorials.com/wp-content/uploads/2011/09/performance.jpg"><img class="aligncenter size-full wp-image-1943" title="performance" src="http://www.abap-tutorials.com/wp-content/uploads/2011/09/performance.jpg" alt="performance" width="388" height="371" /></a></p>
</div>
<p style="text-align: justify;">Since it is not possible to create the secondary INDEX for cluster tables, SAP came up with new concept called INDEX tables.</p>
<p style="text-align: justify;"><span id="more-1942"></span><br />
All the accounting documents (Open and closed) are stored in BKPF and BSEG tables and querying these tables takes lot of time. So SAP has created INDEX tables for BSEG which are updated with specific data based on classification and are much faster than BSEG.<br />
 <br />
EG: Customer documents, Vendor documents etc.<br />
 <br />
<strong><ins>INDEX TABLES:</ins></strong><br />
 <br />
<strong>BSID-</strong> Accounting: Secondary Index for Customers (Open Items)<br />
<strong>BSAD-</strong> Accounting: Secondary Index for Customers (Cleared Items)<br />
<strong>BSIK-</strong> Accounting: Secondary Index for Vendors (Open Items)<br />
<strong>BSAK-</strong> Accounting: Secondary Index for Vendors (Cleared Items)<br />
<strong>BSIS-</strong> Accounting: Secondary Index for G/L Accounts (Open Items)<br />
<strong>BSAS-</strong> Accounting: Secondary Index for G/L Accounts (Cleared Item)<br />
 <br />
How to remember these tables???<br />
Remember <strong>BS</strong>*  *<br />
 <br />
3<sup>rd</sup> letter indicates whether item is open or closed.<br />
<strong>I -</strong> For open items.<br />
<strong>A-   </strong> For closed items.<br />
 <br />
4<sup>th</sup> letter indicates classification. <br />
<strong>     D-</strong> For customers<br />
<strong>     K-</strong> For vendors<br />
<strong>     S-</strong> For G/L accounts.<br />
 <br />
These tables are some examples which is mostly required in real time scenarios. There are few more INDEX tables like this.</p>
<p style="text-align: justify;"> </p>
<p style="text-align: justify;"> </p>


<p>You might also be interested in these posts:<ol><li><a href='http://www.abap-tutorials.com/2009/07/15/sap-tables-part-i/' rel='bookmark' title='SAP Tables Part I'>SAP Tables Part I</a></li>
<li><a href='http://www.abap-tutorials.com/2011/01/07/improving-workflow-performance/' rel='bookmark' title='Improving Workflow Performance'>Improving Workflow Performance</a></li>
<li><a href='http://www.abap-tutorials.com/2009/07/23/transport-sap-table-contents/' rel='bookmark' title='Transport SAP Table contents'>Transport SAP Table contents</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.abap-tutorials.com/2011/09/13/sap-addresses-performance-issues-with-cluster-table-bseg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Complete Reference to ABAP Basics</title>
		<link>http://www.abap-tutorials.com/2010/03/16/complete-reference-to-abap-basics/</link>
		<comments>http://www.abap-tutorials.com/2010/03/16/complete-reference-to-abap-basics/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 18:16:32 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[ABAP]]></category>
		<category><![CDATA[Abap Objects]]></category>
		<category><![CDATA[ALV]]></category>
		<category><![CDATA[BDC / LSMW]]></category>
		<category><![CDATA[DDIC]]></category>
		<category><![CDATA[Enhancement/Modification]]></category>
		<category><![CDATA[Formatting]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Function Modules]]></category>
		<category><![CDATA[Module Pool]]></category>
		<category><![CDATA[Quick Reference]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[SAP Query]]></category>
		<category><![CDATA[ABAP Basics]]></category>
		<category><![CDATA[Complete Reference]]></category>

		<guid isPermaLink="false">http://www.abap-tutorials.com/?p=1393</guid>
		<description><![CDATA[The following ebook is for the ABAP beginners giving an overview of basic topics in ABAP. This reference guide focuses on following topics: ENTERPRISE RESOURCE PLANNING (ERP) SAP ADVANTAGES Role of ABAPer R/3 ARCHITECTURE COMPONENTS WHAT IS CLIENT IN SAP Developemt Obects -  REPOSITORY OBJECTS and  DATA DICTIONARY OBJECTS ABAP GUI DATA DICTIONARY INTERNAL TABLES SUBROUTINES [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">The following ebook is for the ABAP beginners giving an overview of basic topics in ABAP.</p>
<p style="text-align: justify;">
<div style="float: left; width: 100%;"><img class="aligncenter size-full wp-image-1398" title="References" src="http://www.abap-tutorials.com/wp-content/uploads/2010/03/references.jpg" alt="" width="288" height="285" /></div>
</p>
<p style="text-align: justify;">This reference guide focuses on following topics:</p>
<ul>
<li>
<div style="text-align: justify;">ENTERPRISE RESOURCE PLANNING (ERP)</div>
</li>
<li>
<div style="text-align: justify;">SAP ADVANTAGES</div>
</li>
<li>
<div style="text-align: justify;">Role of ABAPer</div>
</li>
<li>
<div style="text-align: justify;">R/3 ARCHITECTURE COMPONENTS</div>
</li>
<li>
<div style="text-align: justify;">WHAT IS CLIENT IN SAP</div>
</li>
<li style="text-align: justify;">Developemt Obects -  REPOSITORY OBJECTS and  DATA DICTIONARY OBJECTS</li>
<li style="text-align: justify;">ABAP GUI</li>
<li style="text-align: justify;">DATA DICTIONARY</li>
<li style="text-align: justify;">INTERNAL TABLES</li>
<li style="text-align: justify;">SUBROUTINES</li>
<li style="text-align: justify;">Reports</li>
<li style="text-align: justify;">MODULE POOL PROGRAMMING</li>
<li style="text-align: justify;">Menu Painter</li>
<li style="text-align: justify;">BATCH DATA COMMUNICATION</li>
<li style="text-align: justify;">LSMW ( Legacy System Migration Workbench)</li>
<li style="text-align: justify;">SAPSCRIPTS</li>
<li style="text-align: justify;">SMARTFORMS</li>
</ul>
<p style="text-align: justify;"> <span id="more-1393"></span></p>
<p style="text-align: justify;"> </p>
<p style="text-align: justify;">Link : <a href="http://www.abap-tutorials.com/wp-content/uploads/pdfs/Complete_Reference_to_ABAP_Basics.pdf" target="_blank">Complete Reference to ABAP Basics</a></p>


<p>You might also be interested in these posts:<ol><li><a href='http://www.abap-tutorials.com/2009/07/28/display-se78-pictures-on-screen/' rel='bookmark' title='ABAP Program to Display SE78 pictures on Screen'>ABAP Program to Display SE78 pictures on Screen</a></li>
<li><a href='http://www.abap-tutorials.com/2010/05/07/abap-programs-for-beginners/' rel='bookmark' title='ABAP Programs for Beginners'>ABAP Programs for Beginners</a></li>
<li><a href='http://www.abap-tutorials.com/2009/08/19/lock-objects-in-sap/' rel='bookmark' title='Lock Objects in SAP'>Lock Objects in SAP</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.abap-tutorials.com/2010/03/16/complete-reference-to-abap-basics/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Unlocking SAP Query</title>
		<link>http://www.abap-tutorials.com/2010/02/11/unlocking-sap-query/</link>
		<comments>http://www.abap-tutorials.com/2010/02/11/unlocking-sap-query/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 15:49:01 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Quick Reference]]></category>
		<category><![CDATA[SAP Query]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[SQ00]]></category>
		<category><![CDATA[SQ02]]></category>
		<category><![CDATA[unlock]]></category>

		<guid isPermaLink="false">http://www.abap-tutorials.com/?p=1332</guid>
		<description><![CDATA[There are instances where SAP Query is protected by a user/creator. The following steps will help you unlock the locked Query.     Let me tell you the steps. 1. Go to SQ02 transaction (Infoset: Initial Screen).2. Select or Highlight the Infoset corresponding to the query.3. Go to &#8211;&#62; Query Directory &#8211;&#62; (you will see the [...]]]></description>
			<content:encoded><![CDATA[<p>There are instances where SAP Query is protected by a user/creator. The following steps will help you unlock the locked Query.</p>
</p>
<p><div style="float: left; width: 100%;">
<a href="http://www.abap-tutorials.com/wp-content/uploads/2010/02/locked_query.jpg"><br />
<img class="aligncenter size-full wp-image-1368" title="Locked Query" src="http://www.abap-tutorials.com/wp-content/uploads/2010/02/locked_query.jpg" alt="" width="541" height="277" /></a></div>
<p> </p>
<p> </p>
<p>
<p><span id="more-1332"></span></p>
<p>Let me tell you the steps.</p>
<p>1. Go to SQ02 transaction (Infoset: Initial Screen).<br />2. Select or Highlight the Infoset corresponding to the query.<br />3. Go to &#8211;&gt; Query Directory &#8211;&gt; (you will see the infoset in the name being displayed) Execute.<br />4. Select the Query you would want to unlock.<br />5. Click on Cancel Edit lock button or Edit &#8211;&gt; Cancel edit lock or Shift + F6<br />Done&#8230;!!!! Query is unlocked.</p>
</p>
<p><div style="float: left; width: 100%;">
<a href="http://www.abap-tutorials.com/wp-content/uploads/2010/02/unlock_query.jpg"><img class="aligncenter size-full wp-image-1369" title="Unlock Query" src="http://www.abap-tutorials.com/wp-content/uploads/2010/02/unlock_query.jpg" alt="" width="532" height="244" /></a>
</div>
<p> </p>
<p> </p>
<p> </p>


<p>You might also be interested in these posts:<ol><li><a href='http://www.abap-tutorials.com/2009/07/21/restricting-sap-queries/' rel='bookmark' title='Restricting SAP Queries from execution'>Restricting SAP Queries from execution</a></li>
<li><a href='http://www.abap-tutorials.com/2010/01/19/sap_statistical_query/' rel='bookmark' title='SAP Statistical Query'>SAP Statistical Query</a></li>
<li><a href='http://www.abap-tutorials.com/2009/07/18/create-a-tcode-for-an-abap-query/' rel='bookmark' title='Create a TCODE for an ABAP Query'>Create a TCODE for an ABAP Query</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.abap-tutorials.com/2010/02/11/unlocking-sap-query/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SAP Statistical Query</title>
		<link>http://www.abap-tutorials.com/2010/01/19/sap_statistical_query/</link>
		<comments>http://www.abap-tutorials.com/2010/01/19/sap_statistical_query/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 17:28:15 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Quick Reference]]></category>
		<category><![CDATA[SAP Query]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[statistical query]]></category>

		<guid isPermaLink="false">http://www.abap-tutorials.com/?p=1287</guid>
		<description><![CDATA[Many times a need arises for SAP Users and Functional Consultants to generate quick reports without getting any ABAP coding done – time taken to complete the coding in development, transport and test it in QA system and then transport to production – is sometimes too long. In such cases, ABAP/4 query is a tool [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Many times a need arises for SAP Users and Functional Consultants to generate quick reports without getting any ABAP coding done – time taken to complete the coding in development, transport and test it in QA system and then transport to production – is sometimes too long. In such cases, ABAP/4 query is a tool provided by SAP for generating these kind of reports.</p>
<p style="text-align: justify;"><a href="http://www.abap-tutorials.com/wp-content/uploads/2010/01/statistics.jpg"></p>
<div style="width:100%;float:left">
<img class="aligncenter size-full wp-image-1289" title="statistics" src="http://www.abap-tutorials.com/wp-content/uploads/2010/01/statistics.jpg" alt="" width="305" height="304" />
</div>
<p></a></p>
<p style="text-align: justify;">SAP query provides the following type of reports:</p>
<ul>
<li>
<div style="text-align: justify;">Basic List        Simple report  </div>
</li>
<li>
<div style="text-align: justify;">Statistics          Report containing statistical functions like Average &amp;Percentage  </div>
</li>
<li>
<div style="text-align: justify;">Ranked List     Report written for analytical purpose</div>
</li>
</ul>
<p style="text-align: justify;"><span id="more-1287"></span></p>
<p style="text-align: justify;">The following PDF shows the steps to create Statistical Query.</p>
<p style="text-align: justify;">Link: <a href="http://www.abap-tutorials.com/wp-content/uploads/pdfs/abap_statistical_query.pdf" target="_blank">SAP Statistical Query</a></p>


<p>You might also be interested in these posts:<ol><li><a href='http://www.abap-tutorials.com/2010/02/11/unlocking-sap-query/' rel='bookmark' title='Unlocking SAP Query'>Unlocking SAP Query</a></li>
<li><a href='http://www.abap-tutorials.com/2009/07/18/create-a-tcode-for-an-abap-query/' rel='bookmark' title='Create a TCODE for an ABAP Query'>Create a TCODE for an ABAP Query</a></li>
<li><a href='http://www.abap-tutorials.com/2009/07/21/restricting-sap-queries/' rel='bookmark' title='Restricting SAP Queries from execution'>Restricting SAP Queries from execution</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.abap-tutorials.com/2010/01/19/sap_statistical_query/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restricting SAP Queries from execution</title>
		<link>http://www.abap-tutorials.com/2009/07/21/restricting-sap-queries/</link>
		<comments>http://www.abap-tutorials.com/2009/07/21/restricting-sap-queries/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 01:48:38 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Authorization]]></category>
		<category><![CDATA[SAP Query]]></category>
		<category><![CDATA[authority]]></category>
		<category><![CDATA[queries]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[restrict]]></category>
		<category><![CDATA[SAP]]></category>

		<guid isPermaLink="false">http://naveenvishal.wordpress.com/?p=325</guid>
		<description><![CDATA[You can restrict users from executing your queries, by assigning  Authorization Group to Query Infoset. Now,  users having the authorization to the Authorization Group can execute the Query. The field &#8216;authorization group&#8217; allows you to enter an authorization group up to eight characters long. If you specify an authorization group, it is inherited as an [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">You can restrict users from executing your queries, by assigning  Authorization Group to Query Infoset. Now,  users having the authorization to the Authorization Group can execute the Query.</p>
<p style="text-align:justify;"><span id="more-325"></span></p>
<p style="text-align:justify;">The field <strong>&#8216;authorization group&#8217;</strong> allows you to enter an authorization group up to eight characters long. If you specify an authorization group, it is inherited as an attribute by every report generated for a query via this InfoSet. This means that only users authorized in their user master records to execute programs from this authorization group can execute these queries. Authorization groups thus provide a way of protecting reports generated by the query from unauthorized execution.</p>
<p style="text-align:justify;">In SQ02: Change InfoSet &gt; Goto Global Properties &gt; Enter in Authorization group<br />
In SQ01: Query &gt; More functions &gt; Generate program</p>
<p style="text-align:justify;"> </p>


<p>You might also be interested in these posts:<ol><li><a href='http://www.abap-tutorials.com/2010/02/11/unlocking-sap-query/' rel='bookmark' title='Unlocking SAP Query'>Unlocking SAP Query</a></li>
<li><a href='http://www.abap-tutorials.com/2009/07/16/assigncreate-authorization-group-for-a-table/' rel='bookmark' title='Assign/Create Authorization Group for a Table in SAP'>Assign/Create Authorization Group for a Table in SAP</a></li>
<li><a href='http://www.abap-tutorials.com/2009/07/18/create-a-tcode-for-an-abap-query/' rel='bookmark' title='Create a TCODE for an ABAP Query'>Create a TCODE for an ABAP Query</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.abap-tutorials.com/2009/07/21/restricting-sap-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

