SAP Message VT380 - Automatic costing is only valid for product costing

VT380 : Automatic costing is only valid for product costing