!--a11y-->
Settings in Customizing for Replenishment (Internal Company Code, Cross-Company Code, Consignment) 
Purpose
Characteristic for both processes is the switch of SAP R/3 system. An exception to this is consignment processing in situations with one system. This is displayed as a stock transfer (PO type ‘NB’) without unchecked delivery. You can find further details on these processes in the process descriptions
Cross-System Stock Transfer (Intra-Company-Code), Cross-System Stock Transfer (Cross-Company-Code), and Consignment.Prerequisites
Procedure
We will only discuss in detail those features that are of interest with regards to the change of SAP R/3 system and/or any new objects (for example, unchecked delivery).
Make the following settings:
Ordering System
The debtor is used in the supplying system as the goods recipient in the delivery.

The plants in this table are internal plants that should be viewed here as the ordering plant, or the returning plant in the case of returns orders
Business Transaction Events ®
Settings ®
Process function modules ®
...of a partner.This indicator causes a dialog box to appear that enables you to assign a customer number with a sales area. This customer is used as the goods recipient in the returns delivery.
When you make this setting, the system automatically enters the goods recipient in the delivery when it is created from a returns delivery.
Supplying System

The goods recipient is made known to the system by the IDoc DELIVERYPROCESSING_EXECUTE. It is identical to the customer stored in the ordering system, in Customizing for stock transfers at the ordering plant.

This setting is relevant for cross-company-code direct selling cases, since you have to perform intercompany billing here.
The system reads the customer material info record, including the sales area of the supplying plant and the goods recipient number, in order to determine the delivery priority and the partial delivery indicator.
The system determines the transportation and loading group from the shipping view of the material.
You use the billing-relevance to specify whether the replenishment is company-code-internal or cross-company code.
The item category in the consignment delivery can be converted using table TVLPAIP.
The key fields in table TVLPAIP must contain the following values:
ITEM_CATEGOR_PRE = _
DOC_TYPE_PREDECE = ‘KBN’
DOC_CATEGORIE = ‘L’
SENDERSYSTEM = Sender number of the IDoc
DELIVERYPROCESSING_EXECUTE
You must use the message variant ‘MM’ in the partner profile for intercompany billing of a stock transfer. The process code INVL (= Logistics Invoice Verification) is used for the outbound message /BARL/BAID_SD09 (= function module IDOC_OUTPUT_IV_MM with outbound IDoc) and for the incoming message.
