!--a11y-->
Update of GR Data in the Purchase
Order 
SAP Supply Network Collaboration (SAP SNC) determines goods receipt data (GR data) for a request schedule line and an item. This data informs the customer and the supplier about the progress of the procurement process. The data either comes from the customer back-end system with a changed purchase order or SAP SNC determines it automatically. In purchase order collaboration SAP SNC can generate special alerts for underdelivery or overdelivery on the basis of delivery tolerances .
When there is a goods receipt in the back-end system of the customer, the request schedule line is automatically updated with the goods receipt quantity. When the customer then sends the updated purchase order with a ReplenishmentOrderNotification to SAP SNC, this goods receipt information is also available in SAP SNC in the purchase order.

Note that for an SAP customer back-end system, the back-end system does update the goods receipt quantity in the request schedule line in the purchase order at a goods receipt. However, the customer back-end system does not send a corresponding updated purchase order to SAP SNC at goods receipt. The goods receipt information only goes to SAP SNC together with other changes to the purchase order if, for example, the customer manually changes the purchase order in the back-end system after a goods receipt as message-relevant.
The open quantity is the quantity of a request schedule line that the supplier has not yet delivered. SAP SNC automatically calculates the open quantity with special validation checks. The calculation is based alternatively on the following data:
● GR quantity from request schedule line
SAP SNC calculates the open quantity with the GR quantity that the customer has transferred to SAP SNC in the request schedule line (see above). For more information, see the description of the validation check Calculate Open Quantity with Goods Receipt Quantity from Request Schedule Line (PO_OPENQUAN_FROM_POGRQUAN).
● Delivery quantity from ASN-confirmed schedule line
If the supplier creates an ASN for a purchase order item, SAP SNC automatically creates an ASN-confirmed schedule line for the item. To calculate the open quantity of a request schedule line, SAP SNC uses the delivery quantity from the ASN-confirmed schedule line.
For more information, see the description of the validation check Calculate Open Quantity with Planned Delivery Quantity from ASN-Confirmed Schedule Line (PO_OPENQUAN_FROM_ASNQUAN).
● GR quantity from ASN-confirmed schedule line
If the customer sends a GR message (ReceivedDeliveryInformation) from his or her back-end system to SAP SNC, SAP SNC updates the ASN and the ASN-confirmed schedule line of the purchase order item that refers to the ASN with the goods receipt quantity. To calculate the open quantity of a request schedule line, SAP SNC uses the GR quantity from the ASN-confirmed schedule line.
For more information, see the description of the validation check Calculate Open Quantity with GR Quantity from ASN-Confirmed Schedule Line (PO_OPENQUAN_FROM_ASNGRQUAN).
The status of a purchase order item can be Partially Delivered or Delivery Completed. These values show that the customer has received part of the ordered product quantity or that the customer considers the item to have been completely delivered. To determine the item status, the system takes into account the open quantity, as well as the delivery completed indicator, which the customer can transfer in the purchase order from his or her back-end system to SAP SNC. SAP SNC sets the item status Partially Delivered or Delivery Completed as follows:
● If the item does not contain a Delivery Completed indicator, SAP SNC sets the Delivery Completed item status automatically if the open quantity for the item is less than the absolute underdelivery tolerance.
The absolute underdelivery tolerance is the percentage of the underdelivery tolerance applied to the requested quantity. The open quantity of the item is the sum of the open quantities of the request schedule lines.
● If the open quantity is greater than the absolute underdelivery tolerance, SAP SNC sets the Partially Delivered status for the item.

Note that for an SAP customer back-end system, the ORDERS05-IDOC cannot transfer the Delivery Completed indicator. The back-end system therefore does not generate a message if the customer manually sets the Delivery Completedindicator in the back-end system for the purchase order item.