Cfin - Initial Load

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 27

Initial Load and Real Time Replication

CONFIDENTIAL
Initial Load and Real time replication in Central Finance

Initial load = Transfer of historical data Real time replication

Initial Load of
Cost Objects Cost objects
SLT for replication Initial Load of
AIF monitoring FI/CO Posting FI/CO postings
error handling
Mass data
Initial Load of
Framework
CO internal Posting CO intrenal postings

SLT for replication SLT for replication


AIF monitoring AIF monitoring
error handling error handling

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 2


SLT
Setup, Mapping, Execution & Monitoring

LTR or LTRC MWB LTRC LTRC

Guided procedure to create Copy pre-delivered SAP Start the load & replication
a configuration between objects to your configuration for your required tables:
source and target system. • AUFK
• CFIN_ACCHD
• COBK

Setup Configuration Define Objects Execute Load & Monitoring


(technical mapping) Replication
© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 4
Cost Objects Initial Load
Initial Load of Cost Object (AUFK)

Test cost object mapping scenario and rule


Smoke Test of Test creation of cost object without commit
Cost Object Execute from Central Finance system via RFC
Monitoring in application log

Test cost object mapping scenario and rule


Test creation of cost object without commit
Simulation of Cost Object Execute from SLT system
Use for high data volume
Monitoring in AIF

Create cost object mapping and cost object


Initial Load of Execute from SLT system
Cost Object Use for high data volume
Monitoring in AIF
© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 6
FICO Initial Load
Understanding Central Finance Data Flow of FI/CO Initial Load

Source System Central Finance System

Central Finance
Initial Load of FI/CO postings
Application logic

Cost Object
Mapping

Initial Load Extraction

Accounting Interface
Initial Load Posting
Business posting transactions

Central Finance
Central Finance
Central Finance
Business Mapping
Central RFC connection (MDG Found.)
Cost
Finance
Objects Accounting Interface
Integration Posting prep/check
Central Deriv.& subst.
FI CO CO-PA
Finance
Post (Accounting
Interface)

AUFK CFIN_ACCHD BKPF COBK CE4x CFIN_ACCHD Universal


CO-
Persistence

Journal
PA
… CFIN_ACCIT BSEG COEP … CFIN_ACCIT Entry

CFIN_ACCTX … … CFIN_ ACCTX

CFIN_ACCIT_WT CFIN_ ACCIT_WT

New objects for Central Finance


enablement
© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 8
Initial load preparations 1/2

Steps Description

 Install DMIS add on for SLT


Technical preparation  Apply relevant SAP notes for FI-CF component
 Assign authorizations
 Setup of RFC connection
Source

 Execute FI consistency check report (RFINDEX) with options:


Consistency checks *  Documents against indexes
To be performed as  Documents against transaction figures
early as possible  Indexes – transaction figures
 Reconcile GL with sub-ledgers ( AP/AR )
 TFC_COMPARE_VZ or choose transaction FAGLF03 for new GL
 SAPF190 for classic GL
 Reconcile GL with MM (RM07MBST / RM07MMFI)

 Install DMIS add on


 Assign authorizations
Technical preparation
SLT

 Setup of RFC connections. Connecting source and Central finance systems


 Load SLT content for Central finance.
 Configure with migration and replication objects

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 9


Initial load preparations 2/2

Steps Description

 Install the latest support package and apply the relevant notes on FI-CF component
Technical preparation  Install DMIS add on
 Activation of Central Finance business function
 Set up of Application Interface Framework (AIF) for error correction
 Execute all settings necessary for RFC connections and business systems
 Assign authorizations
Central finance

 Configuration of S/4HANA system according to blueprint design


System build  Take over enhancements, BADI’s , customer specific code developed
 Setup master data in scope in CFIN
 Configure Cost object Framework
 Scenarios
 CO mapping rules
 Setup key mapping in MDG
 Setup value mapping in MDG

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 10


Main steps in the Initial Load of FI Postings

Initial load is based on four steps:

• Initial Load Data Extraction:

• Delta Initial Load Data Extraction

• Posting to ACDOCA

• SLT Replication

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 11


Initial Load of FI/CO Posting

Extract Data for Initial Load


Simulate Posting Posting Initial Load Data
of FI/CO posting

Extract FI/CO data from the Simulate the FI/CO posting Posting the FI/CO document
source system without commit The data is read from the staging
Persist the data in the staging The data is read from the staging tables in the Central Finance
tables in the Central Finance tables in the Central Finance system
system system The posting can be executed by
The data is extracted via RFC grouping the company codes
The simulation can be executed
The data is extracted from all by grouping the company codes
connected source systems

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 12


Initial Data Load of FI/CO extraction
CFIN customizing

 Choose logical system

 Initial Load of balances needs an offsetting account – must balance to zero after
the initial load

 Initial load of balances cannot post on reconciliation accounts directly


 Substitution accounts required
 In a second step, open items are posted into AP/AR with substitution account as offsetting account
 Substitution account must balance to zero after the initial load

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 13


Initial Load time span

 Reposting each and every single FI document causes effort (master data, runtime, data
quality…)
for older data it makes sense to only take over the balances instead of individual
documents Replication Start

Balances & Open Items Documents Online Transfer…

t
 The timespan for the take over of individual documents shall be kept as short as possible
 The phases are configured via customizing in the source system

Customizing View:
VCFIN_SOURCE_SET

 Tip: add default account assignment for offsetting account in OKB9 to avoid errors

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 14


