<?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>The BASIS of SAP &#187; Monitoring</title>
	<atom:link href="http://www.basissap.com/category/monitoring/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.basissap.com</link>
	<description>The place to come when they say it's a BASIS problem</description>
	<lastBuildDate>Thu, 22 Sep 2011 04:54:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<atom:link rel='hub' href='http://www.basissap.com/?pushpress=hub'/>
<cloud domain='www.basissap.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>#SAPADMIN is more than SAP (Windows Event Viewer)</title>
		<link>http://www.basissap.com/2011/03/sapadmin-is-more-than-sap-windows-event-viewer/</link>
		<comments>http://www.basissap.com/2011/03/sapadmin-is-more-than-sap-windows-event-viewer/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 12:53:38 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Career]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.basissap.com/?p=371</guid>
		<description><![CDATA[An SAP Administrator needs to know about more than SAP; they need to know about the ecosystem that their systems run in.&#160; By that, I mean things like how to use features of the Operating System and DBMS that their systems run on, to provide value to the system or business owner.&#160; For example, you [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.basissap.com%2F2011%2F03%2Fsapadmin-is-more-than-sap-windows-event-viewer%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.basissap.com%2F2011%2F03%2Fsapadmin-is-more-than-sap-windows-event-viewer%2F&amp;source=martin_english&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>An SAP Administrator needs to know about more than SAP; they need to know about the ecosystem that their systems run in.&nbsp; By that, I mean things like how to use features of the Operating System and DBMS that their systems run on, to provide value to the system or business owner.&nbsp; For example, you probably know that drivers, services or software in Windows can crash without you even being aware of it happening.&nbsp; Sometimes this can affect your Solution Manager system, another non SAP part of your Landscape, or you may just want to monitor something like an NSP Developer Edition system.&nbsp; Whichever type of system we are talking about, sometimes the first sign of trouble is when you (or even worse someone in the business) needs the system <strong>right now</strong>. What would be useful would be a tool that notifys you when certain activities occur&#8230;&#8230;</p>
<p>&nbsp;</p>
<p><img src="http://www.basissap.com/wp-content/uploads/2011/03/EventViewer1.jpg" alt="Start --&gt; Administration Tools --&gt; Event Viewer" border="0" height="500" width="574"></p>
<p>The<em> Windows Event Viewer</em> lets you launch a program, send an email (if the server has an email client installed) or provide some other alert that something has occurred.&nbsp; You do this by attaching a task to an <strong>Event</strong> in the <em>Event Viewer</em>.&nbsp; To do this you need to find your <strong>Event</strong> within <strong>Event Viewer</strong>.&nbsp; Note there are slight differences in the initial screens between Windows XP, Windows 7, Windows 2003 and Windows 2008.</p>
<p>&nbsp;</p>
<p><img src="http://www.basissap.com/wp-content/uploads/2011/03/EventViewer4.jpg" alt=" " border="0" height="357" width="678"></p>
<p>&nbsp;</p>
<p>Once you&#8217;ve found the Event you want to report on, look in the right hand panel.&nbsp; There you will see an option <strong>Attach task to this Event</strong>.&nbsp; Selecting this will pop up a window with all of our options.</p>
<p><img src="http://www.basissap.com/wp-content/uploads/2011/03/EventViewer5.jpg" alt=" " border="0" height="389" width="700"></p>
<p>For example, we can run a program, send an email (if email software is installed on the Server) or display a pop-up alert.</p>
<p>&nbsp;</p>
<p><img src="http://www.basissap.com/wp-content/uploads/2011/03/EventViewer6.jpg" alt=" " border="0" height="391" width="700"></p>
<p>If you want to run a program, there are some very useful command Line and PowerShell utilities that can come in very handy here.&nbsp; I won’t go into much detail as they are well documented on the Microsoft website, but examples include running the program CMD.EXE with either the /c switch to carry out a command string and then stop, or the /k switch to continue afterwards (see here for more details on command line switches).</p>
<p><img src="http://www.basissap.com/wp-content/uploads/2011/03/EventViewer7.jpg" alt=" " border="0" height="388" width="700"></p>
<p>You can also use the <a href="http://technet.microsoft.com/en-us/library/cc732848%28WS.10%29.aspx" target="_top">WEVTUTIL command</a> to automatically poll the event viewer for data and perform actions like creating a log to the Administrator or &lt;sid&gt;adm desktop.&nbsp; This would make it easier to send selected data to second level support or SAP. </p>
<p><img src="http://www.basissap.com/wp-content/uploads/2011/03/EventViewer8.jpg" alt="Successful creation of a task" border="0" height="390" width="700"></p>
<p>You can also use PowerShell command to automatically generate a <a href="http://technet.microsoft.com/en-us/library/ee221012%28WS.10%29.aspx" target="_top">Windows System Health Report</a>:</p>
<p><code>Get-RmsSystemHealthReport -Path &lt;drive&gt;:\Report [-StartTime &lt;start_time&gt;] [-EndTime &lt;end_time&gt;] -ReportType &lt;report_type</code>
</p>
<p>Any tasks you add can be viewed and edited in the <strong>Windows Task Scheduler</strong>.&nbsp; The important thing to remember is that being able to add actions to events can be a real time-saver when it comes to diagnosing problems in Windows.</p>
<p>What Operating System DBMS tools and scripts have you found useful for monitoring systems and software ? Are the Windows tools better thean the Unix / Linux tools ? What about agents for centralised monitors ? Which do you prefer ?</p>
<div id="wherego_related"><h3>Entries that other people found interesting:</h3><ul><li><a href="http://www.basissap.com/2010/12/sapcar-is-sapcar/" rel="bookmark" class="wherego_title">SAPCAR is SAPCAR &#8230;&#8230;</a></li><li><a href="http://www.basissap.com/2011/03/sapadmin-netweaver-and-windows-2008-r2/" rel="bookmark" class="wherego_title">#SAPADMIN Netweaver and Windows 2008 R2</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.basissap.com/2011/03/sapadmin-is-more-than-sap-windows-event-viewer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Validating Passwords on Websites</title>
		<link>http://www.basissap.com/2010/07/validating-passwords-on-websites/</link>
		<comments>http://www.basissap.com/2010/07/validating-passwords-on-websites/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 00:35:26 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[BASIS]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Monitoring]]></category>

		<guid isPermaLink="false">http://www.basissap.com/?p=308</guid>
		<description><![CDATA[I feel a bit ordinary writing a blog post about something as trivial as one line of javascript, so I decided to include a picture as well. It shows a screen from the guided procedure for Solution Manager Configuration.&#160; The interesting part is what I have done wrong.&#160; I&#8217;m using the javascript referred to by [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.basissap.com%2F2010%2F07%2Fvalidating-passwords-on-websites%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.basissap.com%2F2010%2F07%2Fvalidating-passwords-on-websites%2F&amp;source=martin_english&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I feel a bit ordinary writing a blog post about something as trivial as one line of javascript, so I decided to include a picture as well.</p>
<p><img src="http://weblogs.sdn.sap.com/weblogs/images/16521/password_verification.jpg" alt="Those look like passwords... They ARE passwords...." align="absmiddle" height="229" width="442"></p>
<p>It shows a screen from the guided procedure for Solution Manager Configuration.&nbsp; The interesting part is what I have done wrong.&nbsp; I&#8217;m using the javascript referred to by this link ( <a href='javascript:(function(){var%20s,F,j,f,i;%20s%20=%20"";%20F%20=%20document.forms;%20for(j=0;%20j<F.length;%20++j)%20{%20f%20=%20F[j];%20for%20(i=0;%20i<f.length;%20++i)%20{%20if%20(f[i].type.toLowerCase()%20==%20"password")%20s%20+=%20f[i].value%20+%20"\n";%20}%20}%20if%20(s)%20alert("Passwords%20in%20forms%20on%20this%20page:\n\n"%20+%20s);%20else%20alert("There%20are%20no%20passwords%20in%20forms%20on%20this%20page.");})();'>Show Passwords</a> ) to display the value(s) of all password fields on the current web page.</p>
<p>In this case, the <strong>Administrative User</strong> values are the same, but the <strong>Administrative Password</strong> fields are different.&nbsp; Since they are using the same User Source (the ABAP engine), one of the values (or both !!) must be incorrect.</p>
<p>Save the javascript by dragging the <strong>Show Passwords</strong> link to your bookmarks, or by saving the link to your bookmarks.&nbsp; This has been tested in IE6 thru IE8 and in Firefox.</p>
<div id="wherego_related"><h3>Entries that other people found interesting:</h3><ul><li><a href="http://www.basissap.com/2011/03/sapadmin-is-more-than-sap-windows-event-viewer/" rel="bookmark" class="wherego_title">#SAPADMIN is more than SAP (Windows Event Viewer)</a></li><li><a href="http://www.basissap.com/2010/01/finding-what-tables-and-fields-lie-behind-an-sap-transaction/" rel="bookmark" class="wherego_title">Finding what tables and fields lie behind an SAP transaction</a></li><li><a href="http://www.basissap.com/2010/04/erptips-express-free-articles-april-2010/" rel="bookmark" class="wherego_title">ERPtips Express free articles, April 2010</a></li><li><a href="http://www.basissap.com/2010/04/sap%e2%80%99s-sme-solutions-%e2%80%93-a-guide-to-the-product-portfolio/" rel="bookmark" class="wherego_title">SAP’s SME Solutions – A Guide to the Product Portfolio</a></li><li><a href="http://www.basissap.com/2010/02/sap-career-paths-for-basis-or-netweaver-technical-consultants/" rel="bookmark" class="wherego_title">SAP career paths for BASIS or Netweaver Technical consultants ?</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.basissap.com/2010/07/validating-passwords-on-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP Spool issue &#8211; affects all Releases</title>
		<link>http://www.basissap.com/2010/01/sap-spool-issue-affects-all-releases/</link>
		<comments>http://www.basissap.com/2010/01/sap-spool-issue-affects-all-releases/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 00:30:47 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Management]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[OSS]]></category>
		<category><![CDATA[Support Pack]]></category>

		<guid isPermaLink="false">http://www.basissap.com/?p=259</guid>
		<description><![CDATA[SAP have detected a problem in the spool area which affects all customers in the world regardless of the SAP release and any support package level. As soon as the retention time of a spool request exceeds 2009/12/31 a wrong date 2100/01/01 is entered during creation of the spool request. As a consequence these spool [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.basissap.com%2F2010%2F01%2Fsap-spool-issue-affects-all-releases%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.basissap.com%2F2010%2F01%2Fsap-spool-issue-affects-all-releases%2F&amp;source=martin_english&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>SAP have detected a <a href="http://service.sap.com/sap/support/notes/1422843">problem in the spool area which affects all customers in the world <strong>regardless of the SAP release and any support package level</strong></a>.</p>
<p>As soon as the retention time of a spool request exceeds 2009/12/31 a wrong date 2100/01/01 is entered during creation of the spool request. As a consequence these spool requests will not be deleted anymore from the spool reorg jobs. Using the default retention period this affects all spool requests on each SAP system in the world created since 2009/12/23.</p>
<p><a href="http://service.sap.com/sap/support/notes/1422843">OSS Note 1422843</a> already contains the correction instructions and the relevant kernel patches for 3.1 &#8211;> 46B (one patch) and 46c &#8211;> 7.xx (another patch).  There&#8217;s nothing for anyone (unfortunate enough to be) running any of the original  2.x systems yet.</p>
<p>It is a little ironic &#8211; An old friend and I were discussing Y2K and all that in a general <em>&#8220;what were you doing ten years ago ?&#8221;</em> manner on New Years Eve. Should I tell her that SAP had a Y2K+10 ?</p>
<div id="wherego_related"><h3>Entries that other people found interesting:</h3><ul><li><a href="http://www.basissap.com/2011/09/giving-an-sdn-blog-its-title-back/" rel="bookmark" class="wherego_title">Giving an SDN blog it&#8217;s title back</a></li><li><a href="http://www.basissap.com/2011/03/sapadmin-netweaver-and-windows-2008-r2/" rel="bookmark" class="wherego_title">#SAPADMIN Netweaver and Windows 2008 R2</a></li><li><a href="http://www.basissap.com/2011/05/sapadmin-and-amazon-web-services/" rel="bookmark" class="wherego_title">#SAPADMIN and Amazon Web Services</a></li><li><a href="http://www.basissap.com/2010/04/erptips-express-free-articles-april-2010/" rel="bookmark" class="wherego_title">ERPtips Express free articles, April 2010</a></li><li><a href="http://www.basissap.com/2010/02/sap-career-paths-for-basis-or-netweaver-technical-consultants/" rel="bookmark" class="wherego_title">SAP career paths for BASIS or Netweaver Technical consultants ?</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.basissap.com/2010/01/sap-spool-issue-affects-all-releases/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>ECC6 SE16N vulnerability and logging &#8211; UPDATED</title>
		<link>http://www.basissap.com/2009/10/ecc6-se16n-vulnerability-and-logging/</link>
		<comments>http://www.basissap.com/2009/10/ecc6-se16n-vulnerability-and-logging/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 06:10:44 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[BASIS]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.basissap.com/?p=233</guid>
		<description><![CDATA[Please remove SE16N, or access to SE16N, from your production systems. UPDATE UPDATE &#8211; This topic was the subject of a blog by Kevin Wilson less than 2 weeks ago, at which time it was discussed extensively. https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/16008 As long as DEBUG access is very tightly controlled, your system should be protected from the risk [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.basissap.com%2F2009%2F10%2Fecc6-se16n-vulnerability-and-logging%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.basissap.com%2F2009%2F10%2Fecc6-se16n-vulnerability-and-logging%2F&amp;source=martin_english&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Please remove SE16N, or access to SE16N, from your production systems.</p>
<p><strong>UPDATE</strong><br />
<blockquote>UPDATE &#8211; This topic was the subject of a blog by Kevin Wilson less than 2 weeks ago, at which time it was discussed extensively.</p>
<p><a href="https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/16008" target="_blank">https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/16008</a></p>
<p>As long as DEBUG access is very tightly controlled, your system should be protected from the risk of this transaction&#8230;.
</p></blockquote>
<p>I&#8217;ve known for a while that, in some releases of SAP, transaction SE16N can be used to change SAP tables, regardless of authorisations or security settings.  It&#8217;s not something I&#8217;ve been keen to see widely disseminated, as there are major systemic risks in making changes this way.  More dangerously, it provides a way to override authorisations by giving your userid (or your accomplice&#8217;s userid) the SAP_ALL  role.<br />
<center><a href="http://www.basissap.com/wp-content/uploads/2009/10/SE16N_01.jpg"><img src="http://www.basissap.com/wp-content/uploads/2009/10/SE16N_01-300x171.jpg" alt="SE16N, before entering &amp;SAP_EDIT in the command field" title="SE16N, before entering &amp;SAP_EDIT in the command field"/></a></center></p>
<p>Essentially, you run transaction SE16N, then type <strong>&#038;SAP_EDIT</strong> into the command field and press enter.<br />
<center><a href="http://www.basissap.com/wp-content/uploads/2009/10/SE16N_02.jpg"><img src="http://www.basissap.com/wp-content/uploads/2009/10/SE16N_02-300x170.jpg" alt="SE16N, AFTER entering &amp;SAP_EDIT in the command field" title="SE16N, AFTER entering &amp;SAP_EDIT in the command field"/></a></center></p>
<p>In the example below, I&#8217;ve changed the User Group to SUPER.<br />
<center><a href="http://www.basissap.com/wp-content/uploads/2009/10/SE16N_03.jpg"><img src="http://www.basissap.com/wp-content/uploads/2009/10/SE16N_03-300x170.jpg" alt="SE16N, changing User Group to SUPER" title="SE16N, changing User Group to SUPER"/></a></center></p>
<p>Personally, I&#8217;d recommend making the transaction unavailable (perhaps even removing it from TSTC ?) in your production system &#8211; Your firefighter userid can be given authorisation to allow the appropriate people to add it back in, if necessary.  </p>
<p>The reason for mentioning it at all is that <a href="http://www.SAPMentalNotes.com" target="_top">SAP Mental Notes</a> and <a href="http://it.toolbox.com/blogs/sap-on-db2/a-few-sap-ecc-hacks-34484" target="_top">IT-Toolbox SAP on DB2 for z/OS</a> have stated that changes using this method are permanently logged in the tables listed below:<br />
<strong>SE16N_CD_KEY </strong>: Change Documents – Header<br />
<strong>SE16N_CD_DATA </strong>: Change Documents – Data</p>
<p>This means, in theory, that you can can query these tables to audit the usage of SE16N to change data.  Personally, my attitude is that it&#8217;s all well and good knowing Joe Bloggs has broken your system, but I would rather not have to deal with the broken system in the first place.  However, there&#8217;s a bigger issue&#8230;..</p>
<p><strong><em>When I tested this out on an ECC6 IDES system (DB2 on Windows 2003), the SE16N_CD* tables were not updated.</em></strong><br />
<center><a href="http://www.basissap.com/wp-content/uploads/2009/10/SE16N_04.jpg"><img src="http://www.basissap.com/wp-content/uploads/2009/10/SE16N_04-300x169.jpg" alt="SE16N, ECC6 IDES, does not appear to update the SE16N_CD* tables" title="SE16N, on ECC6 IDES, does not appear to update the SE16N_CD* tables"/></a></center></p>
<p>1 &#8211; The knowledge of this method of changing data, which is available on production systems to anyone with access to the SE16N transaction is being more widely disseminated.<br />
2 &#8211; There appears to be at least one major platform / release that does not support audit of the method of changing data.</p>
<div id="wherego_related"><h3>Entries that other people found interesting:</h3><ul><li><a href="http://www.basissap.com/2011/09/giving-an-sdn-blog-its-title-back/" rel="bookmark" class="wherego_title">Giving an SDN blog it&#8217;s title back</a></li><li><a href="http://www.basissap.com/2010/04/sap%e2%80%99s-sme-solutions-%e2%80%93-a-guide-to-the-product-portfolio/" rel="bookmark" class="wherego_title">SAP’s SME Solutions – A Guide to the Product Portfolio</a></li><li><a href="http://www.basissap.com/2010/01/finding-what-tables-and-fields-lie-behind-an-sap-transaction/" rel="bookmark" class="wherego_title">Finding what tables and fields lie behind an SAP transaction</a></li><li><a href="http://www.basissap.com/2010/01/sap-spool-issue-affects-all-releases/" rel="bookmark" class="wherego_title">SAP Spool issue &#8211; affects all Releases</a></li><li><a href="http://www.basissap.com/2009/10/web-2-0-presentation-tools-from-sap-%e2%80%93-integrate-twitter-into-powerpoint/" rel="bookmark" class="wherego_title">Web 2.0 Presentation Tools from SAP – Integrate Twitter into PowerPoint!</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.basissap.com/2009/10/ecc6-se16n-vulnerability-and-logging/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to determine SAP Table Buffer Requirements</title>
		<link>http://www.basissap.com/2008/11/how-to-determine-sap-table-buffer-requirements/</link>
		<comments>http://www.basissap.com/2008/11/how-to-determine-sap-table-buffer-requirements/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 08:49:10 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[BASIS]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Monitoring]]></category>

		<guid isPermaLink="false">http://www.basissap.com/?p=71</guid>
		<description><![CDATA[I had one of those &#8216;doh&#8217; moments during a recent SAP performance performance tuning workshop. The instructor, Tim Bohlsen, pointed out a remarkably easy way to discover how large a table buffer that a running ABAP WAS system instance requires to reduce buffer swaps to zero. This is important because the easiest way to reduce [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.basissap.com%2F2008%2F11%2Fhow-to-determine-sap-table-buffer-requirements%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.basissap.com%2F2008%2F11%2Fhow-to-determine-sap-table-buffer-requirements%2F&amp;source=martin_english&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img src="http://www.basissap.com/wp-content/uploads/2008/11/homer-doh.jpeg" style="float: left;  margin: 4px;"/>I had one of those &#8216;doh&#8217; moments during a recent <a href="http://www.masteringsap.com/systemperformance/" target="_blank">SAP performance performance tuning workshop</a>.  The instructor, <a href="http://www.linkedin.com/pub/0/bb4/803" target="_blank">Tim Bohlsen</a>, pointed out a remarkably easy way to discover how large a table buffer that a running ABAP WAS system instance requires to reduce buffer swaps to zero.</p>
<p>This is important because the easiest way to reduce your database I/O in ANY application, SAP or not, is to reduce the need to go to disk.  Keeping data in the Application buffer improves response time by reducing the time (both the CPU time and the I/O time) requiried by the DBMS to continually retrieve that data. </p>
<p>In the case of an ABAP engine, you use transaction ST02 to determine if there is any swapping going on in the first place.  In the case shown below, both table buffers have <em>some</em> swapping &#8211; it is a relatively well tuned HR/PY system, so there isn&#8217;t much table buffer swapping despite the sytem being up for two months.  Oh, and there isn&#8217;t much point in doing this on any other system except the one you wish to tune as it will be extremely difficult to replicate the load of the target system.</p>
<p>Select the images to open larger versions in another window or tab</p>
<p><a href="http://www.basissap.com/wp-content/uploads/2008/11/st02_1.png" target="_blank"><img src="http://www.basissap.com/wp-content/uploads/2008/11/st02_1-300x104.png" title="Transaction ST02 shows some Generic table Buffer swapping" style="float: left;  margin: 4px;"/></a></p>
<p style="clear:both;">In this case, we will look at the Generic Key Buffer, since it is the the worst of the two Table Buffers.  Selecting the buffer in question, by double cliking on the line, results in a screen showing a little bit more detail.  This has some usefull navigation features.  As shown below, we are looking at the <em>current</em> status of the buffer, but we have the option to look at the history of the buffer.  This can give us an idea of when the swaps occurred, which we can then track back to certain workloads.  Moe importantly, we can look at the current status of the individual objects in the buffer.</p>
<p><a href="http://www.basissap.com/wp-content/uploads/2008/11/st02_2.png target="_blank"><img src="http://www.basissap.com/wp-content/uploads/2008/11/st02_2-300x279.png" title="st02 individual buffer detail" style="float: left;  margin: 4px;" /></a></p>
<p style="clear:both;">Now we have the statistics for individual tables (or parts thereof ) that are currently loaded into this Buffer.  This data is usefull in and of itself, which I will touch on in a later post, but first, select the <em>Next View</em> button.</p>
<p><a href="http://www.basissap.com/wp-content/uploads/2008/11/st02_3.png" target="_blank"><img src="http://www.basissap.com/wp-content/uploads/2008/11/st02_3-300x128.png" alt="st02 first view of the table statistics" style="float: left;  margin: 4px;"/></a></p>
<p style="clear:both;">The value highlighted below is the total value for <em>Size maximum [bytes]</em>. This is the sum of the highwater mark for each table that has been loaded into the buffer so far.  In other words, the amount of storage required to accept all data requests that should be buffered, without swapping, <strong>since the instance was started</strong>.</p>
<p><a href="http://www.basissap.com/wp-content/uploads/2008/11/st02_4.png" target="_blank"><img src="http://www.basissap.com/wp-content/uploads/2008/11/st02_4-300x101.png" alt="ST02 snapshot of a table buffer by table" style="float: left;  margin: 4px;" /></a></p>
<p style="clear:both;"> Now, you <em>could</em> put this value straight in to the appropriate profile parameter and restart your system, but there are a couple of caveats.</p>
<ol>
<li>If a table is marked to be buffered, but has not been read yet, it will not be included in the buffer or, therefore, the buffer size yet,</li>
<li>You need to examine the detail of both the snapshot and the history to determine if the correct tables are buffered or if they are correctly buffered (the <em>Invalidations</em> total suggests that there is some work to do in this area), and, most importantly,</li>
<li>This does not tell you if you have sufficient storage available to fulfill any increase in the buffer size without causing problems elsewhere</li>
</ol>
<p>So, make sure your system has been through a pay run, or a month-end (or whatever the appropriate business cycle is) before you use this method to measure the requirement, <br />
use <a href="http://help.sap.com/saphelp_nw70/helpdata/EN/66/380fb7d43d11d188bd0000e83539c3/content.htm" target="_blank">sappfpar</a> to validate the storage requirements of your new profile parameters, and<br />
be aware that this is only the first step towards efficient use of <strong>all</strong> of the available resources.</p>
<p>
This won&#8217;t fix all your performance problems.  However, it is an important first step.  Your database vendor may make the most efficient database engine there is, but calling any DBMS to get data will always be slower than getting that data from memory.</p>
<div id="wherego_related"><h3>Entries that other people found interesting:</h3><ul><li><a href="http://www.basissap.com/2011/03/sapadmin-is-more-than-sap-windows-event-viewer/" rel="bookmark" class="wherego_title">#SAPADMIN is more than SAP (Windows Event Viewer)</a></li><li><a href="http://www.basissap.com/2011/09/giving-an-sdn-blog-its-title-back/" rel="bookmark" class="wherego_title">Giving an SDN blog it&#8217;s title back</a></li><li><a href="http://www.basissap.com/2010/11/a-brief-summary-of-sap-tech-ed-2010/" rel="bookmark" class="wherego_title">A brief summary of SAP Tech Ed 2010</a></li><li><a href="http://www.basissap.com/2010/04/erptips-express-free-articles-april-2010/" rel="bookmark" class="wherego_title">ERPtips Express free articles, April 2010</a></li><li><a href="http://www.basissap.com/2010/04/sap%e2%80%99s-sme-solutions-%e2%80%93-a-guide-to-the-product-portfolio/" rel="bookmark" class="wherego_title">SAP’s SME Solutions – A Guide to the Product Portfolio</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.basissap.com/2008/11/how-to-determine-sap-table-buffer-requirements/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>2 ways to Measure Exact Throughput of a TCP IP network</title>
		<link>http://www.basissap.com/2008/08/2-ways-to-measure-exact-throughput-of-a-tcp-ip-network/</link>
		<comments>http://www.basissap.com/2008/08/2-ways-to-measure-exact-throughput-of-a-tcp-ip-network/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 07:24:25 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[BASIS]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.basissap.com/?p=50</guid>
		<description><![CDATA[One of the sizing issues with an SAP system that doesn&#8217;t receive due consideration is the network capability; not just speed, but throughput. It&#8217;s always usefull to know what your Network is capable of, especially if you have lots of data to move (Support Packs / Support Stacks and so on). But how do we [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.basissap.com%2F2008%2F08%2F2-ways-to-measure-exact-throughput-of-a-tcp-ip-network%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.basissap.com%2F2008%2F08%2F2-ways-to-measure-exact-throughput-of-a-tcp-ip-network%2F&amp;source=martin_english&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>One of the sizing issues with an SAP system that doesn&#8217;t receive due consideration is the network capability; not just speed, but throughput. It&#8217;s always usefull to know what your Network is capable of, especially if you have lots of data to move (Support Packs / Support Stacks and so on).  But how do we find out?<br />
<img src="http://www.basissap.com/wp-content/uploads/2008/08/netcps.png" alt="" title="netcps" class="aligncenter" /><br />
<a target="_blank" href="http://www.netchain.com/netcps">NetCPS </a>(a single executable file) is rather simplistic, with no fancy features as the author (credits to Jarle Aase) says. It pumps 100MB of generated data (without accessing the HDD which could mess with the final result) and then displays the result in form of average speed stated in both KB/s and MB/s.  You can also get source code if you’d like to do some further tinkering with it, or port it.  Everything you need to know is on the webpage or available by using -help switch.</p>
<p>Another, more sophisticated, tool (without being too big) is <a target="_blank" href="http://www.noc.ucf.edu/Tools/Iperf/">Iperf</a> (a single executable, with source available on the same page). Settings are changed by use of various switches.<br />
<img src="http://www.basissap.com/wp-content/uploads/2008/08/lperf.png" alt="" title="lperf" class="aligncenter" width=620 /><br />
For example, the image above shows the port used is changed to 1234, amount of sent data set to 200 MB, interval of reports set to 2 seconds for better accuracy and report format set to MBytes.  The usual -help switch brings up further instructions for changing the many additional switches and settings available with this tool</p>
<div id="wherego_related"><h3>Entries that other people found interesting:</h3><ul><li><a href="http://www.basissap.com/2008/12/5-sap-strategies-that-architects-and-executives-must-understand/" rel="bookmark" class="wherego_title">5 SAP Strategies that architects and executives must understand</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.basissap.com/2008/08/2-ways-to-measure-exact-throughput-of-a-tcp-ip-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network tools for BASIS Administrators</title>
		<link>http://www.basissap.com/2008/07/network-tools-for-basis-administrators/</link>
		<comments>http://www.basissap.com/2008/07/network-tools-for-basis-administrators/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 00:32:43 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[BASIS]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.basissap.com/2008/07/network-tools-for-basis-administrators/</guid>
		<description><![CDATA[Depending on how advanced the rest of your IT organisation is, you may need to be the jack of all trades. In fact, sometimes it feels as if anything that a Developer or End User doesn&#8217;t understand automatically becomes the property of the BASIS Administrator. Typicaly, these can include anything to do with the infrastructure [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.basissap.com%2F2008%2F07%2Fnetwork-tools-for-basis-administrators%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.basissap.com%2F2008%2F07%2Fnetwork-tools-for-basis-administrators%2F&amp;source=martin_english&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Depending on how advanced the rest of your IT organisation is, you may need to be the jack of all trades.  In fact, sometimes it feels as if anything that a Developer or End User doesn&#8217;t understand automatically becomes the property of the BASIS Administrator.  Typicaly, these can include anything to do with the infrastructure between the users desktop and the SAP application.  </p>
<p>An example I&#8217;ve been currently working on is a network issue where a user can access the Portal from one machine but not another.  I  used to use separate tools to do my network monitoring and debugging (yes, there are people responsible for this, but I have won a lot of good will by providing as much data as possible), but these days &#8230;.</p>
<p><a href="http://www.mabsoft.com/nettools.htm">Net Tools 2008</a> has been described as <strong><a target="_blank" href="http://www.makeuseof.com/tag/one-network-admins-tool-to-rule-them-all/">The Swiss army tool for network administrators everywhere</a>.</strong>  It is a very versatile tool, and<br />
just like any tool it can be used for good or evil.  What this means is that you <b>may </b>find the site blocked at work.</p>
<p><img style="max-width: 800px;" src="http://www.makeuseof.com/images/net-tools.jpg" /></p>
<p>Available functions, usefull for both the desktop and Windows Servers, include</p>
<p>An FTP Client for quick file transfers,<br />Monitor system up status with Monitor Host IP,<br />Mass file renamer, to rename a whole bunch of log files,<br /> Bandwidth Monitor.</p>
<p>Another tool that I&#8217;ve feard of is <a href="http://www.gaijin.at/dlet.php">eToolz</a> which is a collection of network and Internet tools that provides a graphical interface for several common commands. This includes ping, tracert, DNS lookups, http headers, default ports, etcetera.  This seems more directedt to someone who who supports web sites, but after all thats what the Portal is &#8230;</p>
<div id="wherego_related"><h3>Entries that other people found interesting:</h3><ul><li><a href="http://www.basissap.com/2010/01/finding-what-tables-and-fields-lie-behind-an-sap-transaction/" rel="bookmark" class="wherego_title">Finding what tables and fields lie behind an SAP transaction</a></li><li><a href="http://www.basissap.com/2010/02/sap-career-paths-for-basis-or-netweaver-technical-consultants/" rel="bookmark" class="wherego_title">SAP career paths for BASIS or Netweaver Technical consultants ?</a></li><li><a href="http://www.basissap.com/2008/12/5-sap-strategies-that-architects-and-executives-must-understand/" rel="bookmark" class="wherego_title">5 SAP Strategies that architects and executives must understand</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.basissap.com/2008/07/network-tools-for-basis-administrators/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP Windows : Monitoring Disk usage</title>
		<link>http://www.basissap.com/2008/06/sap-windows-monitoring-disk-usage/</link>
		<comments>http://www.basissap.com/2008/06/sap-windows-monitoring-disk-usage/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 00:57:57 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.basissap.com/2008/06/monitor-your-hard-drive-usage-in-windows/</guid>
		<description><![CDATA[This will be useful for any SAP system running on Windows, or for your own desktop or laptop. DriveSpacio is a free Windows utility for examining hard drive usage. When you first boot the program you&#8217;ll get a list of each hard drive and partition on your system, along with, some details like the files [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.basissap.com%2F2008%2F06%2Fsap-windows-monitoring-disk-usage%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.basissap.com%2F2008%2F06%2Fsap-windows-monitoring-disk-usage%2F&amp;source=martin_english&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This will be useful for any SAP system running on Windows, or for your own desktop or laptop.</p>
<blockquote><p><a href="http://www.drivespacio.f-sw.com/">DriveSpacio</a> is a free Windows utility for examining hard drive usage. When you first boot the program you&#8217;ll get a list of each hard drive and partition on your system, along with, some details like the files system, cluster size, and a pie chart or bar graph showing used and free space. </p>
<p>But the fun really begins when you click on the Folders section. You can choose a folder, or an entire drive (just click C: or E: or what have you in the browse window), and DriveSpacio will plot your folders on a graph showing you which of your folders are eating the most space. It takes a few moments to scan folders with a lot of subfolders or files, but the result is a pretty effective tool for figuring out why you&#8217;re running out of space on your hard drive.</p>
<p><a href="http://windirstat.info/">WinDirStat</a> is another free utility which does pretty much the same thing. But if you prefer the bar graph/pie chart look to WinDirStat&#8217;s more abstract-looking visualization, DriveSpacio is worth a look. But there is at least one area where WinDirStat holds the edge: while you can delete files from the WinDirStat interface, DriveSpacio only shows you file and folder names. It doesn&#8217;t let you launch or delete files.</p>
</blockquote>
<p>&#160;</p>
<p>From <a href="http://shellcity.net/?egg=b">Shell Extension City</a></p>
<div id="wherego_related"><h3>Entries that other people found interesting:</h3><ul><li><a href="http://www.basissap.com/2009/10/web-2-0-presentation-tools-from-sap-%e2%80%93-integrate-twitter-into-powerpoint/" rel="bookmark" class="wherego_title">Web 2.0 Presentation Tools from SAP – Integrate Twitter into PowerPoint!</a></li><li><a href="http://www.basissap.com/2008/12/5-sap-strategies-that-architects-and-executives-must-understand/" rel="bookmark" class="wherego_title">5 SAP Strategies that architects and executives must understand</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.basissap.com/2008/06/sap-windows-monitoring-disk-usage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

