How To Fix DDLS153 - With select *, no additional columns can be specified explicitly


SAP Error Message - Details

  • Message type: E = Error

  • Message class: DDLS - For DDL source handling

  • Message number: 153

  • Message text: With select *, no additional columns can be specified explicitly

  • 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 DDLS153 - With select *, no additional columns can be specified explicitly ?

    The SAP error message DDLS153 occurs when you are trying to create or modify a database table in the Data Dictionary (DDIC) using a SQL statement that includes a SELECT * clause along with additional column specifications. This is not allowed because SELECT * already selects all columns from the specified table, and you cannot specify additional columns explicitly in the same statement.

    Cause:

    The error is triggered when you attempt to execute a SQL statement that looks something like this:

    SELECT * FROM table_name, additional_column

    In this case, additional_column is an attempt to specify an extra column alongside the SELECT *, which is not permitted.

    Solution:

    To resolve this error, you need to modify your SQL statement to either:

    1. *Remove the `SELECT `** and explicitly list all the columns you want to retrieve, including the additional columns. For example:

      SELECT column1, column2, additional_column FROM table_name
    2. *If you want to keep using `SELECT `,** then do not specify any additional columns. Just use:

      SELECT * FROM table_name

    Related Information:

    • Best Practices: It is generally a good practice to avoid using SELECT * in production code, as it can lead to performance issues and unexpected results if the table structure changes. Instead, explicitly specify the columns you need.
    • SQL Syntax: Familiarize yourself with SQL syntax and the specific requirements of the database you are working with, as different databases may have different rules regarding SQL statements.
    • SAP Documentation: For more detailed information, you can refer to the SAP Help Portal or the specific documentation related to the Data Dictionary and SQL statements in SAP.

    By following these guidelines, you should be able to resolve the DDLS153 error and write valid SQL statements in your SAP environment.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


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