Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem mith JCO Call in PDC scenario


we face a peculiar problem following the example "Plant Data Collection Using Touch Screen", provided by SAP.

Following the instructions closely, we implemented a RFC enabled function module in our ERP system that compiles a list of work centers.

FUNCTION z_workcenter_getlist.
*"*"Lokale Schnittstelle:

The call to this function module is implemented on ERP side using the ERP JCO action.

The call itself works fine, but only a subset of data for the selected plant is retrieved. Executing the function module on ERP side for the same user used by MII retrieves 59 workplaces, but on MII side we only get 17 workplaces for the same plant. As we're performing both calls with the same user, I would not expect any authentication problem.

There is no clear pattern as to which data is omitted. The ABAP type used in the tables is character, but in the result it seems that none of those workplaces containing numbers are transmitted. However, calling other functions using type character containing numbers are correctly retrieved by MII, so it cannot be a general mapping error.

To make things even more peculiar, we exposed the function module in question as web service on ABAP side and implemented a Web Service action on MII side, consuming the web service. In this case, we get the proper amount of data, same as in the ERP system.

It seems there is some problem in the MII/JCO-layer. Has anyone experienced anything similar?

Thanks and best regards,


Former Member
Not what you were looking for? View more on this topic or Ask a question