Normally the final delivery indicator for a purchase order or production order item is either set automatically by the system on goods receipt on the basis of the total quantity delivered or it is set manually by users.
The
Characteristic-Based Purchase Order History (/SAPMP/WEHB)
and
Goods Receipt History for Production Orders (/SAPMP/WEHF)
functions allow you to check – for several purchase order or production order items – whether the final delivery indicator is to be set before the total item quantity has been delivered.
If final delivery has already been made for items, you can also check whether the final delivery indicator is to be reset. This can be useful when, for example, the characteristics of the material delivered do not match the characteristics of the purchase order or production order.
If the goods receipt quantity for a material does not fully cover the order quantity and no other deliveries are expected, it may also be useful to select the final delivery indicator.
Example
You have ordered 5000 m of cable, split into 5 x 1000 m.However, only 5 x 950 m was delivered. Even if the underdelivery tolerance is taken into account, the total quantity is too low and the purchase order item is therefore not yet closed. If, however, the individual lengths delivered and their underdelivery tolerances are considered, the quantity delivered is sufficient and the purchase order item is closed.It is therefore up to you to decide whether final delivery has been made for the purchase order item.
The
Characteristic-Based Purchase Order History (/SAPMP/WEHB)
function lets you process purchase order items only; the
Goods Receipt History for Production Orders (/SAPMP/WEHF)
function lets you process production order items only.
If you want the system to show you characteristics for the purchase order and production order items, you must already have made the following settings:
You have created a characteristic display that includes the desired characteristics.
You define a characteristic display in, for example, Customizing for
Purchasing
at
You have assigned an application group that includes the
Purchase Order
and/or
Production Order
transaction to this characteristic display.
You define an application group in, for example, Customizing for
Purchasing
at
This function lets you set the final delivery indicator for open purchase order and production order items in accordance with specific conditions, or lets you reset the final delivery indicator for items for which final delivery has already been made.
You can define the following in the initial screen:
which purchase orders or production orders are to be checked
whether the final delivery indicator is to be set or reset
If you have selected the
Partially Delivered Documents
indicator in the
Selection of Goods Receipts
group box, you can use this function to select the final delivery indicator for items. The system ignores items for which final delivery has been made.
If you have selected the
Complete Delivery Documents
indicator in the
Selection of Goods Receipts
group box, you can use this function to reset the final delivery indicator for items for which final delivery has already been made. The system ignores items for which final delivery has not yet been made. Deselect the final delivery indicator for the appropriate item for which final delivery has been made.
whether an underdelivery tolerance is to be taken into account for item selection
If you have selected the
Within Underdelivery Tolerance
indicator and have entered the desired value in the
Underdelivery Tolerance
in %
field, the system selects only those items that are within the specified underdelivery tolerance.
which characteristics are shown to you in the overview
Choose the appropriate characteristic display in the
Characteristic Display
field.
whether the system is to propose the final delivery indicator on the basis of the check results
If you want the system to automatically set the final delivery indicator for items that were checked positively, you must select the
FinDellnd.
Set Automatically
indicator in the initial screen. Otherwise you must set the final delivery indicator manually.
which logic the system is to use to check the items
The system can check previous goods receipts either on the basis of the total quantity delivered (
Comparison GR/Order Qty
indicator) or in accordance with customer-specific logic (
Cust.-Logic-Based FinDellnd
indicator). If you want to check against the total quantity delivered, you must enter the corresponding underdelivery tolerance in the
Underdelivery Tolerance
field. You can implement the customer-specific logic in the Business Add-In (BAdI)/SAPMP/VAR_CAB_GET.
SAP ships the /SAPMP/VAR_GET_CABLE implementation for this BAdI. It contains the following logic:
On the basis of the material units delivered or manufactured (in accordance with the
Factor
characteristic) for the selected purchase orders or production orders, the system checks whether the number of batches matches the value of the
Factor
characteristic.
In the implementation it is assumed that a material unit corresponds to a batch. The system can therefore determine the material units delivered or manufactured on the basis of the batches for which a goods receipt has already been posted for the purchase order or production order.
Note
A prerequisite for this BAdI implementation is that you work with the
Faktor
characteristic in purchase orders and production orders.
When you execute the function, the system checks the selected purchase orders or production orders in accordance with your settings. You are then shown an overview with the items checked. The system displays the check result in the form of traffic-light icons (for example, ).
When the system checks against the total quantity delivered, it labels the items as follows:
(Status
Yellow
)
The goods receipt quantities posted for this item up to present are within the underdelivery tolerance entered in the selection screen.
(Status
Green
)
The goods receipt quantity corresponds to the item quantity in the purchase order or in the production order. A user has evidently reset the final delivery indicator manually because the system automatically sets the final delivery indicator for such an item.
When a check is made using customer-specific logic with the BAdI implementation /SAPMP/VAR_GET_CABLE, the system labels the items as follows:
(Status
Green)
The number of units delivered corresponds to the number of units in the purchase order or in the production order.
(Status
Red)
The number of units delivered is less than the number of units in the purchase order or in the production order.