# Cost of Goods Manufactured and Cost of Sales Statement (Turkey)

> A custom ALV report that prepares the cost of sales statement of the Turkish financial statement schedules directly from SAP G/L balances. It starts from direct materials, direct labour and production overhead, applies the changes in work in process and finished goods to reach the cost of goods manufactured, and from there the cost of finished goods, merchandise and services sold; current and prior period are shown side by side, ready for Excel.

- Type: Report, Custom development, ALV report
- Module: CO
- Estimated effort: M (5–8 working days)
- Localization: TR
- Last updated: 2026-11-18
- URL: https://nekuhub.com/en/reports/turkey-cost-of-goods-manufactured-and-cost-of-sales-statement/


## Localization and legal basis: Türkiye

- Legal basis: The cost of sales statement among the financial statement schedules set by the General Communiqués on the Accounting System.
- The account ranges of the statement lines are defined for the company's chart of accounts during installation and checked against the statement layout in current regulation.

## Why is the standard not enough?

S_ALR_87012284 and F.01 produce the balance sheet and income statement by financial statement version, but they do not calculate the opening/closing stock lines and subtotals of the cost of sales statement. KE30 offers profitability analysis, not the statutory layout. The statement is therefore compiled by hand in Excel from the trial balance every period.

### Closest standard alternatives

- S_ALR_87012284: Produces balance sheet and income statement by financial statement version; does not calculate the stock change lines of the cost of sales statement.
- KE30: Offers profitability analysis reports; no statutory layout or opening/closing stock lines.

## Tables used

| Table | Role | Access | Join | System |
|---|---|---|---|---|
| FAGLFLEXT | G/L period balances and carryforward balance (driving table) | Read | - | ECC + S/4 |
| ACDOCA | Universal journal used for balances on S/4HANA | Read | - | ECC + S/4 |
| SKA1 | Validating account ranges in the chart of accounts | Read | SKA1-SAKNR = FAGLFLEXT-RACCT | ECC + S/4 |
| SKAT | Account names in the detail view | Read | SKAT-SAKNR = SKA1-SAKNR | ECC + S/4 |
| T001 | Company name, currency and chart of accounts | Read | T001-BUKRS = FAGLFLEXT-RBUKRS | ECC + S/4 |
| MBEWH | Period-end stock values for control | Read | MBEWH-LFGJA = mali yıl AND MBEWH-LFMON = dönem | ECC + S/4 |

## Selection screen parameters

| Parameter | Description | Type | Reference field | Required |
|---|---|---|---|---|
| P_BUKRS | Company code | Single value | T001-BUKRS | Yes |
| P_GJAHR | Fiscal year | Single value | BKPF-GJAHR | Yes |
| S_MONAT | Period range | Range / multiple | BKPF-MONAT | Yes |
| P_PREV | Show the same period of the prior year | Checkbox | - | No |
| P_RLDNR | Ledger | Single value | FAGLFLEXT-RLDNR | No |

## Output columns

| Column | Source |
|---|---|
| Line code | Calculated: Statement line from the mapping table (A, B, C …) |
| Line description | Calculated: Statutory name of the statement line |
| Account range | Calculated: Accounts assigned to the line |
| Current period | Calculated: Sum of balances in the selected periods or subtotal formula |
| Prior period | Calculated: Same period range of the prior year |
| Change % | Calculated: (Current − prior) / prior × 100 |

## How does the report work?

1. Statement lines are defined with account ranges in a mapping table: A. Direct materials (710–711), B. Direct labour (720–721), C. Production overhead (730–731), D. Change in work in process (151 opening and closing), E. Cost of goods manufactured, F. Change in finished goods (152), G. Cost of finished goods sold, H. Cost of merchandise sold (153 and purchases), I. Cost of services sold (622) and cost of other sales.
2. Account balances are read from FAGLFLEXT (ACDOCA on S/4HANA) for the selected company code, year and period range; opening stock lines use the carryforward balance (HSLVT) plus earlier periods.
3. Subtotals are calculated with defined formulas; the cost of goods manufactured and cost of goods sold are compared with the balance of accounts 620–622 and any difference is shown on a separate line.
4. For control, stock lines can be compared with the period-end stock values in MBEWH.
5. The same period of the prior year is calculated in a side column with the change amount and percentage.
6. From a line you can drill down to the balances and line items of the accounts behind it.

## Authorization objects

- F_BKPF_BUK: Accounting data display authorization by company code
- F_FAGL_LDR: Display authorization by ledger

## Frequently asked questions

### Does it work for companies using 7/B?

Yes. Under 7/B production costs are tracked by nature in group 7, so the account ranges of the lines are defined differently; the statement layout and subtotal logic stay the same.

### What if the cost of finished goods sold does not match account 620?

The report compares the calculated amount with the balance of account 620 and shows the difference on a separate control line. A difference usually points to a missing cost closing entry or a direct posting to a stock account.

---
Let us build this report for your system: https://nekuhub.com/en/request-a-quote/?report=tr-cost-of-goods-manufactured-statement
