Hi,
first: I have only litte experiences with SAP ECC. But some experiences by trial an error with SAP PI and Webservices.
I'm trying to get ProductionOrders for a shop floor system from our ECC-Backend.
At first step the shop floor system tries to retrieve the numbers of all productions orders with status "FREI" for a given work centre. For this it calls the webserviceProductionOrderSimpleByWorkCentreQueryResponse_In at the ECC backend.
http://es-workplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=…
Because the requests often run into timeout, I did some tests with that service.
There are the following optional selection criteria in the service request:
* WorkCentreID
* PlantID
* PlannedStartDate
* PlannedEndDate
* SystemStatusName
1. test: WorkCentreID="12345678", PlantID="123A"
Result: within 700ms our ECC backend for testing purposes delivers about 1.500 production orders for the WorkCentre
2. test:: WorkCentreID="12345678", PlantID="123A", SystemStatusName="FREI"
Result: 20 production orders within 10.000ms
3. test:: WorkCentreID="12345678", PlantID="123A", SystemStatusName="FREI", SystemStatusName<> "LÖVM"
Result: 13 production orders within 20.000ms, sometimes timeout
(LÖVM = Löschvormerkung = delete indicator, FREI = FREE)
The selection criteria of third test would be suitable for the shop floor system. But the response time is too long.
It seems that SystemStatusName selection criterion has a huge impact on response time. Every new status adds about 10s to the response time.
I tried to reduce the amount of production orders with PlannedStartDate
4. test: WorkCentreID="12345678", PlantID="123A", PlannedStartDate>"2015-01-01"
Result: 4 production orders within 600ms
5. test: WorkCentreID="12345678", PlantID="123A", PlannedStartDate>"2015-05-01"
Result: 0 production orders within 600ms
6. test: WorkCentreID="12345678", PlantID="123A", PlannedStartDate>"2015-05-01", SystemStatusName="FREI", SystemStatusName<> "LÖVM"
Result: 0 production orders within 20.000ms
7. test: WorkCentreID="12345678", PlantID="123A", PlannedStartDate>"2015-01-01", SystemStatusName="FREI", SystemStatusName<> "LÖVM"
Result: 3 production orders within 20.000ms
The reduction of the amount of production orders by PlannedStartDate has no impact on the response time.
Has anybody an idea if this behavior of the service is normal?
Regards,
Roland
btw: ESA ECC-SE 6.05 SP8 is installed at the ECC backend.