How To Fix VBDRV026 - Derivation terminated: return code in customer function


VBDRV026 - Overview

  • Message type: E = Error

  • Message class: VBDRV - Derivation of Batch Characteristics

  • Message number: 026

  • Message text: Derivation terminated: return code in customer function

  • Show details Hide details
  • What causes this issue?

    The customer function that is called up in this derivation terminated
    the derivation.

    System Response

    The system does not carry out or store the derivation.

    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.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


VBDRV026 - Details

  • The SAP error message VBDRV026 indicates that there was an issue during the derivation process in the SAP system, specifically related to a customer function. This error typically occurs in the context of the SAP Sales and Distribution (SD) module, particularly when dealing with pricing or condition records.
    
    Cause: The error message "Derivation terminated: return code in customer function" suggests that a custom function module or routine that is supposed to derive certain values (like pricing conditions) has returned an unexpected return code. This can happen due to several reasons: Coding Errors: There may be a bug or logical error in the custom function code that prevents it from executing correctly. Data Issues: The data being processed may not meet the expected criteria, leading to an error in the derivation logic.
    Configuration Issues: The configuration settings for the pricing procedure or condition types may not be set up correctly, causing the derivation to fail. Missing Authorizations:

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


VBDRV026 - Related SAP Errors

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