SAP Knowledge Base Article - Public

3549635 - Change Warning message V1501 to an error message when creating a Sales order in reference to a Sales Contract in SAP S/4HANA Cloud Public Edition

Symptom

  • Warning message V1501 (Target qty of reference: &1 &2 (total referenced: &3 &4)) is issued when creating/changing an order with reference to a Quantity contract and increasing the order quantity.
  • It is expected that the system would prevent saving the order but no error message is raised.
  • There is a requirement to change this message from a warning message to an error message.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Open the Manage Sales Contract app..
  2. Create a contract document XXXXX with 10 PC for material A.
  3. Open the app Create Sales Order (VA01).
  4. Press "Create with reference".
  5. Go to the Contract tab.
  6. Enter document XXXXX.
  7. Copy.
  8. Change the order quantity from 10 to 15.
  9. Warning message V1501 is issued.
  10. Press Enter to skip the message.
  11. Sales order can be saved without error.

Cause

  • This is the expected system behaviour.
  • From a business perspective, it should be possible to order more quantity than the quantity entered in the contract. When increasing the order quantity in a subsequent sales order, the system assumes that this is the desired operations of the end users.
  • As a result, only the warning message V1501 is issued to remind the end users about this situation, but the system will not forbid this operations with an error message. 

Resolution

  • To have the functionality changed it is recommended to raise a new feature request by referring to SAP note 2963059 
  • Evaluate if the BAdIs "SD_SLS_CHECK_ITEM" or "SD_SLS_CHECK_BEFORE_SAVE" can meet the requirements.

See Also

Keywords

Order quantity; higher; exceed; exceeds; exceeded; reference; quantity; contract; quantity; quantity contract; contract quantity; Quotation; Inquiry; V1 501; V1501; Reference quantity; warning; error; Target qty of reference, S/4HANA Cloud, Cloud,  , KBA , SD-SLS-SO-2CL , Sales Orders (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions