<?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; Debugging</title>
	<atom:link href="http://www.basissap.com/category/debugging/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>Giving an SDN blog it&#8217;s title back</title>
		<link>http://www.basissap.com/2011/09/giving-an-sdn-blog-its-title-back/</link>
		<comments>http://www.basissap.com/2011/09/giving-an-sdn-blog-its-title-back/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 04:50:14 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[SAP-related sites]]></category>

		<guid isPermaLink="false">http://www.basissap.com/?p=389</guid>
		<description><![CDATA[There&#8217;s change in the air for SDN, but in the meantime I saw a tweet the other day from DJ Adams&#8230;. There&#8217;s not much chance of it getting fixed now, as the new SDN, as a new SDN based on Jive 5, will be going live before the end of the year. However, the community [...]]]></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%2F09%2Fgiving-an-sdn-blog-its-title-back%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.basissap.com%2F2011%2F09%2Fgiving-an-sdn-blog-its-title-back%2F&amp;source=martin_english&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>There&#8217;s change in the air for SDN, but in the meantime I saw a tweet the other day from DJ Adams&#8230;.<br />
<a href="http://twitter.com/#!/qmacro/status/116497974309294080"><img src="http://www.basissap.com/wp-content/uploads/2011/09/qmacro.jpg" alt="" title="qmacro tweets a complaint that text for URL links is always &quot;SAP Community Network Blogs&quot;" width="650" height="300" class="aligncenter size-full" /></a></p>
<p>There&#8217;s not much chance of it getting fixed now, as the new SDN,  <a href="http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/24980" target="_top">as a new SDN</a> based on Jive 5, <a href="http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/25840" target="_top">will be going live</a><br />
before the end of the year.  However, the community comes to the rescue, with <a href="http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/26224">Sascha Wenninger</a> posting a bookmarklet that is meant to take <a href="https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/26224">https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/26224</a> (with a title of SAP Community Network Blogs) and replaces it with <a href="https://weblogs.sdn.sap.com/cs/blank/view/wlg/26224">https://weblogs.sdn.sap.com/cs/blank/view/wlg/26224</a>, with the correct title.  Unfortunately, his one doesn&#8217;t always work. For example, it assumes that the url starts with https, which requires you to logon to SDN before you can run it.  So I modified, and present for your edification the <a href="javascript:(function(){var%20w=window,l=w.location,regex=/^http?:\/\/[\w\.]*sdn.sap.com[\w.\/\?=]*?blog[\w.\/\?=]*?\/pub\/wlg\/([0-9]+)/,bno;if(regex.exec(l)!==null){bno=regex.exec(l)[1];w.location='https://weblogs.sdn.sap.com/cs/blank/view/wlg/'+bno;}else{alert('Sorry,%20this%20only%20works%20on%20SCN%20blogs.');}})();">Unwrap SDN Blog</a> bookmarklet.</p>
<p>Drag the <a href="javascript:(function(){var%20w=window,l=w.location,regex=/^http?:\/\/[\w\.]*sdn.sap.com[\w.\/\?=]*?blog[\w.\/\?=]*?\/pub\/wlg\/([0-9]+)/,bno;if(regex.exec(l)!==null){bno=regex.exec(l)[1];w.location='https://weblogs.sdn.sap.com/cs/blank/view/wlg/'+bno;}else{alert('Sorry,%20this%20only%20works%20on%20SCN%20blogs.');}})();">Unwrap SDN Blog</a> bookmarklet to your tool bar, go to <a href="http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/26224">Sascha&#8217;s blog post</a>, and hit the bookmarklet.</p>
<p>hth</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/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/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/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/09/giving-an-sdn-blog-its-title-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAPCAR is SAPCAR &#8230;&#8230;</title>
		<link>http://www.basissap.com/2010/12/sapcar-is-sapcar/</link>
		<comments>http://www.basissap.com/2010/12/sapcar-is-sapcar/#comments</comments>
		<pubDate>Sat, 11 Dec 2010 15:24:29 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[BASIS]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Support Pack]]></category>

		<guid isPermaLink="false">http://www.basissap.com/?p=363</guid>
		<description><![CDATA[Over Christmas / New year, I&#8217;ll be upgrading a customer from a very old (as in unsupported by both the vendor and SAP) release of their database to the latest release supported by 46C.&#160; As part of the exercise, we are bring the Support Packs (Support Stacks came in after 4.6C) up to date.&#160; However, [...]]]></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%2F12%2Fsapcar-is-sapcar%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.basissap.com%2F2010%2F12%2Fsapcar-is-sapcar%2F&amp;source=martin_english&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Over Christmas / New year, I&#8217;ll be upgrading a customer from a very old (as in unsupported by both the vendor and SAP) release of their database to the latest release supported by 46C.&nbsp; As part of the exercise, we are bring the Support Packs (Support Stacks came in after 4.6C) up to date.&nbsp; However, when I loaded the Support Packs into the target system&#8217;s <strong>/usr/sap/trans</strong>, I couldn&#8217;t decompress them for processing via transaction SPAM.</p>
<p>I transferred the latest SPAM (SAPKD00040) and the 50 Support Packs (yes, I know) required from <a href="http://service.sap.com/swdc" target="_top">http://service.sap.com/swdc</a> to the UNIX server via my PC.&nbsp; When I started decompressing the Support packs on the UNIX system, everything went OK for the BASIS (KB46Cxx.CAR) and and ABAP (KA46Cxx.CAR) Support Packs, but when I went to decompress some of the R3 Support Packages, SAPCAR failed (with a less than useful message).</p>
<p><img src="http://www.basissap.com/wp-content/uploads/2010/12/20101122_blog00.jpg" alt="I was UNABLE to decompress KH46C36.CAR using an AIX version of SAPCAR on my AIX server" border="0" height="249" width="600"></p>
<p>&nbsp;</p>
<p>The tool used to decompress the CAR files is SAPCAR &#8211; SAP&#8217;s own version of the <a href="http://linux.about.com/od/commands/l/blcmdl1_tar.htm" target="_blank">UNIX / Linux tool tar</a>.&nbsp; I sat back and had a think about what SAPCAR actually does, and what could have gone wrong.&nbsp; My first thought was that I had corrupted the files somehow in the transfer process.&nbsp; I still had the CAR files on my PC, so I downloaded <strong>SAPCAR_5-10000854.EXE</strong> (4.6D 32-BIT Windows Server on IA32 32bit &#8211; a windows compatible version of SAPCAR) to test whether the CAR files on the PC were OK &#8211; I went to <a href="http://service.sap.com/swdc" target="_self">http://service.sap.com/swdc</a>, selected &#8216;Search for Support Packages and Patches in the Archive&#8217;, and searched for SAPCAR, but you can also search directly for <strong>SAPCAR_5-10000854.EXE</strong> (remember that the part of the name following SAPCAR will differ between SAP different releases and platforms).</p>
<p><img src="http://www.basissap.com/wp-content/uploads/2010/12/20101122_blog01.jpg" alt="I downloaded a windows version of SAPCAR to my PC" border="0" height="358" width="600"></p>
<p>&nbsp;</p>
<p>When I attempted to decompress KH46C36.CAR on my PC using SAPCAR_5-10000854.EXE, it worked quite happily.&nbsp; More importantly, it also worked for all the CAR files that were causing me problems on the AIX server.</p>
<p><img src="https://weblogs.sdn.sap.com/weblogs/images/16521/20101122_blog02.jpg" alt="I was able to decompress KH46C36.CAR using a Windows version of SAPCAR on my PC" border="0" height="473" width="600"></p>
<p>&nbsp;</p>
<p>Now, remember that I was thinking that the original problem was caused by corruption during the file transfer, either from SAP to my PC, or from my PC to the server.&nbsp; The logical conclusion, if that was the case, would be to restart the transfer at whichever step had corrupted the file(s).&nbsp; However, because it appeared that the problem <em>may have been with the UNIX SAPCAR</em>, I wondered whether the decompressed files created on the Windows system would work with the AIX system.&nbsp; As it turned, after I transferred the decompressed files from Windows to the <strong>EPS/in </strong>directory on the AIX system, I was able to import the the Support package using SPAM.</p>
<p>This makes sense, given that what we are working with is the source of the platform independent ABAP code.&nbsp; The code that ends up in the transport may look differently depending on the machine architechture (read up on <a href="http://en.wikipedia.org/wiki/Little_endian" target="_top">little endian versus big endiann</a>), but the contents of the transport will be the same across platforms, for the same release of SAP.&nbsp; On the other hand, if I wanted to upgrade AIX or DBMS specific parts of this particular installation, I would be upgrading the kernel (i.e. /sapmnt/XXX/exe for 4.6C) files, not loading my data into the system via SPAM.&nbsp; </p>
<p>More to the point, what does this get me ?</p>
<p>I can get the OS / DBMS independent upgrades completed, so that <strong>the testiers don&#8217;t get held up</strong>.&nbsp; I get this done before <strong>I get distracted by tracking down the kernel error </strong>(i.e. why the AIX SAPCAR doesn&#8217;t work).&nbsp; The division between SAP Application code and the Operating System / DBMS dependent code allows for some interesting ways of solving problems. Where have you used code or executables for one platform to help fix a problem on another platform ?</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-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/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/11/a-brief-summary-of-sap-tech-ed-2010/" rel="bookmark" class="wherego_title">A brief summary of SAP Tech Ed 2010</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.basissap.com/2010/12/sapcar-is-sapcar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BASIS at the Operating System &#8211; tp check all</title>
		<link>http://www.basissap.com/2010/09/basis-at-the-operating-system-tp-check-all/</link>
		<comments>http://www.basissap.com/2010/09/basis-at-the-operating-system-tp-check-all/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 02:05:54 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[BASIS]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Debugging]]></category>

		<guid isPermaLink="false">http://www.basissap.com/?p=351</guid>
		<description><![CDATA[It started with a request to bring a 46C landscape up to date.&#160; The starting levels for the Basis, ABA and R3 Support Packages were all at the low 20&#8242;s, while the target level for each of them was level 53.&#160; This meant I needed to install about 90 support packs per instance.&#160; Comparing the [...]]]></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%2F09%2Fbasis-at-the-operating-system-tp-check-all%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.basissap.com%2F2010%2F09%2Fbasis-at-the-operating-system-tp-check-all%2F&amp;source=martin_english&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>It started with a request to bring a 46C landscape up to date.&nbsp; The starting levels for the Basis, ABA and R3 Support Packages were all at the low 20&#8242;s, while the target level for each of them was level 53.&nbsp; </p>
<p>This meant I needed to install about 90 support packs per instance.&nbsp; Comparing the sizes of the Support Packages against the space available in <strong>/usr/sap/trans </strong>suggested that I might be able to fit everything in without annoying the Storage Management team, if I was able to clean up all the old transports.</p>
<p>Which was where I hit the snag:</p>
<blockquote><p>zuxdc22:dp1adm 19&gt; tp check all pf=TP_DOMAIN_DP1.PFL<br />This is tp version 305.13.24 (release 46D) for ANY database
<p>check&gt;Log file is written to /usr/sap/trans/tmp/CHECK.LOG</p>
<p>check&gt;<br />check&gt;Collected 22 filenames from [/usr/sap/trans/buffer/.]<br />check&gt;Collected 5 Systemnames from [/usr/sap/trans/buffer/.]<br />check&gt;Collected 00160 out of 00160 entries from buffer ZP1.<br />check&gt;Collected 01233 out of 01233 entries from buffer TP1.<br />check&gt;Collected 03037 out of 03189 entries from buffer PP1.<br />check&gt;Collected 00094 out of 03254 entries from buffer QP1.<br />check&gt;Collected 00023 out of 02671 entries from buffer DP1.<br />check&gt;Collected 04547 entries from buffers<br />check&gt;.<br />check&gt;Collected 5082 filenames from [/usr/sap/trans/cofiles/.]<br />check&gt;Found 3 invalid filenames on Cofile-directory<br />check&gt;No Cofile found for TA STOPMARK<br />check&gt;HALT 20100916141327<br />ERROR: A target system group (/U9C_ALR/) is used with a name longer than 3.<br /> This is only possible with NBUFFORM=TRUE!<br />ERROR: EXIT(16) -&gt; process ID is: 87782</p>
<p>tp returncode summary:</p>
<p>TOOLS: Highest return code of single steps was: 16<br />ERRORS: Highest tp internal error was: 0204<br />tp finished with return code: 204<br />meaning:<br /> parameter is missing<br />zuxdc22:dp1adm 20&gt; </p>
</blockquote>
<p>&nbsp;</p>
<p>However, when I checked the domain profile <strong>TP_DOMAIN_DP1.PFL</strong>, the values for NBUFFORM (and a related parameter, CTC) were set correctly&#8230;.</p>
<blockquote><p>#</p>
<p>TRANSDIR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= /usr/sap/trans<br />
#<br />
DP1/CTC &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 1</p>
<p>DP1/DBHOST &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= zuxdc22<br />
DP1/DBNAME &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= DP1<br />
DP1/DBTYPE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= db6</p>
<p>DP1/NBUFFORM &nbsp; &nbsp; &nbsp; &nbsp;= 1</p></blockquote>
<p>&nbsp;</p>
<p>But that&#8217;s OK &#8211; This problem (<em>NBUFFORM and CTC are set correctly, but don&#8217;t take effect</em>) will probably be fixed when I upgrade the kernel, which I&#8217;m going to have to do as part of the Support Pack upgrades.&nbsp; But I need to upgrade the kernel when I upgrade the Support Packs, and I couldn&#8217;t reliably do that until I cleaned out the transport directories.&nbsp; Which required an upgrade to the kernel, &#8230;.. and of course what happens if the kernel upgrade <strong>doesn&#8217;t</strong> fix the problem ? I needed another solution.</p>
<p>Sometimes you need more than SAP knowledge to get things going.&nbsp; At this point, I knew there was at least one &#8216;invalid&#8217; Target System Group in the transport directories, with at least one transport using it.&nbsp; So I decided to find out what that transport&nbsp; (and any others with the same Target System Group !!) was &#8230;. </p>
<blockquote><p>zuxdc22:dp1adm 21&gt; cd ../cofiles</p>
<p>zuxdc22:dp1adm 22&gt; pwd<br />
/usr/sap/trans/cofiles<br />
zuxdc22:dp1adm 23&gt; grep U9C_ALR *.*<br />
K111738.DP1:HERMANNMA &nbsp; &nbsp;K /U9C_ALR/ &nbsp;3 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 0 1 46C &nbsp; . &nbsp;0 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 0 000</p>
<p>zuxdc22:dp1adm 24&gt;</p></blockquote>
<p>Remembering that the contents of the <strong>/usr/sap/trans/cofiles</strong> directory are text files (the <strong>/usr/sap/trans/data</strong> files are binary), I was able to edit the <strong>cofile </strong>for the transport in error (I used <strong>vi </strong>because this was on an AIX system).<br />
<blockquote>zuxdc22:dp1adm 24&gt; vi K111738.DP1</p>
<p>zuxdc22:dp1adm 22&gt; pwd<br />
/usr/sap/trans/cofiles<br />
zuxdc22:dp1adm 23&gt; head K111738.P9C<br />
HERMANNMA &nbsp; &nbsp;K U9C &nbsp;3 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 1 &nbsp;46C &nbsp; . &nbsp;0 &nbsp; 0</p>
<p>0 &nbsp; 0 &nbsp; 0 000<br />
&#8230;.<br />
&#8230;.<br />
zuxdc22:dp1adm 24&gt;
</p></blockquote>
<p>&nbsp;</p>
<p>I corrected the transport in error, and reran <strong>tp check all </strong>to see if there was anything else in error, before running  <strong>tp testold</strong> or<strong> tp clearold</strong>.</p>
<p>&nbsp;</p>
<p><strong><u>Some Notes</u></strong><br />This is a fairly esoteric example of where pure SAP skills won&#8217;t help with an SAP related problem.&nbsp; It was actually worse than I&#8217;ve described above, as my second run of <strong>tp check all</strong> highlighted a Target System Group that had 45 transports belonging to it.&nbsp; I fixed these, thinking if there were any more errors, I would have to find a different way to approach the problem, but they were the last errors.</p>
<p>Depending on the number of errors, I would also look at installing the latest copies of the tp programs and modules in a separate directory.&nbsp; Without having gone through it, I can&#8217;t think of any logical problems, but it would have been an interesting exercise&#8230;&nbsp; It may have been more time consuming, though, which also needs to be taken into consideration.&nbsp; For what its worth, the way to check the release level of the <strong>tp</strong> program is described in <a href="http://service.sap.com/sap/support/notes/155350" target="_top">OSS Note 155350</a>.</p>
<p><em>When have you had to go above and beyond SAP, to get the job done ?&nbsp; What non SAP skills do you get to use on a regular basis in your SAP work ?</em></p>
<div id="wherego_related"><h3>Entries that other people found interesting:</h3><ul><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/2010/07/validating-passwords-on-websites/" rel="bookmark" class="wherego_title">Validating Passwords on Websites</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.basissap.com/2010/09/basis-at-the-operating-system-tp-check-all/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>ERPtips Express free articles, April 2010</title>
		<link>http://www.basissap.com/2010/04/erptips-express-free-articles-april-2010/</link>
		<comments>http://www.basissap.com/2010/04/erptips-express-free-articles-april-2010/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 01:24:30 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Debugging]]></category>
		<category><![CDATA[SAP-related sites]]></category>

		<guid isPermaLink="false">http://www.basissap.com/?p=279</guid>
		<description><![CDATA[Every two months ERPtips Express publish a set of three of their articles as a sample of whats available under their subscription model. This months edition includes three detailed articles. &#160; BI: Getting Optimum Performance from Your SAP BI/BW Environment, by Arthur Pesa. This article acquaints you with the different dependencies found in the BI/BW [...]]]></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%2F04%2Ferptips-express-free-articles-april-2010%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.basissap.com%2F2010%2F04%2Ferptips-express-free-articles-april-2010%2F&amp;source=martin_english&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Every two months <a href="http://www.erptips.com/">ERPtips Express</a> publish a set of three of their articles as a sample of whats available under their subscription model.</p>
<p>This months edition includes three detailed articles.</p>
<p>&nbsp;</p>
<p><strong>BI: Getting Optimum Performance from Your SAP BI/BW Environment</strong>, by Arthur Pesa.</p>
<p>This article acquaints you with the different dependencies found in the BI/BW environment that can impact your system&#8217;s performance, and how to properly assess them.</p>
<p><strong>Data Archiving: Archiving SAP Sales Documents, Part I: Analysis</strong>, by Breck Whitten.</p>
<p>There are many loopholes that can leave old data unarchived, without your realizing it. This article covers some of them, which may lead you to revisit your Sales Document archiving strategy.</p>
<p><strong>ABAP: Flexible Programming Continued: Using Field Symbols and References</strong>, by Rehan Zaidi.</p>
<p>This article delves into how to combine field symbols and data references using a dynamic programming technique. This is quite usefull knowledge for debugging as its quite widely used in the standard SAP programs.</p>
<p>&nbsp;</p>
<p>These articles are available free of charge, but get replaced by new free content every two months, again fee of charge, at <a href="http://www.erptips.com/Express.asp" target="_top">http://www.ERPtips.com/Express.asp</a>.</p>
<div id="wherego_related"><h3>Entries that other people found interesting:</h3><ul><li><a href="http://www.basissap.com/2010/07/validating-passwords-on-websites/" rel="bookmark" class="wherego_title">Validating Passwords on Websites</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/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/04/erptips-express-free-articles-april-2010/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Finding what tables and fields lie behind an SAP transaction</title>
		<link>http://www.basissap.com/2010/01/finding-what-tables-and-fields-lie-behind-an-sap-transaction/</link>
		<comments>http://www.basissap.com/2010/01/finding-what-tables-and-fields-lie-behind-an-sap-transaction/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 06:59:37 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[BASIS]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Debugging]]></category>

		<guid isPermaLink="false">http://www.basissap.com/?p=265</guid>
		<description><![CDATA[A standard BASIS problem is the generic &#8220;what is it doing and why ?&#8221; question. This could be in the context of debugging a program or process, or trying to work out what configuration changes are required to make something work. It generally occurs when the development or functional team have moved on, leaving someone [...]]]></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%2Ffinding-what-tables-and-fields-lie-behind-an-sap-transaction%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.basissap.com%2F2010%2F01%2Ffinding-what-tables-and-fields-lie-behind-an-sap-transaction%2F&amp;source=martin_english&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A standard BASIS problem is the generic <em>&#8220;what is it doing and why ?&#8221;</em> question. This could be in the context of debugging a program or process, or trying to work out what configuration changes are required to make something work. It generally occurs when the development or functional team have moved on, leaving someone who knows what to do but not why &#8211; usually a user (under pressure from their boss) who just wants to get the system doing what they&#8217;ve been told it should be doing&#8230;.  </p>
<p>However, your BASIS team (or person) has to be a jack of all trades, with not just a smattering of SAP functional knowledge, but also a working knowledge of Networking, Desktop PCs, the Operating System(s) and Databases(s) their SAP systems are running on and so on. </p>
<p>I&#8217;ve found that the best way of dealing with this <em>need to know something about everything</em> is <strong>not</strong> by trying to know everything, but by knowing <strong>how to find out</strong> everything.  An example of this is comes from <a href="http://www.consulting.mungapen.com/?p=197">Jerome Mungapen&#8217;s SAPLOG</a>, where he provides a useful reminder of some of the various ways of finding what tables and fields lie behind an SAP transaction:</p>
<blockquote><p>Have you ever been frustrated trying to find which table and field a piece of data is stored in. You can see it on the screen, and the old faithful F1 – F9 results in some useless structure information. Or have you ever started looking at a piece of functionality you are unfamiliar with wanting to find the table structures behind it in SAP. Well  this article shows my favorite five ways of digging under the hood to find out what’s going on.</p></blockquote>
<p>Jerome lists five methods, but one of them assumes you have the time (and need) to get really in depth knowledge of a given area of SAP.  I&#8217;ve listed the four methods I use (plus Jerome&#8217;s extra one) in the order I&#8217; use them when closely examining or debugging a transaction I&#8217;m unfamiliar with.</p>
<h4>Use a Different Field</h4>
<p>If the technical information pop up shows a structure and not a real field, just try another field on the same area of the screen.  It is surprising how often this works !!</p>
<h4>Use <strong>Where Used</strong> on the Data Element</h4>
<p>From the technical information pop up, select the data element then press <strong>Navigate</strong> to get to the <strong>Data Dictionary</strong>.  Once there, press the <strong>Where Used</strong> button.</p>
<h4>Trace Analysis</h4>
<p>Transactions <em>SE30 Runtime Analysis </em>and <em>ST05 SQL Trace</em> can be over-kill for determining what fields and tables are being used, but can be used to see how (for example) configuration data controls how and / or when the fields and tables are updated.  It&#8217;s also useful when dealing with Z or Y code, structures and tables.</p>
<h4>SE80 Object Navigator</h4>
<p>This is probably more useful for a functional person, and is not available on the older SAP releases anyway.  However, if you know the program behind the transaction, you can use SE80 to find all the Data Dictionary objects (including tables and fields) associated with that program.</p>
<h4>Environmental Analysis</h4>
<p>For those requiring a wider understanding of how a given area works in the SAP system.  <a href="http://www.consulting.mungapen.com/?p=197">Jerome&#8217;s explanation of Environmental Analysis</a> says it all.</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/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/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/07/validating-passwords-on-websites/" rel="bookmark" class="wherego_title">Validating Passwords on Websites</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.basissap.com/2010/01/finding-what-tables-and-fields-lie-behind-an-sap-transaction/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

