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

Close

How To Fix WZ356 - Object name &1 reserved for generated objects in package &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WZ - Workflow: Model objects

  • Message number: 356

  • Message text: Object name &1 reserved for generated objects in package &2

  • Show details Hide details
  • What causes this issue?

    The object name belongs to a protected name range.
    This name is used by generation functions and is reserved for the
    package &V2&.

    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?

    Create object:
    Choose another object name. If you wish to retain the object name for
    any particular reason, enter &V2& as the package. The object is
    automatically flagged as generated, when created.
    Change object:
    It is possible to change the object in order to make repairs possible.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WZ356 - Object name &1 reserved for generated objects in package &2 ?

    Certainly! Here's a detailed explanation for the SAP error message:


    SAP Error Message:

    WZ356 Object name &1 reserved for generated objects in package &2


    Meaning / Cause:

    This warning message occurs when you try to create or use an object (such as a program, function module, class, etc.) with a name that is reserved for generated objects in a specific package.

    • SAP reserves certain naming conventions or namespaces for automatically generated objects.
    • The system prevents users from manually creating objects with these reserved names to avoid conflicts or overwriting generated objects.
    • The placeholders &1 and &2 in the message represent the object name and the package name respectively.

    For example, if you try to create an object named ZXYZ in package SAPGEN (a package reserved for generated objects), the system will throw this warning.


    Typical Scenarios:

    • You are trying to create an object in a package that is reserved for generated objects (e.g., SAP standard packages or packages used by code generators).
    • The object name follows a naming convention that is reserved for generated objects.
    • You might be trying to manually create or modify an object that should be system-generated.

    Solution / How to Resolve:

    1. Check the Package:

      • Verify if the package you are using is intended for generated objects.
      • Avoid creating custom objects in SAP standard or reserved packages.
      • Use your own custom package or a package that is not reserved for generated objects.
    2. Change Object Name:

      • Avoid using names that are reserved or follow the naming conventions for generated objects.
      • Use a different name that does not conflict with reserved namespaces.
    3. Use Appropriate Tools:

      • If the object is supposed to be generated by a tool (e.g., SAP code generator, interface generator), do not create it manually.
      • Use the appropriate generation tool or process to create the object.
    4. Consult Documentation or SAP Notes:

      • Check SAP documentation or notes related to the package or object naming conventions.
      • Sometimes, SAP provides guidelines on naming conventions and reserved namespaces.

    Additional Information:

    • Generated Objects: These are objects created automatically by SAP tools or frameworks (e.g., proxy objects, generated classes, interfaces).
    • Packages: In SAP, packages (formerly called development classes) are used to group related development objects. Some packages are reserved for system or generated objects.
    • Namespace Conventions: SAP reserves namespaces starting with certain prefixes (e.g., /1BC, /SAP, /BOE) for SAP standard or generated objects.

    Summary:

    Aspect Description
    Error WZ356 Object name &1 reserved for generated objects in package &2
    Cause Attempt to create/use an object with a name reserved for generated objects in a reserved package
    Solution Use a different object name and/or package not reserved for generated objects
    Related Info Generated objects are created by SAP tools; avoid manual creation in reserved packages

    If you provide the actual object name and package name, I can help you with more specific advice.

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