Under certain circumstances, it is possible that negative stocks are posted in the system although this is unwanted.
An example is the withdrawal of components for a run schedule header.
Providing you do not exit the run schedule header transaction after posting the withdrawal and you are using the same components again in the next document that is posted, then the material master is not read for these components. This leads to incorrect data which is then used for the computation of quantities.
Program error.
SolutionIn function module FUNCTION MATERIAL_PRE_READ_MBEFU, you have to change both the interface and the source code.
Please insert the import parameter KZRFB in the interface.
Import parameter Refer.field Refer.type Default Optional
-----------------------------------------------------------
KZRFB MTCOM-KZRFB SPACE X
In Include MM07MFT0, you have to change FORM routine TRANSAKTION_INITIALISIEREN.
No comments:
Post a Comment