Showing posts with label BW/4HANA. Show all posts
Showing posts with label BW/4HANA. Show all posts

Wednesday, March 30, 2022

BW/4 t-code RSOADSODTO - Data Tiering Maintenance

Data Tiering is a strategy for a placing of a data into different areas (tiers). Decision on where the data is stored is highly driven by a frequency of data access, requirement the data updates, performance requirements and criticality of the data for business.

In case the data is very frequently used as well as updated, also the data is critical for the business we put it to so called hot tier.

If the data is less often accessed, has lower performance requirement we put it to so called warm tier.

Finally in a case the data is infrequently accessed, not require the updates, can be accessed in a longer time and is not critical put it to so called cold tier.

A concept of hot/warm/cold storage tier is called temperature schema.

In general putting the data into those areas, we say as Data Tiering Maintenance or Data Tiering Optimization (DTO). The DTO is a feature of BW/4 systems. There is still a possibility to use data archiving Data Archiving Process (DAP) as traditional approach used in NetWeaver based BW systems.

In terms of BW/4 based systems we can leverage an InfoProvider of type aDSO as object for the Data Tiering. From underlying HANA DB technology we used HANA indexserver nodes for hot tier. HANA extension nodes based on scale-out technology with relaxed core/memory and memory/disk ratio are used for the warm tier. In addition, some kind of external storage like SAP IQ DB that is accessible via Smart Data Access (SDA) for query access (DQL) and data manipulation (DML) can be used for the cold tier.

In BW/4 the aDSO as object needs to have some kind of a time characteristics or any other IO included in aDSO’s key) is part of key field’s definition. Once this is fulfilled on a Settings tab of the aDSO definition there is a Partitions part enabled. Here either Static (by given hardcoded values) or Dynamic Partitioning (by loaded data of particular characteristics) can be defined. Each partition can be maintained in different temperature / tier via button Maintain Temperatures. Depending on a version of BW/4 the click on this button either opens t-code RSOADSODTO (ABAP prog RSO_RES_ADSO_TEMP_MAIN) - Temperature Maintenance or launch’s BW/4 cockpit and its FIORI app (under DataStore Object -> Manage Data Tiering) for the DTO. In one of the two environment, we can choose the tier for particular partitions. Once the tiers are chosen it is possible to execute a change of the tier for specific partition/object depending how the DTO was defined on level of aDSO’s settings. The tier change can be also done in t-code RSOADSODTOEXE (ABAP prog RSO_RES_ADSO_TEMP_MAIN_EXEC) – Data Tier Adjustment. Another t-code RSOADSODTOS (ABAP prog RSO_RES_ADSO_TEMP_MAIN_START) is used for the FIORI app calls. The execution of the data tier change stores a logs about it. Those can be reviewed in t-code SLG1 under Object = RSOADSODTO, Subobject = RSOADSODTO_EXEC and Ext. Identifier = ADSO_TEMP_MAINTENANCE*.


More information:

Online docu

Friday, March 18, 2022

Closed loops scenarios in BW

Closed loop systems use feedback where a portion of the output is fed back to the input to reduce errors and improve stability. In BW world we can say that transformation of data that runs on top of same InfoProvider object (cube, aDSO) are the closed loops. In nutshell data transformation it writes data back to its source.

Such a scenarios are used quite often in BW. One of example can be a calculation of additional key figures on top of those that were calculated during a load from different objects underneath the target object.

Topic of closed loops appears when there is a migration to BW4/HANA. Normally during the migration BW objects that are not supported in BW/4 anymore need to be converted to the new objects. BW/4 requires these closed loops data loads and associated DTPs to be remodeled. In the BW/4 some write optimized aDSO needs to be part of the flow.

In order to help with the remodeling there are few tools (ABAP programs) provided by SAP:

RSB4H_REBUILD_CLOSED_LOOP_DTPS    Rebuild closed loop DTPs

RSBK_FIND_CLOSED_LOOP_DTPS            Identification of closed loops

 

PS: Closed loops data loads are sometimes also called as Ring Loads.


More information:

3013897 - Closed Loop DTPs in the context of BW4/HANA Conversion

3019023 - Transfer Tool DTP & RSSM (41) - Report to rebuild closed loop DTPs

Wednesday, January 12, 2022

Revisions of SAP BW/4HANA migration tools

SAP is offering a set of tools to help migration of BW systems to SAP BW/4HANA. So called readiness check is needed to be performed first to find out if there are an objects present in the system that are not supported by the BW/4HANA and thus they need to be reworked before the migration itself. Here are the tools that supports this task:

 

