cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Can you prevent an order from being created when VPRS is zero?

goody-1
Active Participant
0 Likes
667

When creating a PO or Sales Order and the VPRS has a value of zero can you have the error message stop the creation of the new order? 

Accepted Solutions (1)

Accepted Solutions (1)

Chuma
Active Contributor

Hello @goody-1 

There’s no standard setting to block Sales Order creation based on VPRS (cost condition) being zero in SAP S/4HANA Cloud Public Edition.

However, this can be achieved using In-App Extensibility with a custom validation.

Recommendation

  • You can implement a check using Custom Logic (BADI: SD_SALES_DOCUMENT_CHECK) to trigger an error during Sales Order creation if VPRS is zero.

For Purchase Orders, VPRS is not directly applicable during creation, as it relates to sales pricing and cost of goods sold in SD.

Useful References

Thanks and kind regards

Chuma

goody-1
Active Participant
0 Likes
Thank you Chuma

Answers (0)