I have a one requirement my client will procure raw material from Japan to plant A after that they will do STO to Plant B. Here in Plant B we will consume that raw material to manufacture finished goods.
Now our requirement is we will run MRP for Plant B for a finished good(FG) then system should consider Plant A opening stock as well as Plant B opening stock and stock in transit between Plant A and Plant B.
Example: FG requirement-------3000 let us consider Bom Ratio as 1:1 so here We Need Material X (Raw Material) also 3000 qty but system should show requirement quantity as below.
Plant A Stock-- 1000
Plant B stock ------200
Stock in Transit ----800
Requirement for A will be 1000 qty()
As of now we are able to consider Plant A opening stock as well as Plant B opening stock using BADI (MD_CHANGE_MRP_DATA) After MRP run system is showing available QTY for X material 1200,
Now our problem is system is not considering stock in transit (800).
After MRP run system should show available QTY as 2000(Plant A opening stock+Plant B opening stock+stock in transit between Plant A and B)
Kindly suggest for consideration of stock in transit during MRP run.