Customer New FI Archiving for SAP S/4HANA Finance 1605 …

44
1 Susanne Tewes, SAP SE September 2017 New FI Archiving for SAP S/4HANA Finance 1605 Onwards Customer

Transcript of Customer New FI Archiving for SAP S/4HANA Finance 1605 …

Page 1: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

1

Susanne Tewes, SAP SESeptember 2017

New FI Archiving for SAP S/4HANA Finance 1605Onwards

Customer

Page 2: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

2

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 2Customer

Agenda

What is new

Process flow of financial archiving

Subledger - dependencies

FI documents archiving

FI totals archiving

Compression run

Page 3: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

What is new

3

Page 4: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 4Customer

Data archiving and Data agingArchiving, ILM and Data aging in SAP S/4HANA

Way forward >>

SAP S/4HANA

Compliant Archive Compliant ArchiveArchive

Classic Archiving

SAP Business Suite

ILM

SAP Business Suite

Data Aging

HOT / CurrentHOT / Current

COLD /Historical

COLD /Historical

Archived DataArchived Data

Archive Archive

Further information for FI Aging and Archiving: please see SAP note2190848

4

Page 5: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

5

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 5Customer

FI_DOCUMNT: What’s new?

Past:Archiving object FI_DOCUMNT was no longer available by transition into SAP S/4HANA world(starting with SAP Simple Finance add-on 1.0)

Present:In spite of this, data aging for financial was introduced (data aging object: FI_DOCUMENT).

What’s new:• Archiving object FI_DOCUMNT is re-implemented in addition to data aging as of the following

releases:• SAP S/4HANA Finance 1605 SP04• SAP S/4HANA on-premise edition 1610• SAP S/4HANA cloud edition 1611

• Archiving object FI_TF_GLC is replaced with FI_TF_GLF

Page 6: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

Process flow of financialarchiving

6

Page 7: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 7Customer

Excursus: Universal JournalSingle source of truth

BenefitsØ One line item table with full detail

for all applications – for instantinsight and easy extensibility

Ø Data stored only once: no morereconciliation needed – by design

Ø Reduction of memory footprintthrough elimination of redundancy

Ø Fast multi-dimensional reportingwithout replicating data to businesswarehouse (BW)

Ø If a warehouse is in place anyway,only one single extractor needed

Ø Secondary cost elements are nowG/L accounts

A single universal journal entry can have (technically) up to 999,999 line itemsà less or no need for summarization (depending on data volume)

7

Page 8: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

8

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 8Customer

Process flow of financial archivingGraphical overview

Subledger• Controlling CO• Asset

Management AA• Material Ledger

ML

FI Documents• General Ledger

GL• Vendor /

CustomerAP/AR

FI Totals• General Ledger

GL• Vendor /

CustomerAP/AR

CompressionRun

AP/ARMaster Data

BankMaster Data

sequence

The already existing dependencies like:- Document type life- Account type life- Minimum number of days in the system- Documents with withholding tax information rest at least 455 days in the

system- Recurring documents, parked documents or sample documents are not

considered- No open items within the document

remain still the same and are still valid. But they won’t be discussed in thisdocument.

Page 9: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

Subledger – dependencies

9

Page 10: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 10Customer

Dependencies in more detail – subledger CO

Archiving objects:� CO_TRANS� CO_ALLO_ST� CO_ORDER

Archiving class:� K_COSTS

à Successful CO archiving will initialize following content in ACDOCA:� Entries with filled CO_BELNR: field CO_BUZEI will be initialized� Entries with BSTAT = “C” AND MIG_SOURCE = “C”: field OBJNR will be initialized

Corresponding entries in ACDOCA still remain,but are no longer CO relevant

Further information:

CO_ITEM and CO_TOTAL will be replaced by CO_TRANS

CO_TRANS is available with SAP S/4HANA Finance 1605 and SAPS/4HANA On-Premise Edition 1610, documentation can be found viatransaction SARA

How to identify CO documents in ACDOCA?:- ACDOCA-CO_BELNR = filledà CO document, CO archiving will

