How to Make a SAP Transaction Code Table

It is important for you to have access to all the SAP transaction codes when looking to develop ABAP applications. Most of the general codes can be found online. If you cannot access these codes in one place, then it is up to you to create a SAP transaction table containing all the codes that you could possibly need. That way, you can just skim through them, whenever you need to access the codes quickly.

How to Make a SAP Transaction Code Table

1. Categorize Alphabetically

While it may seem like such a simple thing, classification of codes alphabetically may be the best thing that you can do for yourself. It will ensure that you can easily find the codes that you are looking for once you become familiar with them. This in turn shortens the time you would take searching for the codes thus making the ABAP app development easy on you.

For example, AL11, which is the transaction code for SAP directory structure comes before BAPI, which is the code for BAPI Explorer, which will enable you to view all the SAP directories.

You can choose to arrange the transaction order in an alphabetic order from A-Z or from Z-A. You can also opt to split the codes from A-M and from N-Z and vice versa, depending on how many tables that; you want to deal with. As long as the alphabetical arrangement of the codes is suited to your search preferences, that is what matters.

2. Categorize Topically

Arranging codes within the SAP transaction table can also be done topically. What this means is that you will categorize the codes based on the common functionality. This will then ensure that you are able to find codes you need based on which stage of the ABAP development you are in.

For example, you can decide to categorize OVA9, OVAI and OVAJ transaction codes together. These codes are for scheduling agreements. You will use them when creating various entries to individual sold-to customers, vendor/partner descriptions, and schedule requirements. When you are dealing with the scheduling aspect of the development process, then you can go to the table section containing the codes and fixate on that section until you are done.

3. Mixed Categorization

You could always categorize your transaction codes using both the functionality and the alphabet so that you can understand them better. This may be more helpful for you if you want to prioritize functionality but want some order to your codes.

Alternative Ways of Getting the Transaction Table

If you want to get a little bit more technical, then it is quite possible for you to generate the SAP transaction table on your own. You will need to SE11-ABAP Dictionary for transactions for that purpose. When you fill in the table name for the database and click on the display button, you will have access to TSTC table with the Tcodes and the TSTCT table with both the Tcodes and the texts.

When you have all the transaction codes within tables, developing any applications becomes such an easy thing to do. While the process may seem cumbersome, the benefits of creating a SAP transaction code table certainly outweigh the downsides.
 

mm
Marissa Hart is the Lead Author & Editor ShareMe. ShareMe is a blog focused on SharePoint Online. SharePoint Online delivers the powerful features of SharePoint without the associated overhead of managing the infrastructure.