on 04-21-2016 9:18 PM
Dear experts,
As part of tthe EM design process, we cam across some design considerations,
In our process, we receive a set of additional data ( about 10-15 fields) with a POD event. This additional data will come only with POD event. Now we have to store this somewhere in EM.
1. which paramater we shall use - info, control, system ?
2. I need to provide a utility functionality(via web service) to fetch the event data (for an order) and I need this additional data to be retrieved and send back along with actual event data of the order to the web service caller. Which functionality I shall use in EM to fetch actual event data? is there any BAPI or web service available already in standard?
Thanks in Advance for your help!
Anu
Hi Anu,
In this case, I wouldn't use Sys/Control/Info parameters. If these fields are POD related info fields, I would store them as message parameters. This way these parameters will stay with event and it's easy to retrieve this additional data.
Alert framework will not help you to send the data for web service.
Thanks,
Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anu,
If your additional data has only one value would map and need to query fast with index then you can suggest System Parameter e-g sales order, shipment, container id etc, otherwise you can check control parameter and info parameter.
Check this SAP help link to get more detail Parameters - SAP Event Management (SAP EM) - SAP Library
Discussion - system , control and info parameter | SCN
"2. I need to provide a utility functionality(via web service) to fetch the event data (for an order) and I need this additional data to be retrieved and send back along with actual event data of the order to the web service caller. Which functionality I shall use in EM to fetch actual event data? is there any BAPI or web service available already in standard?".
SAP EM has WEB UI service where you can give access to user, once you configured system, control and info parameters If you want to send back the data to external party via link or through email then you can use SAP EM Alert Framework which are readily available.
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 GGOPII,
Thanks a lot for your answers and advice.
This has only one value and thus SYstem parameter make sense as per your suggestion.
2. I am not using web UI, but instead I have to provide a web service to fetch the data- basically used to various e-commerce applications to show the tracking and they need a web service for this.
is there a BAPI or Function module I shall use to query event handler- so that I can create a wraper webservice for this?
-Anu
Thank you Vishnu.
I am so happy to get my queries answered so fast.. thanks a ton for this forum
currently the plan is to replicate the execution evcents in TM and create a FM in TM to fetch this data from order execution node. I see this is unnecessary as I can get all data from EM itself.
If that is the case, how to I stop replication of this events into TM ?
-Anu
Hi Anu,
You can definitely use TM or EM to get the events but as you said you have additional data associated with events, I would say go with EM extraction using the FMs I mentioned.
As with question of replicating the events to TM, I would say you should still replicate to TM as the execution data is readily available against TM documents in execution tab and might help you with overall execution status of TM documents. Secondly, it would be your business decision to replicate the events or not
Thanks,
Vishnu
Gopi,
For your response,
"Check this discussion for external webservice access - External Access to Transporter to Report Events"
-- Anu is not asking how to post events from carriers perspective. Anu is asking us how to send the data out.
Regarding BW, Who is talking about BW here? You should design your solution based on what's best for your current system and not based on downstream system. To send the data, you can extend or customize your data sources to send data to BW.
Thanks,
Vishnu
Hi Vishnu,
We have to give different possible solution to them as client may asked something and we provide.
If they would have already BW integrated what would happen to event message header extension solution, then they have to create another BW functional plugin separately (enhancement again) to retrieve data for those new fields. We are providing different solution and suggestions to them, the end of the day, the consultant take away what is the best way they want to propose with minimal TCO.
I hope this helps.
Regards
GGOPII
Ok, I agree that we have to give different angles and I do too for lot of posts but here in this post, do you really think it's better to store parameters as System instead of Message parameters.
Also, If your solution is based on BI's assumption, Do you design EM solution from EM's perspective or from BI's perspective?
Thanks,
Vishnu
User | Count |
---|---|
9 | |
4 | |
3 | |
2 | |
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.