cancel
Showing results for 
Search instead for 
Did you mean: 

/SAPTRX/EVM_STATUS Missing Data?

0 Kudos

Why isn't the entire message listed in the status transaction /SAPTRX/EVM_STATUS?

I would think simple things like

Status: /SAPTRX/EVM_STA

and

EE Modification: /SAPTRX/EVM_EEM

could be listed out here?

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Well after a long time away from EM I am starting to work on it again. I have added the appropriate enhancements to add Expected Events table for Event messages to /SAPTRX/EVM_STATUS. You can use this to add any additional data that you would like to look at in this report. Making the Event Message data a little Less hidden.

There are 4 places that you need to add code.

1. FILL_NODE_TABLE

ENHANCEMENT 1  ZGZ_EM_EVM_STATUS.    "active version
*Add Expected Event table

  CLEAR ls_node_catalog.
  ls_node_catalog-node = 'EE'.
  ls_node_catalog-table_name = '/SAPTRX/EVM_EEM'.
  APPEND ls_node_catalog TO gt_node_catalog.

ENDENHANCEMENT.
*$*$-End:   (3)---------------------------------------------------------------------------------$*$*
ENDFORM.                    " FILL_NODE_TABLE

2. BUILD_NODE_AND_ITEM_TABLE

ENHANCEMENT 2  ZGZ_EM_EVM_STATUS.    "active version
*
* Expected Events
  CLEAR ls_node.
  ls_node-node_key = 'EE'.                          "#EC NOTEXT
  ls_node-relatkey = 'HDR'.
  ls_node-relatship = cl_gui_list_tree=>relat_last_child.
  ls_node-isfolder = 'X'.
  APPEND ls_node TO p_lt_node.

* NODE EXPECTEDEVENTS
  CLEAR ls_item.
  ls_item-node_key = 'EE'.
  ls_item-item_name = '1'.
  ls_item-class = cl_gui_list_tree=>item_class_text.
  ls_item-ignoreimag = 'X'.
  ls_item-text = 'Expected Events'. "#EC NOTEXT
  ls_item-length = 25.
  APPEND ls_item TO p_lt_item.


ENDENHANCEMENT.
*$*$-End:   (1)---------------------------------------------------------------------------------$*$*
ENDFORM.                    " BUILD_NODE_AND_ITEM_TABLE

3. DISPLAY_GRID (I put it at top you could put anywhere)

FORM display_grid  USING    p_node.

ENHANCEMENT 3  ZGZ_EM_EVM_STATUS.    "active version
*Add data to table
  CASE p_node.
    WHEN 'EE'.
      gs_var_layout-report = sy-repid.
      gs_var_layout-handle = 'EE'.
      SELECT *  FROM /SAPTRX/EVM_EEM INTO TABLE gt_ee
                WHERE evt_guid = g_guid.

      CALL METHOD g_alv->set_table_for_first_display

        EXPORTING
          it_toolbar_excluding = g_tab_fcode
          i_buffer_active      = 'X'
          is_layout            = gs_layout
          i_default        = 'X'
          is_variant           = gs_var_layout
          i_save               = 'U'
        CHANGING
          it_fieldcatalog      = gt_fieldcatalog
          it_outtab            = gt_ee[].
    WHEN OTHERS.
  ENDCASE.

ENDENHANCEMENT.

4. Add Data deceleration to bottom of FG /SAPTRX/LREPORT_UTILITIESTOP

ENHANCEMENT 4  ZGZ_EM_EVM_STATUS.    "active version
*Additional Tables for grid Control
  DATA: gt_ee type standard table of /SAPTRX/EVM_EEM.

ENDENHANCEMENT.

former_member583013
Active Contributor
0 Kudos

At a previous cliet I wrote a report that pulled out all the internal tables that were passed with the message. It was a great debugging tool because you could see if the problem was on the app side or the EM side. If the values came over correctly then it was the EM side etc...

Berthold_vH
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Alex,

unfortunately the standard report has no possibility to show the Status and EE Modification. I guess you have two possibilities: Either you can try to open an OSS Message and described this as an error or you write an own report to read the data from the relevant database tables. All event message tables start with /SAPTRX/EVM*.

Regards

Berthold

0 Kudos

Thanks Berthold, if I get some free time I will write a report or enhance the original and post the results here.