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: SDDL_PARSER_MSG - Message Class for DDL Parser
Message number: 072
Message text: Name list cannot be used with Select * or $$EXTENSION
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
SDDL_PARSER_MSG072
- Name list cannot be used with Select * or $$EXTENSION ?The SAP error message SDDL_PARSER_MSG072 indicates that there is an issue with the use of a name list in conjunction with a
SELECT *
statement or the$$EXTENSION
keyword in a query. This error typically arises in the context of SAP's Data Dictionary or when working with ABAP programs that involve database queries.Cause:
The error occurs because:
- Name List Usage: In SAP, a name list is a way to specify a set of fields or database objects. However, when you use
SELECT *
, it implies that you want to select all fields from a table, which conflicts with the specificity required when using a name list.- Incompatibility with
$$EXTENSION
: The$$EXTENSION
keyword is used to extend the functionality of a query, but it cannot be used in conjunction with a name list that specifies fields.Solution:
To resolve this error, you can take the following steps:
*Avoid Using `SELECT
**: Instead of using
SELECT *`, explicitly specify the fields you want to retrieve from the database. For example:SELECT field1, field2, field3 FROM your_table WHERE condition.
Remove
$$EXTENSION
: If you are using$$EXTENSION
, consider removing it or restructuring your query to avoid its use with a name list.Check the Query Structure: Ensure that your query is structured correctly and that you are not mixing incompatible elements (like name lists with
SELECT *
).Review Documentation: Consult the SAP documentation or help resources for more details on the specific syntax and usage of name lists and the
SELECT
statement.Related Information:
SELECT *
can lead to performance issues, as it retrieves all fields, which may not be necessary. Always select only the fields you need.By following these guidelines, you should be able to resolve the SDDL_PARSER_MSG072 error and improve the quality of your SAP queries.
Get instant SAP help. Sign up for our Free Essentials Plan.
SDDL_PARSER_MSG071
Namespace & expected
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SDDL_PARSER_MSG070
The namespace & is unknown
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SDDL_PARSER_MSG073
Filters cannot be used together with aggregate functions
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SDDL_PARSER_MSG074
The association & can modify the cardinality of the results set
What causes this issue? The use of "to many" associations (cardinality [n..*]) in the SELECT list modifies the cardinality of the results s...
Click on this link to search all SAP messages.