2016 May 12 9:19 AM
Dear all:
Is there any way to identify tables, that have a certain attribute as a primary key? To be more precise, I would like to have a list of tables with VORNR as primary key. Thanks in advance.
Regards,
Jan
2016 May 12 9:30 AM
SE11 -> Data Type -> Where Used List (Select Table Fields only) - Ok -> Click Limit Hits in Toolbar -> Expand Selection -> Select Only Unique Key Fields
Dear all:
Is there any way to identify tables, that have a certain attribute as a primary key? To be more precise, I would like to have a list of tables with VORNR as primary key. Thanks in advance.
Regards,
Jan
2016 May 12 9:24 AM
The easiest way would be to have a look at table that has this field as the primary key, then look at the various DD0* tables to see which one would help.
It aint rocket science.
2016 May 12 9:30 AM
SE11 -> Data Type -> Where Used List (Select Table Fields only) - Ok -> Click Limit Hits in Toolbar -> Expand Selection -> Select Only Unique Key Fields
2016 May 12 11:25 AM
2016 May 12 12:01 PM
I'd prefer the Repository Info System (SE80, SE84, SE90) -> ABAP Dictionary -> Fields -> Table Fields, there one can set the "only unique key fields" box before the search is started.
Thomas
2016 May 12 9:34 AM
2016 May 12 9:35 AM
Hello
There are multiple tables where you will find operational numbers field VORNR.
In purchase orders also this field is available.
The function module for finding which are the primary keys in table is BDL_DDIF_TABL_GET.
Some tables are PLPO , AFVC , MEACCT1000.
Above thread will be useful for you.
Can you please share exact requirements.
Shubham
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |