You are on page 1of 11

2017-06-09 Page 1/11

1985402 - Requirements and Corrections For Collecting
HANA Service Data
Version 62 Type SAP Note
Language English Master Language English
Priority Correction with medium priority Category Program error
Release Status Released for Customer Released On 02.06.2017
Component SV-SMG-SER (SAP Support Services)

Please find the original document at https://launchpad.support.sap.com/#/notes/1985402

Symptom

You experience program errors in function group /SDF/HANA_7X (e.g. syntax error in function module
/SDF/GET_HANA_TABLE).
Several corrections (also to the old download mechanism) are done via this SAP Note. SAP Note
1878184 will not be maintained anymore.
We introduced a new data collection mechanism for collecting service data for HANA services.
This new mechanism enables:
- services for standalone HANA Databases
- is the prerequisite for multiple HANA Databases in one service session.
This new download mechanism is available with ST-PI 2008_1_7xx SP 10.
You see in the Early Watch Alert Report in the Chapter 'HANA Database' that content is missing.
Prerequisite for HANA Collection is:
ST-PI 2008_1_7xx SP 10 or
ST-PI 740 SP 1
with this SAP Note implemented.

Other Terms

HANA Download, EarlyWatch Alert, ST-PI, EWA

Reason and Prerequisites

To simplify and to enhance the possibility for the download collection a new function module had to be
introduced. The new function module will be the basis for the following scenarios:

Standalone HANA Database (Remote Database). This function module is the prerequisite for the
EarlyWatch Alert of the product HANA Platform Edition.
It simpliyfies the rollout of HANA Download content.
SAP Note 1878184 is obsolete.

Changes:

Changed the interface of the function module with ST-PI 2008_1 7xx SP 10.
Introduced a simplified function to figure out the correct HANA Database from which Data should be
collected.

© 2017 SAP SE or an SAP affiliate company. All rights reserved
2017-06-09 Page 2/11
Date: 2015-06-18: You don't want to have HANA Checks in your EarlyWatch Alert of a HANA
Database which is connected via DBCON. In this case create in DBACOCKPIT an entry with this
connection and add in the description field 'NON_EWA_'. See also SAP Note 2137119.

Correction of Errors:

HANA Databases with another SID than the ABAP System is not treated corrrectly by the download.
This is ensured. (Correction Date: 2015-02-16)
For HANA Databases with Revision 1.00.70 the wrong download module M_DATABASE is read. This
is corrected. (Correction Date: 2015-03-20)
In Solution Manager where also a HANA is connected the download contains information of the
connected HANA systems. This should not be the case. There is one exception: if SLT (component
DMIS) is used the download should contain the required information of the connected HANA System.
The workaround with the DBACockpit descrption 'NON_EWA...' to switch collecting HANA information
does not work anymore. To set up EWAs for HANA Standalone follow SAP Note 1958910. (Correction
Date: 2015-04-23)

New Content:

History of Database Implementations (M_DATABASE_HISTORY)
Row Store Fragmentation
Enhanced content Memory Consumption
Merge Statistics

New Content (17.03.2015):

Multitenant Database Information
Replication Information
Data Tiering Information
Embedded LiveCache Informationen
Corrections regarding the Backup Analysis (Timeframe was not taken correctly)
Corrections regarding the Restarted Services Analysis (Timeframe was also not taken correctly)

New Content (17.04.2015):

StatisticsServer Investigation
Number of HANA Objects exceeds certain limits.

New Content (13.08.2015) - (Version 28):

LiveCache function modules added
Change in OOM Dump collection
Availability Metrics

New content (20.08.2015) - (Version 29):

LiveCache content
Some IO Performance Indicators

New content (17.09.2015) - (Version 30):

Backup Size (for 42 days)
Backup duration
Log Backup Size and duration

© 2017 SAP SE or an SAP affiliate company. All rights reserved
2017-06-09 Page 3/11

New Content (01.10.2015) - (Version 31):

Embedded Stat Server: Checking if Data Collection of HOST_CS_UNLOADS is enabled.

New Content (09.11.2015) - (Version 32):

Enhancement of Multitenant Database recognition

Correction (20.11.2015) - (Version 32):

Database Connections #DO are not collected anymore.

Correction (04.12.2015) - (Version 35):

Timestamp for each SQL
Change in the Embedded Stat Server Recognition

Correction (07.01.2016) - (Version 36)

Enhancement in the Replication Server Scenario
Embedded Stat Server: Correction for Retention Time
Correction for CPU Usage in the STAT Server (to avoid DIV by 0)

Correction (25.01.2016) - (Version 37)

Correction of TOP_TABLES_COL and TOP_TABLES_ROW:
Taking out reading the Size of Lob Files because of Long Duration.

Correction (04.02.2016) - (Version 38)

Adding Smart Data Access (SDA)

Correction (29.02.2016) - (Version 39)

Change of Modul M_BACKUP_STATS: Log Backups of nameserver were not recognized, leading
partially to RED EWAs.

Correction (04.03.2016) - (Version 41)

Change of Modul STAT_SAVEPOINT: Added column 'BLOCKING_PHASE_DURATION'
Added Modul LOGSEGMENTS_FREE

Correction (13.05.2016) - (Version 42)

Change of Modul STATS_STATUS_EMBEDDED: Retention Time only relevant for Statistic Collectors
between Collert ID 5000 and 6000.

Correction (11.07.2016) - (Version 43)

The EWAs for Standalone System Databases seem to show wrong recommendations. The reason is
that the download is not read into the session because another Database Name is used than coming
from the LMDB. This is changed here.

Correction (29.07.2016) - (Version 44)

© 2017 SAP SE or an SAP affiliate company. All rights reserved
2017-06-09 Page 4/11
Wrong evaluation if regarding the Statisticsserver
On Solution Manager 720 on HANA only Data for the HANA of the Solution Manager is collected.

Correction (03.08.2016) - (Version 45)

Preparation of new logical function module

Correction (20.12.2016) - (Version 46)

Bug in 'REMOTE_SOURCE'

Correction (01.02.2017) - (Version 47)

Support of HANA 2.0

Correction (03.02.2017) - (Version 49)

Correction of Version 47 and 48.

Correction (16.03.2017) - (Version 51)

Enhacement of the Statisticsserver Checks

Correction (03.05.2017) - (Version 52)

Taking into account SYSTEMDB
(EarlyWatch Alert, EarlyWatch shows no data regarding Memory Usage of the Indexserver, in a
System Database this should be the nameserver)

Relationship to the Service Content and the ST-PI Support Package:

Basically the ST-PI Support Package should be actual to guarantee that the Service Content has reliable
content. With the Service Content ST-SER 2010_1 SP 26 (Release to Customer in December 2014) it is
strongly recommend to have

ST-PI 2008_1_7xx SP 10 (or higher) or

ST-PI 740 SP 1

installed.

Solution

To get a complete content for Service Delivery or for the EarlyWatch Alert in the Download please implement
at least

ST-PI 2008_1_7xx SP 10 (or higher) or

ST-PI 740 SP 0 (or higher)

together with the newest coding corrections of this SAP Note.

(Remark: there will be continues changes at this SAP Note, even if you have the newest ST-PI Support
Package installed, coding corrections might be necessary)

© 2017 SAP SE or an SAP affiliate company. All rights reserved
2017-06-09 Page 5/11

Software Components

Software Component Release

ST-PI 2008_1_700 - 2008_1_700

ST-PI 2008_1_710 - 2008_1_710

ST-PI 740 - 740

Correction Instructions

Software Component From To Version Changed on ID

ST-PI 740 740 1 19.08.2014 13:58:03 0001790683

ST-PI 740 740 1 20.08.2014 14:41:41 0001791703

ST-PI 2008_1_700 2008_1_710 1 19.12.2014 14:42:53 0001815325

ST-PI 740 740 1 19.12.2014 14:43:32 0001815326

ST-PI 2008_1_700 2008_1_710 1 20.01.2015 13:36:03 0001830619

ST-PI 740 740 1 20.01.2015 13:37:32 0001830620

ST-PI 2008_1_700 2008_1_710 1 21.01.2015 10:03:33 0001831445

ST-PI 740 740 1 21.01.2015 10:05:16 0001831446

ST-PI 2008_1_700 2008_1_710 1 21.01.2015 10:55:51 0001831505

ST-PI 740 740 1 21.01.2015 10:57:02 0001831506

ST-PI 2008_1_700 2008_1_710 1 16.02.2015 13:02:23 0001851713

ST-PI 740 740 1 16.02.2015 13:03:10 0001851714

ST-PI 2008_1_700 2008_1_710 1 16.02.2015 13:04:47 0001851716

ST-PI 740 740 1 16.02.2015 13:05:37 0001851717

ST-PI 2008_1_700 2008_1_700 1 13.07.2015 10:01:02 0001897535

ST-PI 740 740 1 13.07.2015 10:03:01 0001897536

ST-PI 2008_1_700 2008_1_700 1 13.08.2015 12:17:22 0001922404

ST-PI 740 740 1 13.08.2015 12:19:01 0001922405

ST-PI 2008_1_700 2008_1_700 1 20.08.2015 12:21:22 0001926866

© 2017 SAP SE or an SAP affiliate company. All rights reserved
2017-06-09 Page 6/11
ST-PI 740 740 1 20.08.2015 12:23:33 0001926867

ST-PI 2008_1_700 2008_1_700 1 18.06.2015 14:00:15 0001880893

ST-PI 740 740 1 18.06.2015 14:01:43 0001880894

ST-PI 2008_1_700 2008_1_700 1 04.12.2015 13:59:28 0001940183

ST-PI 740 740 1 04.12.2015 14:00:58 0001940186

ST-PI 2008_1_700 2008_1_700 1 07.01.2016 15:21:35 0001963893

ST-PI 2008_1_700 2008_1_700 1 07.01.2016 15:24:33 0001963894

ST-PI 740 740 1 07.01.2016 15:27:10 0001963895

ST-PI 740 740 1 07.01.2016 15:28:54 0001963897

ST-PI 2008_1_700 2008_1_700 1 25.01.2016 14:33:58 0001977704

ST-PI 740 740 1 25.01.2016 14:36:11 0001977705

ST-PI 2008_1_700 2008_1_700 1 04.02.2016 16:03:24 0001987334

ST-PI 740 740 1 04.02.2016 16:05:40 0001987335

ST-PI 2008_1_700 2008_1_700 1 08.02.2016 15:50:46 0001989769

ST-PI 740 740 1 08.02.2016 15:52:15 0001989774

ST-PI 2008_1_700 2008_1_710 1 24.11.2014 09:16:49 0001499347

ST-PI 2008_1_700 2008_1_710 1 24.11.2014 09:37:20 0001499391

ST-PI 2008_1_700 2008_1_710 1 24.11.2014 09:39:47 0001499398

ST-PI 2008_1_700 2008_1_710 1 24.11.2014 09:50:14 0001499399

ST-PI 2008_1_700 2008_1_710 1 24.11.2014 10:33:07 0001499471

ST-PI 2008_1_700 2008_1_710 1 17.03.2015 14:33:13 0001512034

ST-PI 740 740 1 17.03.2015 14:34:56 0001512035

ST-PI 2008_1_700 2008_1_700 1 17.09.2015 09:46:16 0001586551

ST-PI 740 740 1 17.09.2015 09:48:33 0001586654

ST-PI 740 740 1 02.10.2014 15:38:51 0001459500

ST-PI 740 740 1 07.10.2014 09:28:10 0001461163

ST-PI 740 740 1 30.10.2014 17:02:30 0001480139

ST-PI 740 740 1 21.11.2014 13:14:18 0001498608

ST-PI 2008_1_700 2008_1_710 1 24.11.2014 09:10:16 0001499345

ST-PI 2008_1_700 2008_1_710 1 24.11.2014 09:12:04 0001499346

© 2017 SAP SE or an SAP affiliate company. All rights reserved
2017-06-09 Page 7/11

ST-PI 2008_1_700 2008_1_710 1 24.11.2014 10:00:01 0001499402

ST-PI 2008_1_700 2008_1_710 1 24.11.2014 10:04:49 0001499403

ST-PI 2008_1_700 2008_1_710 1 24.11.2014 10:14:38 0001499464

ST-PI 2008_1_700 2008_1_710 1 24.11.2014 10:41:55 0001499525

ST-PI 2008_1_700 2008_1_710 1 24.11.2014 10:43:47 0001499526

ST-PI 2008_1_700 2008_1_710 1 24.11.2014 10:53:25 0001499530

ST-PI 2008_1_700 2008_1_710 1 20.03.2015 15:34:54 0001515478

ST-PI 740 740 1 20.03.2015 15:37:31 0001515479

