How To Fix CM_REPORT_GEN_VAR104 - Document template &1 has the status &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: CM_REPORT_GEN_VAR - Report Generation Variant

  • Message number: 104

  • Message text: Document template &1 has the status &2

  • Show details Hide details
  • What causes this issue?

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

    System Response

    How to fix this error?

    Enter a template that has one of the following statuses:
    <ZH>In Work</>
    <ZH>Released</>
    Use the input help to do this.

    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 CM_REPORT_GEN_VAR104 - Document template &1 has the status &2 ?

    The SAP error message CM_REPORT_GEN_VAR104 indicates that a document template has a specific status that prevents it from being used or processed. The message typically includes two variables: the document template identifier (&1) and its status (&2).

    Cause:

    The error is usually caused by one of the following reasons:

    1. Inactive Template: The document template is not active or has been set to a status that does not allow it to be used (e.g., "Inactive", "Blocked").
    2. Status Restrictions: The template may have been set to a status that restricts its use for certain operations, such as generating reports or documents.
    3. Authorization Issues: The user may not have the necessary permissions to access or use the document template in its current status.

    Solution:

    To resolve the CM_REPORT_GEN_VAR104 error, you can take the following steps:

    1. Check Template Status:

      • Go to the transaction code related to document templates (e.g., S_P00_07000139 or similar, depending on your SAP version).
      • Look for the document template identified by &1 and check its status.
      • If the status is "Inactive" or "Blocked", you may need to change it to "Active".
    2. Activate the Template:

      • If the template is inactive, you can activate it by selecting the appropriate option in the template management screen.
      • Ensure that all necessary fields and configurations are correctly set before activating.
    3. Review Authorizations:

      • Check if the user has the necessary authorizations to access and use the document template.
      • If not, consult with your SAP security team to grant the required permissions.
    4. Consult Documentation:

      • Refer to SAP documentation or help resources for more details on the specific status codes and their implications.
    5. Contact Support:

      • If the issue persists after checking the status and authorizations, consider reaching out to your SAP support team for further assistance.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes for managing document templates, such as S_P00_07000139 or others specific to your SAP environment.
    • SAP Notes: Check for any SAP Notes related to this error message for additional insights or patches that may address the issue.
    • User Roles: Ensure that user roles and profiles are correctly configured to avoid authorization-related issues.

    By following these steps, you should be able to identify the cause of the error and implement a solution to resolve it.

    • 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