Skip to Content
0

SCM Enterprise Service - Read Equipment Resource

Nov 17, 2016 at 06:07 PM

42

avatar image

For a MES we need from our SAP SCM 7.0 system information about planned shift times within the next 3 days per equipment resource.

For this I tested SAP SCM enterprise service EquipmentResourceByIDQueryResponse_In and got response from the SCM system.

I expected that the CapacityCalendarItem elements would contain all the needed data. But I only get the Date and the BucketCapacityNumberValue per CalendarItem. No StartTime and EndTime of WorkingTimePeriod.

<CapacityCalendarItem>
   <Date>
      <TypeCode>1</TypeCode>
      <Date>2016-10-24</Date>
   </Date>
   <WorkingTimePeriod/>
   <BreakDuration>PT0S</BreakDuration>
   <ProductiveDuration>PT24H</ProductiveDuration>
   <CapacityNumberValue>1</CapacityNumberValue>
   <BucketCapacityNumberValue>16</BucketCapacityNumberValue>
   <BucketCapacityMeasureUnitCode>HUR</BucketCapacityMeasureUnitCode>
</CapacityCalendarItem>

2016-10-24 was a Monday.

The shifts were from sunday 22:00 till Monday 06:00 and from Monday 14:00 till 22:00.

In the SCM system the times are displayed correctly.

But the service only delivers 16 hours summarized for Monday.

Has anybody an idea why there are no start and end times for CapacityCalendarItems in the service response.

Why there is no CapacityCalendarItem for sunday 22:00 till 23:59?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Roland Becker Nov 23, 2016 at 09:40 AM
1

Unfortunately the service responded with an empty CapacityTypeCode-Element.

But if the ResourceCapacityTypeCode is "bucket", could that be the reason why there is no WorkingTimePeriod per CapacityCalendarItem and only a BucketCapacityNumberValue?

Share
10 |10000 characters needed characters left characters exceeded