cancel
Showing results for 
Search instead for 
Did you mean: 

SCM Enterprise Service - Read Equipment Resource

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

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?

Answers (0)