Solution : https://service.sap.com/sap/support/notes/699343 (SAP Service marketplace login required)
Summary :
When using SAP's transaction T_56 to set cost distribution 'B' (per delivery) or 'C' (per delivery item) for shipment cost item categories, error VY012 occurs if the company codes of the delivery and shipment differ. In the SAP R/3 Standard system, all company codes for deliveries must match the shipment's code for cost distribution during account assignment. To bypass this, modification in SD_SCD_ITEM_ACCT_ASSIGNMENT allows the deactivation of company code checks, requiring a CO substitution to ensure account assignments exist in the respective company code. This is a customer-side modification of the standard system.
Key words :
system issues error vy012 'company codes, issues error vy012, shipment cost item category, standard account assignment check, company codes deviate, shipment cost document, customizing transaction t_56, stock transfer reason, function module sd_scd_item_acct_assignment, function group v54k
Related Notes :
746613 | INFO: => LE-TRA-FC-SET (transfer to FI/CO) |
746550 | INFORMATION: => LE-TRA-FC-ACC (Account assignment) |
394204 | CO line item with plant from SD order instead of from the PO |
147620 | Not all accnt assignmnt objects substitutable in CO |