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

Close

How To Fix VR556 - Unexpected exception during delivery creation (output &1 &2)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VR - Output for SD Reporting

  • Message number: 556

  • Message text: Unexpected exception during delivery creation (output &1 &2)

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message VR556 - Unexpected exception during delivery creation (output &1 &2) ?

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


    SAP Error Message:

    VR556 - Unexpected exception during delivery creation (output &1 &2)


    Cause:

    The error VR556 occurs during the creation of a delivery document in SAP Sales and Distribution (SD) module. It indicates that an unexpected exception or runtime error happened in the output determination or output processing step while creating the delivery.

    • The placeholders &1 and &2 typically contain additional information such as the output type and the specific error or exception message.
    • This error often arises due to issues in the output determination procedure, such as:
      • Incorrect or incomplete configuration of output types.
      • Problems in the output program or form routine.
      • Missing or incorrect partner functions or output conditions.
      • Runtime errors in user exits or BADIs related to output processing.
      • Issues with the communication medium (e.g., print program, email, EDI).

    Common Scenarios Leading to VR556:

    • Output determination procedure is triggered during delivery creation, and the system tries to process an output type.
    • The output program or form associated with the output type throws an exception.
    • Custom enhancements or user exits (e.g., in output processing) cause runtime errors.
    • Missing or incorrect master data (e.g., partner functions, output conditions).
    • Problems with the output device or spool system.

    Solution / Troubleshooting Steps:

    1. Check the Detailed Error Message:

      • Look at the short dump (transaction ST22) generated at the time of the error.
      • The dump will provide the exact cause of the exception, including the program, line number, and error details.
    2. Analyze Output Type & Output Determination:

      • Identify the output type (&1) mentioned in the error.
      • Check the configuration in transaction NACE (or SPRO > Sales and Distribution > Shipping > Output Control).
      • Verify the output determination procedure for deliveries.
      • Ensure the output type is correctly configured with valid condition records.
    3. Check Output Program and Form:

      • Verify the output program and form routine assigned to the output type.
      • Test the output program independently to see if it runs without errors.
      • If custom code is involved, debug or review the code for exceptions.
    4. Review Partner Functions and Master Data:

      • Ensure that the partner functions required for output determination are correctly maintained.
      • Check if the relevant partners exist in the delivery document.
    5. Check User Exits / BADIs:

      • If there are any custom enhancements in output processing (e.g., user exits like EXIT_SAPLV56E_001 or BADIs like LE_SHP_DELIVERY_PROC), debug them.
      • Look for unhandled exceptions or incorrect logic.
    6. Test Output Processing Manually:

      • Use transaction VL02N to manually trigger output for the delivery.
      • Check if the output can be processed without errors.
    7. Check Spool and Communication Settings:

      • Verify the output device and spool settings.
      • Ensure the output medium (print, email, EDI) is correctly configured.

    Additional Notes:

    • This error is often environment-specific and may require collaboration between SD functional consultants and ABAP developers.
    • If the error is due to a standard SAP bug, check SAP Notes for relevant corrections.
    • Always test changes in a development or quality system before transporting to production.

    Summary:

    Aspect Details
    Error Message VR556 - Unexpected exception during delivery creation (output &1 &2)
    Cause Runtime error during output processing in delivery creation (output determination issues)
    Solution Check ST22 dump, verify output type config (NACE), debug output program/forms, check master data, review user exits/BADIs, test output manually
    Transactions ST22 (dump), NACE (output config), VL02N (delivery change/output), SE38/SE80 (program debug)

    If you provide the exact values of &1 and &2 or the ST22 dump details, I can help you further narrow down the root cause and solution.

    • 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