Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: DI - Dictionary messages: Indexes
Message number: 791
Message text: Secondary table & refers to itself
Each secondary table of a lock object must be connected to a base table
above it in the hierarchy with a join condition.
For the secondary table named, this itself was specified as preceeding
table.
The action is cancelled.
Build the hierarchy of the lock object correctly. Observe the
<DS:TX.DDDOK_ENQU_REQUIREMENTS>requirements for the join conditions of
a lock object</>.
Error message extract from SAP system. Copyright SAP SE.
DI791
- Secondary table & refers to itself ?The SAP error message DI791, which states "Secondary table & refers to itself," typically occurs in the context of data dictionary definitions, particularly when defining secondary indexes or relationships between tables in the ABAP Dictionary (SE11).
Cause:
This error arises when a secondary table (often a database table) is defined in such a way that it references itself, creating a circular reference. This can happen if:
To resolve this error, you can take the following steps:
Check Table Definitions:
Review Secondary Indexes:
Foreign Key Relationships:
Consult Documentation:
Testing:
If the issue persists after following these steps, consider reaching out to your SAP Basis or development team for further assistance, as they may have more insights into the specific configurations of your SAP environment.
Get instant SAP help. Sign up for our Free Essentials Plan.
DI790
No lock mode was defined for base table &
What causes this issue? Base tables belong to the lock object for which no <DS:TX.DDDOK_ENQU_MODE>lock mode</> is defined.System Response...
DI789
No table can be locked with the lock object
What causes this issue? Because no <DS:TX.DDDOK_ENQU_MODE>lock modes</> are defined for the lock object, no effective lock can be set wit...
DI792
Secondary table & bound to incorrect foreign key type using join
What causes this issue? Each secondary table of a lock object must be connected to a base table above it in the hierarchy with a join condition. This...
DI793
No valid join conditions found for secondary table &
What causes this issue? Each secondary table of a lock object must be connected to a base table above it in the hierarchy with a join condition. For ...
Click on this link to search all SAP messages.