09-26-2007 7:04 PM
Hi,
can I assign a foregin key relation ship for a structure?
Thanks in advance
Sri..
09-26-2007 8:24 PM
Hello Krishna
The previous answer is complete nonsense.
Of course you can define foreign-key relations for structure fields.
Simply select all records from <i>DB view</i> <b>DD03VT </b>using:
TABNAME = 'TR*' (example)
TABCLASS = 'INTTAB' (-> structure)
CHECKTABLE <> ' ' (-> i.e. has check table)
You will find thousands of structures having foreign-key relations. One example is structure TRIAS:
- its include structure TRIAS_KEY has a foreign-key relation for field INT_REFERENCE (checktable T056R).
Regards
Uwe
09-26-2007 7:11 PM
Hi,
You cannot define as it is independent, because structure cannot hold any data. And you cannot find any Key columns or check box to select to define a relation to the structure.
Thanks,
Sriram Ponna.
09-26-2007 8:24 PM
Hello Krishna
The previous answer is complete nonsense.
Of course you can define foreign-key relations for structure fields.
Simply select all records from <i>DB view</i> <b>DD03VT </b>using:
TABNAME = 'TR*' (example)
TABCLASS = 'INTTAB' (-> structure)
CHECKTABLE <> ' ' (-> i.e. has check table)
You will find thousands of structures having foreign-key relations. One example is structure TRIAS:
- its include structure TRIAS_KEY has a foreign-key relation for field INT_REFERENCE (checktable T056R).
Regards
Uwe
09-26-2007 8:26 PM
Hello Krishna
Forgotten to mention that you will see the foreign-key relations for a structure if you switch to tabstrip <b>Entry help/check</b> (transaction <b>SE11</b>).
Regards
Uwe