Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix SDDL_PARSER_MSG072 - Name list cannot be used with Select * or $$EXTENSION


SAP Error Message - Details

  • 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

  • Show details Hide details


  • Self-Explanatory Message

    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.



    What else can you do?

    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.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 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:

    1. 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.
    2. 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:

    1. *Avoid Using `SELECT **: Instead of usingSELECT *`, explicitly specify the fields you want to retrieve from the database. For example:

      SELECT field1, field2, field3 FROM your_table WHERE condition.
    2. Remove $$EXTENSION: If you are using $$EXTENSION, consider removing it or restructuring your query to avoid its use with a name list.

    3. Check the Query Structure: Ensure that your query is structured correctly and that you are not mixing incompatible elements (like name lists with SELECT *).

    4. 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:

    • ABAP Programming: Understanding how to write efficient and correct ABAP code is crucial. Familiarize yourself with the best practices for database access in ABAP.
    • SAP Data Dictionary: Knowledge of the SAP Data Dictionary and how it interacts with ABAP programs can help prevent such errors.
    • Performance Considerations: Using 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.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author