cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice In P2 System

Former Member
0 Kudos


Hi Experts,

I m working on webservice part in MII 14.0. I m getting webservice from P2 system which is MES system.

Based on same triggering condition in P2 system,it will genereate wenservices URL.

Is their any way in MII to check triggering condition so that scheduling can be avoided to avoide time lag.

Thanks in advance.

Regards,

Neha

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Neha,

First way is to create scheduled transaction which you can schedule after certain time so that it checks for the WSDL URL. But you don't want to use this.

Is it possible for this P2 to send http messages to other applications.

If yes then you can send http message to MII and this message would be processed by MII and here you could write the logic to call the webservice.

Regards,

Rohit Negi.

Former Member
0 Kudos

Hi Rohit,

Thank you for your quick reply.

Can you please explain in some more detail regarding how http messages will be used in MII 14.0?

How http mesages will be used as triggering in MII or i need to schedule some schedular again for this?

Regards,

Neha

Former Member
0 Kudos

Hi Neha,

You need to create a Processing Rule which will process the incoming messages in MII. In this Processing Rule you can specify a transaction where you can write your business logic. So you need not schedule any transaction. Rather this Processing Rule will automatically call the transaction as soon as the message is received by MII.

Also in your case you can send the Webservice URL in message sent to MII and then pass it to the transaction.

For Complete Information about message services read help doc of MII:

Message Services - SAP Manufacturing Integration and Intelligence - SAP Library

Regards,

Rohit Negi.

former_member196557
Active Contributor
0 Kudos

Hi Neha,

If the P2 MES system is capable of executing a webservice call, it can simply call an MII transaction as a webservice.

If there is an underlying shop floor system (i.e., a Programmable Controller or Process Control System) that is connected to P2 that is generating the "trigger condition" that MII needs to be aware of to do some communication with P2, then SAP Plant Connectivity, along with an OPC Server, can be used to detect the trigger condition and execute an MII transaction that can then communicate with P2.

Can you describe your conditions in a little more detail?

Regards, Steve

Former Member
0 Kudos


Hi Steve,

Thank you for reply.

P2 MES system dont have any connectivity with shop floor.

On some trigger condition P2 will generate webservice which i need to auto capture in MII.

so m planning to expose MII transaction as web service for P2.

On trigger condition P2 will send response so auto trigger condition will be statisfied.

I will check this scenario and get back to you.

Please suggest if m going in wrong direction/

Regards,

Neha