SAP Note 391336 - Invalid product location combination (pegging area)

Component : Interface to External Systems -

Solution : https://service.sap.com/sap/support/notes/391336 (SAP Service marketplace login required)

Summary :
When attempting to transfer orders to APO using BAPI_MOSRVAPS_SAVEMULTI2, an error code /SAPAPO/OM 008, indicating "Invalid product location combination (pegging area)," may occur despite the correct combination existing in APO. The issue arises from utilizing a non-active product location version in APO. To resolve this, modify several function modules (/SAPAPO/DM_ORDER_CONVERT, /SAPAPO/DM_ORDER_CONVERT_IO, /SAPAPO/DM_ORDER_CONVERT_OPR, /SAPAPO/DM_ORDER_MERGE_CIF_APO) to include an IV_SIMID parameter of type /SAPAPO/VRSIOID, defaulting to '000'. Apply similar enhancements to the CONVERT_CIF_INPUT and CONVERT_CIF_OUTPUT routines. Implement these source code changes to ensure proper version usage.

Key words :
additional key words planned order - production order - process order - manufacturing orderexternal system connection - cif - interface errormissing location - missing material - missing product -missing material plant combination, /sapapo/dm_order_convert     /sapapo/dm_order_convert_io     /sapapo/dm_order_convert_opr     /sapapo/dm_order_merge_cif_apothat, invalid product location combination, product location combination, iv_simid    type   /sapapo/vrsioid   default '000', /sapapo/om 008 error appears, optional iv_simid import parameter, external system, /sapapo/vrsioid type, convert_cif_output form routines

Related Notes :

388931R/3->APO: Creating an order fails on bucket consumption