Month-End Closing of Turkish 7/A Cost Accounts via Reflection Accounts
Short answer: A custom closing program for companies using the 7/A option of the Turkish Uniform Chart of Accounts: it reads the month-end balances of the 7-group cost accounts by cost center and business area and closes them through the reflection accounts to the target accounts in groups 15, 6 and 7. Transfers between business areas are posted in the same run, and the documents created and the 7-group trial balance check are shown in one list.
- Estimated effort
- M · 6–10 working days
- System
- ECC and S/4HANA
- Tables
- 7
- Scope
- TR
- Built by
- NeKuDos Teknoloji
- Last updated
Why is the standard not enough?
In SAP, assessment and distribution cycles (KSU5, KSV5) move costs between cost centers but do not create the G/L postings of the Turkish 7/A logic to the reflection accounts (for example 711, 761, 771) and the target accounts (151, 631, 632, 660). These postings are entered manually every month with FB50 or as mass postings prepared in Excel; the business area transfer and the check that the 7 group nets to zero after reflection are done separately.
Who uses it? General ledger and cost accounting teams, financial controllers and SAP FI/CO support teams.
Closest standard alternatives
- KSU5 Execute Actual Assessment. Allocates between cost centers; does not create the 7/A reflection and target account postings at G/L level.
- FB50 G/L Account Posting (Single Screen). Reflection postings can be entered manually; collecting balances, the business area transfer and the remaining difference check are manual.
Localization and legal basis
Türkiye · Turkish Revenue Administration (GİB)
Legal basis: The Turkish Uniform Chart of Accounts and its 7/A cost account option, set by the General Communiqués on the Accounting System.
The mapping of reflection and closing accounts is defined for the company's chart of accounts during installation and checked together with the financial advisor.
Tables used
The tables the program reads and updates. ECC and S/4HANA differences are marked separately.
| Table | Role | Access | System |
|---|---|---|---|
| FAGLFLEXTNew General Ledger: Totals | Period balances of the 7-group accounts: account, cost center, business area (driving table) | Read | ECC + S/4 |
| ACDOCAUniversal Journal Entry Line Items | Universal journal used for balances on S/4HANA | Read | ECC + S/4 |
| CSKSCost Center Master Record | Cost center category and business area (for target account and transfer) | Read | ECC + S/4 |
| SKA1G/L Account Master (Chart of Accounts) | 7-group, reflection and target accounts in the chart of accounts | Read | ECC + S/4 |
| SKATG/L Account Descriptions | Account names | Read | ECC + S/4 |
| BKPFAccounting Document Header | Header of the reflection document created | Write | ECC + S/4 |
| BSEGAccounting Document Segment | Reflection, target account and business area transfer lines | Write | ECC + S/4 |
S/4HANA notes
- FAGLFLEXT → ACDOCA: In S/4HANA totals tables are no longer updated separately; FAGLFLEXT is read as a compatibility view that aggregates ACDOCA line items.
BAPIs and functions used
- BAPI_ACC_DOCUMENT_POSTAccounting: Post Document. Posts the reflection and business area transfer entries
- BAPI_ACC_DOCUMENT_REV_POSTAccounting: Post Reversal. Reverses the period's reflection documents
Selection screen parameters
| Parameter | Description | Type | Reference field | Required | Example |
|---|---|---|---|---|---|
| P_BUKRS | Company code | Single value | BKPF-BUKRS | Yes | 1000 |
| P_GJAHR | Fiscal year | Single value | BKPF-GJAHR | Yes | 2026 |
| P_MONAT | Period | Single value | BKPF-MONAT | Yes | 10 |
| P_BUDAT | Posting date | Single value | BKPF-BUDAT | Yes | 31.10.2026 |
| S_GSBER | Business area | Range / multiple | BSEG-GSBER | No | 0001 |
| P_REV | Reverse the period's reflection documents | Checkbox | — | No | — |
| P_TEST | Test mode (check without posting) | Checkbox | — | No | X |
Result list columns
| # | Column | Source |
|---|---|---|
| 1 | Cost account | FAGLFLEXT-RACCT |
| 2 | Account name | SKAT-TXT50 |
| 3 | Cost center | FAGLFLEXT-RCNTR |
| 4 | Business area | FAGLFLEXT-RBUSA |
| 5 | Period cost | Calculated Sum of HSLnn for the period |
| 6 | Reflection account | Calculated Reflection account from the mapping table |
| 7 | Target account | Calculated Target account from the mapping table and cost center category |
| 8 | Reflected amount | Calculated Amount reflected in this run and earlier documents |
| 9 | Remaining difference | Calculated Period cost − reflected amount |
| 10 | Document no. | Calculated Accounting document created |
Sample result list
| Cost account | Account name | Cost center | Business area | Period cost | Reflection account | Target account | Reflected amount | Remaining difference | Document no. |
|---|---|---|---|---|---|---|---|---|---|
| 7300001 | Production Overhead - Energy | PRD-210 | 0001 | 412,800 | 7310001 | 1510001 | 412,800 | 0 | 100004521 |
| 7600002 | Marketing, Selling, Distribution - Freight | SAT-110 | 0002 | 86,450 | 7610001 | 6310001 | 86,450 | 0 | 100004522 |
| 7700004 | General Administration - Consulting | YON-010 | 0001 | 54,200 | 7710001 | 6320001 | 0 | 54,200 |
How does the program work?
- A mapping table defines the reflection account and target account for each 7-group cost account: direct materials (710 → 711 → 151), direct labour (720 → 721 → 151), production overhead (730 → 731 → 151), marketing, selling and distribution (760 → 761 → 631), general administration (770 → 771 → 632), finance (780 → 781 → 660) and so on. The target account can differ by cost center category (CSKS-KOSAR).
- Balances of the 7-group accounts for the selected period are read with cost center and business area from FAGLFLEXT (ACDOCA on S/4HANA).
- A reflection posting is prepared for each balance: debit the target account, credit the reflection account. If the cost center’s business area differs from the company’s closing business area, a business area transfer line is added.
- Postings are made with BAPI_ACC_DOCUMENT_POST using a dedicated document type; the document header carries the period and run information. If the same period is run again, the earlier documents are found and a warning is shown.
- The check list shows cost, reflection and remaining difference for each 7-group account pair; a row is flagged if the difference is not zero.
- With the reversal option, the period’s reflection documents are reversed in bulk with BAPI_ACC_DOCUMENT_REV_POST.
- In test mode no document is posted; the prepared posting lines are shown.
Performance notes
Read balances by aggregating FAGLFLEXT or ACDOCA by period, company code and the 7-group account range rather than line items. Package postings as one document per business area, so a few documents are created even with hundreds of cost centers.
Features
- ALV list (sort, filter, subtotals)
- Test mode (check without posting)
- Line-by-line result and error log
- Double-click drill-down to the document From a row you can jump to the document created and the account balance.
- Runs as a background job Can run as a scheduled job in the month-end closing calendar.
Authorization objects
- F_BKPF_BUKDocument posting authorization by company code
- F_BKPF_GSBPosting authorization by business area
- K_CSKSAuthorization to read cost center data
Frequently asked questions
Is it also suitable for companies using 7/B?
No. Under the 7/B option expenses are tracked by nature and the reflection logic differs. The program is designed for 7/A; closing postings for 7/B need a separate mapping.
Is the cost center kept in the reflection posting?
If the target account is not a cost element the cost center is not carried to the posting; business area and profit center are kept. This way costs are not counted twice in CO.
What changes on S/4HANA?
Balances are read from ACDOCA instead of FAGLFLEXT. Since cost elements are G/L accounts on S/4HANA, the G/L account type of the reflection accounts (not a primary cost element) is checked during installation.
Related reports
Assessment and Distribution Cycle Sender-to-Receiver Report
A custom ALV report that reads period-end distribution and assessment documents and shows how much cost each sending cost center passed to which …
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 …
Let us build this program for your system
Briefly describe your system and expectations. We will clarify the scope and come back with an effort and price quote.