Thanks Ronit & Rupesh .
Actually we are trying to create a program for Automatic component Re-allocation to the operation with help table PLMZ .
We have one interface for BOM Create/Update , whenever this interface run to update the BOM it first delete the BOM at line item & then recreate the BOM line item & by virtue of that BOM allocation to operation vanishes from routing .
But as we observed that whenever BOM deleted from CS02 , entry remain in table “PLMZ” . We are developing program & as per logic by passing BOM number (PLMZ-STLNR) & item node number (PLMZ-STLKN) into table “STPO-STLNR & STOP- STLKN we try to find out the new BOM component material .
Similarly by passing PLMZ- PLNNR ( Routing Number ) & PLMZ-PLNKN to the table PLPO we will try to determine the operation number & run the BDC for routing change (CA02) which will reallocate the BOM component to the operation .
We are facing below two difficulties .
1. We don’t have any table to cross check new BOM’s , which had assignment to the routing operation but it doesn’t have now because it got recreated
Remarks – As per pervious update from experts it can not be checked as its GAP in SAP .
2. As observed that whenever BOM deleted at line item level & recreated then its Item node number changes .
Example - Suppose BOM Number – “X” & Item Node – 1
After recreation BOM Number - X & Item Node - 2
Please let me know if its standard behavior or we are missing something .
Thanks,
Regards,
Aman