Symptom
Posting a project settlement rule using API is not working due to error SADL_ENTITY_RUNTIME/014: Creation is disabled for association '_PROJECTSETTLEMENTRULE'
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Attempt to call the Project Settlement Rule API
- Send a POST payload that tries to create distribution rule number “1” (the default AUC rule) or includes unnecessary fields for the selected rule type.
Cause
- The endpoint path format used for POST was incorrect.
- The POST payload targeted the default (read-only) distribution rule number “1” and/or contained unnecessary or incorrect fields.
Resolution
- Use the correct POST endpoint pattern for creating distribution rules via navigation: /ProjectSettlementRule/{ProjectElementUUID}/_ProjSettlementDistrRule.
- Do not post to distribution rule number “1” (default AUC rule). Use rule number “2” or higher for new entries.
- Adjust the payload to only include fields required for your rule type. For a percentage rule to an AUC asset, the sample payload maybe as follows:
{
"LedgerGroup": "",
"SettlementType": "GES",
"SettlementPercentageRate": 100.00,
"SettlmtDistributionRuleNumber": "2",
"AccountAssignmentType": "AN",
"MasterFixedAsset": "10000000",
"FixedAsset": "0"
}
See Also
- API Specifications and Overview: Overview | Project Settlement Rule | Business Accelerator Hub
- Help Portal: Project Settlement Rule
Keywords
project settlement rule api, sap_com_0a91, api is disabled, creation is disabled, odata v4, settlement distribution rule, wbs, auc, communication arrangement, communication user, endpoint format, payload format, s/4hana cloud public edition, projectsettlementrule, controlling public cloud, SADL_ENTITY_RUNTIME, 014, SADL_ENTITY_RUNTIME/014 , KBA , CO-OM-2CL , Overhead Cost Controlling (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public