Note
This section is part of the technical documentation of the E2E Monitoring and Alerting Infrastructure reporting scenario (Interactive Reporting).
There are various tools available to check the data provision and processing for the E2E Monitoring and Alerting Infrastructure (MAI) reporting scenario.
You can display the problem messages from the following areas of MAI data reporting:
Data Loader (writing the data into BW data store objects)
Mapping (Adjusting Data Structures to Save in BW)
Further processing in BW (write DSO data into InfoCubes)
You can run the two following reports in transaction SE38
SMREP_PN_SHOW_MESSAGES
SMBI_PN_SHOW_MESSAGES
If there are problems in interactive reporting, you can check them with these reports.
Note
These messages are also in the self-check messages which are shown in the Self-Monitoring of BW-Based Reporting.
The differences between the two reports are largely historical. When saving and processing reporting data in BW, steps are performed in the software components ST (SAP Solution Manager) and ST_BCO (BI Content for SAP Solution Manager). Depend on whether your BW is in its own system or in the SAP Solution Manager system, as recommended, these steps run in one or two systems, so there are two message display reports.
Use SMREP_PN_SHOW_MESSAGES to display the messages from the SAP Solution Manager system, and SMBI_PN_SHOW_MESSAGES to display the messages from and in the associated BW system. All messages of both software components are displayed in both reports by default. The BW or SOLMAN flag is set in the reports by default.
Note
You can also call both reports from the SAP Solution Manager system, with the Monitoring and Alerting Infrastructure analysis tools. Proceed as follows:
Call the transaction MAI_TOOLS.
In the Logs and Traces tab, choose Problem Messages in SolMan or Problem Messages in BW.
You can restrict the problem messages to be displayed, to a date range (DAT_FROM to DAT_TO), in both reports.
The problem messages in the specified date range are displayed, with the following data:
Column Title | Meaning |
---|---|
PROBLEM_ID | Technical ID of problem message. If you cannot resolve the problem from its description, search for notes with this ID, to get SAP troubleshooting information. If there is no appropriate note, report an incident in the component SV-SMG-MON-REP. |
DESCRIPTION | Short problem description |
PROGRAM_OCCUR | Methods, programs, function modules or form routines in which the problem occurred. |
TIME_LAST_OCCUR | Timestamp of last occurrence of problem |
COUNT_TOTAL | Number of times the problem has occurred |
COUNT_24H COUNT_7D COUNT_30D | Number of times the problem has occurred in the last 24 hours (COUNT_24H), last 7 days (COUNT_7D) and the last 30 days (COUNT_30D) |
COUNT_CONF | How often you have already confirmed the problem in the BW-Based Reporting Self-Monitoring |
If no problem messages are listed, interactive reporting usually works, so if problems still occur, they are probably in the monitoring data determination by DPC (see Getting MAI Data for Interactive Reporting).
Interactive Reporting has a mapping mechanism. It adjusts the data structures as they are used in MAI, to the BW data structures, because they can differ. Data saved in BW must be mapped, even if the metric names match. The mapping tables tell you which reporting data was sent to BW when.
For more information, see Using the Mapping Tabe Analysis Program.
MAI contains comprehensive trace functions, which show the details of the MAI processes. Using the MAI Trace Functions describes the use of the trace.
Note
As the trace can greatly reduce the performance of MAI, depending on the filter settings, only use the tool in consultation with SAP Support.
The mapping is in the reporting trace functions. There are two trace contexts:
DPC2BI_MAPPING (activates the general MAI trace for the mapping)
DPC2BI_MAPPING_ERROR (only activates the trace for occurring errors)
To activate the trace, proceed as follows:
Start the transaction ngtrace, to display the trace.
If you activate the trace context DPC2BI_MAPPING, specify trace filters to limit the additional system load. Choose (Trace Filters), go to change mode, and specify the filter values. There are the three following filters for the context DPC2BI_MAPPING:
Name Trace Filter | Meaning |
---|---|
CONTEXT_ID | GUID of the managed object in MAI |
BI_METRIC_TYPE | technical name of the metric in BI (in the mapping table E2EREP_MAPPING, the entry SMD_METY) |
TRACE_SUBCONTEXT | Subject areas for which the trace is to be written. This trace context has the following areas:
|
Note
You usually activate the trace when problems occur when mapping a metric type or the metrics of a managed object. Specify the trace filter.
To activate the trace, choose (Trace Activation), and, in the Checkpoint Group field, choose the trace context (DPC2BI_MAPPING or DPC2BI_MAPPING_ERROR).
Choose (Activate). You go to the Activate Checkpoint Group screen.
In the Assertions group box, choose Log.
Choose (Users), to specify the users to be traced.
In the Activation by Users screen, enter the users to be traced. One important user is, for example, SM_EFWK. Also set Assert to Log for this user. Choose the Assert setting with the right-hand mouse key.
Note
Determine the users used by the mapping from the fact that the data loader SMD_DATA_LOADER_S is called by the same users by RFC (see Passing and Saving MAI Daten in Business Warehouse). Check which users call this function module. Proceed as follows:
Start the transaction ST03 in the SAP Solution Manager system.
Choose a time range in the navigation bar, under
.Choose the Analyse View
Search for the function module SMD_DATA_LOADER_S, and double-click on a row. The users who have called this function module are listed.
Save your settings.
If the metric is not in reporting, or no longer exists (if there are no current entries in the mapping table), the problem may be in MAI. Use the MAI tools (see Monitoring and Alerting Infrastructure Tools).
You can also use the standard troubleshooting tools, for example:
ABAP Run-Time Errors (transaction st22)
Job Selection (transaction sm37)
Check the following jobs in the Job Log: