Do you have any question about this error?
Message type: E = Error
Message class: DH - DD: Messages for search helps
Message number: 118
Message text: Table & is not a database table => not suitable as selection method
Table &V1& is assigned as <DS:DE.SELMETHOD>selection method</> for the
<DS:TX.DDDOK_SHLP_ELEMENTARY>elementary search help</> in question.
Table category &V2& of this table, however, indicates that it is not a
database table. The table is therefore not suitable as the selection
method of a search help.
INCLUDE DDDOC_CANCEL
Enter a database table or a view as selection method for the search
help.
INCLUDE DDDOC_SHLP_HANDLE OBJECT DOKU ID TX
Error message extract from SAP system. Copyright SAP SE.
DH118
- Table & is not a database table => not suitable as selection method ?The SAP error message DH118 indicates that the specified table is not a database table and therefore cannot be used as a selection method in a data selection process. This error typically arises in the context of data extraction, reporting, or when trying to use a table in a selection screen or query where a database table is expected.
Cause:
- Non-database Table: The table you are trying to use is not a database table. It could be a structure, a view, or a table that is not defined in the database.
- Incorrect Table Name: There might be a typo or an incorrect table name specified in your query or selection method.
- Custom Table: If you are using a custom table that has not been properly defined or activated in the database, it may lead to this error.
- Transport Issues: If the table was recently transported from another system and the transport did not complete successfully, it may not be recognized as a database table.
Solution:
- Check Table Type: Verify the type of the table you are trying to use. You can do this by checking the table definition in the Data Dictionary (transaction SE11). Ensure that it is a database table.
- Correct Table Name: Double-check the table name for any typos or errors. Ensure that you are referencing the correct table.
- Activate Table: If it is a custom table, ensure that it is activated in the Data Dictionary. You can do this in transaction SE11 by selecting the table and clicking on the "Activate" button.
- Check Transport Logs: If the table was recently transported, check the transport logs for any errors or issues that may have occurred during the transport process.
- Use Alternative Selection Methods: If the table is indeed not a database table, consider using a different selection method or a different table that meets the requirements.
Related Information:
By following these steps, you should be able to identify the cause of the DH118 error and implement a suitable solution.
Get instant SAP help. Start your 7-day free trial now.
DH117
Table/view & defined as selection method does not exist
What causes this issue? A <DS:DE.SELMETHOD>selection method</> is defined for the <DS:TX.DDDOK_SHLP_ELEMENTARY>elementary search he...
DH116
Incorrect name & in header of search help
What causes this issue? The name of the search help differs from the name defined in the header of the search help.System Response INCLUDE DDDOC_CAN...
DH119
View & is of type & and therefore not suitable as selection method
What causes this issue? The <DS:TX.DDDOK_SHLP_ELEMENTARY>elementary search help</> in question is assigned to view &V1& of <DS...
DH120
Selection screen of elementary search help contains more than & fields
What causes this issue? You defined more than &V1& parameters to be displayed for the <DS:TX.DDDOK_SHLP_ELEMENTARY>elementary search he...
Click on this link to search all SAP messages.