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


DS027 - Overview

  • 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: 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". Check Naming

    Already have an account? Login here!




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
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