initialize ACDOCA-CO_BUZEI- ACDOCA-BSTAT = C and ACDOCA-MIG_SOURCE = Cà CO

document from migration, CO archiving will initialize ACDOCA-OBJNR

10

Page 11: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 11Customer

Dependencies in more detail – subledger AA

Archiving object:� AM_ASSET� AM_STEUER

à Successful AA archiving won’t set any special marker within ACDOCA

à FI_DOCUMNT will check existence of asset master record (table ANLA)

Corresponding entries in ACDOCA still remain,but are no longer AA relevant

How to identify AA documents in ACDOCA?:

- ACDOCA-ANL1 is filledà AA document- ACDOCA-MIG_SOURCE = Aà AA document from migration

11

Page 12: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 12Customer

Dependencies in more detail – subledger ML

Archiving objects:� CO_ML_BEL� CO_ML_IDX� CO_ML_DAT

à Successful ML archiving for SAP S/4HANA Finance 1605 will initialize following content inACDOCA:� Field KALNR

Corresponding entries in ACDOCA still remain,but are no longer ML relevant

How to identify ML documents in ACDOCA?:

- No special fields available like in AA, only: ACDOCA-MIG_SOURCE =Mà ML document from migration

- Normal FI archiving checks are performed, if they are all successfulAND ACDOCA-KALNR = emptyà indicator that this document can bearchived in FI

12

Page 13: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

FI documents archivingCustomer / Vendor documents

13

Page 14: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

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

FI documents archivingCustomer/Vendor documents – graphical overview

Archive

KNCX_DIF /LFCX_DIF

à total record forarchived entries

x_BCKà secondary index

FI_DOCUMNT_WRI FI_DOCUMNT_DEL

ACDOCA-BSTAT= “C"

BKPF,BSEG…

BKPF,BSEG…

