For an inbound sales order (IDoc, basic type ORDERS05) I am passing EAN of materials on E1EDP19-IDTNR with qualfier 003. SAP understands that this is not the SAP-matnr, but is the EAN. Hence, SAP correctly populates the XVBAP-EAN11 -- refer LVEDAF5F.
However, later on, during actual VA01-BDC processing -- refer LVEDAF4O -- SAP is pushing that EAN11 on VBAP-MATNR (that is normal SAP-material number), and thereby IDoc runs into error.
I have implemented EXIT_SAPLVEDA_001 to get around this. But is there anything I am missing due to which standard SAP is not taking care of the EAN11 ? Please advise. Thank you.