How To Fix DS027 - Program names ZX... are reserved for includes of exit function groups


SAP Error Message - Details

  • Message type: E = Error

  • Message class: DS - Messages for Editing Text Elements in ABAP Programs

  • Message number: 027

  • Message text: Program names ZX... are reserved for includes of exit function groups

  • Show details Hide details
  • What causes this issue?

    You attempted to create a program name beginning with <LB>ZX</> but
    this name range is reserved only for includes of exit function groups
    (function groups containing only function exits).
    If you want to create a program ZXaaabbb, note the following for
    program type <LS>I</> (Include).
    The program is an include of the function group Xaaa:

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

    In this case, the INCLUDE ZXaaabbb statement should not be inserted in
    the main program SAPLXaaa, but in the program ZXaaaZZZ .
    The program is <ZH>not</> an include of the function group Xaaa:
    Since the syntax check for includes of this name range searches for the
    global data in the program LXaaaTOP (not ZXaaaTOP), you may not be able
    to check the include in isolation (--> check main program).

    System Response

    How to fix this error?

    Choose a different program name.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message DS027 - Program names ZX... are reserved for includes of exit function groups ?

    The SAP error message DS027 indicates that you are trying to create or use a program name that starts with "ZX", which is reserved for includes of exit function groups in SAP. This is a common issue when developing custom programs or enhancements in the SAP environment.

    Cause:

    The error occurs because SAP has reserved program names that start with "ZX" for specific purposes, particularly for user exits and enhancements. When you attempt to create a program with a name that starts with "ZX", the system prevents this to avoid conflicts with the reserved naming conventions.

    Solution:

    To resolve this error, you should choose a different naming convention for your custom program. Here are some steps you can follow:

    1. Rename the Program: Use a different prefix for your program name. Common prefixes for custom programs include "Z" or "Y". For example, instead of naming your program "ZX_MY_PROGRAM", you could name it "Z_MY_PROGRAM" or "Y_MY_PROGRAM".

    2. Check Naming Conventions: Familiarize yourself with SAP's naming conventions for custom objects. Generally, SAP reserves certain prefixes for its own use, and it's best to stick to "Z" or "Y" for custom developments.

    3. Recreate the Program: If you have already created the program with the "ZX" prefix, you will need to delete it and create a new program with the correct naming convention.

    4. Transport Requests: If the program is part of a transport request, ensure that you update the transport request with the new program name.

    Related Information:

    • SAP Documentation: Refer to the SAP documentation for guidelines on naming conventions and reserved names.
    • User Exits and Enhancements: Understand the concept of user exits and enhancement points in SAP, as this will help you avoid similar issues in the future.
    • Development Guidelines: Follow SAP's development guidelines to ensure that your custom developments do not conflict with standard SAP objects.

    By adhering to these guidelines and using the appropriate naming conventions, you can avoid the DS027 error and ensure smooth development in the 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
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker