cancel
Showing results for 
Search instead for 
Did you mean: 

How to track measurements in EM?

Former Member
0 Kudos

Hello All,

Currently we are implementing EM and the trackable object is the Freight order in SAP TM. We have extracted the measurement details as a part of the Application system Expected Event extractor and this has created an event handler. So far so good. Configured the Measurement fields as a part of the Display profile and also the Event message profile. But the Measurement related fields are not appearing in the Display details screen in the EM web ui. I am aware that all the Measurement info appear as a hyperlink on the web ui and the hyperlink will containall the configured fields for the measurement tracking. This is currently not happening and also adding the EVM related measurement fields to the EVM profile in customizing to post the Actual measurements from the web ui results in a dump. Can you please help me in uderstanding how the WCL parameters have to be configured to view them on the EM web ui as a hyperlink and also to post the actual measurements from the EM web ui.

Many Thanks in Advance,

Pramod

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186607
Active Contributor
0 Kudos

Hi Pramod,

a quick question. On which EM release and SP level is your EM system?

Best regards, Daniel

Former Member
0 Kudos

Hi Daniel,

Nice to hear from you.

EM is an add on in SAP TM 8.1.

Release 701, Level 0001.

Please let me know if you need more information.

Thanks,

Pramod

Former Member
0 Kudos

Hi Daniel,

Is there any information available on this please.

Thanks,

Pramod

former_member186607
Active Contributor
0 Kudos

Hi Pramod,

in general, this should work with EM 7.01 SP1. At least it seems that there are no known issues regarding this. Can you please double-check the following:

The display profile that is assigned to your user profile has to have fields configured for the "Event Handler Measurement Details". These configured fields have to refer to an EM attribute ID like "MEASURED VALUE" for the value or "UNIT OF MEASURED VALUE" for the unit and therefore have to refer to the EM Object "Measurements". As soon as at least one of these fields is available in the "Event Hanlder Measurement Details" and the expected event that shall be displayed has at least one expected measurement, the column "Measurements" should be visible in the Event Messages table. For the expected events that have expected measurements a link "Measurements" should then be displayed.

Can you also please check if your expected measurements are displayed in transaction /SAPTRX/EH_LIST.

Best regards, Daniel

Former Member
0 Kudos

Hi Daniel,

Please refer to the screen shot below for your reference. I have checked the EH measurement data and everthing seems to be fine. Request your inputs...

Best Regards,

Pramod

former_member186607
Active Contributor
0 Kudos

Hi,

if the display profile is set up correctly as well, I also do not know what could be the issue here. If it still does not work, you should open an OSS message regarding this.

Best regards, Daniel

former_member193027
Participant
0 Kudos

Can someone confirm wheather "Measurements" should be visible in the Event Messages table in EM Web UI. Secondly For the expected events that have expected measurements a link "Measurements" should then be displayed.What is the data content on this measurement tab.Will there be a link for measurement or is it a separate tab we will have

former_member186607
Active Contributor
0 Kudos

Hi,

yes "Measurements" link should be visible in the event message table in EM Web UI if there are some available for the message or the expected event. It should look like this:

After link is clicked, pop-up opens with all expected/actual measurements:

The fields that are displayed can be configured in the display profile.

Cheers, Daniel

Former Member
0 Kudos

Hello Daniel,

Sorry to use the same old thread for asking question.

This question is about how to capture actual measured values and process back to EH while reporting event.

I have configured measurements for temperature also I can see link on event message tab of web UI, now I am stuck – How to report actual temperature from EM Web UI.

When I go to “Report all expected events” from web UI, I don’t see measurement parameter (Z_ACT_TEMP)which I have configured under Web Interface->Define User Profiles->Event Message Profile->Event Confirmation Details.

  1. What is the right way of reporting actual measured values?
  2. What is the right way of capturing actual values back on event handler?

It is only guess, I think, though I manage to bring parameter (Z_ACT_TEMP) on pop-up screen of “Report all expected events”, will actual values from event reporting pop-up screen to “/SAPTRX/BAPI_EH_ADDEVENTMSG_02-TRACKMEASURESULTS”?

Should I have to use post-processing functions to pass actual values to  “/SAPTRX/BAPI_EH_ADDEVENTMSG_02-TRACKMEASURESULTS”?

Should I have to use event message extension table to capture these actual values?

We are working on:

SCEMSRV 920 0004 SAPK-92004INSCEMSRV.

Thanks in Advance.

Vishwa.

former_member186607
Active Contributor
0 Kudos

Hi,

the configured field for event messages has to refer to one of EM Attribute IDs starting with "MEASUREMENT*".

Then TRACKMEASURERESULTS will be used when calling the BAPI. In addition the rule set activity PROCESS_MEASUREMENTS has to be executed for this event message then.

Best regards, Daniel

Former Member
0 Kudos

Hello Daniel,

I have configured filed as given and then assigned to the event message profile, expecting configured filed will be available for event reporting, but I see dump with when opening "Report all expected events "ERROR: is not a valid attribute type. (termination: RABAX_STATE)"

When I debug it is dumping because of missing read.

Start of the control for dump:

Do you have any clue for this dump?

I could update actual measured value from SE37 - /SAPTRX/BAPI_EH_ADDEVENTMSG_02, I have also assigned rule set PROCESS_MEASUREMENTS for my event.

Regards,

Vishwa.

Former Member
0 Kudos

Hi Vishwa,

The EM Object attribute type for measurement is "MS Measurements" instead of "EV Event Message".

Change as "MS Measurements" for the field ZZ_MES_TEMP_ACT and process the BAPI again.

Regards


GGOPII

former_member186607
Active Contributor
0 Kudos

@ Gopi: Sorry, but this is not correct. Anyway, the "EM Object" is set automatically when selecting the EM Attribute ID while creating configured field.

For configured fields for display the EM Object is "MS" for the measurement related EM Attribute IDs, but for sending event messages it is "EV".

@Vishwa, the system is still EM 7.01 SP01? Ever thought of upgrading to later SP? I would strongly recommend this, since SP01 is very old...

Best regards, Daniel

Former Member
0 Kudos

Hello Daniel and Gopi,

Thanks for your response.

@Daniel, I am working on EM 9.2 and SP004.

Any suggestions on this?

Regards,

Vishwa.

former_member186607
Active Contributor
0 Kudos

Sorry, I saw in this thread above the information on EM 7.01 SP01 and did not check that this thread was initiated by someone else.

Maybe you can also post here your event message profile settings (all configured fields).

If you have issues regarding displaying the expteced/actual measurements you should implement note 2321602.

Best regards, Daniel

Former Member
0 Kudos

Hello Daniel,

Find event message profile settings:

Corrections suggested in note 2321602 are already available.

Regards,

Vishwa.

Former Member
0 Kudos

Hi Vishwa,

Please create SAP OSS note if the issue is not resolved.  Daniel/Steffen will check and let you know.

Regards


GGOPII

Former Member
0 Kudos

Hello Daniel and Gopi,

@Gopi, thanks for the suggestion I have created a OSS incident.

@Daniel, My colleague created an Incident for the same, can you please help to fix this issue.

Incident Number:280845

Regards,

Vishwas.

former_member186607
Active Contributor
0 Kudos

Hi,

if you have created an incident, then SAP support team will work on this and you will get update from them in the OSS incident.

Best regards, Daniel

former_member186607
Active Contributor
0 Kudos

Note 2326898 should solve the issue.

Best regards, Daniel

Former Member
0 Kudos

Hello Daniel,

Sorry for the late replay. SAP has responded with the same note.

Yes, mentioned note has fixed our issue.

Regards,

Vishwa.