Hi
Check steps in SAP Note 109254 - Customizing stock transport order Cross Company. See also SAP Note 543821 - FAQ: cross-company processing and SAP Note 31126 - Intercompany billing - posting to vendor account using EDI.
I hope this helps you
Regards
Eduardo