See the documentation Cross-System Stock Transfer (Intra-Company-Code), Linking SAP APO Systems and ERP Systems.