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

Close

How To Fix WZ357 - Message &1 &2 could not be entered in table TRESN


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WZ - Workflow: Model objects

  • Message number: 357

  • Message text: Message &1 &2 could not be entered in table TRESN

  • Show details Hide details
  • What causes this issue?

    The namespaces reserved in table TRESN for transactions and their
    programs are marked with the message &v1& &v2&. Entry of this message
    in table TRESN failed.

    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?

    Choose another namespace or maintain the view V_TRESN via view
    maintenance.

    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 WZ357 - Message &1 &2 could not be entered in table TRESN ?

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


    SAP Error Message:

    WZ357 Message &1 &2 could not be entered in table TRESN


    Meaning / Cause:

    This warning message indicates that a particular message (identified by parameters &1 and &2) could not be stored in the table TRESN. The table TRESN is used in SAP to store message control information, particularly for output messages related to documents (like sales orders, deliveries, billing documents, etc.).

    The failure to enter the message into TRESN usually happens because:

    • The message control record or condition record is missing or incorrect.
    • The message number or message type does not exist or is not valid.
    • There is a problem with the message determination procedure.
    • The table TRESN might be locked or there is a database issue.
    • The message is being triggered in a context where it is not allowed or expected.
    • Custom enhancements or user exits might be causing inconsistencies.

    Typical Scenario:

    When SAP tries to create an output message (e.g., print, email, EDI) for a document, it writes the message details into TRESN. If this write operation fails, the system issues this warning.


    Solution / Troubleshooting Steps:

    1. Check Message Control Configuration:

      • Verify the output message configuration in transaction NACE (or the relevant output control transaction depending on the application).
      • Ensure that the message type and message number exist and are correctly configured.
    2. Check Message Determination Procedure:

      • Confirm that the message determination procedure is correctly assigned to the document type.
      • Check if the condition records for the message are maintained properly.
    3. Check Table TRESN:

      • Verify if the table TRESN is not locked or corrupted.
      • Use transaction SE16N or SE11 to check entries in TRESN.
      • Check for any database locks or dumps related to TRESN.
    4. Check for Custom Code / Enhancements:

      • Review any user exits, BADIs, or enhancements that might influence message creation.
      • Debug the message creation process to see why the entry to TRESN fails.
    5. Check Authorizations:

      • Ensure the user or background job has the necessary authorizations to write to TRESN.
    6. Check for SAP Notes:

      • Search the SAP Support Portal for notes related to message WZ357 or issues with TRESN.
      • Sometimes, specific patches or corrections are available.
    7. Debugging:

      • If you have development access, set a breakpoint in the function module or program that writes to TRESN (e.g., in message control processing).
      • Analyze the parameters and error handling.

    Additional Information:

    • Table TRESN: Stores output message data for documents.
    • Message WZ357: Is a warning, not an error, so the process might continue but without the message being recorded.
    • This message is often seen in SD (Sales and Distribution) module during output determination.
    • If the message is critical for business processes (e.g., printing delivery notes), this warning should be resolved promptly.

    Summary:

    Aspect Details
    Cause Message could not be saved in TRESN due to configuration, missing data, or DB issues.
    Solution Check message control setup, condition records, table status, authorizations, and custom code.
    Related Info Table TRESN, transaction NACE, message determination procedures, SAP Notes.

    If you provide the exact message parameters (&1 and &2), module, or transaction context, I can help you with more specific guidance.

    • 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