ACDOCA(with BSTAT

ne “C")

AP/ARdocument deletes

creates

updates

creates

Further information for tables x_BCK and KNCX_DIF / LFCX_DIF can be found within SAP note 2346296.

x_BCK:• Entries will be written if account type life of the secondary indexes is maintained as longer than that of the

documents.• In addition like previously (SAP ERP), there is a postprocessing program for document archiving for the deletion

of the secondary indexes (tables BSIS_BCK, BSAS_BCK, BSAD_BCK and so on) (report: FI_DOCUMNT_PST)and a utility program for the creation of the secondary indexes from archived documents (report: SAPF048S).

• You can save these secondary indexes in the historical area of the database in order to restrict the effect on thedata volume. To do so, data aging must be active and the partitioning object FI_INDEX must have beenmaintained. An aging object is not required.

KNCX_DIF / LFCX_DIF:In the case of AP/AR, during the archiving of the FI document (FI_DOCUMNT), auxiliary tables that are also usedduring the migration to S/4 HANA are compiled synchronously (update). The auxiliary table LFCX_DIF or KNCX_DIFcontains the total of the archived documents and is taken into account for the totals views of AP/AR.

Further information for ACDOCA-BSTAT:

BSTAT = C can have different reasons / sources:

- Archived documents (FI_DOCUMNT_DEL updates value C)- Balance carry forward is also updating C (then also POPER = 000)- Entries coming from totals migration (migration to S/4HANA, then also MIG_SOURCE is not equal blank) will

also update value C

à BSTAT = ‚C‘ does not only mean archived document, it rather means: entry is only TOTALS relevant, but nolonger LINE ITEMS relevant

à To get TOTALS, all BSTAT = ‚C‘ entries need to be taken in addition to ACDOCA line item entries

14

Page 15: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 15Customer

FI documents archivingCustomer/Vendor documents – technical details

Archiving Object:FI_DOCUMNT

Archiving Reports:FI_DOCUMNT_WRI (write program):� Writes entries in archive file (also for ACDOCA)FI_DOCUMNT_DEL (delete program):� Deletes tables entries (e.g., BKPF, BSEG) but not in ACDOCA!� Updates ACDOCA-BSTAT with value “C"� Creates secondary index entries in BSIS_BCK, BSAS_BCK, BSAD_BCK, BSAK_BCK tables� Creates total records in LFXC_DIF / KNCX_DIFFI_DOCUMNT_PST (postprocessing program):� Will delete secondary index entries in tables BSIS_BCK, BSAS_BCK, BSAD_BCK, BSAK_BCKs and BSIP� Will handle “old” secondary index entries, i.e., entries for which original documents were archived before this run

and secondary index entries were built in _BCK tables

15

Page 16: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 16Customer

FI documents archivingCustomer/Vendor documents – remarks

Additional information to ACDOCA:� Entries still remain in table ACDOCA.� But with ACDOCA-BSTAT = “C" system knows that these are archived entries and therefore they won’t be

shown in line item reporting.

Additional information to AP/AR totals:� AP/AR archived entries will create a total record in tables LFCX_DIF or KNCX_DIF� I.e., AP/AR totals = sum of all documents in database + entries in LFCX_DIF / KNCX_DIF� LFCX_DIF / KNCX_DIF can be archived with FI_TF_CRE or FI_TF_DEB

SAP Note:2346296

16

Page 17: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

FI documents archivingGeneral Ledger documents

17

Page 18: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 18Customer

FI documents archivingGeneral Ledger documents – graphical overview

Archive

BSIS_BCK /BSAS_BCK

à secondary index

FI_DOCUMNT_WRI FI_DOCUMNT_DEL

ACDOCA-BSTAT= “C"

BKPF,BSEG…

BKPF,BSEG…

ACDOCA(with BSTAT

ne “C")

GLdocument deletes

updates

creates

Further information for tables x_BCK can be found within SAP note 2346296.

x_BCK:• Entries will be written if account type life of the secondary indexes is maintained as longer

than that of the documents.• In addition like previously (SAP ERP), there is a postprocessing program for document

archiving for the deletion of the secondary indexes (tables BSIS_BCK, BSAS_BCK,BSAD_BCK and so on) (report: FI_DOCUMNT_PST) and a utility program for the creationof the secondary indexes from archived documents (report: SAPF048S).

• You can save these secondary indexes in the historical area of the database in order to restrict the effect on thedata volume. To do so, data aging must be active and the partitioning object FI_INDEX must have beenmaintained. An aging object is not required.

Further information for ACDOCA-BSTAT:

BSTAT = C can have different reasons / sources:

• Archived documents (FI_DOCUMNT_DEL updates value C)• Balance carry forward is also updating C (then also POPER = 000)• Entries coming from totals migration (migration to S/4HANA, then also MIG_SOURCE is not

equal blank) will also update value C

à BSTAT = ‚C‘ does not only mean archived document, it rather means: entry is only TOTALSrelevant, but no longer LINE ITEMS relevant

à To get TOTALS, all BSTAT = ‚C‘ entries need to be taken in addition to ACDOCA line itementries

18

Page 19: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 19Customer

FI documents archiving incl. Post-ProcessingGeneral Ledger documents – graphical overview

Archive

BSIS_BCK /BSAS_BCKà secondary index

FI_DOCUMNT_WRI FI_DOCUMNT_DEL

ACDOCA-BSTAT = “C"

BKPF,BSEG…

BKPF,BSEG…

ACDOCA(with BSTAT ne

“C")

GLdocument

deletes

updates

creates

FI_DOCUMNT_PST

BSIS_BCK /BSAS_BCKà secondary index

deletes

19

Page 20: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 20Customer

FI documents archivingGeneral Ledger documents – technical details

Archiving Object:FI_DOCUMNT

Archiving Reports:FI_DOCUMNT_WRI (write program):� Writes entries in archive file (also for ACDOCA)FI_DOCUMNT_DEL (delete program):� Deletes tables entries (e.g. BKPF, BSEG) but not in ACDOCA!� Updates ACDOCA-BSTAT with value “C"� Creates secondary index entries in BSIS_BCK, BSAS_BCK tablesFI_DOCUMNT_PST (postprocessing program):� Will delete secondary index entries in tables BSIS_BCK, BSAS_BCK, BSAD_BCK, BSAK_BCK & BSIP� Will handle “old” secondary index entries, i.e., entries for which original documents were archived before this run

and secondary index entries were built in _BCK tables

20

Page 21: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 21Customer

FI documents archivingGeneral Ledger documents – remarks

Additional information to ACDOCA:� Entries still remain in table ACDOCA as they are needed for GL totals calculation.� But with ACDOCA-BSTAT = “C" system knows that these are archived entries and therefore they won’t be

shown in line item reporting.

SAP Note:2346296

21

Page 22: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

FI totals archivingCustomer / Vendor totals

22

Page 23: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 23Customer

How are AP/AR totals calculated in the system?

BKPFBSEG

LFCX_DIFKNCX_DIF

AP/ARtotals

“dummy” totalrecords created

for alreadyarchivedAP/AR

documents

actual data,not yet

archived

23

Page 24: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 24Customer

FI totals archivingAP/AR totals – technical details

Archiving Object:FI_TF_CRE (vendor totals)FI_TF_DEB (customer totals)

Archiving Reports:FI_TF_CRE_WRI / FI_TF_DEB_WRIFI_TF_CRE_DEL / FI_TF_DEB_DEL

Remark:During AP/AR totals archiving, the amount of tables LFXC_DIF / KNCX_DIF will be adapted in thatway that amount of these tables and not yet archived documents from ACDOCA will balance to zero.In case all documents (referring to one total record) are already deleted, there is no longer any amountin x_DIF tables and therefore entry in x_DIF can also be deleted.

24

Page 25: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

FI totals archivingGeneral Ledger totals

25

Page 26: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 26Customer

How are GL totals calculated in the system?

ACDOCAACDOCA-BSTAT =

„C“GL totals

alreadyarchived GLdocuments,

balance carryforward…

actual data,not yet

archived

Further information for ACDOCA-BSTAT:

BSTAT = C can have different reasons / sources:

- Archived documents (FI_DOCUMNT_DEL updates value C)- Balance carry forward is also updating C (then also POPER = 000)- Entries coming from totals migration (migration to S/4HANA, then also

MIG_SOURCE is not equal blank) will also update value C

à BSTAT = ‚C‘ does not only mean archived document, it rather means:entry is only TOTALS relevant, but no longer LINE ITEMS relevant

à To get TOTALS, all BSTAT = ‚C‘ entries need to be taken in addition toACDOCA line item entries

26

Page 27: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 27Customer

FI totals archivingGL totals – technical details

Archiving Object:FI_TF_GLF

Archiving Reports:FI_TF_GLF_WRIFI_TF_GLF_DEL

Remark:As the GL totals will no longer be saved in a separate totals table in the system, each GL total will becalculated on the fly when needed. Calculation is based on entries in table ACDOCA. When archivingGL totals, entries in ACDOCA won’t be deleted as they might still be needed. Therefore during thearchiving delete run no deletion takes place, but an entry with inverted sign is inserted into ACDOCA toset the resulting balance to zero.A real data record reduction will take place by executing compression run.

27

Page 28: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

Compression run

28

Page 29: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 29Customer

ACDOCAACDOCA

Compression runSeveral entries will become one or none entry

COarchiving

AAarchiving

FIDocumentsarchiving

GL totalsarchiving

Asset no longerin database

Asset no longer indatabase

ACDOCA-OBJNR &ACDOCA-

CO_BUZEI = blank

ACDOCA-BSTAT=“C"

Entry withinverted sign

Entry withinverted sign

ACDOCA-BSTAT=“C"

ACDOCA-OBJNR &ACDOCA-

CO_BUZEI = blank

CompressionRun

Archiving of different modules won’t delete entries in table ACDOCA, but will “mark”ACDOCA-entries as no longer relevant for them by:

§ CO:§ ACDOCA-CO_BELNR = filledà CO document, CO archiving will initialize ACDOCA-CO_BUZEI§ ACDOCA-BSTAT = “C” and ACDOCA-MIG_SOURCE = “C”à CO document from migration, CO

archiving will initialize ACDOCA-OBJNR§ FI documents: line item no longer item relevant, only total relevant (ACDOCA-

BSTAT = “C" set by archiving object FI_DOCUMNT)§ GL totals: entry with inverted sign inserted in ACDOCA by archiving object

FI_TF_GLF

The compression run replaces all entries of ACDOCA fulfilling above criteria withaggregated entries. This aggregation takes place on the granularity of thebalance carry forward, thus no changing this balance. In case balance will bezero (i.e. all documents and totals are already archived), no aggregated entry willbe written. In this moment, compression run will only delete old entries.

In case the compression run is executed after document archiving, the effect ismainly a memory footprint reduction.In case it is executed after the totals archiving, the DPP requirements ofdeleting privacy relevant data is fulfilled. (In the simplest case by not having anentry in the system, because the balance would be zero. When single line itemsremain, we keep the aggregated values of these entries with inverted sign.)

29

Page 30: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 30Customer

Exam

ples

FI documents archiving incl. Compression RunGeneral Ledger documents – graphical overview with example

Archive

BSIS_BCK /BSAS_BCK

à secondary index

FI_DOCUMNT_WRI FI_DOCUMNT_DEL

ACDOCA-BSTAT = “C“

Amount = 6$

BKPF,BSEG…

BKPF,BSEG

ACDOCA(with BSTAT

not equal“C")

GLdocument

deletes

updates

creates

FI_DOCUMNT_PST

deletes BSIS_BCK /BSAS_BCK

à secondary index

Compression Run

ACDOCA-BSTAT = “C“

Amount = 4$

ACDOCA-BSTAT = “C“

Amount = 5$

ACDOCA-BSTAT = “C“

Amount = 15$

ACDOCA-BSTAT = “C“

Amount = 6$

ACDOCA-BSTAT = “C“

Amount = 4$

ACDOCA-BSTAT = “C“

Amount = 5$

creates

deletes

deletes

deletes

Among others, compression run will total the amounts of all line items withACDOCA-BSTAT = ‘C’.Only those records will be compressed which ‘fit’ together, e.g. sameaccount and same period (and some more granularity conditions).The previous records are deleted and one new record containing the sum ofthe previous records is created.You cannot differentiate a ‘total’ record created by the compression run froma ‘total’ record created by the FI_DOCUMNT_DEL delete job. Both arehandled as ‘total’ records and are used by the application to calculate totalsin G/L. See slide “How are GL totals calculated in the system?”

30

Page 31: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 31Customer

ACDOCA-BSTAT = “C“Amount = 1$

ACDOCA-BSTAT = “C“Amount = 2$

ACDOCA-BSTAT = “C“Amount = 3$

ACDOCA-BSTAT = “C“Amount = 15$

(remaining ‘total’ recordfrom previous archiving orcompression run, not yet

archived with FI_TF_GLT)

Complex example2nd Compression Run

ArchiveBSIS_BCK /BSAS_BCK

à secondary index

FI_DOCUMNT_WRI FI_DOCUMNT_DEL

BKPF,BSEG…

BKPF,BSEG

GLdocument

deletes

creates

FI_DOCUMNT_PST

deletes BSIS_BCK /BSAS_BCK

à secondary index

Compression Run

ACDOCA-BSTAT = “C“

Amount = 21$

ACDOCA-BSTAT ne “C“Amount = 1$

ACDOCA-BSTAT ne “C“Amount = 2$

ACDOCA-BSTAT ne “C“Amount = 3$

ACDOCA-BSTAT = “C“Amount = 15$

(remaining ‘total’ recordfrom previous archiving orcompression run, not yet

archived with FI_TF_GLT)

ACDOCA-BSTAT = “C“Amount = 1$

ACDOCA-BSTAT = “C“Amount = 2$

ACDOCA-BSTAT = “C“Amount = 3$

ACDOCA-BSTAT = “C“Amount = 15$

(remaining ‘total’ recordfrom previous archiving orcompression run, not yet

archived with FI_TF_GLT)

updates

updates

‘GL total’ notarchived;remains

unchanged

updates

deletes

deletes

deletes

deletes

creates

Exam

ples

Complex example:Here you can see, that a ‘total’ record, which has been created by aprevious archiving and or compression run (Amount = 15$) is consideredonce again for the compression in case the granularity criteria are matchinge.g. account and same period.

31

Page 32: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 32Customer

FI totals archiving FI_TF_GLF incl. Compression RunGeneral Ledger documents – graphical overview

Archive(Structure:ACDOCA

FAGLFLEXT)

FI_TF_GLF_WRI FI_TF_GLF_DEL

ACDOCA-BSTAT = “C“

Amount = 15$

‘GL total’Compression Run

ACDOCA-BSTAT = “C“

Amount = -15$(inverted sign)

ACDOCA-BSTAT = “C“

Amount = 15$

remainsunchanged

creates ACDOCA-BSTAT = “C“

Amount = -15$

ACDOCA-BSTAT = “C“

Amount = 15$ + = 0

ACDOCA-BSTAT = “C“

Amount = -15$

ACDOCA-BSTAT = “C“

Amount = 15$

Check if both match(e.g. same account number) and total to 0 …

… if yes, both are deleted

ACDOCA(with BSTAT

= “C")

Example

GL total archiving:

- Write Job:The ACDOCA records are copied to the archive file (write job). Herethey are stored in the new structure (ACDOCA) and in addition in thepreviously used structure (FAGLFLEXT). This is also the case prior theconversion to SAP Simple Finance (SAP S/4HANA) classic FI was usedand therefore table GLT0 was used to store the totals instead ofFAGLFLEXT.

- Delete Job:A new record is created which corresponds the archived total record buthas the value with inverted sign. Based on this, the application willinterpret both total records (i.e. BSTAT = C) as 0 and therefore will notshow any result.

Compression Run:Matching ‚total‘ records which balance to 0 and deleting them.

32

Page 33: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 33Customer

Compression runTechnical details

Transactions:FINS_ARC_ANALYZE (analyzing tool)FINS_ARC (production run)FINS_ARC_MONITOR (monitoring tool)

Remark:• compression run is a post-processing step to various archiving runs• Archiving runs write data into the archive and delete the corresponding data in the database, except

for entries in ACDOCA. To ensure the correctness of the GL totals, entries in ACDOCA are notdeleted, but only marked as no longer relevant for the corresponding application (i.e., CO, AA, FIdocuments, GL totals) by the archiving run.

• The compression run replaces all entries of ACDOCA fulfilling defined criteria* with aggregatedentries.

• If aggregated entries balance to zero, compression run will delete old entries.* See appendix for detailed criteria

Criteria of corresponding archiving applications:• CO: After archiving data the leading application like SD document

(archiving SD_VBAK) or CO data referencing a cost center(archiving object CO_TRANS), the object number (OBJNR) andthe CO line item number (CO_BUZEI) is cleared (by the deletionpart of the corresponding archiving object). In case of CO dataoriginating from the migration to S/4 HANA (MIG_SOURCE = "C"or “S”) that is not attached to an FI-document (no BKPF) anadditional correction report (FINS_CO_ARCH_PREP_ANALYZE)has to be executed to mark the entry as ready for deletion(ACDOCA-FUP_ACTION = “D").

• AA: Asset is no longer in the DB, no further indicator.• FI-Documents: Line item is marked as no longer item relevant, i.e.

only total relevant like balance carry forward (BSTAT = "C").• GL-Totals: During the archiving delete run no update takes place,

but an entry with inverted sign is inserted into ACDOCA to set theresulting balance to zero.

For further information please check also SAP note 2346296.

33

Page 34: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

34

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 34Customer

Compression runTechnical details: analyzing tool

Transaction:FINS_ARC_ANALYZE

Remark:� Get an overview of the numbers for a

larger part of data OR� Get a more detailed analysis by

restricting to a small set of numbers bychoosing the Detailed informationoption� Only for analyzing purposes; no

compression will take place

Page 35: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

35

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 35Customer

Compression runTechnical details: production run

Transaction:FINS_ARC

Remark:� Execution of productive compression run� Creation of work packages and worker jobs

If you don’t provide any number of batch jobs, all available will be used!No archiving can take place in parallel with the compression run,since the number of entries that can be compressed is not allowed tochange during the compression run. A lock in the archiving runs (AA,ML, FI document, and GL/AP/AR totals) and the compression runprevents this. The archiving runs themselves can run at the sametime.

Selection possibility:Please check SAP note 2348153 for usage of selections

Page 36: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

36

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 36Customer

Compression runTechnical details: monitor

Transaction:FINS_ARC_MONITOR

Remark:� Monitoring the progress of compression run� By double-clicking on lowest level of the last run,

you get more details (per work package)� By double-clicking on the work package, you get

the log of this work package

If you don’t provide any number of batch jobs, all available will be used!

Page 37: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

Archiving of Master Data(Customer AR, Vendor AP, Bank Master Data)

37

Page 38: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 38Customer

Archiving of Master Data

As there are no changes, this topic won‘t be treated in this training.

38

Page 39: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

Appendix

39

Page 40: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 40Customer

Compression runFurther information

The compression run replaces all entries of ACDOCA with aggregated entries if they arefulfilling following criteria:

o CO: After archiving data the leading application like SD document (archiving SD_VBAK) or CO data referencing a costcenter (archiving object CO_TRANS), the object number (OBJNR) and the CO line item number (CO_BUZEI) is cleared(by the deletion part of the corresponding archiving object). In case of CO data originating from the migration to S/4 HANA(MIG_SOURCE = "C" or “S”) that is not attached to an FI-document (no BKPF) an additional correction report(FINS_CO_ARCH_PREP_ANALYZE) has to be executed to mark the entry as ready for deletion (ACDOCA-FUP_ACTION= “D").

o AA: Asset is no longer in the DB, no further indicator.o FI-Documents: Line item is marked as no longer item relevant, i.e. only total relevant like balance carry forward (BSTAT =

"C").o GL-Totals: During the archiving delete run no update takes place, but an entry with inverted sign is inserted into ACDOCA

to set the resulting balance to zero.o For further information please check also SAP note 2346296.

This aggregation takes place on the granularity of the balance carry forward, thus no changing thisbalance. In case balance will be zero (i.e., all documents and totals are already archived), noaggregated entry will be written. In this moment, compression run will only delete old entries.

40

Page 41: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

41

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 41Customer

Technical objects

Data Aging Object:� FI_DOCUMENT

Archiving Objects:� FI_DOCUMNT à available as of SAP S/4HANA Finance 1605 SP04� FI_TF_GLCà is replaced with FI_TF_GLF as of SAP S/4HANA Finance 1605 SP04� FI_TF_CRE à vendor totals� FI_TF_DEB à customer totals� CO_TRANS

Tables� LFCX_DIF / KNCX_DIF à “dummy” total records for already archived AP/AR documents

Page 42: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

42

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 42Customer

Reports/transactions

Reports:� FI_DOCUMNT_WRIà FI documents archiving write report� FI_DOCUMNT_DEL à FI documents archiving deletion report� FI_DOCUMNT_PST à FI documents archiving postprocessing report� FI_TF_CRE_WRI / FI_TF_DEB_WRIà FI totals AP/AR archiving write report� FI_TF_CRE_DEL / FI_TF_DEB_DEL à FI totals AP/AR archiving deletion report� FI_TF_GLF_WRIà FI totals GL archiving write report� FI_TF_GLF_DELà FI totals GL archiving deletion report

Transactions:� FINS_ARC_ANALYZE à Compression Run analyze� FINS_ARC à Compression Run productive� FINS_ARC_MONITOR à Compression Run monitoring

Page 43: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

43

© 2017 SAP SE or an SAP affiliate company. All rights reserved. 43Customer

SAP Notes

SAP notes:� 2190848: FAQ - Aging for Journal Entry in SAP Simple Finance� 2346296: technical details for FI archiving� 2332634 & 2332670: manual implementation of new FI archiving� 2348153: DPP compression run: selection possibility

Page 44: Customer New FI Archiving for SAP S/4HANA Finance 1605 …

44

© 2017 SAP SE or an SAP affiliate company. All rights reserved.

Thank youContact information:

Susanne TewesDVM Global TeamSAP [email protected]