1 t-code RSB4HCONV - SAP BW/4HANA Transfer Cockpit (BW/4 Conversion) aka* SAP BW/4HANA Transfer Toolbox or Toolbox for conversion, program RS_B4HANA_CONVERSION_CONTROL, main SAP Note 2383530 - Conversion from SAP BW to SAP BW/4HANA

2 t-code RSB4HTRF - Transfer of Scenarios aka* Transfer of Scenarios program RS_B4HANA_TRF, to set the BW4 transfer scenario: in-place/remote/shell. See here.

3 t-code RSB4HAPD - APD Transformation Tool, program RS_B4HTAPD_ANALYZE

4 t-code RSB4HAPDR - APD Conversion Remote, program RS_B4HTAPD_APD_LIST


*- as there are several names of the tools mentioned in the SAP Notes, here I put “also known as” ones too

 

The tools are delivered via so-called revisions. The revisions are represented by SAP Notes. Each of the Note is normally dedicated to specific phase of BW to BW/4HANA conversion like: discovery/prepare, explore/realization, pre-check, source, in-place, target, code scan, post-conversion, etc.

 

As of 2022.01 there are following revisions available:

Note 1: that this is not comprehensive list of the revisions, there may be much more of then that these. Therefore, always upgrade the BW4 tools to the latest revisions available!

Note 2: I was trying to determine what tool does the particular SAP Note bring the revision to. However, in case of some revisions it was not clear. That is why some of the Notes are not associated with the tool name. Rule to decide what is the tool where does it below to should be that if it is in-place or target it is Transfer of scenarios tool.


2503455 - BW4HANA: Starter add-on changes (Transfer Toolbox Version 1)

2508989 - BW4HANA: Starter add-on changes (Transfer Toolbox Version 1 - INPLACE)

3066387 - Revision 1 - PREPARE_BW4 - SOURCE and PREPARE scopes of the transfer tool from BW/4 to Data Warehouse Cloud BW Bridge

2478899Revisions (Corrections) 1 & 2 on BW/4 Transfer InPlace Tasks

2586774 - Tools 2: APD (PREPARE), version 2 of APD Transformation Tool

2509205 - Revision 3 on BW/4 Transfer Toolbox InPlace Tasks

2537300 - BW4HANA: Starter add-on changes (Transfer Toolbox Version 1, Revision 4 - ADDON)

2555390 - Revision 5: ADDON Fixes of BW/4 in-place conversion (Transfer Cockpit) in systems where it is not possible

2594459 - Revision 5: (Transfer Cockpit) ADDON4750 (checks only), same as above but for BW systems of versions 750 and SP Level between 05 and 11

2555584 - Version 1.5 (Revision 5) of the SAP BW/4HANA Transfer In-Place Tasks (Transfer Cockpit)

2608859 - Revision 6: ADDON4750, Pre-Check Tasks of the Toolbox for Conversions to BW/4

2637856 - Revision 7: ADDON, Pre-Check Tasks of the Toolbox for Conversions to BW/4

2689663 - Revision 7 Hotfix: Table Fields missing for InfoSet Transfer

2637796 - Revision 7 - PREPARE & SOURCE of Transfer Toolbox

2726886 - Revision 8 – TRANSFER, revision Toolbox for Conversions to BW/4

2726850 - Revision 8 - PREPARE & SOURCE (Toolbox for Conversions)

2749972 - B4H conversion: Code scan report (revision 9), Transfer toolbox

2751585 - Revision 9 - INPLACE und TARGET

2748962 - Revision 9 - PREPARE & SOURCE

2792595 - Revision 10 - INPLACE und TARGET

2777672 - Revision 11: new check tool (7.3 - 7.5), Transfer of scenarios

2847587 - Revision 11: ADDON (7.5), Transfer Cockpit

2860021 - Revision 11 - PREPARE & SOURCE, Transfer Cockpit

2876024 - Revision 12 - CODESCAN, check program (RS_B4HANA_LOG_DISPLAY) for BW to BW/4HANA migration readiness. It scans ABAP code in the BW system and store all findings in a DB tables and is more flexible as the old application log-based check. More information about the scanning tool is available in Note 3119274 - Code Scan tool for migrations to BW/4 HANA.

Also older ABAP program RS_B4HANA_CODE_SCAN can be used. However, the older one does not store data to the DB tables. It uses SLG1 logs instead

2876006 - Revision 12 - PRECHECK

