Skip to Content
author's profile photo Former Member
Former Member

SCM Enterprise Service - Read Equipment Resource

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?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2016 at 09:40 AM

    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?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.