A quantity contract is complete when there are no more items to be delivered.
A value contract is complete when you enter a reason for rejection. You can define how the system reacts when you have reached the target value in Customizing for value contracts (item category).(You define the following reactions: a warning, an error message or no reaction.)
If there are still outstanding items in the contract but you nevertheless want to complete it, you can assign a reason for rejection to these items. The system then sets the status of the contract to complete. The procedure for rejecting items in a contract is identical to the procedure for rejecting items in a sales order. For more information about rejecting items, seeRejecting Items in a Sales Order.