Quantcast
Viewing all articles
Browse latest Browse all 943

Another way to find relationship between dropdown list key and description

For example In CRM system tcode COMMPR01, there is a drop down list for Find:

Image may be NSFW.
Clik here to view.
clipboard1.png

I can switch on key display in drop down list via "Options":

Image may be NSFW.
Clik here to view.
clipboard2.png

Image may be NSFW.
Clik here to view.
clipboard3.png

After that both key and description are displayed:

Image may be NSFW.
Clik here to view.
clipboard4.png

And via the technique introduced in this book 18 Techniques for Locating the Underlying Data of a Screen Field written by Dennis Barrett, It is easy to find the database table which stores the description for search type key: but_loca_cstyt.

Image may be NSFW.
Clik here to view.
clipboard1.png

However in this blog I don't plan to repeat these 18 Techniques, but would like to introduce a new approach. When I was investigating the SAP note technical design, I observed the note attribute type name and attribute value are stored in database table  CWBNTGATTR:

Image may be NSFW.
Clik here to view.
clipboard1.png

Image may be NSFW.
Clik here to view.
clipboard2.png

I would like to just know the text for note category "A":

Image may be NSFW.
Clik here to view.
clipboard1.png

This time I didn't use traditional way in ABAP. Instead, it is show time for Chrome Network tool Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.
clipboard2.png

Then I get answer. From Chrome development tool, I know the key "A" I saw in ABAP code represents "Program error":

Image may be NSFW.
Clik here to view.
clipboard1.png


Viewing all articles
Browse latest Browse all 943

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>