Cause SAP standard function can't record the BOM modification of outsourced PO, I try to get the BOM by a method GET_BOM() in BAdI ME_PROCESS_PO_CUST, and the method can't get anything while testing. I debug my enhancement codes, find that there is a logical code in the method GET_BOM(), and its result seems always false and has no chance to process the inner code.
Do I miss something, or the standard code exists bug?
Here are the codes.

