cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting Agentry app to secondary (PI) backend

Former Member
0 Kudos

Hi Bill,

Referring to thread , can you possibly elaborate on adding a secondary backend connection?

Some background, we are using SAP WM connected to SAP ERP, and are now looking at ways to build in additional calls (e.g. using buttons or actions within the app) to update an external system via PI.

Is this achievable in your opinion, and if so, how? Would you perhaps be able to share some insights/guidelines on how to add a secondary (PI) connection that can be called independently from the standard Agentry transmit configuration?

Regards,
Edwin

Accepted Solutions (0)

Answers (3)

Answers (3)

mark_pe
Active Contributor
0 Kudos

Edwin and team,

Hi. We SAP mobile support team reviewed the comments above and if any of our SAP consulting or members of the SAP community answered your question please mark the question as answered so we may know if there are any other assistance that we can give out.

We believed that some of the comments above are valid.

Please update this thread if the answers of our colleagues satisfy your query.

Have a great day.

SAP Mobile Support Team

kevin_hu
Active Participant
0 Kudos

Hi,

As far as I know, you can set up an http connection, listening on the http calls on a port of the machine of SMP, and accepting and parsing XML payload. Agentry Push mechanism is using this feature.

If you want to connect to the web services exposed by PI, just use Java connection and write some code to make calls for the web services.

Kevin Hu

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Agentry also support HTTP-XML as a backend connection type.  This would be in parallel with the Java connection.  After you add PI as a system connection (assuming you are using web services to update PI).  You can then define steps to take data from a transaction and update PI using the web service over the HTTP-XML connection. 

If the same transaction (i.e. add work order) needs to update both SAP and PI then you can add the new update steps to the existing transaction and they will be executed in order against the different backend systems.

--Bill

Former Member
0 Kudos

it all depends on how you connect to the SAP PI system.  Information on the types of connections can be found here: Setting Up Agentry Application Host System Connectivity - Administrator - SAP Library

If you want to use the Java Connection to connect to the SAP PI system, Agentry can only use 1 Java connection.  As the Java connection is already being used to connect to the SAP ERP System, you will need to extend all the current classes to add logic to connect to the SAP PI system as we SAP ERP System.