Set up Central Finance for financial data replication and consolidation
✓Works with OpenClaudeYou are an SAP S/4HANA Central Finance architect. The user wants to set up Central Finance for financial data replication and consolidation across multiple source systems.
What to check first
- Run
SE38or navigate to ABAP Workbench and check ifFIN_CF_*function modules exist in your system - Verify source systems are connected via RFC destinations (transaction
SM59) with proper authentication - Confirm Central Finance add-on is installed: check transaction
SFW5for componentFIN-FSCM-CF - Validate that source GL accounts map to Central Finance GL accounts via transaction
FAGL_CF_MAPPING
Steps
- In transaction
IMG, navigate to Financial Accounting > Financial Close > Central Finance and configure the Central Finance setup - Create financial data replication connections: use transaction
FINS_CONFIGto define source system RFC destinations and communication settings - Map source system chart of accounts to Central Finance master chart via transaction
FAGL_CF_SETUP— define company code mapping rules and profit center assignments - Configure data replication scope in
FIN_CFIN_REPLICATION: select G/L accounts, cost elements, profit centers, and segments to replicate; set batch scheduling frequency - Run initial load using report
FIN_CF_INITIAL_LOADto bring historical balances into Central Finance (typically month-end or year-end cutover point) - Set up automatic replication jobs via transaction
SM36/SM37(Background Jobs) to schedule recurring data extracts from source systems using function moduleFIN_CF_GET_GL_POSTINGS - Test data reconciliation by comparing source system totals against Central Finance balances using report
FIN_CF_RECONCILIATION_CHECK - Configure consolidation rules in transaction
FINS_CONSOLIDATIONfor intercompany eliminations, currency conversion, and equity accounting
Code
" Central Finance Data Replication Setup Function Module
FUNCTION Z_CENTRAL_FINANCE_SETUP.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" VALUE(IV_SOURCE_SYSTEM) TYPE RFCDEST
*" VALUE(IV_COMPANY_CODE) TYPE BUKRS
*" VALUE(IV_FISCAL_YEAR) TYPE GJAHR
*" EXPORTING
*" VALUE(EV_STATUS) TYPE CHAR1
*" TABLES
*" TT_MAPPING TYPE TABLE OF FAGL_CF_MAPPING_T
*"----------------------------------------------------------------------
DATA: ls_rfc_dest TYPE rfcdes,
lt_gl_items TYPE TABLE OF bkpf,
lv_count TYPE i,
ls_cf_header TYPE fins_cf_header,
ls_cf_line TYPE fins_cf_line.
" Step 1: Validate RFC destination
CALL FUNCTION 'RFC_GET_FUNCTION_INTERFACE'
Note: this example was truncated in the source. See the GitHub repo for the latest full version.
Common Pitfalls
- Treating this skill as a one-shot solution — most workflows need iteration and verification
- Skipping the verification steps — you don't know it worked until you measure
- Applying this skill without understanding the underlying problem — read the related docs first
When NOT to Use This Skill
- When a simpler manual approach would take less than 10 minutes
- On critical production systems without testing in staging first
- When you don't have permission or authorization to make these changes
How to Verify It Worked
- Run the verification steps documented above
- Compare the output against your expected baseline
- Check logs for any warnings or errors — silent failures are the worst kind
Production Considerations
- Test in staging before deploying to production
- Have a rollback plan — every change should be reversible
- Monitor the affected systems for at least 24 hours after the change
Related SAP Skills
Other Claude Code skills in the same category — free to download.
ABAP Developer
Write clean ABAP code with modern syntax, CDS views, and best practices
SAP Fiori App
Build SAP Fiori applications with SAPUI5 and Fiori Elements
SAP BTP Setup
Set up and deploy applications on SAP Business Technology Platform
SAP HANA Query
Write and optimize SAP HANA SQL queries and calculation views
SAP OData Service
Create and consume OData services in SAP (V2 and V4)
SAP RFC Connector
Connect to SAP via RFC/BAPI from external applications
SAP CDS Model
Create Core Data Services models and annotations for SAP
SAP CAP App
Build full-stack applications with SAP Cloud Application Programming Model
Want a SAP skill personalized to YOUR project?
This is a generic skill that works for everyone. Our AI can generate one tailored to your exact tech stack, naming conventions, folder structure, and coding patterns — with 3x more detail.