Symptom
When creating a batch in the 'Change Inbound Deliveries' app and filling the BBD (Best-before-date) field and saving, the value maintained is not saved in the Manage Batches APP.
Environment
SAP S/4HANA Cloud Public Edition
Cause
The EWM side needs LOBM_VFDAT to update the batch master. It is always possible to enter BBD in the APP Change Inbound Deliveries but without LOBM_VFDAT it will not be written into the batch master (but "only" on the delivery item and that's why you can see it in the EWM Inbound Delivery app but not in batch master).
Resolution
- The Change Batch APP and BBD Date:Using the Change Batch APP, you can easily access the BBD (Best Before Date) of batches by selecting the Material and Batch number within the batch master. In the tab Basic Date 1, you have the option to manually add the SLED/BBD (Shelf Life Expiration Date/Best Before Date). Alternatively, you can check in the Classification tab the respective Class and Class Type related to the Batch and the Material.
- Utilizing Display Class APP to incorporate the "LOBM_VFDAT" characteristicIn the Display Class APP, using the Class and Class Type found previously, in the Characteristic tab, you can incorporate the "LOBM_VFDAT" characteristic along with "YB_BATCH_NUMBER" and "YB_SUPPLIER_BATCH_NUMBER" as the third characteristic. With this, the system will also read the Shelf Life Expiration Date for all the batches related to this Class and Class Type in the Batch Master. Important remark: Once you have extended the class, it should work out of the box for new batches. If you want to add the date to already existing batches, this has to be done manually by the customer for each batch that needs to be changed.
- Variations in BBD Date Maintenance: An important comment that could arise is: Why some batches that are related to the same material are with the BBD date maintained in the Manage Batches APP and some other batches related to the same material are not with the BBD date maintained in the APP?
This difference results from varying batch creation methods. Batches without BBD dates in the batch master were likely created in EWM, while all others were generated in ERP, as EWM requires LOBM_VFDAT for filling the BBD in the batch master.
So in case you don't want to extend the class or manually enter the SLED/BBD related to the mentioned steps 1 and 2, you could create batches on the ERP side. Creating it by the ERP side, the batch and its material will automatically populate the SLED/BBD in the batch master (Manage Batches APP).
Keywords
LOBM_VFDAT, Shelf Life Expiration Date, Best before date, s/4hana public cloud, s/4hana cloud, EWM, WM, ERP.