SAP Message 5D339 - Calculation procedure not allowed for primary entitlements

5D339 : Calculation procedure not allowed for primary entitlements