SAP Knowledge Base Article - Public

3758804 - Error Profit Center Accounting is enabled, but no profit center was specified when using Cost Center API

Symptom

The following error is observed - 

KS096 - Profit Center Accounting active but no profit center specified 

When using the Cost Center API.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Run the cost center API POST operation.
  2. Check the response and observe that the error KS096 is retruned.

Example - 

{"error":{"code":"KS/096","message":"Profit Center Accounting active but no profit center specified (CCtr...

Resolution

Please refer to the following KBA - 

3522633 - Error 'Profit Center Accounting is enabled, but no profit center was specified ' obtained while creating cost center

and the details -

Profit center accounting is enabled by default and it is mandatory to enter the profit center while creating a cost center. Creation of cost center without a profit center is not allowed.

Please ensure that the profit center is maintained for all entries.

See Also

refer to: 0003522633 - Error 'Profit Center Accounting is enabled, but no profit center was specified'

Keywords

cost center api, $batch, content-id mismatch, odata batch, post batch, profit center accounting, profitcenter missing, api_cost_center, create cost center, batch response mapping, failed items, s/4hana cloud, overhead cost controlling, odata v4, profit centre, profit centre accounting, KS/096, KS096, KS 096, api_profitcenter, A_CostCenter_2  , KBA , CO-OM-2CL , Overhead Cost Controlling (Public Cloud) , CO-OM-CCA-A-2CL , Master Data (Public Cloud) , CO-FIO-PCA-MD-2CL , Master Data (Public Cloud) , CO-OM-CCA-2CL , Cost Center Accounting (Public Cloud) , How To

Product

SAP S/4HANA Cloud Public Edition all versions