Hi Leandro,
In each line item SAP allows to post max.3 statistical object and one true object. In your case SAP considers cost center as statistical object whereas true object will be PA.
while posting shipment cost, mention the cost center and PA in the line item.
Cheers,