Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Subcontracting: Adopt country of origin of component for finished product

Hi guys,

I need please your help on this issue:

During MIGO for subcontracting (101, 543), the country of origin for the produced batch (Goods receipt 101) has to be adopted from the batch of one of the consumed materials (543). The used logic to establish from which consumed materials it must be adopted is here regardless.

In User Exit EXIT_SAPMM07M_003, i read the list of compenents to be consumed from MDSB or RESB (using EBELN/EBELP) which were written as i delivered the components to the subcontractor. My Problem is that, in these tables the batch of the materials to be consumed is empty.

Without this i cannot access in MIGO into the table MCHA to get the country of origin of the consumed material.

<i>Note: The country of origin MUST come from MCHA of the consumed material. We use only a valuation type but the material is procurred from different countries for the same price using purchasing info records and it can vary from PO to PO.</i>

How can i solve this problem?

Best regards


Not what you were looking for? View more on this topic or Ask a question