Site icon SAP Human Resources Experts And Solutions

How to read SAP system short dumps

&NewLine;<p>Well&comma; pretty easy&period; Google it&comma; search for SAP notes&comma; dive into already dead SAP SCN&sol;SDN forum&comma; take a gallon of coffee&comma; sprinkle it with a debugger&comma; learn ABAP and turn off social networks&period; Then it would take you only 5 minutes to read the system dump and fix the issue&period; Sounds easy&comma; huh&quest; Sometimes it&&num;8217&semi;s quicker to read the dump then to open a ticket with a developer and wait until it&&num;8217&semi;s resolved&period;<&sol;p>&NewLine;<p>In real life&comma; we have we could have two situations&colon; recent dumps and old ones&period; The difference is in timing&period; If we ran into something and a short dump occurred&comma; we can dive into a debugger right away and see the issue&period; If it&&num;8217&semi;s old&comma; it could be taught to understand what was the real cause of it&period; Usually&comma; a dump occurs when user inputs something not expected by the system&comma; like his name instead of a salary amount&period; In the first scenario just click on the debugger icon and the system opens a new window&comma; where we can do some investigation&period; Otherwise open transaction ST22 and find your short dump which is usually under your name&comma; but not necessarily&period; <&sol;p>&NewLine;<p>Here is the dump from my SAP system from HR module&period;<&sol;p>&NewLine;<figure class&equals;"wp-block-image"><img class&equals;"wp-image-3462" src&equals;"https&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;st22&lowbar;01&period;png" sizes&equals;"&lpar;max-width&colon; 934px&rpar; 100vw&comma; 934px" srcset&equals;"https&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;st22&lowbar;01&period;png 934w&comma; https&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;st22&lowbar;01-300x280&period;png 300w&comma; https&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;st22&lowbar;01-768x716&period;png 768w" alt&equals;"" data-attachment-id&equals;"3462" data-permalink&equals;"https&colon;&sol;&sol;saphr&period;ru&sol;2018&sol;09&sol;10&sol;kak-chitat-sistemnye-dampy-v-sap&sol;st22&lowbar;01&sol;" data-orig-file&equals;"https&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;st22&lowbar;01&period;png" data-orig-size&equals;"934&comma;871" data-comments-opened&equals;"1" data-image-meta&equals;"&lbrace;&quot&semi;aperture&quot&semi;&colon;&quot&semi;0&quot&semi;&comma;&quot&semi;credit&quot&semi;&colon;&quot&semi;&quot&semi;&comma;&quot&semi;camera&quot&semi;&colon;&quot&semi;&quot&semi;&comma;&quot&semi;caption&quot&semi;&colon;&quot&semi;&quot&semi;&comma;&quot&semi;created&lowbar;timestamp&quot&semi;&colon;&quot&semi;0&quot&semi;&comma;&quot&semi;copyright&quot&semi;&colon;&quot&semi;&quot&semi;&comma;&quot&semi;focal&lowbar;length&quot&semi;&colon;&quot&semi;0&quot&semi;&comma;&quot&semi;iso&quot&semi;&colon;&quot&semi;0&quot&semi;&comma;&quot&semi;shutter&lowbar;speed&quot&semi;&colon;&quot&semi;0&quot&semi;&comma;&quot&semi;title&quot&semi;&colon;&quot&semi;&quot&semi;&comma;&quot&semi;orientation&quot&semi;&colon;&quot&semi;0&quot&semi;&rcub;" data-image-title&equals;"st22&lowbar;01" data-image-description&equals;"" data-medium-file&equals;"https&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;st22&lowbar;01-300x280&period;png" data-large-file&equals;"https&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;st22&lowbar;01&period;png" &sol;><&sol;figure>&NewLine;<p>Many strange letters here&comma; but here is the trick&period; The system dump could happen in the customer program &lpar;read your developer did a bad job&rpar; or SAP namespace&period; The easy way to distinguish is to look into the object names like if they start with Y or Z&period; these could be field names&comma; class names&comma; program names&comma; routines&comma; etc&period; If it falls into the customer namespace&comma; then it&&num;8217&semi;s much easier to fix cause we have a developer on board and can fix this&period; Otherwise&comma; we need to search for SAP notes or support packages or even file a ticket with SAP Global Support and let them investigate our system&period; <&sol;p>&NewLine;<p>If you&&num;8217&semi;re a consultant&comma; not a developer&comma; stay with me and I&&num;8217&semi;ll show how to read system dumps&period; Developers won&&num;8217&semi;t find anything new here&period;<&sol;p>&NewLine;<p>The first and most obvious is to read what&&num;8217&semi;s written on the first page of the system short dump &lpar;who called it short when it&&num;8217&semi;s a huge long read&quest;&rpar;&period; IN 90&percnt; the issue is right here and self-explanatory&comma; like a value&comma; doesn&&num;8217&semi;t fit the field&comma; wrong field or there is no active version of a program&period; Don&&num;8217&semi;t close the window&comma; read it&excl; It could be a memory shortage and all you need is to restart the transaction &lpar;let&&num;8217&semi;s say you ran a huge report&rpar;&period; That&&num;8217&semi;s easy&excl; Or there is a broken network connection to other servers which will be back shortly&period; <&sol;p>&NewLine;<p>The next case is when it happened to our in-house development&period; We need to understand what code caused the dump&period; To figure this out let&&num;8217&semi;s scroll down a little to see the exact ABAP statement and row line in &&num;8216&semi;Information on where terminated&&num;8217&semi; and &&num;8216&semi;Source Code Extract&&num;8217&semi; sections&period; Have a look&period;<&sol;p>&NewLine;<figure class&equals;"wp-block-image"><img class&equals;"wp-image-3463" src&equals;"https&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;st22&lowbar;02&period;png" sizes&equals;"&lpar;max-width&colon; 709px&rpar; 100vw&comma; 709px" srcset&equals;"https&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;st22&lowbar;02&period;png 709w&comma; https&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;st22&lowbar;02-300x191&period;png 300w" alt&equals;"" data-attachment-id&equals;"3463" data-permalink&equals;"https&colon;&sol;&sol;saphr&period;ru&sol;2018&sol;09&sol;10&sol;kak-chitat-sistemnye-dampy-v-sap&sol;st22&lowbar;02&sol;" data-orig-file&equals;"https&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;st22&lowbar;02&period;png" data-orig-size&equals;"709&comma;452" data-comments-opened&equals;"1" data-image-meta&equals;"&lbrace;&quot&semi;aperture&quot&semi;&colon;&quot&semi;0&quot&semi;&comma;&quot&semi;credit&quot&semi;&colon;&quot&semi;&quot&semi;&comma;&quot&semi;camera&quot&semi;&colon;&quot&semi;&quot&semi;&comma;&quot&semi;caption&quot&semi;&colon;&quot&semi;&quot&semi;&comma;&quot&semi;created&lowbar;timestamp&quot&semi;&colon;&quot&semi;0&quot&semi;&comma;&quot&semi;copyright&quot&semi;&colon;&quot&semi;&quot&semi;&comma;&quot&semi;focal&lowbar;length&quot&semi;&colon;&quot&semi;0&quot&semi;&comma;&quot&semi;iso&quot&semi;&colon;&quot&semi;0&quot&semi;&comma;&quot&semi;shutter&lowbar;speed&quot&semi;&colon;&quot&semi;0&quot&semi;&comma;&quot&semi;title&quot&semi;&colon;&quot&semi;&quot&semi;&comma;&quot&semi;orientation&quot&semi;&colon;&quot&semi;0&quot&semi;&rcub;" data-image-title&equals;"st22&lowbar;02" data-image-description&equals;"" data-medium-file&equals;"https&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;st22&lowbar;02-300x191&period;png" data-large-file&equals;"https&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;st22&lowbar;02&period;png" &sol;><&sol;figure>&NewLine;<p>For example&comma; here the system shows something broken on line 7&period; In plain English it says some value in P&lowbar;NAME variable is missed&comma; so the system doesn&&num;8217&semi;t know how to proceed&period; If we have no clue why is that&comma; let&&num;8217&semi;s open the code&comma; throw a breakpoint at the beginning of this routine and rerun the transaction&period; The system will stop there and step-by-step we&&num;8217&semi;ll go over the code watching where this variable is filled&period; Why is it empty&quest; Maybe the system reads some customing tables with some key and there is no value inside&quest; A good point to open that table in SM30 and review configuration&period;<&sol;p>&NewLine;<p>If you scroll down to the &&num;8216&semi;Chosen Variables&&num;8217&semi; section&comma; there are variable values shown at the moment&period; Maybe something is&comma; issued or has a wrong value there and it&&num;8217&semi;s telling us the cause&quest; A developer was expecting a user to input date on 10&sol;10&sol;2020 format&comma; not 101020&comma; let&&num;8217&semi;s say&period; <&sol;p>&NewLine;<p>In &&num;8216&semi;Active Calls&sol;Events&&num;8217&semi; section we see the stack &&num;8211&semi; what routines&comma; classes had been called before we reached the outage point&period; If it&&num;8217&semi;s a background program where the dump occurred&comma; we can see the root cause&period; <&sol;p>&NewLine;<p>Rarely we can see system dumps caused by kernel or system packages&period; If we installed something new in the system and it&&num;8217&semi;s not compatible with the current configuration&period; Therefore we go straight to SAP Notes and search for it&period; It&&num;8217&semi;s a high chance the issue was already resolved and all you need is to install a new SAP note with SNOTE transaction&period; This is a good reason why it&&num;8217&semi;s not recommended to install the most recent patches&comma; but the most recent minus one &&num;8211&semi; somebody has already met that issue before you&period; <&sol;p>&NewLine;<p>If it&&num;8217&semi;s completely unusual and you&&num;8217&semi;ve tried everything and it didn&&num;8217&semi;t work&comma; try to look into &&num;8216&semi;How to correct the error&&num;8217&semi; section&period; They either say how to fix the issue or provide you with a set of keywords you should use to google or search in SAP Support Portal&period; It really helps&period;<&sol;p>&NewLine;<p>The last resort&period; If nothing works&comma; call the developer&period; They know how to dive very deeply and find the very root cause&period; Or open a ticket with SAP global Support&period; It&&num;8217&semi;s free of charge&period; <&sol;p>&NewLine;

Exit mobile version