Subcontracting different delivery address
I have a material that is subject to subcontracting. The order is placed at vendor 1 but the components first need to be delivered to vendor 2. After vendor 2 is finished, he will deliver the components to vendor 1. Vendor 1 will do his thing and deliver it back to the plant. Vendor 1 will invoice. Vendor 2 only acts as delivery address. How to capture this in SAP?