How To Fix EZ174 - Form routine &1 does not exist in the form class library &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: EZ - Print workbench

  • Message number: 174

  • Message text: Form routine &1 does not exist in the form class library &2

  • Show details Hide details
  • What causes this issue?

    You have attempted to access a form routine in a form class library.
    This form routine does not exist.

    System Response

    INCLUDE NA_FICA_DWB_ANFORD OBJECT DOKU ID TX

    How to fix this error?

    Create the appropriate form routine in the form class library.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message EZ174 - Form routine &1 does not exist in the form class library &2 ?

    The SAP error message EZ174 indicates that a specific form routine is not found in the specified form class library. This error typically occurs when you are trying to execute a form (like a Smart Form or SAPscript) that references a routine that is either missing or incorrectly defined.

    Causes:

    1. Missing Routine: The form routine specified in the form is not defined in the associated form class library.
    2. Incorrect Form Class Library: The form may be referencing the wrong form class library.
    3. Transport Issues: If the form was transported from one system to another, the transport might not have included all necessary components.
    4. Development Environment Issues: The routine may exist in the development environment but not in the production environment or vice versa.
    5. Naming Issues: There could be a typo in the name of the routine or the form class library.

    Solutions:

    1. Check Routine Definition: Verify that the routine exists in the form class library. You can do this by navigating to the form class library in the SAP system and checking for the routine.
    2. Correct Form Class Library: Ensure that the form is referencing the correct form class library. You can check this in the form's settings.
    3. Transport the Missing Components: If the routine is missing due to transport issues, ensure that all necessary components are included in the transport request and re-transport them.
    4. Recreate the Routine: If the routine is indeed missing, you may need to recreate it in the form class library.
    5. Check for Typos: Double-check the names of the routine and the form class library for any typographical errors.
    6. Debugging: If you have access to debugging tools, you can set breakpoints to see where the error is being triggered and gather more context.

    Related Information:

    • Form Class Library: This is a collection of routines that can be used in forms. Each form can reference multiple routines from the library.
    • Smart Forms and SAPscript: These are two types of form technologies in SAP. The error can occur in either type, so ensure you are looking in the correct context.
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message. SAP frequently updates its knowledge base with solutions to common problems.

    If the issue persists after trying the above solutions, consider reaching out to your SAP support team or consulting the SAP community for further assistance.

    • 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