Skip to Content
author's profile photo Former Member
Former Member

how could SAP MII get data from PCoQuery (Socket Agent)

hi all,

I used the PCo socket agent to connect a socket server, I have finished demo to be the server with JAVA,

the data is transferred to PCo , but when I tried to transfer the data to SAP MII destination system, it could not

query out the message.

I put my configuration below:

PCo version is 15.0 and SAP MII Workbench 14.0.

1. I checked the connection of SAP MII, it's success.

2.PCo agent Instance: Here I only set the query port, other tabs just leave the default. did it be right or not?

3.Start the PCo Instance: The log shows me the agent works all right.

4.SAP MII data server with the type 'PCoConnecter' also was running.

5.PCoQuery: I got three type of modes: ModeList, TagList, ViewList , I did not know the difference of them,

So I tried all of them. but when I test the query, it gave me nothing every time. In addition, I've got a document

told me that PCo query has another mode named 'TagFixedQuery', but I could not find this mode in my work.

Which version of MII workbench begins to appear this mode?

kind regards,

Kong

1.1.jpg (145.1 kB)
2.2.jpg (98.5 kB)
2.5.jpg (130.8 kB)
3.3.jpg (722.9 kB)
4.4.jpg (293.2 kB)
5.1.jpg (369.9 kB)
5.5.jpg (293.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Nov 09, 2015 at 01:30 PM

    Hi Kong,

    1. Please provide the socket configuration for the Socket Source for the server port you want to receive data from.

    2. Please provide the Agent Instance Notification Output Parameters that you have defined.

    3. Does your MII transaction have an Input Property of type XML? Have you mapped this property the to the Agent Instance Notification?

    4. You do not need to use a query template in the transaction to receive the data from a PCo notification -- the data is passed in an XML payload to the input property in 3. above.

    Regards, Steve

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.