I tried connecting it via standard key fields (MANDT, VBELN, POSNR) but they seem to be shipment/delivery numbers and not sales order ones, so I tried connecting it to delivery/shipment tables but that doesn't seem to be working properly either.
The goal is to get the carrier number from VTPA table and corresponding sales orders numbers.