Monday 21 December 2020

SAP S/4HANA Data Management

This blog post targets SAP Solution Architects and Technical Architects who are planning or moved their SAP ERP system to SAP S/4HANA

Motivation

Data is the foundation for any business, well managed data is critical for any business process. Data Management Strategy is an essential activity to maintain a good system performance and to optimize the total cost of your system operations, data management is relevant for all SAP applications that generate large amounts of data.

Data Management in SAP S/4HANA

Data volume often dominates SAP HANA DB size eventually Memory-footprint of S/4HANA. A comprehensive data management strategy is a critical aspect for your successful

SAP S/4HANA transition during and after the SAP S/4HANA migration.

Data  Management Strategy for an SAP S/4HANA journey can be defined by following use cases

◉ Data Aging

◉ Data archiving

◉ Information Lifecycle Management (ILM)

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Certification, SAP HANA Prep, SAP HANA Career

Data Aging


Data Aging is a business data management concept for reducing the HANA memory footprint. Data Aging offers the option of moving large amounts of data within a database to gain more working memory.

Moves data from the current area (main memory) to the historical area (secondary storage) of your database and thus make sure only operationally relevant data is loaded into main memory.

Data move can be controlled by specifying a residence time for data in the corresponding Customizing for the data aging object. Typically, only data that resides in in-memory is accessed which results in shorter run times when a query executed for large amounts of data.

Data Aging prerequisites


To apply data aging on your data, the following prerequisites and activation steps have to be met:

◉ Using a database that supports data aging.

◉ Switch the Data Aging (DAAG_DATA_AGING) business function by using transaction SFW5.

◉ Set the parameter abap/data_aging by using the transaction RZ11.

How does Data Aging in SAP S/4HANA works?


The data aging mechanism for ABAP applications is based on a new data aging framework provided by SAP NetWeaver ABAP.  The data temperature is set via an additional data temperature column ‘_DATAAGING’ (type DATA_TEMPERATURE with ABAP date format “YYYYMMDD”), which is added to all participating tables.

Aging governed by two sets of criteria, residence time and Business logic. The application knows which business objects are closed and may hence be moved to cold partitions. Therefore, the application actively sets values in this column to a date to indicate that the object is closed, and the row shall be moved to the Cold partition(s) during an Aging Run. Since the table is partitioned by the temperature column, the rows are automatically moved then to a cold partition. The move influences the visibility of the data and its accessibility.

e.g. Example of aging checks for FI documents

◉ Within Residence Time  (Current and previous Fiscal Year)

◉ Documents with open items (or recently cleared)

◉ Documents that are operationally important

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Certification, SAP HANA Prep, SAP HANA Career

Data archiving


Data Archiving functions to archive any completed business transactions that are no longer relevant for daily system operations.  In the subsequent delete phase, the archived data is removed from the database using the delete program, archived data can be stored in archive files to which the system has read-only access.

The archiving process have not changed in S/4HANA, all the standard SAP archiving programs can be used to archive FI documents in S/4 systems as well. Classic Data Archiving plays an important role in SAP S/4HANA in limiting the size and growth of HANA database.

Data archiving concept from SAP S/4HANA  is based on the archiving objects of the Archive Development Kit (ADK).

Database Tables, Business Objects, and Archiving Objects


An archiving object consists of a minimum of one archiving program and one deletion program. Those tables that belong together from an accounting perspective are combined in one archiving object. A distinction is drawn between tables that are to be archived and tables that are to be deleted. Tables for deletion usually contain redundant data. Some tables that are used throughout S/4HANA (change documents, texts etc…) are treated as separate units and accessed via archiving classes. Each archiving object also contain a read program, with which the contents of the archives shall be searched and displayed.

Financial accounting documents are archived using the archiving object FI_DOCUMNT.

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Certification, SAP HANA Prep, SAP HANA Career

SAP Information Lifecycle Management (ILM)


The SAP Information Lifecycle Management (SAP ILM) component provides a broad range of advanced capabilities, including blocking and deletion, residence and retention management, consolidation of legacy data, and more – some of which are relevant to regulatory demands.

SAP ILM is used to support the entire data lifecycle including the storage, retention, blocking, and deletion of personal data for S/4HANA On Premise. Archiving as part of ILM is used to manage blocking and deletion of transactional data. Archiving is in this context not only used as a solution for volume management instead it fulfills blocking requirements in terms of data privacy, as it restricts efficiently the access to archived (and so blocked) data supported with an additional authorization concept.

SAP ILM Business Scenarios


SAP ILM is a powerful solution that can help with the data compliance requirements of many regulations, including data privacy and protection.

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Certification, SAP HANA Prep, SAP HANA Career

SAP ILM External storage requirements


Storage is required when data is moved outside the SAP application database. This is typically for archiving purposes. SAP ILM supports different storage infrastructures.

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Certification, SAP HANA Prep, SAP HANA Career

In S/4HANA On Premise, Data Archiving (plus SAP ILM) remains the well-established means to reduce the database footprint by moving data that is neither operationally needed nor subject to embedded analytics from SAP HANA to archive files.

Comparison of Data Aging, Archiving and SAP ILM


SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Certification, SAP HANA Prep, SAP HANA Career

No comments:

Post a Comment