Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
rahul_mahajan
Active Participant
7,625

Introduction:

I was working on one issue in one SAP landscape on my PC and later opened another landscape and observed that the transaction codes (tcodes) which are there in command line (history) were same. 

Then I started searching for the table or a location where the transaction codes (tcodes) are getting stored which we entered on command line in SAP R3 system. Finally, after lot of search and some reading I found out the location.

This is very simple but interesting thing to know how Operating system stores the SAP commands.

Details:

Let’s first see the list of transactions which are entered on command line. Later we will be getting the same list from OS level.

Logon to your SAP R3 system and see the history of tcodes on command line.

Now find out the location where this tcodes are getting stored at OS level.

Go to Start -> Run -> regedit and click ok. It will open the following screen.

Expand the node HKEY_USERS.

After that expand the selected node and again expand it.

Click on Software -> SAP -> SAPGUIFront.

Finally, expand the SAPGUIFront and click on Code. It will open the desired list of all tcodes which user has entered on the command line on a SAP system in that particular Computer.


Please note the path and you can directly open it and then compare it with your systems command line list.

However, I did not want to find only this location. My next question was what about the all other transactions which are not in this list which user entered on the command line.

For that we need to go to my computer and click on Search and search the following path.

SAPHistory<User Name>.mdb

Once you click on Search it will give you the access file.

Remember this file is Password protected and you must have the database access password in order to open it.

Enter the Password and it will give you more details.

Happy Learning!

Additional Information (based on questions/suggestions):

Below settings on SAP GUI ->Options -> Local Data can be checked upon.

104 Comments
Labels in this area