Quantcast
Channel: SCN: Message List - Service-Oriented Architecture (SOA) and SAP
Viewing all articles
Browse latest Browse all 1056

performance problem with FIND PRODUCTION ORDER BY WORK CENTRE

$
0
0

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 -> ok

 

2. test:: WorkCentreID="12345678", PlantID="123A", SystemStatusName="FREI"

Result: 20 production orders within 10.000ms -> too long


3. test:: WorkCentreID="12345678", PlantID="123A", SystemStatusName="FREI", SystemStatusName<> "LÖVM"

Result: 13 production orders within 20.000ms, sometimes timeout -> much too long

(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 -> reduction of amount by PlannedStart Date has only little impact on response time


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


Seem's, that reduction of 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 SP13 is installed at the ECC backend.

 

Update: At the same ECC backend there is an individual coded webservice which delivers similar information like the sap enterprise service (all production order IDs with status="FREI" for a work centre). This individual service typically responds within 1000ms.

 

I would suppose that there is a program error in an abap program  called by ProductionOrderSimpleByWorkCentreQueryResponse_In (namespace http://sap.com/xi/APPL/SE/Global)


Viewing all articles
Browse latest Browse all 1056

Trending Articles