# Cost Element vs G/L Account Consistency Check (S/4HANA Conversion Readiness)

> A custom ALV report that compares the cost elements in an ECC system with the G/L accounts in the chart of accounts and lists inconsistencies that would block the merge of cost elements into G/L accounts on S/4HANA. Missing G/L accounts, number clashes and cost element categories that change over time are visible before the conversion.

- Type: Report, Custom development, ALV report
- Module: CO
- Estimated effort: S (2–4 working days)
- Last updated: 2026-11-17
- URL: https://nekuhub.com/en/reports/cost-element-gl-account-consistency-check-s4hana/


## Why is the standard not enough?

KA03 shows one cost element and FS00 one G/L account; there is no standard list that compares both in bulk. On S/4HANA, cost elements are kept as G/L accounts, and SAP's conversion pre-checks report inconsistencies late in the project with technical messages. Projects want to do this clean-up early, with a list the business can read.

### Closest standard alternatives

- KA03: Shows one cost element; no bulk comparison with G/L accounts.
- FS00: Shows and changes one G/L account; does not check cost element consistency.

## Tables used

| Table | Role | Access | Join | System |
|---|---|---|---|---|
| CSKB | Cost elements at controlling area level, category and validity (driving table) | Read | - | ECC + S/4 |
| CSKA | Cost elements at chart of accounts level | Read | CSKA-KTOPL = TKA01-KTOPL AND CSKA-KSTAR = CSKB-KSTAR | ECC + S/4 |
| TKA01 | Chart of accounts of the controlling area | Read | TKA01-KOKRS = CSKB-KOKRS | ECC + S/4 |
| TKA02 | Company codes assigned to the controlling area | Read | TKA02-KOKRS = CSKB-KOKRS | ECC + S/4 |
| SKA1 | G/L account in the chart of accounts: balance sheet indicator, account group | Read | SKA1-KTOPL = TKA01-KTOPL AND SKA1-SAKNR = CSKB-KSTAR | ECC + S/4 |
| SKB1 | Company code record of the G/L account | Read | SKB1-BUKRS = TKA02-BUKRS AND SKB1-SAKNR = CSKB-KSTAR | ECC + S/4 |
| SKAT | G/L account description | Read | SKAT-KTOPL = TKA01-KTOPL AND SKAT-SAKNR = CSKB-KSTAR AND SKAT-SPRAS = P_SPRAS | ECC + S/4 |

## Selection screen parameters

| Parameter | Description | Type | Reference field | Required |
|---|---|---|---|---|
| P_KOKRS | Controlling area | Single value | CSKB-KOKRS | Yes |
| S_KSTAR | Cost element | Range / multiple | CSKB-KSTAR | No |
| S_KATYP | Cost element category | Range / multiple | CSKB-KATYP | No |
| P_SPRAS | Description language | Single value | SKAT-SPRAS | No |
| P_REVERS | Also list P&L accounts without a cost element | Checkbox | - | No |
| P_ERRONL | Show only errors and warnings | Checkbox | - | No |

## Output columns

| Column | Source |
|---|---|
| Controlling area | CSKB-KOKRS |
| Chart of accounts | TKA01-KTOPL |
| Cost element / account | CSKB-KSTAR |
| Description | SKAT-TXT50 |
| Cost element category | CSKB-KATYP |
| Valid from | CSKB-DATAB |
| Valid to | CSKB-DATBI |
| G/L account exists | Calculated: X when SKA1 has a record with the same number |
| Balance sheet account | SKA1-XBILK |
| Account group | SKA1-KTOKS |
| Missing company codes | Calculated: Company codes in TKA02 without an SKB1 record |
| Check result | Calculated: Error, warning or OK, with the rule that fired |
| Recommended fix | Calculated: Fixed text by rule (e.g. create G/L account, merge category into one period) |

## How does the report work?

1. For the selected controlling area, the chart of accounts is read from TKA01-KTOPL and the assigned company codes from TKA02.
2. Cost elements are read from CSKA (chart of accounts level) and CSKB (controlling area level, with validity periods); an element that carries a different category (KATYP) in different validity periods is flagged.
3. For each element the G/L account is looked up in SKA1: a primary element with no G/L account, or with a balance sheet account (SKA1-XBILK), is an error; a secondary element whose number clashes with an existing G/L account is a warning.
4. In the other direction, P&L G/L accounts without a cost element are listed, so it can be checked whether they were left out on purpose.
5. Each company code assigned to the controlling area is checked for an SKB1 record; the description is added from SKAT in the selected language and every row gets a recommended fix.

## Authorization objects

- K_CSKB: Cost element display authorization by controlling area
- F_SKA1_KTP: G/L account authorization by chart of accounts

## Frequently asked questions

### Does this check replace SAP's conversion pre-check?

No. SAP's pre-checks are mandatory for the conversion. This report shows the same topics at the start of the project in a form the business can read, so fewer errors come up at the pre-check stage.

### What happens to secondary cost elements on S/4HANA?

On S/4HANA, secondary cost elements are also created as G/L accounts, of the secondary cost type. Elements whose number clashes with an existing G/L account are therefore listed as warnings.

### Does the report make the fixes itself?

No, it only lists them and writes the recommended fix. Fixes are made with FS00 and KA02, or with a separate mass maintenance program, and confirmed by running the report again.

---
Let us build this report for your system: https://nekuhub.com/en/request-a-quote/?report=co-cost-element-gl-account-s4-readiness
