Saturday, April 19, 2025

BW/4HANA Cockpit – Check tool (t-code BW4CHECK)

I previously wrote about the SAP BW∕4HANA Cockpit in my post here. In short, the SAP BW∕4HANA Cockpit is a web-based central hub for managing and administering an SAP BW∕4HANA system.

Setting up the Cockpit involves several activities. Below, I’ve briefly listed the relevant SAP Notes. If any issues arise during the setup, the t-code BW4CHECK (Check BW/4HANA Cockpit Setup) can be useful for troubleshooting. The BW4CHECK runs ABAP program BW4_UI5_IFC_CONSISTENCY. The program calls a method CHECK_STATUS of a class CL_BW4_FLP_HEALTH_CHECK. The method and few inner method calls read ICF services from table ICFINSTACT (service name = BW4_LAUNCHPAD, etc.) and checks if they are activate.

There are errors reported by the t-code in case some ICF/OData services that the launchpad uses are not configured.

In case the Cockpit setup is okay there is an information message: All services are active! (msg no BW4_UI5_TOOLS001).


More information:

BW/4HANA Cockpit

3405328 - FAQ: BW/4HANA 2023 Cockpit Setup

3129762 - FAQ: BW/4HANA 2021 Cockpit Setup

2918492 - FAQ: BW/4HANA 2.0 Cockpit Setup

ABAP Support Tools for Cloud - t-code SABAPAR

T-code code SABAPAR (program ABAP_TSM) is used as ABAP Support Tools for Cloud tasks SAP NetWeaver or ABAP Platform based systems. It helps with troubleshooting and maintaining ABAP programs, ensuring consistency and performance in cloud environments or in on-premise system e.g. for cloud readiness related tasks.

From this umbrella t-code it is possible to launch many different ABAP tools. Below is a list of the particular tools as well as how they are organized within several categories:


INDX-Like Data

RSINDX00                          Analyze ABAP Cluster Table and Update Data

RSINDX00_STREAMREADER Analyze Local Binary File in INDX Format

RSINDX00_LOCATOR           Find EXPORT TO INDX

RSINDXCHECK                    Find Broken Data Records in INDX Tables

 

DDIC Inconsistencies

RSNTABCONSISTENCY         Recursive Consistency Check for DDIC Runtime

RS_TYPE_WIZARD               Analyze Type Declarations

RSDDQV                             Quick Display with Time Stamps

RSNTVSABAP                     Compare Nametab with RTTC

SABP_DD_CATALOG_SUPPORT_VIEWER Nametab Object Viewer

 

PXA Objects

RSPXA000                       Consistency of Time Stamps, PXA <-> Database

RSPXA001                       Compare DDNM Time Stamp with Current Nametab

RSPXA002                       Invalidate Single Objects in PXA Buffer (Tou

 

ABAP Compiler

SYNT                                 Syntax Trace

SAPMSCOMPTEST               Compiler Tests

RS_ABAP_SYN_TYPES         Display Types from Syntax Check

RS_ABAP_ERROR_ANALYZE Syntax Error Analysis

RSLIN_SHOW_SCAN           Test ABAP Scanner

BADI_RSANALYZE               Analysis Report for New BAdIs

SENH                                 Display Enhancement Information

RS_SHOW_VIRT_KWS         Display Virtual Keywords

 

ABAP Load

RSDEPEND                       Get Dependent ABAP Sources for ABAP Load

RSDEP000                       Find ABAP Loads with Inconsistent Time Stamp (Touch

RSLOAD00                       Show Parts of ABAP Load

TOUCHSRC                       Reset Time Stamp for ABAP Source

TOUCHINC                       Reset Time Stamp for Consumers of ABAP Source

TOUCHTAB                       Reset Time Stamp for Consumers of DDIC Type

RSKMETH                        List of Registered Kernel Methods

RS_ABAP_BEHV_LOAD              BDEF Implementation

RS_CHECK_LOAD_VERSION_MISMATCH Find Version Inconsistencies in ABAP Load

RS_LOAD_FORMAT_ADM             Load Format Information of System

 

Trace Tools

RS_DYNPRO_TRACE           Dynpro Trace

RSSYNT00                          Syntax Trace with Navigation Tree

 

Simple Transformations (XML)

ST_TESTER                         Test ST Programs

RS_ST_DEPENDENCIES       Dependencies Between ST Programs

SXSLT_SC                          Display ST/XSLT Loads

S_ABAP_TOOLS_XML_LOAD_DISPLAY  Display ST/XSLT Loads (New)

 

ABAP Unit

RSAUNIT_SETUP_OVERVIEW                    Setup and Customizing

SAUNIT_ANALYSE_TEST_SRC_CODE         Compiler View of Test Classes

 

ABAP Keyword Documentation

ABAP_DOCU_SERVICES             Services and Administration

 

Miscellaneous Tools

RSTIME00                       Time Settings

RSCORE00                      Transfer Short Dumps from File to Da

RSNAPREAD                    Alternative and Lightweight Short Du

RSTRC000                       Change Trace

RSPARAM                        Display SAP Profile Parameters

ABAP_DOCU_SERVICES       Services for ABAP Online Documentation

RSABAP_DB_ACCESS          Display for Various ABAP Tables

SAMT                                 Program Sets

SCI                                         Code Inspector

RS_ABAP_BDEF_SHOW             BDEF Display

RS_ABAP_CLEAN_ANALYSIS      Delete COMP-PROCS Caches

RS_COCO_INFO_TOOL              Demonstration for Code Completion


Wednesday, April 16, 2025

Operating Scope of BW4/HANA system

During the setup of a new BW4/HANA system or converting of existing BW system to the BW4/HANA there is an Operating Scope needed to be set up. The operating scope describes which of the essential objects are installed to run the BW/4HANA system. By the objects it means any of BW TLOGO types – see here. However, the most important are objects like business content delivered versions of: IOs (DOBJ), InfoArea (DARE), Data Element (DELM), Planning function type (DPLT), Routine (DROU) etc. are usually being installed or better to say activated from technical business content.

What is going on technically when the BW4 scope is set? At first a table RSTCO_OBJ_SCOPE is populated with the BW objects that will be installed for what operating scope. Then the activation runs it-self. Afterwards another table, RSTCO_OBJ_ACT is populated with having information about all the objects whether particular object was installed correctly or not. It is a field STATUS with values SUCCESS - Activation was successful, ERROR - Activation failed, PARTACTIVE - Activation partly successful (domain RS_TCO_200_STATUS). The whole operation of the scope setting has a log that can be found in t-code SLG1 under object RSTCO_200.

What are the operating scopes that can be set up? At the currently the newest BW4/HANA 2023 the domain RS_TCO_OP_MODE_DOMAIN holds following values for the scope:

1        Lean Data Warehouse

4        BPC Planning only

16      Data Warehouse

 

The Operating Scope for BW/4HANA is 16 which means a full-blown data warehouse system.


More information:

Activating technical business content in BW4/HANA systems

Activating technical business content in BW4/HANA systems

As mentioned in my post What to consider while moving to BW/4HANA there is no t-code RSTCO_ADMIN (program RSTCO_ACTIVATION_ADMIN) available anymore in BW4/HANA based systems. This means that technical IOs like 0CURRENCY, 0LANGU, 0IOBJNM, 0INFOPROV, 0UNIT, etc. need to be activated differently.

There are dedicated tasks in t-code STC01 (Task Manager for technical Configuration, program STC_SCN_MAINTAIN) that need to run to be able to activate those IOs. The STCO1 is used to automate BW configuration tasks. Basically, it is a framework that runs tasks as jobs in background in order to achieve specifics system activities that otherwise needed to be run manually by scheduling those jobs. Particular tasks are organized into so called task lists. More on the t-code STC01 can be found here.

Sequence of tasks lists to activate the technical objects (technical business content) is following:

SAP_BW4_SET_OPERATION_SCOPE

SAP_BW4_SETUP_SIMPLE

SAP_BW4_AFTER_UPDATE

 

Activity of the IOs activation takes place in task list - SAP_BW4_SET_OPERATION_SCOPE and in particular in task called CL_RSTCO_200_CONF_TRIG_CONT - Set BW/4HANA Operating Scope. A number of activated IOs depends on the operating system scope.

More on operating scope can be found in this blog post.

 

More information:

Converting BW system to BW/4HANA

Automation for SAP BW configuration tasks

2665746 - Activating BW technical InfoObjects 0LANGU etc in BW/4HANA without RSTCO_ADMIN

2400585 - Collective Note & FAQ: SAP BW/4HANA Content (BW4CONT & BW4CONTB)