SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Process Monitoring Infrastructure(BC-SRV-PMI) SAP BC

SPI_DEMO_METRIC_EVENT_API SAP ABAP Report - PMI: Metric Overview - Selection







SPI_DEMO_METRIC_EVENT_API is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter SPI_DEMO_METRIC_EVENT_API into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT SPI_DEMO_METRIC_EVENT_API. "Basic submit
SUBMIT SPI_DEMO_METRIC_EVENT_API AND RETURN. "Return to original report after report execution complete
SUBMIT SPI_DEMO_METRIC_EVENT_API VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: PROCTYPE = D .
Title: PMI: Metric Overview - Selection
Text Symbol: CB2 = Start Time
Text Symbol: CB3 = Resolved On
Text Symbol: CB4 = Resolved At
Text Symbol: CB5 = Event Condition
Text Symbol: CE1 = Sequence Number
Text Symbol: CE2 = Created On
Text Symbol: CE3 = Created At
Text Symbol: CE4 = Value
Text Symbol: CE5 = Timeout
Text Symbol: CT1 = Active/Inactive
Text Symbol: CT2 = Settings
Text Symbol: CT3 = Metric Process
Text Symbol: CT4 = Activate
Text Symbol: CT5 = Deactivate
Text Symbol: M01 = Function not possible in this column
Text Symbol: M02 = A process instance does not exist for this event
Text Symbol: M04 = Select only one metric for this function
Text Symbol: T01 = Metrics for Process <&>
Text Symbol: T02 = Results for Metric <&>
Text Symbol: T03 = Condition for Triggering Event
Text Symbol: T04 = Termination Entries for Metric <&>
Text Symbol: T05 = Limit Selection
Text Symbol: 100 = Process Selection
Text Symbol: 101 = Process
Text Symbol: 111 = &1 event(s) selected
Text Symbol: 112 = Do you want to continue?
Text Symbol: 200 = Time Interval
Text Symbol: 201 = From Date
Text Symbol: 202 = To Date
Text Symbol: 203 = From Time
Text Symbol: 204 = To Time
Text Symbol: 205 = Display All
Text Symbol: 206 = Free Selection
Text Symbol: B01 = Delete Event
Text Symbol: C01 = Category
Text Symbol: C02 = Active





Text Symbol: C03 = Description
Text Symbol: C04 = Name
Text Symbol: C05 = Inactive
Text Symbol: C13 = Original Process
Text Symbol: C14 = Termination Entries
Text Symbol: C15 = Obsolete Events
Text Symbol: C16 = Of Which Obsolete Timeouts
Text Symbol: C20 = Events
Text Symbol: C21 = Of Which Timeouts
Text Symbol: CB1 = Start Date


INCLUDES used within this REPORT SPI_DEMO_METRIC_EVENT_API

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-t05 text_question = l_question IMPORTING answer = l_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

CALL_BROWSER CALL FUNCTION 'CALL_BROWSER' EXPORTING url = l_url window_name = 'SPI_MONITOR' EXCEPTIONS frontend_not_supported = 1 frontend_error = 2 prog_not_found = 3 no_batch = 4 unspecified_error = 5 OTHERS = 6.

DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = 'SPIMETRICTYPE' text = 'X' langu = sy-langu TABLES dd07v_tab = lt_dd07v.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_presence info = text-c02 IMPORTING result = ls_metric-active EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_absence info = text-c05 IMPORTING result = ls_metric-active EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING * I_BUFFER_ACTIVE = i_structure_name = 'SSPIMETRICOV' * I_CLIENT_NEVER_DISPLAY = 'X' * I_BYPASSING_BUFFER = CHANGING ct_fieldcat = et_fcat.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING * I_BUFFER_ACTIVE = i_structure_name = 'SSPIBDFOV' * I_CLIENT_NEVER_DISPLAY = 'X' * I_BYPASSING_BUFFER = CHANGING ct_fieldcat = et_fcat.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING * I_BUFFER_ACTIVE = i_structure_name = 'SSPIEVENTOV' * I_CLIENT_NEVER_DISPLAY = 'X' * I_BYPASSING_BUFFER = CHANGING ct_fieldcat = et_fcat.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_absence info = text-c05 IMPORTING result = -active EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_presence info = text-c02 IMPORTING result = -active EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_presence info = text-c02 IMPORTING result = -active EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_absence info = text-c05 IMPORTING result = -active EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

COMPLEX_SELECTIONS_DIALOG CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG' EXPORTING title = 'Bedingung zum Auslösen eines Events'(t03) * TEXT = * SIGNED = 'X' lower_case = 'X' * NO_INTERVAL_CHECK = ' ' * JUST_DISPLAY = ' ' * JUST_INCL = ' ' * EXCLUDED_OPTIONS = ls_opt description = ls_descr * HELP_FIELD = * SEARCH_HELP = * TAB_AND_FIELD = TABLES range = gs_d200-val_range EXCEPTIONS no_range_tab = 1 cancelled = 2 internal_error = 3 invalid_fieldname = 4 OTHERS = 5.






DB_COMMIT CALL FUNCTION 'DB_COMMIT'.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SPI_DEMO_METRIC_EVENT_API or its description.