on 11-17-2016 6:07 PM - last edited on 02-04-2024 6:44 AM by postmig_api_4
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?
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.