How To Fix EZ224 - Form routine &1 does not exist in user exit include &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: EZ - Print workbench

  • Message number: 224

  • Message text: Form routine &1 does not exist in user exit include &2

  • Show details Hide details
  • What causes this issue?

    You have attempted to access a form routine in an include. The form
    routine could not be found in the include.

    System Response

    INCLUDE NA_FICA_DWB_ANFORD OBJECT DOKU ID TX

    How to fix this error?

    Switch to change mode and repeat the operation.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message EZ224 - Form routine &1 does not exist in user exit include &2 ?

    The SAP error message EZ224 indicates that a specific form routine, which is expected to be found in a user exit include, does not exist. This error typically arises in the context of SAP Smart Forms or SAPscript when the system is trying to execute a form routine that has not been defined or is incorrectly referenced.

    Cause:

    1. Missing Routine: The specified form routine (&1) is not defined in the user exit include (&2).
    2. Typographical Error: There may be a typo in the name of the form routine or the include.
    3. Incorrect Include: The include file being referenced may not be the correct one for the form routine.
    4. Transport Issues: If the form routine was recently transported, it may not have been included in the transport request or may not have been imported correctly.

    Solution:

    1. Check Routine Definition:

      • Go to the user exit include (&2) in the ABAP editor (transaction SE38 or SE80) and verify if the form routine (&1) is defined.
      • If it is missing, you will need to create it according to the required logic.
    2. Correct Typographical Errors:

      • Ensure that the names of the form routine and the include are spelled correctly in both the Smart Form or SAPscript and the ABAP code.
    3. Verify Include:

      • Make sure that the include file being referenced is the correct one for the form routine. Sometimes, there may be multiple includes, and the wrong one may be referenced.
    4. Transport Check:

      • If the routine was recently added or modified, check the transport request to ensure it was included and successfully transported to the target system.
    5. Debugging:

      • If you are still facing issues, you can set breakpoints in the user exit include to see if the code is being executed and to trace where the error occurs.
    6. Consult Documentation:

      • Review any relevant documentation or notes related to the specific form or user exit to ensure that you are following the correct procedures.

    Related Information:

    • Transaction Codes:

      • SE80 (Object Navigator) for checking includes and routines.
      • SE37 (Function Module) if the routine is part of a function module.
    • SAP Notes:

      • Check SAP Notes for any known issues or updates related to the specific form or user exit you are working with.
    • Community Forums:

      • SAP Community or other forums can be helpful for finding similar issues faced by other users.

    By following these steps, you should be able to identify the cause of the EZ224 error and implement the necessary solution.

    • 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author