cancel
Showing results for 
Search instead for 
Did you mean: 

Tracked Process in SAP EM

Former Member
0 Kudos

Hi,

May I know, whether anyone has used the tracked process standard webservice to fetch the data from EM system

from any external non sap application system..

Link is given below regarding tracked process..

http://help.sap.com/saphelp_scm700_ehp03/helpdata/en/c3/d47c7973ad11da36bb000f20dac9ef/frameset.htm

interface : /SAPTRX/II_TRACKED_PROCESS_BY1

input  : /SAPTRX/TRACKED_PROCESS_BY_ID9

output : /SAPTRX/TRACKED_PROCESS_BY_ID8

interface : /SAPTRX/CL_TRACKED_PROCESS_SI1

input  : /SAPTRX/TRACKED_PROCESS_SIMPL6

output : /SAPTRX/TRACKED_PROCESS_SIMPL5

May I know the pre-requite to use it and when we should use these services..Can It be used for standard OTC process.

Regards,

Ratnakar

Accepted Solutions (1)

Accepted Solutions (1)

kevin_wilson2
Contributor
0 Kudos

Sure have - It can be used for the standard OTC process but it's WAYYYY of an overkill. It's specifically designed for the PTA scenario / EPCIS formatted message which is not what we want.

I would write your own custom web service around the BAPI to search for EH data as an alternative.

former_member186607
Active Contributor
0 Kudos

Hi Ratnakar,

the web services can, of course, be used, but - as Kevin already stated - they might introduce complexity you do not need in your use case.

Depending on your use case it might be an alternative to implement your own lean web service as wrapper on the EM standard BAPIs, which fit to your scenario.

Best regards, Daniel

Former Member
0 Kudos

Hi,

Thanks Kevin and Daniel.

@Kevin:

I am not sure but I don't think.. Its designed for PTA scenario..

Because  In case of PTA Scenario, We used the following link in the ESR- namespace earlier.

http://sap.com/xi/PTA

But In this case, It is mentioned in the following link..

http://sap.com/xi/EM/Global

Also we have sent data in EPCIS format earlier , which is quite different from this one.

As It is mentioned in help.sap.com, It is mostly used in case of Enterprise service . But I did not know, if any project has used this feature ever.. So Just inquiring.

@Daniel:

Is not there any standard Webservice (already wrapped up on top of standard bapi) available to use in this case .

Regards,

Ratnakar

former_member186607
Active Contributor
0 Kudos

Hi Ratnakar,

you are totally right. The web service under namespace http://sap.com/xi/PTA are the ones designed for the PTA use case (EPCIS messages for the SAP OER).

The web services under namespace http://sap.com/xi/EM/Global are the ones that can be used for any EM scenario. They provide the functionality of the EM BAPIs for posting EHs, sending Event Messages and querying for EH data. So these are the standard web services that you can use, which provide the full scope (and complexity). There are no other (leaner) web service offered in the standard, which provide functionality for specific scenarios.

Best regards, Daniel

kevin_wilson2
Contributor
0 Kudos

We used it to retrieve the data from the EH. The steps needed are:

Step 1 – Retrieve UUID  via  /SAPTRX/II_TRACKED_PR CESS_SI1

Execute.  Finds the Event Handler and passes back the UUID.

Step 2 – Use above  UUID  to retrieve EH details via  /SAPTRX/II_TRACKED_PROCESS_BY1

Execute. This returns the parameters in the Property tag...

former_member190756
Active Contributor
0 Kudos

Hi Ratnakar,

info about the Webservices are available in note 1124226.

Especially the field mapping is described there.

Best regards,

Steffen

Answers (0)