2876013 - Revision 12 - ADDON < 7.50, Transfer Cockpit

2908621 - Revision 13 - ADDON_750, INPLACE und TARGET, Transfer of scenarios

2940373 - Revision 14 - SOURCE und PREPARE, Transfer Toolbox

2940365 - Revision 14 - ADDON_750, INPLACE and TARGET, Transfer of scenarios

2964092 - Revision 15 - ADDON_750, INPLACE und TARGET

3001909 - Revision 16 - PRECHECK (please note: There are no Revisions 13, 14, 15 for PRECHECK)

3044301 - Revision 17 - ADDON_750, INPLACE and TARGET

3044272 - Revision 17 - PRECHECK

3044273 - Revision 17 - SOURCE and PREPARE, BW/4HANA transfer tool needed for in-place, remote and shell transfer.

3075477 - Revision 18 - SOURCE and PREPARE, BW/4HANA transfer tool needed for in-place, remote and shell transfer.

3075502 - Revision 18 - ADDON_750, INPLACE and TARGET, BW/4HANA transfer tool needed for in-place, remote and shell transfer

3102493 - Revision 19 - SOURCE and PREPARE, BW/4HANA transfer tool needed for in-place, remote and shell transfer

 

 

More information:

Converting BW system to BW/4HANA

Tools for migrating to SAP BW/4HANA

Wiki - New Features SAP BW/4HANA conversion

3061594 - SAP Readiness Check for SAP BW/4HANA

2575059 - SAP Readiness Check for SAP BW/4HANA

Wednesday, October 6, 2021

Storage data target type in BW Request Management

There are many new storage data types introduced in BW on HANA and even more in BW/4HANA based systems.

In the BW on HANA these are the storage data types that basically corresponds to standard DSO tables:

AQ      Activation Queue

CL      Change Log

AT      Active Table

AR      Archive

 

In the BW/4HANA many new were added:

AQ        Activation Queue or Inbound Table for DataStore                      /BIC/A<aDSO_tech_name>1

AX        Inbound Table (of Cold Storage)

AT        Active Table for DataStore                                                        /BIC/A<aDSO_tech_name>2

CL        Change Log for DataStore                                                         /BIC/A<aDSO_tech_name>3

RP        Reference Point Table

VT        Validity Table

AQAT    Inbound Table for Master Data Attributes

ATAT    Active Data Table for Master Data Attributes

CLAT    Change Log Table for Master Data Attributes

AQTE    Inbound Table for Master Data Texts

ATTE    Active Data Table for Master Data Texts

CLTE    Change Log Table for Master Data Texts

ATXA    Active Data Table for Master Data XXL Attributes

AQHI    Inbound Table for Hierarchies

ATHI     Active Data Table for Hierarchies

INCL     Active Data Table for SID Structure of Hierarchies

VR        View for Reporting for DataStore                                               /BIC/A<aDSO_tech_name>7

VE        View for Extraction from DataStore                                           /BIC/A<aDSO_tech_name>6

VX        View for external Access for DataStore                                      /BIC/A<aDSO_tech_name>8

 

                                            

Technically the data dictionary domain called RSPM_DTA_STORAGE holds these values.

Wednesday, March 31, 2021

SAP BW4/HANA related t-codes

 

In case of BW4/HANA majority of activities are performed either in SAP HANA Studio (mostly modeling activities) or in web environment (mostly administration activities). However, the backend (based on SAP NetWeaver, which is now transitioned to ABAP Platform) is still there.  Here is brief overview of t-codes that are used in BW4/HANA based systems. Most of them are not really the BW4/HANA specific as they may started to appear already in BW classic e.g., BW 7.4 and BW 7.5 based systems.

t-code

ABAP prg

Description

RSMNG

RSPM_MANAGE

Support Function: Manage

HANA_ABAP_PYTHON

HANA_ABAP_PYTHON

execute report HANA_ABAP_PYTHON

HDB_SQLDBC

RSHDB_SQLDBC_CONS

SQLDBC Trace for HANA

ODQMON

SAPLODQ_MONITOR

Monitor for Operational Delta Queue, a new RSA7 t-code

RS_HANA_CONSUMPTION

RS_HDI_SETTINGS

Settings for HANA consumption in BW

RS2HANA_ADMIN

RS2HANA_ADMIN

Administration ext. SAP HANA views

RS2HANA_CHECK

RS2HANA_CHECK

SAP HANA Model Generation Check

RS2HANA_GEN

RS2HANA_AUTH_RUN

