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

Close

How To Fix VO707 - Unexpected return code UNITS_GET_FOR_DIMENSION: &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VO - W&S: Rough workload forecast + picking wave

  • Message number: 707

  • Message text: Unexpected return code UNITS_GET_FOR_DIMENSION: &

  • 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 VO707 - Unexpected return code UNITS_GET_FOR_DIMENSION: & ?

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


    SAP Error Message:

    VO707 Unexpected return code UNITS_GET_FOR_DIMENSION: &


    Meaning / Cause:

    • The error VO707 occurs during the processing of units of measure related to a dimension in SAP.
    • The message indicates that the function/module UNITS_GET_FOR_DIMENSION returned an unexpected return code.
    • This usually happens when the system tries to fetch or validate units of measure for a given dimension (e.g., length, weight, volume) but encounters an inconsistency or missing data.
    • Common causes include:
      • Missing or incorrect configuration of units of measure for the dimension in customizing.
      • The unit of measure assigned to a material or transaction is not valid or not maintained for the dimension.
      • Incomplete or inconsistent master data related to units of measure.
      • Custom code or user exits/enhancements that call this function module incorrectly or with invalid parameters.

    Where it occurs:

    • Typically during sales order processing, delivery processing, or any transaction involving quantity and units of measure.
    • It can also appear during material master data maintenance or conversion if units are involved.

    How to Analyze:

    1. Check the exact return code: The message includes a placeholder "&" which should be replaced by the actual return code or error text. This code gives more insight into the problem.
    2. Review the units of measure configuration:
      • Transaction CUNI (Units of Measure) — check if the unit exists and is assigned to the correct dimension.
      • Transaction SPRO ? Logistics ? General ? Units of Measure ? Check unit assignments.
    3. Check material master data:
      • Verify that the base unit of measure and alternative units are correctly maintained.
    4. Debug or trace:
      • If you have access, debug the function module UNITS_GET_FOR_DIMENSION to see what input it receives and why it returns an unexpected code.
    5. Check for OSS notes:
      • Search SAP Notes for VO707 or UNITS_GET_FOR_DIMENSION for known issues or patches.

    Possible Solutions:

    • Correct unit of measure configuration:
      • Ensure that the unit of measure used is valid for the dimension.
      • Maintain missing units or correct wrong assignments in customizing.
    • Fix master data:
      • Correct the unit of measure in material master or transactional data.
    • Apply SAP Notes:
      • If the issue is due to a known bug, apply the relevant SAP Note.
    • Check custom code:
      • If the function module is called from custom developments, verify the parameters and error handling.
    • Reprocess the transaction after corrections.

    Related Information:

    • Function Module: UNITS_GET_FOR_DIMENSION
      Retrieves units of measure for a given dimension.
    • Transaction Codes:
      • CUNI — Units of Measure maintenance
      • MM02 — Change Material Master (check units)
      • VA01 / VA02 — Sales Order processing (where error might occur)
    • SAP Notes:
      Search for "VO707" or "UNITS_GET_FOR_DIMENSION" in the SAP Support Portal for specific notes.
    • SAP Help / Documentation:
      Look up units of measure and dimension configuration in SAP Logistics documentation.

    If you provide the exact return code or the context in which the error occurs, I can help you further narrow down the 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
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