ST-PI 2008_1_700 2008_1_710 1 17.04.2015 12:34:29 0001535712

ST-PI 740 740 1 17.04.2015 12:35:53 0001535713

ST-PI 2008_1_700 2008_1_710 1 23.04.2015 07:55:41 0001540464

ST-PI 740 740 1 23.04.2015 07:56:27 0001540465

ST-PI 2008_1_700 2008_1_710 1 23.04.2015 10:02:17 0001540738

ST-PI 740 740 1 23.04.2015 10:04:01 0001540739

ST-PI 740 740 1 29.04.2015 07:01:25 0001545059

ST-PI 2008_1_700 2008_1_710 1 29.04.2015 07:05:19 0001545060

ST-PI 740 740 1 30.04.2015 07:50:27 0001546252

ST-PI 2008_1_700 2008_1_710 1 30.04.2015 07:52:53 0001546253

ST-PI 2008_1_700 2008_1_710 1 05.05.2015 13:48:53 0001549271

ST-PI 740 740 1 05.05.2015 13:50:27 0001549272

ST-PI 2008_1_700 2008_1_710 1 13.05.2015 14:59:43 0001555702

ST-PI 740 740 1 13.05.2015 15:01:36 0001555703

ST-PI 2008_1_700 2008_1_700 1 01.10.2015 08:05:53 0001598421

ST-PI 740 740 1 01.10.2015 08:07:57 0001598422

ST-PI 2008_1_700 2008_1_700 1 09.11.2015 11:13:28 0001632264

ST-PI 740 740 1 09.11.2015 11:15:55 0001632265

ST-PI 740 740 1 20.11.2015 08:24:02 0001643645

ST-PI 2008_1_700 2008_1_700 1 29.02.2016 07:57:48 0001650853

ST-PI 740 740 1 29.02.2016 08:00:50 0001650904

© 2017 SAP SE or an SAP affiliate company. All rights reserved
2017-06-09 Page 8/11
ST-PI 2008_1_700 2008_1_710 1 19.12.2014 12:48:31 0001815093

ST-PI 2008_1_700 2008_1_700 1 16.06.2015 13:59:52 0001878508

ST-PI 2008_1_700 2008_1_700 1 16.06.2015 14:08:59 0001878794

ST-PI 740 740 1 16.06.2015 14:10:57 0001878795

ST-PI 740 740 1 16.06.2015 14:12:21 0001878796

ST-PI 2008_1_700 2008_1_700 1 04.03.2016 17:16:51 0000005801

ST-PI 740 740 1 04.03.2016 17:20:05 0000005803

ST-PI 2008_1_700 2008_1_700 1 13.05.2016 12:18:42 0000064347

ST-PI 740 740 1 13.05.2016 12:24:16 0000064349

ST-PI 2008_1_700 2008_1_700 1 16.03.2017 16:00:15 0000165374

ST-PI 740 740 1 16.03.2017 16:02:41 0000165375

ST-PI 740 740 1 03.05.2017 16:26:52 0000186236

ST-PI 2008_1_700 2008_1_700 1 03.05.2017 16:29:46 0000186237

ST-PI 2008_1_700 2008_1_700 1 01.06.2017 10:21:19 0000181282

ST-PI 740 740 1 01.06.2017 10:22:35 0000181283

ST-PI 740 740 1 11.07.2016 12:54:15 0000040233

ST-PI 2008_1_700 2008_1_700 1 11.07.2016 14:05:12 0000040330

ST-PI 740 740 1 11.07.2016 14:07:30 0000040401

ST-PI 2008_1_700 2008_1_700 1 29.07.2016 10:00:31 0000055889

ST-PI 740 740 1 29.07.2016 10:03:04 0000056032

ST-PI 2008_1_700 2008_1_700 1 04.08.2016 16:57:20 0000061124

ST-PI 740 740 1 04.08.2016 16:59:03 0000061125

ST-PI 2008_1_700 2008_1_700 1 21.12.2016 12:38:27 0000109070

ST-PI 740 740 1 21.12.2016 12:41:27 0000109134

ST-PI 2008_1_700 2008_1_700 1 02.02.2017 13:40:30 0000141910

ST-PI 740 740 1 02.02.2017 13:43:27 0000141943

ST-PI 2008_1_700 2008_1_700 1 03.02.2017 16:22:45 0000143385

