All,
1. When performing a GR for a Purchase Order, we manually create a dummy batch for the material via BAPI_BATCH CREATE
2.Due to our business requirements, we set the deletion flag for this batch during creation.
But when I am doing this, the system is also flagging the MARD-LVORM, i.e the deletion flag is being set at the material/plant/sloc level for the quantity being updated via the GR.
Hence, from here on, at later stages, any new real batches that I create for this material and try to update stock for these new batches, the deletion flag is set for these new batch.
The batch master itself does not have a deletion flag set i.e, the MCHA and MCH1, do not have a deletion flag (LVORM) set.
It seems to be that only the stock is being set to delete. Anything you all can think of?
Thanks