Show TOC

Function documentationCalculating the Best-Before Date in the Process Order

 

This function calculates the best-before date (BBD) or shelf life expiration date (SLED) right in the process order and copies this date to the batch master record. You can then enter the BBD/SLED in the shop papers.

Integration

This function is integrated in the Create Process Order with Material (COR1) transaction on the BBD/SLED tab.

Prerequisites

You have made the following settings:

  • In Customizing for Logistics - General under Batch Management Start of the navigation path Shelf Life Expiration Date (SLED) Next navigation step Set Expiration Date Check End of the navigation path, you have selected the SLED/Manu. checkbox (Check Expiration Date/Date of Manufacture) for the relevant plant. For the corresponding movement type Goods receipt for order (such as 101) in the Check BBD/SLED field, you have entered the value 1 (Enter and check), 2 (Enter only), or 3 (No check at goods issue).

  • In the material master, you have checked that the Maximum Storage Period and the Time Unit have been entered on the Plant Data/Storage 1 view in the Shelf Life Data screen area. For more information about the material master, see Creating a Material Master Record.

You can also make the following settings:

  • If you want the system to copy the calculated BBD/SLED to the batch master record, select the Copy BBD/SLED to Batch Master checkbox in Customizing for Production Planning for Process Industries under Process Order Start of the navigation path Master Data Next navigation step Define Production Scheduling Profiles End of the navigation path in the BBD/SLED screen area. If you select the Recalc. BBD when Rescheduling checkbox, the system recalculates the BBD/SLED if rescheduling has taken place.

  • In Customizing for Production Planning for Process Industries under Process Order Start of the navigation path Business Add-Ins (BAdIs) End of the navigation path, you can influence the date of manufacture by using BAdI: Define Date of Manufacture and define how you want the BBD/SLED to be calculated in the process order with BADI: Calculate Best-Before Date in Process Order.

Features

When you create the process order, the system calculates the BBD/SLED according to the following formula:

BBD/SLED = maximum storage period + date of manufacture + additional days

  • The system copies the maximum storage period from the material master.

  • The system uses the start date from the process order for the date of manufacture.

  • The additional days serve as a kind of time buffer. You can increase or decrease the calculated BBD/SLED by entering a positive or negative value in the Additional Days field.

    Example Example

    A customer orders 22 pallets of a product. 20 pallets are on stock. The remaining 2 pallets must be produced and must have the same BBD/SLED as those on stock. In this case, you would enter a negative value in the Additional Days field.

    End of the example.

If you have selected the Copy BBD/SLED to Batch Master checkbox in Customizing (see “Prerequisites”), the system writes the calculated BBD/SLED to the batch master record after you save the process order. You can change the BBD/SLED in the process order by changing the Additional Days field in the Change Process Order (COR2) transaction. The system recalculates the BBD/SLED and updates the batch master record.

Activities

  • On the SAP Easy Access screen, choose Start of the navigation path Logistics Next navigation step Production - Process Next navigation step Process Order Next navigation step Process Order Next navigation step Create Next navigation step With Material End of the navigation path and enter the material number and the plant. Choose Enter.

  • On the General Data tab, enter the total quantity and the start date. The system uses the start date for the date of manufacture.

  • On the BBD/SLED tab, enter the additional days and choose Enter. The system calculates the BBD/SLED.

  • Save your entries.

  • If you want to subsequently change the BBD/SLED, choose SAP Easy Access Start of the navigation path Logistics Next navigation step Production - Process Next navigation step Process Order Next navigation step Process Order Next navigation step Change End of the navigation path. Change the additional days on the BBD/SLED tab and save your entry. The system recalculates the BBD/SLED.

More Information

Creating Process Orders