ST-PI 740 740 1 03.02.2017 16:25:26 0000143386

ST-PI 740 740 1 01.02.2017 08:33:46 0000140252

ST-PI 2008_1_700 2008_1_710 2 21.07.2014 15:15:51 0001768972

© 2017 SAP SE or an SAP affiliate company. All rights reserved
2017-06-09 Page 9/11

ST-PI 2008_1_700 2008_1_710 2 28.04.2014 13:12:39 0001363994

ST-PI 2008_1_700 2008_1_710 3 28.04.2014 13:17:33 0001364000

ST-PI 2008_1_700 2008_1_710 4 28.04.2014 13:38:26 0001406100

ST-PI 740 740 2 02.10.2014 15:49:15 0001459012

ST-PI 2008_1_700 2008_1_710 2 01.12.2014 16:28:55 0001499472

ST-PI 740 740 2 17.11.2014 16:26:44 0001494555

ST-PI 2008_1_700 2008_1_700 2 20.11.2015 09:22:34 0001643603

ST-PI 2008_1_700 2008_1_710 2 19.12.2014 12:49:16 0001815092

ST-PI 740 740 3 09.01.2015 10:49:30 0001815235

ST-PI 2008_1_700 2008_1_700 2 11.07.2016 12:51:15 0000040231

ST-PI 2008_1_700 2008_1_700 2 14.03.2017 14:43:37 0000140120

ST-PI 2008_1_700 2008_1_700 1 26.05.2017 11:26:10 0000207332

ST-PI 740 740 1 26.05.2017 11:27:01 0000207333

ST-PI 2008_1_700 2008_1_700 1 19.05.2017 13:46:41 0000201480

ST-PI 740 740 1 19.05.2017 13:47:35 0000201521

ST-PI 2008_1_700 2008_1_700 1 26.05.2017 14:44:28 0000207645

ST-PI 740 740 1 26.05.2017 14:45:08 0000207648

ST-PI 2008_1_700 2008_1_700 1 26.05.2017 15:27:16 0000207650

ST-PI 740 740 1 26.05.2017 15:27:59 0000207731

ST-PI 2008_1_700 2008_1_700 1 17.05.2017 13:25:02 0000198681

ST-PI 740 740 1 17.05.2017 13:27:31 0000198682

ST-PI 2008_1_700 2008_1_700 1 29.05.2017 07:23:00 0000176570

ST-PI 740 740 1 29.05.2017 07:26:14 0000176631

ST-PI 2008_1_700 2008_1_700 1 02.06.2017 09:39:41 0000182631

ST-PI 740 740 1 02.06.2017 09:40:32 0000182632

ST-PI 2008_1_700 2008_1_700 1 30.05.2017 10:03:21 0000178119

ST-PI 740 740 1 30.05.2017 10:04:33 0000178251

ST-PI 2008_1_700 2008_1_700 1 02.06.2017 15:29:50 0000183179

ST-PI 740 740 1 02.06.2017 15:30:39 0000183180

© 2017 SAP SE or an SAP affiliate company. All rights reserved
2017-06-09 Page 10/11

Other Components

Component Description

SV-SMG-SER-EWA EarlyWatch Alert

Prerequisites

Software SAP
From To Title Component
Component Note/KBA

Requirements and Corrections For
ST-PI 2008_1_700 2008_1_700 1985402 SV-SMG-SER
Collecting HANA Service Data

ST-PI: SAP HANA Download function
ST-PI 2008_1_700 2008_1_710 1878184 SV-SMG-SER
module > ST-PI SP 08

Requirements and Corrections For
ST-PI 2008_1_700 2008_1_710 1985402 SV-SMG-SER
Collecting HANA Service Data

Requirements and Corrections For
ST-PI 740 740 1985402 SV-SMG-SER
Collecting HANA Service Data

This document refers to

SAP Note/KBA Title

1958910 EarlyWatch Alert For HANA Database

This document is referenced by

SAP Note/KBA Title

1892593 Preparing Support Services for SAP HANA Scenarios

2241938 SAP Solution Manager 7.1 Support Package 15 - Basic functions

1958910 EarlyWatch Alert For HANA Database

Terms of use | Copyright | Trademark | Legal Disclosure | Privacy

© 2017 SAP SE or an SAP affiliate company. All rights reserved
2017-06-09 Page 11/11

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