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

Close

How To Fix VR140 - Exception has not been defined for customer or contact person


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VR - Output for SD Reporting

  • Message number: 140

  • Message text: Exception has not been defined for customer or contact person

  • 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 VR140 - Exception has not been defined for customer or contact person ?

    SAP Error Message:
    VR140 - Exception has not been defined for customer or contact person


    Cause:

    This error occurs in SAP when you try to process a business transaction (such as creating or changing a sales document, delivery, billing document, or customer master data) that requires an exception to be defined for a particular customer or contact person, but no such exception record exists in the system.

    In SAP, exceptions are used to handle special cases or deviations in business processes, such as pricing exceptions, delivery exceptions, or billing exceptions. The system expects an exception record to be maintained for the customer or contact person to proceed, but it cannot find one.

    Typical scenarios include:

    • Pricing or discount exceptions not maintained for the customer.
    • Delivery or billing exceptions missing for the customer or contact person.
    • Partner functions or contact persons linked to the customer without the required exception configuration.

    Solution:

    1. Check Exception Records:

      • Go to the relevant transaction or customizing path where exceptions are maintained.
      • For pricing exceptions, check condition records or special pricing agreements.
      • For delivery or billing exceptions, check the exception records in the relevant customizing (e.g., SD module).
    2. Maintain Exception for Customer or Contact Person:

      • Use transaction codes or IMG paths to create or update the exception records.
      • For example, in sales and distribution:
        • Use Transaction VD02 (Change Customer) or XD02 to check if exceptions are maintained.
        • Use Transaction OVK1 or related customizing to define exceptions.
      • For contact persons, ensure that the partner function and exceptions are properly assigned.
    3. Verify Partner Functions and Contact Person Data:

      • Check if the contact person assigned to the customer has the necessary exception defined.
      • Update or assign the exception as required.
    4. Consult Customizing:

      • Navigate to SPRO ? Sales and Distribution ? Basic Functions ? Account Assignment/Costing ? Define Exceptions (path may vary depending on the exception type).
      • Define or assign exceptions to the relevant customer or contact person.
    5. Check Master Data Consistency:

      • Ensure that the customer master and contact person master data are consistent and complete.
      • Missing or incomplete data can cause the system to expect an exception that is not defined.

    Related Information:

    • Exception Handling in SAP SD: Exceptions are used to handle special cases in pricing, delivery, billing, and other sales processes.
    • Partner Functions: Contact persons are assigned partner functions in sales documents; exceptions may be linked to these partner functions.
    • Transaction Codes:
      • XD02 / VD02: Change Customer Master Data.
      • OVK1: Define Exceptions (customizing).
      • VK11 / VK12: Maintain Pricing Conditions (if pricing exceptions are involved).
    • SAP Notes: Check SAP Notes related to VR140 for any known issues or patches.
    • Debugging: If the error persists, debugging the sales document or master data creation process can help identify where the exception check fails.

    Summary:

    • Cause: Missing exception record for the customer or contact person required by the business process.
    • Solution: Define and maintain the required exception in the system for the customer or contact person via customizing or master data maintenance.
    • Check: Customer master, contact person data, partner functions, and exception customizing.

    If you provide the exact transaction or process where the error occurs, I can give 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
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