How To Fix 28017 - Semicolon missing


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 28 - Configuration

  • Message number: 017

  • Message text: Semicolon missing

  • Show details Hide details
  • What causes this issue?

    The system syntax check found an error in a list - items in the list
    should be separated by semicolons.
    The system expects a semicolon at the cursor.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Check the expression at the cursor and enter a semicolon as separator
    character if required. Please also take not of other possible sources
    of errors (messages).

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 28017 - Semicolon missing ?

    The SAP error message 28017, which indicates "Semicolon missing," typically occurs in the context of ABAP programming. This error suggests that there is a syntax issue in your ABAP code where a semicolon (;) is expected but not found. Semicolons are used in ABAP to terminate statements, and their absence can lead to confusion in the code structure.

    Cause:

    1. Missing Semicolon: The most straightforward cause is that a semicolon is simply missing at the end of a statement.
    2. Incorrect Syntax: There may be other syntax errors that lead to the parser expecting a semicolon.
    3. Commenting Issues: If comments are not properly formatted, they might interfere with the expected syntax.
    4. Multi-line Statements: If a statement is split across multiple lines without proper continuation, it may lead to this error.

    Solution:

    1. Check the Code: Review the line indicated in the error message and the lines preceding it for any missing semicolons.
    2. Correct Syntax: Ensure that all statements are correctly terminated with a semicolon.
    3. Proper Commenting: Make sure that comments are correctly formatted and do not disrupt the flow of the code.
    4. Use of Continuation: If you are breaking a statement into multiple lines, ensure you are using the correct continuation syntax (e.g., using & at the end of the line).
    5. Syntax Check: Use the syntax check feature in the ABAP editor (transaction SE38 or SE80) to identify and correct syntax errors.

    Related Information:

    • ABAP Documentation: Refer to the official SAP ABAP documentation for detailed syntax rules and examples.
    • SAP Community: Engage with the SAP Community forums for discussions and solutions related to similar issues.
    • Debugging Tools: Utilize debugging tools within the ABAP Workbench to step through your code and identify where the error occurs.

    By carefully reviewing your code and ensuring that all statements are properly formatted, you should be able to resolve the error message 28017.

    • 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
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant