Currently u201Cpost goods issueu201D in normal sales is crediting inventory account and debiting COGS account. COGS is posted to sales profit center derived from sales order. If customer returns material, GR is done to blocked stock. No accounting document is generated at this phase. FI effect comes when material is moved from blocked stock to unrestricted stock (transfer posting in MM). This debits the inventory and credits the COGS account. However, as there is no link between SD sales document and MM stock transfer posting, COGS credit goes to inventory profit center derived from material master. This produces a mismatch between profit centers in COGS.
What settings should be done so that MM transfer posting COGS profit center should be derived from related sales order)?