on 03-13-2015 11:53 AM
Hi,
We have a requirement where the POD scanned copy will be updated in local system and once the document uploading is done we should have the event POD triggered automatically. Currently its a shipper scenario where the local system is connected only with ECC and TM is connected to ECC and not the local system directly.
Dipak,
As a side note the carrier tracking status notifications are more suited to EM functionality than TM. TM is only interested in certain status notifications and you should use EM to filter out the ones that TM needs, like POD and delay notifications.
In reading your requirement I would set up a connection between your local system scanning the PODs and SAP NetWeaver PI (or SAP AIF if you have it). From SAP NetWeaver PI you would connect directly with EM. Why go through PI or AIF? Your local system may not be able to speak SAP and you may have limited ability to structure the data in the needed format to understand.
As an example, you could ask your local server to drop a file in a XML directory with the Package number, delivery number, Signatory, ... other attributes of the POD. PI would monitor that directory and map the contents to an EVMSTA IDoc and post it to EM. In the ruleset you would check if its a POD event and if it is formulate a response to send to TM for further processing.
With this structure in place you could easily integrate other status events coming from other sources in the same "Parcel" EH that was generated by the POD event.
Hope that makes sense.
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thx for the detailed analysis.
So in this case we need to use EVMSTA IDoc or can we use the std EM BAPI also to post the events? Also in this case once the document is uploaded the event POD will be triggered automatically correct? The actual date and time is based on the timestamp coming from document when uploaded in local application system?
Secondly can you throw more light also on the various activities we shall use for the rule sets.
The calling system (the local system reading the POD file) needs to generate some form of structured file that can be mapped to the EVMSTA IDoc and yes once the IDoc is posted the event in EM is automatically created. The use of the EVMSTA IDoc over the BAPI call direct is preferred as it has standard Error handling capabilities around it making use of SAP Business Workflow. In addition the data of the BAPI call (because the IDoc ultimately calls the same BAPI) is persisted in the IDoc thus allowing for error analysis. All of this would need to be coded in the sending system or if you use PI through SXMB_MONI and that is not a business user tool like Workflow is. i.e. Techie folks need to manage errors whereas with IDoc / workflow the business users can.
There is no standard activity to forward the POD to TM but there are a few activities that show how to interact with TM, just look through the activity list.
Hi Dipak,
Lets say the POD scanned copy is uploaded in the application server.
The uploading program should be able call BAPI /SAPTRX/BAPI_EH_ADDEVENTMSG_02
to send the POD event message to the event handler.
The only possible problem you might face is to provide the tracking id because ECC will not have the TM FO# or FU# numbers.
In this case, you should have ERP documents as additional tracking ids.
Using tracking id extractor, you can add the Base BTD ID as additional tracking ids.
Thanks,
Deb
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have 2 questions-
Current landscape is local application system ( say X) is connected to ECC and ECC is connected to TM and EM is only conencted to TM. There is no conenction between local application system ( say X) with TM.
a) Since POD documents are uploaded in local application system ( e.g X) then how we bring this to TM directly.
b) Secondly how we use the tracking ID here
Hi Dipak,
Your local system is a non-SAP system ?
What is base document type/no. in the local system ?
Can you not establish a connection b/w local system and TM system ?
You can also try 2 step approach.
Thanks,
Deb
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.