on 10-17-2012 3:20 PM
Hello,
we would like to dynamically change the location of the already generated expected events at the notification of an event. For example: when the EH is posted the EEs are generated with an initial location. When an event message id received, it can be necessary to update the expected location for all the not yet reported EEs.
E.g. - EH is created when the event DEPARTURE LOC1 is notified and the following EEs are generated at Time T1.
1. DEPARTURE LOC1 - Reported
2. ARRIVAL LOC2
3. DEPARTURE LOC2
4. ARRIVAL LOC3
5. DEPARTURE LOC3
6. ARRIVAL LOC4
At Time T2, the event DEPARTURE LOC2 is reported and the locations of the following EEs need to be updated (the route has to be changed).
Therefore the EEs should be updated to:
1. DEPARTURE LOC1 - Reported
2. ARRIVAL LOC2
3. DEPARTURE LOC2 - Reported
4. ARRIVAL LOC6
5. DEPARTURE LOC6
6. ARRIVAL LOC7
We know that the standard activity EVM_EE_UPDATE is available to achieve what we need but we couldn't find the correct way to fill the structure TRACKEEMODIFY.
We filled the structure in this way:
MODCNT EVTACT EVTID LOCID1 MODREF
4 D ARRIVAL LOC3
5 D DEPARTURE LOC3
6 D ARRIVAL LOC4
7 I ARRIVAL LOC6
8 I DEPARTURE LOC6
9 I ARRIVAL LOC7
but it doesn't work (the existing EEs are deleted but no insertion is performed).
Do you have any experience about using this activity or is there any alternative way to reschedule (location) EEs? Thanks a lot. Regards. Luigi
Hello Luigi,
this should work as you have described. Was there any return code in the EM log in transaction SLG1 object for the EE Modify activity?
The activity has several return codes:
0: Success
1: Mapping of event code failed
2: Expected event already exists.
3: Referenced expected event was not passed with event message
4: Referenced expected events does not exist
5: No expected date available
6: Expected event insertion failed
7: Expected event for update does not exist
8: Expected event update failed
9: Expected event for deletion does not exist
10: Expected event deletion failed
11: Add duration failed
12: No time zone provided
If we know the one raised its easier to determine the problem.
Best regards,
Steffen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
4 | |
3 | |
2 | |
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.