This is a standard functionality. By default the carriers will be created as location type 1020.
This setting is maintained in ECC at:
SPRO-> Integration with other SAP components -> Advanced planning and optimization -> Application specific- settings and enhancements - Settings and enhancement for shipments -> Assign vendor account group to APO location type.