# Cost Centers with Missing or Invalid Profit Center Assignment Report

> A custom ALV report that checks cost centers, and optionally internal orders, for their profit center assignment and lists records where the assignment is missing, the profit center is undefined, locked or expires before the cost center. Costs that never reach a profit center are found before month-end and before document splitting or an S/4HANA migration.

- Type: Report, Custom development, ALV report
- Module: CO
- Estimated effort: S (2–3 working days)
- Last updated: 2026-11-17
- URL: https://nekuhub.com/en/reports/cost-centers-missing-profit-center-assignment-report/


## Why is the standard not enough?

KS13 shows cost centers in bulk and can list the profit center field, but it does not check whether the assignment is valid, unlocked and defined for the same period as the cost center. KE53 shows one profit center. Unassigned costs are noticed only when amounts pile up on the default profit center in profit center reports.

### Closest standard alternatives

- KS13: Shows cost centers in bulk; does not check whether the profit center assignment is valid.
- KE53: Shows one profit center; no comparison with cost centers.

## Tables used

| Table | Role | Access | Join | System |
|---|---|---|---|---|
| CSKS | Cost center master: company code, person responsible, profit center, validity (driving table) | Read | - | ECC + S/4 |
| CSKT | Cost center description | Read | CSKT-KOKRS = CSKS-KOKRS AND CSKT-KOSTL = CSKS-KOSTL AND CSKT-DATBI = CSKS-DATBI AND CSKT-SPRAS = SY-LANGU | ECC + S/4 |
| CEPC | Profit center master: validity and lock indicator | Read | CEPC-KOKRS = CSKS-KOKRS AND CEPC-PRCTR = CSKS-PRCTR | ECC + S/4 |
| CEPCT | Profit center description | Read | CEPCT-KOKRS = CEPC-KOKRS AND CEPCT-PRCTR = CEPC-PRCTR AND CEPCT-DATBI = CEPC-DATBI AND CEPCT-SPRAS = SY-LANGU | ECC + S/4 |
| AUFK | Internal orders and assigned profit center (optional) | Read | AUFK-KOKRS = CSKS-KOKRS | ECC + S/4 |
| COSP | Actual primary costs in the year | Read | COSP-OBJNR = 'KS' + CSKS-KOKRS + CSKS-KOSTL (veya AUFK-OBJNR) AND COSP-GJAHR = P_GJAHR AND COSP-WRTTP = '04' | ECC + S/4 |

## Selection screen parameters

| Parameter | Description | Type | Reference field | Required |
|---|---|---|---|---|
| P_KOKRS | Controlling area | Single value | CSKS-KOKRS | Yes |
| S_BUKRS | Company code | Range / multiple | CSKS-BUKRS | No |
| S_KOSTL | Cost center | Range / multiple | CSKS-KOSTL | No |
| P_KEYDT | Key date | Single value | SY-DATUM | Yes |
| P_GJAHR | Fiscal year for the cost check | Single value | COSP-GJAHR | No |
| P_ORDERS | Also check internal orders | Checkbox | - | No |
| P_COSTS | Show only objects with costs | Checkbox | - | No |

## Output columns

| Column | Source |
|---|---|
| Controlling area | CSKS-KOKRS |
| Company code | CSKS-BUKRS |
| Object type | Calculated: Cost center or internal order |
| Cost center / order | CSKS-KOSTL |
| Description | CSKT-KTEXT |
| Valid to | CSKS-DATBI |
| Person responsible | CSKS-VERAK |
| Profit center | CSKS-PRCTR |
| Profit center description | CEPCT-KTEXT |
| Profit center valid to | CEPC-DATBI |
| Profit center locked | CEPC-LOCK_IND |
| Actual costs this year | Calculated: Sum of COSP WKG001…WKG016, value type 04 |
| Issue | Calculated: Missing assignment, undefined, locked or validity mismatch |

## How does the report work?

1. Cost centers valid on the key date for the selected controlling area are read from CSKS, with texts from CSKT.
2. CSKS-PRCTR is checked for each cost center: blank means Missing assignment; not in CEPC means Undefined profit center; CEPC-LOCK_IND set means Locked; CEPC-DATBI before the cost center's valid-to date means Validity mismatch.
3. If selected, internal orders from AUFK are checked with the same rules (AUFK-PRCTR).
4. Objects with actual costs in the year are totalled from COSP (actual value type); problem objects that carry costs are prioritised.
5. The profit center text is added from CEPCT; the result is sorted by issue type.

## Authorization objects

- K_CSKS: Cost center master display authorization
- K_PCA: Profit center authorization
- K_ORDER: Internal order display authorization

## Frequently asked questions

### Where do postings to a cost center without an assignment go?

In profit center accounting they land on the default (dummy) profit center. The report shows the cost centers behind these amounts and how much cost they carried during the year.

### Why does this check matter on S/4HANA?

On S/4HANA the profit center sits on the same document line, and with document splitting every line is expected to carry the right profit center. Fixing missing assignments before the conversion reduces the need for correction postings at period close.

### Can the fixes be made in bulk?

Yes. The records to fix can be exported to Excel and updated with the mass cost center change program; running the report again confirms the result.

---
Let us build this report for your system: https://nekuhub.com/en/request-a-quote/?report=co-cost-center-profit-center-assignment-check