Replicate Authorizations to SAP HANA

RS2HANA_VIEW

RS2HANA_VIEW_SETTINGS

Settings for SAP HANA Views

BW4WEB

BW4_WEB_SHOW

BW HANA Cockpit

BW4CHECK

BW4_UI5_IFC_CONSISTENCY

Check BW/4HANA Cockpit Setup

BW4_WEB_START

BW4_WEB_START

BW/4HANA: Web UI Entry Point

RSB4HTRF

RS_B4HANA_TRANSFER

SAP HANA Transformation

RSB4HAPDR

RS_B4HTAPD_APD_LIST

B4H - APD conversion remote

RSB4HCONV

RS_B4HANA_CONVERSION_CONTROL

BW/4 Conversion

RSDD_LTIP

RSDDLTIP_ADMIN

Administration of Analytic Indexes

RSDDSTAT

SAPLRSDDSTAT_UI

Maintain the BW Statistics Settings

RSDHAAP

SAPLRSDHAF_ANALYSIS_UI

SAP HANA Analysis Process Designer

RSDHAAP_MONITOR

SAPLRSDHAF_ANALYSIS_UI

SAP HANA Analysis Process Monitor

RSDHATR

SAPLRSDHAF_ANALYSIS_UI

SAP HANA Transformation

RSDRC_HANA_HIER

RSDRH_ACTIVATE_HANA_HIERS

Activate Use of HANA Hierarchies

RSDSHANA

SAPLRSDS_ACCESS_HANA

Manage SAP HANA Remote Subscriptions

RSDSHANAS

SAPLRSDS_ACCESS_HANA

Overview Realtime Repl. (SAP HANA)

RSHDBMON

RSHDB_MON

HDB Monitoring

RSLIMO

SAPLRSDD_GUI_LM

BW Lean Modeler Test UI

RSLIMOBW

SAPLRSDD_GUI_LM

Composite Providers

RSMIGRHANADB

RSDRI_CONVERT_CUBE_TO_INMEMORY

Conversion to In-Memory Optimized

RSOADSO

SAPLRSO_RES_HCPR_SUPPORT

DataStore (ADSO) Support, a new LISTCUBE t-code

RSOADSODTO

RSO_RES_ADSO_TEMP_MAIN

Temperature Maintenance

RSOADSODTOEXE

RSO_RES_ADSO_TEMP_MAIN_EXEC

Transaction for the DTO Execution

RSOADSODTOS

RSO_RES_ADSO_TEMP_MAIN_START

TX for RSOADSODTO for eclipse calls

RSODSO_BRKPNT

RSODSO_BRKPNT

DataStore-Specific Breakpoints

RSODSO_HDB_LOCK

RSODSO_HDB_LOCK

Management of Native Locks (HDB)

RSODSO_RUNTIME

RSODSO_RUNTIME

Runtime Measurements

RSODSO_SETTINGS

RSODSO_SETTINGS

Maintenance of Runtime Param. DS Obj

RSODSO_SETTINGS_OLD

RSODSO_MAINTAIN_SETTINGS

Parameter maintenance for DataStores

RSODSO_SHOWLOG

RSODSO_SHOW_LOG

Logs for DataStore Object

RSODSO_SQLTRACE

RSODSO_MPP_SQL_LOG

SQL Statements for MPP DataStores

RSODSVIEW

SAPLRSFBP_UI

Open ODS View

RSOHCPR

SAPLRSO_RES_HCPR_SUPPORT

CompositeProvider(HCPR) Support

RSOSM

RSOSN_MAINTENANCE

BW Search on SAP HANA Maintenance

RSPM_MONITOR

RSPM_PROCESS_MONITOR

BW Process Monitor

RSMONITOR

RSCNV_MONITOR

Generic Monitor

RSMRT

RSCNV_DESIGN

Metadata Remodeling Toolbox

RSWQD

RSL_WQD_LAUNCH

Workspace Query Designer

RSWSP

SAPLRSL_GUI_WSP

Workspace Individual Processing

RSWSP_CUST

SAPLRSL_WSP_GUI_CUST

Workspace General Customizing

RSWSPW

SAPLRSL_GUI_WSP

Workspace Mass Processing

UJHANAMDX

UJHANA_MDX_TEST

BPC HANA MDX Test

RSBITC

SAPLBW_BICS_INA_TEST_TOOLS

InA Trace Cockpit

RSBITT

SAPLBW_BICS_INA_TEST_TOOLS

InA Test Monitor