on 05-02-2016 3:20 PM
We have a new requirement to display the event message history from the standard web screens. Need suggestions to how to accomplish this using as much of the standard system as possible.
Myra Gill
Hi Myra ,
You can enhance the standard WebUi using the standard EM badi's available & fetch the event message history as available in the EH_LIST->Event Messages via table /SAPTRX/EH_EVMSG/ as per your tracking ID or the GUID.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Myra,
Please provide a little more details around what you see as event history...
Obviously all event and their event message parameters can be seen in the standard SAP EM Web UI so what else are you looking to expose?
Thanks
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kevin,
We have an expected Event, 'Delivery Appointment Made', it is an expected event so only the most current event shows on the detail screen with the other events. Our user's want to be able to see how many times the carrier has made the appointment via a history type view. They do not want to see all of the messages on the standard detail view.
They want to be able see information like the information displayed on the 'Event Messages' Tab in the Gui on the web. But they do not want to change their current view which is like the 'Consolidated Events' tab in the GUI.
Myra
Thanks for the explanation Myra. Roll up your ABAP sleeves
Ading a new tab would require extending the EM web dynpro because it is not available in standard.
Ounce you have done that it's an easy BAdI enhancement to populate the tab data.
G luck - Let us know if you need help. Regards Kevin.
Hello Myra,
in the standard only the last event that was reported is displayed.
(If your EE Profile is configured in the way that it allows several event reported to the same EE).
You could try to add all the Events to the consolidated event list by using BADI /SAPTRX/BADI_EH_S method AFTER_GET_DATA_DISP. Here you could select the missing events and add them to CONSOLIDATEDEVENTS and sort them to your needs. But i think an own tab would make more sense here.
Best regards,
Steffen
Myra,
I think the option shown below may be workable for you without having to change up the EM web UI.
In my SAP EM system, I configured a new event status and assigned it the date icon.
Then in /SAPTRX/IF_EX_BADI_EH_S~AFTER_GET_DATA_DISP you read the EE History and insert in to the appropriate spot of table CONSOLIDATEDEVENTS.
I also changed the text of the event to show the sequence and that it relates to the 1st Expected Event. I just changed the values in dubugging to verify that it works....
This way the user can see all the history on one page and visually, will not confuse current state with historical state.
I think this is an elegant solution. What are your thoughts?
Thanks Kevin
Myra,
STEP 1 is to do the config. Follow these steps:
a) Define Event Statuses
b) Define Status Icons
Assuming you use the DEFAULT Status Icon Schema like most do
Here you set the date icon
STEP 2: Add your entries in to CONSOLIDATEDEVENTS in BAdI after_get_data_disp
Change the following fields in CONSOLIDATEDEVENTS for your added entries:
Make sure your BAdI is activated
That will do the trick - Those were the only 3 fields I changed to get it working (I suspect the first field is not necessary).
Thanks Kevin
Hi Myra,
I could see SAP Event Management has three historical data:
1. Expected Event Historical Data
2. Measurement Historical Data
3. Status Attribute Historical Data
or You want to bring in SAP EM WebUI whatever displays in EH_LIST -> Event Messages. Is this your requirement?
Regards
GGOPII
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Myra,
The other way I can think off without enhancement, you can configure and report as unexpected event when customer make a "Delivery Appointment Made". It would show how many times customer made the appointment in the past in event message tab. Otherwise you can achieve through enhancement route.
Regards
GGOPII
User | Count |
---|---|
11 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.