1. SAP Glossary
  2. ABAP Dictionary
  3. generic foreign key


What is generic foreign key in SAP BC-DWB-DIC - ABAP Dictionary?


SAP Term: generic foreign key

  • Component: BC-DWB-DIC

  • Component Name: ABAP Dictionary

  • Description: A foreign key where some of the fields in the foreign key table have been removed from the check against the fields on the check table.


Smart SAP Assistant

  • Key Concepts: 
    A generic foreign key is a type of foreign key in the ABAP Dictionary of SAP. It is used to link two tables together, allowing data from one table to be referenced in another. It is a generic type of foreign key because it can be used to link any two tables, regardless of their structure or content. 
    
    How to use it: 
    To use a generic foreign key, you must first create the two tables that you want to link. Then, you must create the foreign key in the ABAP Dictionary. This is done by selecting the “Foreign Key” option from the “Create” menu and then entering the name of the foreign key and the names of the two tables that you want to link. Once this is done, you can then reference data from one table in another using the foreign key. 
    
    Tips & Tricks: 
    When creating a generic foreign key, it is important to make sure that the data types of the fields that you are linking are compatible. If they are not, then the foreign key will not work properly. Additionally, it is important to make sure that all of the fields that you are linking have unique values so that they can be properly linked. 
    
    Related Information: 
    For more information on generic foreign keys in SAP, please refer to SAP Help documentation on BC-DWB-DIC ABAP Dictionary. Additionally, there are many online tutorials and resources available that provide more detailed information on how to use generic foreign keys in SAP.
    • Do you have any question about this SAP term?


      Upgrade now to chat with this SAP term.

Related SAP Glossary Terms

Click the links below to see the following related SAP glossary terms:
Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant