Close this Page

S/4HANA 2023 — User Guide

How to use the Management Cockpit for SAP S/4HANA IDES
Overview

What is the S/4HANA 2023 Cockpit?

The S/4HANA 2023 Management Cockpit is a web-based dashboard for monitoring and operating the SAP S/4HANA IDES demonstration environment hosted on sapidess4.fivetran-internal-sales.com.

From a single page you can:

  • View server details, HANA version, and tenant information
  • Monitor disk space with visual progress bars
  • Check the live status of the SAP Application Server and both HANA database instances
  • Trigger on-demand HANA backups via BACKINT to Google Cloud Storage
  • Start and stop SAP and HANA services with safety controls
  • Access links to SSO, HANA Cockpit, Web IDE, GCP console, and all business process docs
URL: https://sapidesecc8.fivetran-internal-sales.com/sap_skills/docs/SAP_S4HANA_2023.html
System Information

Server Details

The Server Details card displays static and dynamic information about the SAP server:

FieldDescription
HostnameServer hostname and FQDN. Includes an SSH button to open a terminal session.
SAP SystemSAP product version (S/4HANA 2023 IDES)
SID / Instance NrSystem ID S4H and instance number 03
ClientSAP client 100 (used for all operations)
DatabaseHANA version, retrieved live from the server
TenantActive HANA database tenant name
OSOperating system version
IP AddressesPrivate (VPC) and public IP addresses
CPUsNumber of virtual CPUs, retrieved live from the server via nproc
MemoryTotal RAM in GB, retrieved live from the server via free -g

Click the Refresh button at the top right of the section to re-query the HANA version, OS, and tenant name from the live server.

Status Cards

Understanding the Status Section

The Status section contains three cards that show the real-time state of the system components. Click Check Status to query all three at once.

CardWhat it monitorsInstance
SAP Application ServerSAP NetWeaver ABAP stack (ASCS + dialog instance)SID S4H, instance 03, user s4hadm
SAP HANA DatabasePrimary HANA instance for S/4HANA dataSID FIV, instance 00, user fivadm
HANA Cockpit DatabaseSeparate HANA instance for DBA Cockpit & Web IDESID PIT, instance 96, user pitadm

Status Indicators

Each card displays a colored dot and status text:

IndicatorMeaning
Green dot + ActiveThe service is running and responding to queries
Red dot + InactiveThe service is down or unreachable
Grey dot + UnknownStatus has not been checked yet (page just loaded, waiting for response)

For HANA cards, the status also shows the tenant name and the last successful backup date (e.g., "April 09, 2026").

Backup Operations

HANA Backup Architecture

HANA backups use Google Cloud's SAP Agent Backint — not disk-based snapshots. The Backint agent streams data directly from HANA to a Google Cloud Storage bucket.

ComponentPath / Value
Backint binary/usr/bin/google_cloud_sap_agent backint
Wrapper script/hana/shared/FIV/global/hdb/opt/backint/backint-gcs/backint
GCS Bucketgs://sap-hana-backint/ (GCP project: internal-sales)
Bucket Consolehttps://console.cloud.google.com/storage/browser/sap-hana-backint

FIV Tenant (Main S/4HANA Database)

The FIV tenant holds all S/4HANA application data. Backups are scheduled automatically and can also be triggered manually.

SettingValue
Backint parameters file/hana/shared/FIV/global/hdb/opt/backint/backint-gcs/parameters.json
Bucketsap-hana-backint
Compressiontrue (algorithm: lz4)
Service account key/usr/sap/FIV/home/internal-sales-4b50698e74ec.json
Log to cloudtrue
Parallel backint channels4
Backint logs/hana/shared/FIV/HDB00/sapidess4/trace/backint.log
Data backup destinationgs://sap-hana-backint/FIV/

FIV Scheduled Backup

FIV data backups are scheduled by the HANA Cockpit:

  • Schedule: Every Saturday at 09:33 server time (PDT)
  • Comment: "FIV Saturday Scheduled backup"
  • Catalog and log backups also use Backint (continuous log backup, immediate mode)
  • The cockpit page shows the last backup and next backup in Amsterdam and LA timezones with a live countdown
  • Manual backup via the Backup Now button triggers BACKUP DATA USING BACKINT
Schedule guard: FIV manual backup is blocked if the next scheduled backup is within 1 hour.

PIT Tenant (HANA Cockpit SYSTEMDB)

The PIT instance hosts the HANA Cockpit and Web IDE. Its backups are triggered manually.

SettingValue
Backint parameters file/hana/shared/PIT/global/hdb/opt/backint/backint-gcs/parameters.json
Bucketsap-hana-backint
Compressiontrue
Service account key/usr/sap/PIT/home/internal-sales-4b50698e74ec.json
Data backup destinationgs://sap-hana-backint/PIT/

Backups are triggered manually via the cockpit page Backup Now button, which runs BACKUP DATA USING BACKINT on SYSTEMDB port 39613.

Key HANA global.ini Backup Settings

The following settings in global.ini control the Backint integration for the FIV tenant:

ParameterValue
catalog_backup_using_backinttrue
data_backup_parameter_file/usr/sap/FIV/SYS/global/hdb/opt/backint/backint-gcs/parameters.json
log_backup_using_backinttrue
log_backup_interval_modeimmediate
parallel_data_backup_backint_channels4
data_backup_compression_algorithmlz4

GCS Bucket Structure

The gs://sap-hana-backint/ bucket contains backups for all SAP systems:

PathContents
gs://sap-hana-backint/FIV/FIV tenant data + log backups
gs://sap-hana-backint/PIT/PIT / SYSTEMDB backups
gs://sap-hana-backint/SAP_ON_ORACLE_BACKUP/ECC Oracle brbackup copies
gs://sap-hana-backint/sapidesecc8_webserver/Web portal backups

Additional directories in the bucket store kernel packages, host agent binaries, and archive files.

On-Demand Backup Workflow

Both HANA cards (FIV and PIT) include backup controls:

ButtonAction
Backup NowTriggers an immediate BACKUP DATA USING BACKINT to Google Cloud Storage
RefreshChecks whether a backup is currently running and updates the timer
  1. Click Backup Now on the desired HANA card (FIV or PIT/Cockpit).
  2. A confirmation dialog appears: "Start an immediate BACKINT backup for tenant FIV?". Click OK.
  3. The button changes to "Running..." and a live timer starts counting (e.g., Backup running: 02:34).
  4. The backup runs in the background on the server. You can navigate away — the timer is purely local.
  5. Click Refresh to check progress. When the backup completes, the timer disappears and the last backup date updates.
Backup destination: Google Cloud Storage bucket sap-hana-backint. View backups in the Links section under "Backint Backup Destination".
Note: Only one backup per HANA instance can run at a time. If a backup is already running, the "Backup Now" button is disabled. Use "Refresh" to check status.
HANA Backint → GCS

Overview

SAP HANA on this system uses Google Cloud Agent for SAP (google_cloud_sap_agent backint) to stream data, log, and catalog backups directly to the GCS bucket gs://sap-hana-backint/. Backups are gzip-compressed by the agent. Log and catalog backups run automatically every minute; full data backups are scheduled weekly (Saturday 09:33 America/Los_Angeles).

Architecture

hdbsql → BACKUP DATA USING BACKINT ('...')
  → HANA calls hdbbackint (symlink)
    → backint wrapper (bash: google_cloud_sap_agent backint "$@")
      → reads parameters.json (bucket, SA key, compress)
        → uploads to gs://sap-hana-backint/<TENANT>/...

Configuration Files

FilePath
global.ini (custom)/usr/sap/FIV/SYS/global/hdb/custom/config/global.ini
parameters.json/usr/sap/FIV/SYS/global/hdb/opt/backint/backint-gcs/parameters.json
backint wrapper/usr/sap/FIV/SYS/global/hdb/opt/backint/backint-gcs/backint
hdbbackint symlink/usr/sap/FIV/SYS/global/hdb/opt/hdbbackint → wrapper
SA key/usr/sap/FIV/home/internal-sales-4b50698e74ec.json
Local basepath/SUMHANA/backup (NFS from saphvrhub)
Agent binary/usr/bin/google_cloud_sap_agent
Agent logs/var/log/google-cloud-sap-agent/backint.log
Agent config/etc/google-cloud-sap-agent/configuration.json
systemd servicegoogle-cloud-sap-agent.service

GCS Bucket Layout

Bucket: gs://sap-hana-backint/ (shared across all HANA systems, tenant-prefixed)

PrefixTenantNotes
FIV/FIV (port 30015, SAPHANADB)Primary S/4HANA backups
PIT/PIT (port 39613, SYSTEM)HANA Cockpit DBA tenant

parameters.json

{
  "bucket": "sap-hana-backint",
  "compress": true,
  "service_account_key": "/usr/sap/FIV/home/internal-sales-4b50698e74ec.json",
  "log_to_cloud": true
}

global.ini [backup] settings

[backup]
data_backup_parameter_file = /usr/sap/FIV/SYS/global/hdb/opt/backint/backint-gcs/parameters.json
parallel_data_backup_backint_channels = 4
catalog_backup_parameter_file = /usr/sap/FIV/SYS/global/hdb/opt/backint/backint-gcs/parameters.json
log_backup_parameter_file = /usr/sap/FIV/SYS/global/hdb/opt/backint/backint-gcs/parameters.json
log_backup_using_backint = true
catalog_backup_using_backint = true

Backup Commands

# Full data backup of FIV tenant to GCS
su - fivadm -c 'hdbsql -i 00 -d FIV -u SYSTEM -p <pwd> \
  "BACKUP DATA USING BACKINT ('\''FULL_DATA_FIV_$(date +%Y%m%d_%H%M%S)'\'') \
   COMMENT '\''Manual full backup'\''"'

# Backup SYSTEMDB
su - fivadm -c 'hdbsql -i 00 -d SYSTEMDB -u SYSTEM -p <pwd> \
  "BACKUP DATA FOR SYSTEMDB USING BACKINT ('\''SYSTEMDB_$(date +%Y%m%d_%H%M%S)'\'') \
   COMMENT '\''SYSTEMDB backup'\''"'

# Check last 5 backups
su - fivadm -c 'hdbsql -i 00 -u SYSTEM -p <pwd> \
  "SELECT TOP 5 BACKUP_ID, ENTRY_TYPE_NAME, STATE_NAME, \
   DESTINATION_TYPE_NAME, SYS_END_TIME, COMMENT \
   FROM M_BACKUP_CATALOG ORDER BY SYS_END_TIME DESC"'

Restore Commands

# Stop tenant before recovery
su - fivadm -c 'hdbsql -i 00 -d SYSTEMDB -u SYSTEM -p <pwd> \
  "ALTER SYSTEM STOP DATABASE FIV"'

# Restore from backint by BACKUP_ID (preferred)
su - fivadm -c 'hdbsql -i 00 -d SYSTEMDB -u SYSTEM -p <pwd> \
  "RECOVER DATA FOR FIV USING BACKUP_ID <backup_id> CLEAR LOG"'

# Restore from backint by prefix
su - fivadm -c 'hdbsql -i 00 -d SYSTEMDB -u SYSTEM -p <pwd> \
  "RECOVER DATA FOR FIV USING BACKINT ('\''FULL_DATA_FIV_20260416'\'') CLEAR LOG"'

# Verify tenant is back
su - fivadm -c 'hdbsql -i 00 -u SYSTEM -p <pwd> \
  "SELECT DATABASE_NAME, ACTIVE_STATUS FROM M_DATABASES"'

Backup Schedule

Weekly full data backup every Saturday 09:33 America/Los_Angeles (server timezone). Automatic log and catalog backups every minute, streaming to GCS via backint.

Agent CLI Commands — Install, Configure, Validate, Diagnose

The Google Cloud Agent for SAP includes helper commands that replace manual symlink/wrapper/parameters.json work. Use these for new system setup and troubleshooting.

installbackint — installs wrapper, hdbbackint symlink, and starter parameters.json to /usr/sap/<SID>/SYS/global/hdb/opt/backint/backint-gcs/:

/usr/bin/google_cloud_sap_agent installbackint
# Or specify SID (lowercase):
/usr/bin/google_cloud_sap_agent installbackint -sid=fiv

configurebackint — safely edit parameters.json:

/usr/bin/google_cloud_sap_agent configurebackint \
  -f="/usr/sap/FIV/SYS/global/hdb/opt/backint/backint-gcs/parameters.json" \
  -bucket="sap-hana-backint"

status -f=backint — validates IAM + config (v3.7+). Run first when troubleshooting:

sudo /usr/bin/google_cloud_sap_agent status \
  -b="/usr/sap/FIV/SYS/global/hdb/opt/backint/backint-gcs/parameters.json" \
  -f="backint"

backint -f=diagnose — end-to-end self-test. Requires 18 GB free disk:

sudo /usr/bin/google_cloud_sap_agent backint \
  -u=FIV \
  -p="/usr/sap/FIV/SYS/global/hdb/opt/backint/backint-gcs/parameters.json" \
  -f=diagnose

parameters.json Full Reference

Our current config uses 4 parameters. The agent supports many more for performance tuning, encryption, retention, and system-copy workflows.

Core

ParameterDefaultNotes
bucket(required)Target GCS bucket
recovery_bucketSeparate bucket for restore (v3.1+)
folder_prefixPrefix inside bucket
recovery_folder_prefixPrefix for restore (v3.1+)
shorten_folder_pathfalseShortens object paths (v3.3+)
service_account_keyRequired only off-Compute-Engine

Performance

ParameterDefaultNotes
parallel_streams11-32. Prefer HANA's parallel_data_backup_backint_channels for data
parallel_recovery_streams11-32 (v3.7+). Not with compressed backups
xml_multipart_uploadfalseRequired if parallel_streams>1 (v3.2+)
buffer_size_mb100Up to 250. Memory = buffer × streams
rate_limit_mbunlimitedOutbound bandwidth cap
threadsnprocWorker threads
retries5GCS retry count
retry_backoff_initial10sInitial backoff
retry_backoff_max300sMax backoff
retry_backoff_multiplier2.0Must be >1.0

Compression / Logging / Metrics

ParameterDefaultNotes
compressfalseGoogle recommends against. We use true for storage cost
log_to_cloudtrueRoute logs to Cloud Logging
log_levelINFODEBUG/INFO/WARNING/ERROR
log_delay_sec60Progress log interval
send_metrics_to_monitoringtrueCloud Monitoring metrics (v3.3+)

Storage / Metadata

ParameterDefaultNotes
storage_classbucket defaultSTANDARD/NEARLINE/COLDLINE/ARCHIVE (v3.2+)
metadata{X-Backup-Type:...}Custom KV map (v3.3+)
custom_timeRFC 3339 or UTCNow+Nd (v3.4+)
client_endpointstorage.googleapis.comRarely modified

Encryption

ParameterDefaultNotes
encryption_keyPath to AES-256 CSEK. Exclusive with kms_key, parallel_streams
kms_keyprojects/P/locations/L/keyRings/R/cryptoKeys/K. Exclusive with encryption_key, parallel_streams

Retention (v3.7+)

ParameterDefaultNotes
object_retention_timeRFC 3339 or UTCNow+Nd
object_retention_modeLocked/Unlocked

Diagnostics

ParameterDefaultNotes
file_read_timeout_ms60000Open file timeout
diagnose_file_max_size_gb16Max file size for diagnose (v3.3+)
diagnose_tmp_directory/tmp/backint-diagnoseTemp dir (v3.3+)
Constraint matrix: Parallel uploads incompatible with (retention policies, encryption_key, kms_key). parallel_recovery_streams incompatible with compress=true backups. recovery_bucket incompatible with CHECK ACCESS USING BACKINT SQL clause. Violations → agent exits with status 1.

Multiple Parameter Files (Recommended for Production)

HANA can use separate parameters.json files for data/log/catalog backups, each tuned differently. Our current config uses one shared file — works fine for this scale, but consider splitting for production tuning.

Backup typeFileTypical tuning
Dataparameters_data.jsonHANA's parallel_data_backup_backint_channels=8-16 in global.ini
Logparameters_log.jsonparallel_streams=8, xml_multipart_upload=true, smaller buffer_size_mb
Catalogparameters_catalog.jsonSame as log

Configure in global.ini:

[backup]
data_backup_parameter_file = /usr/sap/FIV/.../parameters_data.json
log_backup_parameter_file = /usr/sap/FIV/.../parameters_log.json
catalog_backup_parameter_file = /usr/sap/FIV/.../parameters_catalog.json

Download Backint Skill

Full backint expert reference skill (Markdown) — covers architecture, parameters, CLI commands, tuning, and troubleshooting for both S/4HANA and BW/4HANA systems.

Download backint_skill.md

Performance & Operational Notes

  • Compression tradeoff: Google recommends leaving compress=false — higher CPU, lower throughput. We use compress=true deliberately for lower GCS cost.
  • Parallel data backup channels: Set parallel_data_backup_backint_channels=8 (or 16) in global.ini [backup] instead of parallel_streams in parameters.json for data backups. FIV currently set to 4.
  • XML multipart uploads for log/catalog: enable in a dedicated parameters_log.json, not the shared file.
  • Lifecycle rule on bucket: Google recommends an AbortIncompleteMultipartUpload lifecycle rule (7 days) on the bucket.
  • Database isolation feature: If HANA is deployed with database isolation, extra config is needed. Not applicable here.
  • Scale-out deployments: Agent must be installed on every node.

Troubleshooting

SymptomFix
Backup fails with "opening hdbbackint"Recreate hdbbackint symlink to wrapper
Agent "failed to authenticate"Check SA key file permissions (600, fivadm:sapsys)
"bucket not found"parameters.json must have exactly sap-hana-backint
Log backups not uploadingSet log_backup_using_backint = true in global.ini
Permission denied on backup dirchown -R fivadm:sapsys /usr/sap/FIV/HDB00/backup
Agent not runningsystemctl start google-cloud-sap-agent
Unsure if config / IAM is correctRun google_cloud_sap_agent status -b=/path/parameters.json -f=backint (v3.7+)
Want to test GCS upload/download before HANA backupRun google_cloud_sap_agent backint -u=FIV -p=/path -f=diagnose (needs 18 GB free)
Agent exits with status 1 immediatelyCheck parameters.json for incompatible options (parallel + encryption/retention, etc.)
Related: For Oracle backups on sapidesecc8, see the saporaclebackup skill (separate flow using BR*Tools). For BW/4HANA backint config, see the BW4HANA Guide.
Start / Stop Operations

Starting Services

Each status card has a green Start button:

ButtonWhat it does
Start SAPRuns startsap R3 as s4hadm — starts the ABAP application server
Start DB (FIV)Runs HDB start as fivadm — starts the primary HANA instance
Start DB (PIT)Runs HDB start as pitadm — starts the Cockpit HANA instance

A confirmation dialog asks you to confirm before starting. If the service is already running, you will see an informational message instead of starting it again.

Stopping Services

Each status card has a red Stop button. Stopping is a two-step authorization process:

  1. Warning dialog — a confirmation message explains the impact (e.g., "All connected users will be disconnected" or "Shut SAP down first before stopping the database").
  2. Master password — you must enter the vault master password. If the password is wrong, the operation is rejected.
ButtonWhat it doesPre-check
Stop SAPRuns stopsap R3 as s4hadmIf SAP is already down, returns info message
Stop DB (FIV)Runs HDB stop as fivadmIf HANA is already down, returns info message
Stop DB (PIT)Runs HDB stop as pitadmIf HANA is already down, returns info message
Important — Shutdown Order: Always stop SAP Application Server before stopping the HANA FIV database. Stopping the database while SAP is running can cause data corruption. The cockpit warns you about this.
Startup Order: When bringing the system back up, start HANA FIV first, then SAP Application Server. The PIT (Cockpit) database is independent and can be started/stopped at any time.

Recommended Shutdown Sequence

  1. Stop SAP — Click "Stop SAP", confirm the warning, enter the master password.
  2. Check Status — Click "Check Status" and wait until SAP shows Inactive.
  3. Stop HANA FIV — Click "Stop DB" on the HANA Database card.
  4. (Optional) Stop HANA PIT — Click "Stop DB" on the Cockpit card if you also want to shut down the DBA Cockpit.

Recommended Startup Sequence

  1. Start HANA FIV — Click "Start DB" on the HANA Database card. Wait until status shows Active.
  2. (Optional) Start HANA PIT — Click "Start DB" on the Cockpit card.
  3. Start SAP — Click "Start SAP". The ABAP stack needs the database to be running first.
Disk Space

Filesystem Monitor

The Disk Space card appears next to Server Details and shows all mounted filesystems with visual progress bars.

Bar ColorUsage LevelAction
GreenBelow 70%Normal — no action needed
Yellow70% – 85%Monitor — plan cleanup soon
RedAbove 85%Critical — free space immediately

Each filesystem row shows: mount point, usage percentage bar, total size, and available space. Click Refresh to update the data.

Key Filesystems to Watch

MountContainsWhy it matters
/hana/dataHANA database data filesIf full, HANA stops accepting writes and may crash
/hana/logHANA transaction logsIf full, all database transactions halt
/sap_backupLocal backup staging areaBackups fail if insufficient space
/usr/sapSAP binaries and work filesSAP cannot start if this is full
Security & Credentials

Credential Management

The cockpit follows a strict no-hardcoded-passwords policy. All credentials are stored in the encrypted vault on the server and retrieved at runtime.

CredentialHow it's usedVault access
HANA FIV (SAPHANADB)Status checks, backup triggers, version queriesAuto-read (no password needed)
HANA PIT (SYSTEM)Cockpit status checks, backup triggersAuto-read (no password needed)
Web IDE credentialsDisplayed next to Web IDE link on page loadAuto-read (no password needed)
SAP OS users (s4hadm, fivadm, pitadm)Start/stop commands via su -Auto-read (no password needed)
Master passwordRequired for all stop operationsValidates against vault encryption key
Master Password: The master password is required only for destructive operations (stopping services). Reading credentials from the vault does not require it. If you do not know the master password, contact the SAP Specialist team.
Email Relay

SMTP Configuration

This server is configured to send email via smtp2go relay using Postfix.

PropertyValue
MTAPostfix (SUSE, lmdb maps)
Relaymail.smtp2go.com:2525
From Addresssapidess4@fivetran-internal-sales.com
AuthSASL (credentials in vault key smtp2go)
TLSEnabled (opportunistic)
Config/etc/postfix/main.cf, /etc/postfix/sasl_passwd

Send a test email:

echo "Test" | mailx -s "Test from sapidess4" -r "sapidess4@fivetran-internal-sales.com" recipient@email.com
Troubleshooting

Common Issues

ProblemCauseSolution
All status cards show "Error" Web server API cannot reach sapidess4 Check if sapidess4 VM is running in GCP. The web server (sapidesecc8) must be able to reach it.
SAP shows Inactive but HANA is Active SAP application server is stopped Click "Start SAP" to start the ABAP stack. The database must be running first.
Backup Now returns "Error" HANA instance is down, or BACKINT agent not configured Ensure the HANA instance is Active first. Check BACKINT configuration in /usr/sap/FIV/SYS/global/hdb/opt/
Stop button says "Wrong master password" Incorrect master password entered Retry with the correct master password. Contact SAP Specialist team if forgotten.
Start/Stop button shows "Already running" or "Already stopped" The service is already in the requested state This is informational — no action needed. Click "Check Status" to confirm.
Disk Space shows "Error loading" API endpoint unreachable or server restart needed Try clicking "Refresh". If persistent, the gcs-explorer service on sapidesecc8 may need a restart.
Web IDE credentials not showing Vault read failed or credentials not stored Check that hana_ide_user and hana_ide_password exist in the vault.
Web IDE is very slow HANA delta store fragmentation A weekly delta merge cron runs Sundays at 02:00 on sapidess4. If slowness recurs mid-week, run ssh root@sapidess4 /usr/local/bin/hana_delta_merge.sh
Page returns 404 HTML file missing from server Re-deploy: scp SAP_S4HANA_2023.html root@sapidesecc8:/usr/sap/sap_skills/docs/

Architecture

The cockpit page is a static HTML file served by the Python HTTPS server on sapidesecc8 (port 443). All dynamic data comes from API endpoints on the same server:

API EndpointMethodPurpose
/sap_skills/api/system_statusGETSAP + HANA FIV + PIT status, tenant names, last backup dates
/sap_skills/api/hana_versionGETHANA version, OS version, tenant name
/sap_skills/api/backup_runningGETCheck if any backup is currently in progress
/sap_skills/api/hana_ide_credentialsGETWeb IDE user/password from vault
/sap_skills/api/disk_spaceGETFilesystem usage (df -h)
/sap_skills/api/hardware_infoGETCPU count (nproc) and total memory (free -g)
/sap_skills/api/trigger_backupPOSTStart BACKINT backup (target: fiv or pit)
/sap_skills/api/hana_controlPOSTStart/stop HANA (target + action + master password for stop)
/sap_skills/api/sap_controlPOSTStart/stop SAP application server (action + master password for stop)
The web server runs on sapidesecc8 and connects to sapidess4 via SSH/hdbsql to execute commands. No credentials are hardcoded in the HTML — all sensitive data flows through the server-side vault.
HANA SQL Console

Overview

The HANA SQL Console provides an interactive query interface directly from the cockpit. Queries are executed on the SAP HANA database via hdbsql on sapidess4.

PropertyValue
Tool/usr/sap/S4H/hdbclient/hdbsql
Execution Hostsapidess4 (via SSH from sapidesecc8)
Output FormatCSV (-x flag)
Query Timeout120 seconds
API EndpointPOST /sap_skills/api/hana_sql_execute
AuthenticationNo master password required — credentials retrieved from server-side vault

Available Databases & Users

DatabasePortAvailable UsersVault Key
FIV (Tenant)30015SYSTEM, SAPHANADBsapidess4_hana → tenant "FIV"
SYSTEMDB39613SYSTEMsapidess4_hana → tenant "PIT"
FIV is the main S/4HANA tenant database containing all SAP application data. SYSTEMDB is the HANA system database used for administration and monitoring.

Features

  • Database selector — switch between FIV and SYSTEMDB
  • User selector — SYSTEM or SAPHANADB (FIV only)
  • Optional schema — sets CURRENT_SCHEMA via -Z flag
  • Ctrl+Enter — keyboard shortcut to execute
  • Results table — sortable columns with row count and elapsed time
  • Copy button — copies results as tab-separated text
  • Error display — HANA error messages shown in red box

Example Queries

-- List all databases
SELECT DATABASE_NAME, ACTIVE_STATUS FROM SYS.M_DATABASES

-- Check HANA version
SELECT VERSION FROM SYS.M_DATABASE

-- Top 10 largest tables in FIV
SELECT TOP 10 SCHEMA_NAME, TABLE_NAME, RECORD_COUNT, TABLE_SIZE
FROM SYS.M_CS_TABLES ORDER BY TABLE_SIZE DESC

-- Active connections
SELECT CONNECTION_ID, USER_NAME, CLIENT_IP, CONNECTION_STATUS
FROM SYS.M_CONNECTIONS WHERE CONNECTION_STATUS = 'RUNNING'

-- Memory usage
SELECT HOST, TOTAL_MEMORY_USED_SIZE / 1024 / 1024 / 1024 AS USED_GB,
       ALLOCATION_LIMIT / 1024 / 1024 / 1024 AS LIMIT_GB
FROM SYS.M_HOST_RESOURCE_UTILIZATION