Steps in the Initial Load of FI Postings
1. Enable Source System CFIN* Tables are available but not filled by postings at that moment
2. General preparations (Master Data, Mappings, FI/CO Configuration, Notes, Initial Load of cost objects…)
3. Configuration in Source System: VCFIN_SOURCE_SET
4. Initial Load Configurations in Central Finance System
5. SLT configuration for FI replication – Start Triggers, Keep Replication Off( mandatory only in case of Source system with 3 rd
party database with runtime license, otherwise it will be covered by step 12)
 Start DB-Triggers – as CFIN_ACCHD and other tables are not filled during postings no trigger is written.
 Keep Replication Off Configuration of initial
load is located in the
6. Extract (started from IMG of Central Finance System) – Inside of the get package phase of the program the posting Customizing:
Financial Accounting
interface is activated to fill CFIN* tables during postings for processed company code. Extraction of data up to day before (New)  Central
start day of the program. This is the only time critical step ! Finance Initial Load
Settings
7. Delta Extract (transfers postings not contained in standard extract and not captured by DB-trigger (+/- 1 Day).
8. Monitor Data Extraction (for potential errors – rather technical errors)
9. Simulation Runs (simulate before posting real)
10.Post Initial Load Data
11. Monitor Posting (for potential errors – rather business/configuration/master data errors) - Alternative
(aggregated monitor: program RFINS_CFIN_DISPLAY_LOG
12.Start SLT replication. Will read the data from CFIN* Tables and switch to real time replication based on the DB-Trigger.
13.(Compare Initial Load Postings and Expected CO Postings in Central Finance)

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 15


Initial load FI/CO further information:
1. Split of extraction by company code is a valuable option in
systems with high volume of relevant data .

2. Inside of Central Finance there are two customizing settings


available to optimize the initial load beside of the general
performance functions that exist in each SAP System.

• Inside of the customizing the package size in the source


system for accounting documents in SM30 ->
VCFIN_SOURCE_SET and target system SPRO ->
Financial Accounting (New) -> Central Finance -> Initial load
-> Initial load Settings -> Choose Logical System is be
defined

• In Customizing IMG SPRO for initial load preparation of


Management Accounting or initial load execution of Financial
Accounting the number jobs can be defined.

3. With the current release of the product it is not possible to extract


and post initial data load simultaneously from different systems.
Technical root cause is related to an existing lock on the table for
packages, which does not allow concurrent access .
© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 16
Initial load of FI/CO extraction/postings – Procedure

• Initial data load is triggered from CFIN system


• The initial load is done subsequently in two steps
• Step 1: Extract data from sender system to the CFIN_*
transfer tables in the central system. Values are not mapped
during this step
• Step 2: Process extracted data and post it to Universal
Journal in the central system. Runs entirely in the CFIN
system. Can be started after successful completion (= all
errors resolved) of step 1
• For both steps, there is a program to
• Trigger the (mass) data processing through background
jobs
• Monitor continuously the progress and outcome of the
data processing

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 17


Initial load of FI/CO postings - package keys

• Decoding package keys


 The package keys resemble selection criteria applied to the processing of mass data, e.g. during initial data load
of FI/CO postings

Balances S Logical System Company Code Account

Open Items O Logical System Company Code Account

Document D Logical System Company Code Fiscal Year From document number To document number

CO Document C Logical System Company Code From document number To document number

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 18


Initial load procedure of FI/CO postings – monitor the errors

Monitor Data Extraction / Monitor Posting - packages are created

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 19


Reset Initial load - steps in source system

 SM30 - > VCFIN_SOURCE_SET; check out the flag Initial load finished

 Run the report RCFIN_DEL_MIG for reset initial load log table and Transfer tables

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 20


Reset Initial load - steps in CFIN system

 Run report RFINS_CFIN_CLEAR_INIT_LOAD

 Stop SLT replication

 Reset transactional data with SAPF020

 When CO-PA is used, reset transactional data


with RKEDELE1

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 21


Cleanup-program RFIN_CFIN_CLEANUP in source system

Temporary SAP R/3 4.6C


data

CFIN_
ACCHD
Database
COBK trigger

Schedule regularly to
Cleanup program cleanup temporary data
RFIN_CFIN_CLEANUP

Defines how
Customizing View: many periods
VCFIN_SOURCE_SET to keep
temporary
data

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 22


Secondary postings Initial Load
Initial Load of CO internal Posting (COBK)

Test the initial load for CO internal posting


Smoke Test of Execute from Central Finance system via RFC
CO internal posting Monitoring in application log

Test the initial load for CO internal posting


Execute from SLT system
Simulation Initial Load of
Use for high data volume
CO internal posting
Monitoring in AIF

Load CO internal posting


Initial Load of Execute from SLT system
CO internal posting Use for high data volume
Monitoring in AIF
© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 24
Real Time Replication
Start real time replication

Steps Description

 Set for the company codes loaded in VCFIN_SOURCE_SET “Initial load finished” flag
Source

Preparations

 Extract and create delta master data


CFIN

Master data

 Set data provisioning to Start replication (necessary for test only)


Start real time
replication for AUFK

Start real time


SLT

replication for FI/CO  Set data provisioning to Start replication

 Set data provisioning to Start replication (necessary for test only)


Start real time
replication for COBK

 Monitoring and error handling in AIF for all interfaces


CFIN

Monitoring

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CONFIDENTIAL 26


Thank you.

Partner logo

You might also like