Useful Transaction Codes in SAP

Jimbo's picture

Often during a career migrating legacy data it becomes a requirement to use more than the LSMW, SE16 and SM35 transactions. This is a list of useful transactions and the effects that make them useful. Where appropriate, an example of when to use the transaction is included.

AL08

List of All Users Logged On

This transaction allows one to see who is logged in and using an SAP system. This is a useful tool when a Fire Fighter account is locked and needs to be unlocked using the SM04 or SM50 transaction. It also allows one to see what transaction is being used at what terminal and for how long. This latter information can be used when deciding whether or not to use the SM12 transaction to delete a system lock.
AL08

AL11

SAP Directories

AL11 allows for the browsing of the folders on the SAP server. Chances are that LSMW .read and .conv files will end up in the DIR_TEMP folder. To view them, double-click on the DIR_TEMP folder and then double-click on the file to view it in SAP.
AL11

SM04

User List

In most implementations a client can close his own sessions. This is especially helpful when dealing with problematic transactions or RFCs that hang and do not release the session. Double-clicking on the User will bring up the sessions he has open. To close a session, select it and then click the "End Session" button.
SM04

SM12

Lock Entry List

Occasionally during an implementation another member of the team will open an object in SAP and then wander off into a meeting or leave for the day. In that case the object cannot be modified and the implementation grinds to a halt. Unlocking the object allows for the data associated with it to be loaded. Most likely the person who had the object locked will not even notice that the object was unlocked.

In the example below a material has been opened in the MM02 transaction. In order to unlock the object simply click on the line to be unlocked and then click the SM04Delete button. When prompted, select Yes to unlock the object.
SM12

SM50

Process Overview

This tool shows what processes are running and how long they have been running. When a process is hung in the system without explanation this transaction can be used to end it. Simply select the session to end and then click Program/Session→End Session.
SM50

ST05

SQL Trace (Performance Analysis)

Knowing what tables SAP accesses during the performance of a transaction can help develop tools for validating source data prior to loading. To see what SQL statements SAP is using, turn on SQL Tracking just before running the transaction and then stop it afterward. Without filtering, the results are a horrible, useless mixture including every user's transactional interactions with SAP. Filtering by user or transaction is a great way to obtain useful information.
ST05

ST06N

Operating System Monitor

An overview of what is happening during a load might shine some light on why loads are going so slowly. Unlike ST06 and OS06 which shows only the application server that the user is logged into, this transaction shows the status of all the servers in a cluster.
ST06N

SE80 (or SE84 in S4HANA)

ABAP Development Workbench

This transaction is one of the most helpful in SAP, but it wasn't considered for this list until this programmer thought he had forgotten it. SE80 provides so many powerful tools for finding tables, fields and structures based on many search methods and the ability to find any place where these items are used.

In traditional SAP, the Repository Information System was available in SE80, but in S4HANA, that option has been moved to SE84. After a few minutes of gnashing teeth and sweaty palms, it was located and this list of useful transaction codes was appended.
https://help.sap.com/erp2005_ehp_04/helpdata/en/16/ac1e3a0088e042e10000000a11402f/h-00100030000_image002.jpg|https://abapinho.com/wp-content/uploads/2012/01/se80-favoritos.png|https://wiki.scn.sap.com/wiki/download/attachments/104760403/29.JPG?version=1&modificationDate=1243247659000&api=v2|https://i.ytimg.com/vi/ZXQEBxxxJOo/maxresdefault.jpg