Skip to Content

In this blog post, I will be tackling on how we can find the table that a particular transaction reads from. This is particularly useful when dealing with large volumes of data and trying to investigate issues by checking for data record trends or system setups by multiple records at a time. Additionally, table sourcing can also provide us further insight on the connection of a particular business process to a system setup/configuration which might be causing an issue.

Normally, when we are attempting to find the table for a particular object’s field we can do so by drilling down the highlighted field via F1->Technical Information (hammer & wrench) buttons. There we will find the table name and the field name of the selected field. This table name we can then plug in the data browser transaction (SE16N) to look on the table records. This allows us to observe for data trends, consistencies, links, and irregularities.

However, depending on the transaction, certain details may be called upon by the back-end programs through structures instead. As a result, we are unable to derive the specific table that holds the piece of information we might be seeking.

As an alternate approach, by using ST05 SQL tracing, we are able to retrieve the tables that have been accessed by a transaction code. From there the field’s table we are searching for can be derived.

Below is a summary steps of the process.

  1. Activate trace
  2. Open transaction with the specific information desired
  3. Deactivate trace
  4. Display trace
    – The Object Name column should provide for the tables that have been accessed by the tcode and in certain cases one may,
  5. Filter the Statement column with “*<object queried (e.g. cost element or PO)>*”
    – This is to further isolate the relevant tables specific to the object being queried.

We would then be able to see other tables that relate to one another as well. By the same method, we may also see which tables are being accessed by certain reports/transactions which can help if ever we would need to design for custom reports or programs. For more complex reports, however, such as those with calculated fields it would possibly require some functional debugging which is another topic of itself.

Hope this is of some help.

To report this post you need to login first.

3 Comments

You must be Logged on to comment or reply to a post.

  1. Michelle Crapo

    Nice blog.  Some added ideas.   Do a where-used on the data element, debug is always good.  And of course google is always a good friend of mine.  There are many different places where you can download the most used tables.

    This is good stuff.  Trace is one of the tools I’ve been using a lot on on-premise HANA.

    MIchelle

    (1) 
    1. Ray Anthony Rivera Post author

      Thanks Michelle! Definitely agree with your points. I think I tend to get lost when doing a where-used though (lol) which is why I think I’m a bit biased with the trace method.

      (0) 
      1. Michelle Crapo

        We all have our own bag of tricks.  I do like trace.  It helps a lot of times when the other methods fail.  Sometimes I get lost in the trace logs.  😉

        (0) 

Leave a Reply