A dump below with error CO889 occurs if there are more than 99 phantom materials on one level of BOM when a production order is created.
The cause is that the length of the field keeping the number of phantoms is only 2 so it cannot hold the number greater than 99. The adjustment of BOM structure is necessary in order to avoid the dump, e.g. reduce the number of phantom materials on the same level of BOM, but it is sometimes difficult to find the phantoms if the BOM is very big. Thus, a report is developed to find them and show.
It’s source code can be found in the wiki below.
Here is the selection screen.
This can be used to check the material BOM, sales order BOM, WBS BOM, and the material number/plant/usage should be entered whichever BOM need to be checked.
1. ‘MAXLEVEL’ is for restricting the BOM explosion up to that level for better performance.
2. ORD_NUM and ORD_ITEM are for sales order number and its item.
3. WBS is for the WBS number.
If no sales order number or WBS number is entered, the material BOM is checked.
Here is the result.
At the top, it shows the number of phantoms and the level where the phantoms are located. The column ‘Count Phantoms’ shows the number of of each phantom till the current one on the same level, so, scroll down to the last phantom can show the total number, the material number of phantoms and the numbers of phantoms therefore can be identified.
More information can be found in the result screen as following.
Please feel free to let me know if this can help or any suggestions to make it easy to use.