SAP Knowledge Base Article - Public

3762822 - Cannot post Project Settlement Rule using API (SAP_COM_0A91). Error "Creation is disabled for association '_PROJECTSETTLEMENTRULE'"

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

  1. Attempt to call the Project Settlement Rule API
  2. 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

  1. Use the correct POST endpoint pattern for creating distribution rules via navigation: /ProjectSettlementRule/{ProjectElementUUID}/_ProjSettlementDistrRule.
  2. Do not post to distribution rule number “1” (default AUC rule). Use rule number “2” or higher for new entries.
  3. 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

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