Ansicht
Dokumentation

FM_EXM_GET_STATS_BY_CAT - Import a function module for versioning

FM_EXM_GET_STATS_BY_CAT - Import a function module for versioning

rdisp/max_wprun_time - Maximum work process run time   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

FM_EXM_GET_OVERVIEW_BY_MS returns the exception records main attributes (timestamp, message...) from the central exception management DB, for a given Technical System or External Service.
Only single exceptions are considered, ie exceptions from Instrumentation Platform are not returned by this FM.
Exception records are fetched from the central Exception Management DB: only records not yet deleted by the Housekeeping job can be retrieved, according to the default Housekeeping period defined per Logstore (default: 7 days).
Prerequisite: having configured Exception Management for the Technical System or External Service considered.
Optional parameters can be provided to filter the results returned by this FM.
Authorizations: Display authorization on object SM_EM must be granted to caller (standard role SAP_EM_DISPLAY).

Example

DATA lt_recs type ST_EXMRT_CORE.
call ' FM_EXM_GET_OVERVIEW_BY_MS' exporting iv_landscape_id = 'FL7~JAVA' importing et_exmrt_core = lt_recs.

Notes

Notes on Import parameters:

IV_LANDSCAPE_ID must contain the Landscape ID of the Technical System or External Service for which exception records shall be returned, ie:
- For a Technical System: ~ example: FL7~ABAP
- For an External Service: ~ where application_domain contains the Technology Type and service_id the Tenant value. Example: SAP_HCI~Neo

IV_CLIENT must contain the considered Abap client, when IV_LANDSCAPE_ID designates an Abap Technical System.

(optional) IV_LOGSTORE_TYPE may be used to filter the results on a single Logstore Type when several Log Stores are configured for the Technical System / External Service. The allowed values are defined by the Value Range of Domain E2EEM_IMPL_SOURCE.
Current Value Range : ABAP_DUMP, ABAP_WS, ABAP_JOBS, ABAP_SLOG, ABAP_APLOG, ABAP_UPDAT, ABAP_HCM, HCI, BOOMI_SF, BOOMI_MAIL, BIZX_EMAIL, C4C_APP, C4C_SYS, DAA, SF, SNOP, BPA, HCIDS

(optional) IV_FROM_TIMESTAMP may contain the timestamp before which exception records will be ignored. Timestamp must be provided using format YYYYMMDDhhmmss.

(optional) IV_WITH_STATUS can be set to false if exception status (E/W) is not wanted => Performance overhead on large ( > 10,000) exception numbers.

Further information





Parameters

ET_CAT_STAT
ET_DAY_STAT
IV_MAX_DAYS

Exceptions

NOT_AUTHORIZED
TECHNICAL_FAILURE

Function Group

AI_SOLMAN_EXM_RT_FG

Vendor Master (General Section)   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2710 Date: 20240523 Time: 114409     sap01-206 ( 49 ms )