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

Close

How To Fix WZ379 - Sending failed for work item &1: Sendmail token not found


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WZ - Workflow: Model objects

  • Message number: 379

  • Message text: Sending failed for work item &1: Sendmail token not found

  • Show details Hide details
  • What causes this issue?

    The token of the mailing program Sendmail was not found.

    System Response

    The message was not sent.

    How to fix this error?

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

    INCLUDE BWP_ADMINISTRATOR OBJECT DOKU ID TX

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WZ379 - Sending failed for work item &1: Sendmail token not found ?

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


    SAP Error Message:

    WZ379 Sending failed for work item &1: Sendmail token not found


    Cause:

    This error occurs during the workflow processing in SAP when the system tries to send a mail notification related to a workflow work item, but it cannot find the required sendmail token. The sendmail token is a placeholder or a variable that the SAP workflow engine uses to generate the email content or to trigger the email sending process.

    Common reasons for this error include:

    • The workflow container or the mail step is missing the required token or variable that holds the email content or recipient information.
    • The mail step in the workflow is not properly configured or the mail template is missing or corrupted.
    • The workflow runtime environment is unable to resolve the token due to missing or incorrect data in the workflow container.
    • The SAPconnect or SMTP configuration might be incomplete or incorrect, causing the mail sending process to fail.
    • The workflow task or step that triggers the mail does not have the correct binding or parameters set.

    Solution:

    To resolve the error WZ379, follow these steps:

    1. Check the Workflow Mail Step Configuration:

      • Go to the workflow builder (transaction SWDD).
      • Open the workflow definition and locate the mail step that is causing the error.
      • Verify that the mail step has the correct sendmail token assigned.
      • Ensure that the token is properly bound to a container element that contains the email content or recipient information.
    2. Verify Workflow Container Elements:

      • Check the workflow container for the work item mentioned in the error.
      • Make sure the container has the required data elements (e.g., recipient email address, subject, body text).
      • If the token is missing, add or correct the container element.
    3. Check Mail Templates:

      • If the mail step uses a mail template, verify that the template exists and is correctly maintained.
      • Use transaction SO10 or SMARTFORMS if applicable to check the mail text templates.
    4. Check SAPconnect and SMTP Configuration:

      • Use transaction SCOT to verify the SAPconnect settings.
      • Ensure that the SMTP node is active and correctly configured.
      • Check the outbound email queue for errors.
    5. Test Sending Mail Manually:

      • Use transaction SBWP or SOST to check if mails can be sent manually.
      • If manual sending fails, fix the underlying mail system issues.
    6. Check Workflow Logs:

      • Use transaction SWI1 or SWEL to check the workflow logs for detailed error messages.
      • Identify if the error is consistent or intermittent.
    7. Apply SAP Notes:

      • Search for relevant SAP Notes on the SAP Support Portal using the error message or workflow component.
      • Apply any recommended patches or corrections.

    Related Information:

    • Transaction Codes:

      • SWDD – Workflow Builder
      • SWI1 – Workflow Log
      • SWEL – Event Log
      • SCOT – SAPconnect Administration
      • SOST – Send Requests (Outbound Email Queue)
      • SBWP – SAP Business Workplace (Inbox and Outbox)
    • SAP Help and Documentation:

      • SAP Workflow documentation on mail steps and container binding.
      • SAPconnect configuration guides.
    • Common SAP Notes:

      • Check for notes related to workflow mail sending errors and sendmail token issues.

    Summary:

    The error WZ379 Sending failed for work item &1: Sendmail token not found indicates that the workflow mail step cannot find the required token to send an email. The solution involves verifying the workflow mail step configuration, ensuring the container has the necessary data, checking mail templates, and confirming SAPconnect settings.


    If you provide the workflow ID or more context, I can help you with more specific troubleshooting steps.

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