天天看點

SAP ABAP資料庫表字段checktable的實作原理

For project reasons I need to find all tables whose fields have used a given table say COMM_PRODUCT as check table.

SAP ABAP資料庫表字段checktable的實作原理

The only information I know is that such kind of table metadata is stored in table with name prefix DD*. Unfortunately there are huge number of table starting with DD:

SAP ABAP資料庫表字段checktable的實作原理

How to efficiently find the exact one by yourself?

(1) Make the check table field selected, and press F1:

SAP ABAP資料庫表字段checktable的實作原理

In popup dialog, click this icon to display technical information:

SAP ABAP資料庫表字段checktable的實作原理

Unfortunately, the found DD03P_D is a structure, so it is not possible to view it via tcode SE16. Nevertheless let’s write down the field name CHECKTABLE.

SAP ABAP資料庫表字段checktable的實作原理

(2) Go to SE80 -> Repository information system, double check ABAP Dictionary -> Fields -> Table fields, type field name as CHECKTABLE and search

SAP ABAP資料庫表字段checktable的實作原理

The DD08L seems to be the table I am looking for.

SAP ABAP資料庫表字段checktable的實作原理

Double confirm in SE16:

SAP ABAP資料庫表字段checktable的實作原理

Confirmed

SAP ABAP資料庫表字段checktable的實作原理
SAP ABAP資料庫表字段checktable的實作原理