public interface PlannedOrderService extends BatchService<PlannedOrderServiceBatch>
In addition to executing the operations on planned orders, you can also read, create, change, and delete components belonging to the orders. This service enables you to schedule planned orders operations.
Reference: SAP API Business Hub
OData Service: | API_PLANNED_ORDERS |
API Version: | 1 |
Communication Scenario: | Production Planning Integration (SAP_COM_0104) |
Scope Items: | Make-to-Stock Production - Discrete Manufacturing (BJ5), Make-to-Stock - Process Manufacturing Based on Process Order (BJ8), Material Requirements Planning (J44) |
Authentication Methods: | Basic, x509 |
Business Object: | PlannedOrder |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
PlannedOrderCreateFluentHelper |
createPlannedOrder(PlannedOrder plannedOrder)
Create a new
PlannedOrder
entity and save it to the S/4HANA system. |
PlannedOrderComponentCreateFluentHelper |
createPlannedOrderComponent(PlannedOrderComponent plannedOrderComponent)
Create a new
PlannedOrderComponent entity and save it to the S/4HANA system. |
PlannedOrderDeleteFluentHelper |
deletePlannedOrder(PlannedOrder plannedOrder)
Deletes an existing
PlannedOrder entity in the S/4HANA system. |
PlannedOrderComponentDeleteFluentHelper |
deletePlannedOrderComponent(PlannedOrderComponent plannedOrderComponent)
Deletes an existing
PlannedOrderComponent entity in the S/4HANA system. |
PlannedOrderFluentHelper |
getAllPlannedOrder()
Fetch multiple
PlannedOrder
entities. |
PlannedOrderCapacityFluentHelper |
getAllPlannedOrderCapacity()
Fetch multiple
PlannedOrderCapacity entities. |
PlannedOrderComponentFluentHelper |
getAllPlannedOrderComponent()
Fetch multiple
PlannedOrderComponent entities. |
PlannedOrderByKeyFluentHelper |
getPlannedOrderByKey(String plannedOrder)
Fetch a single
PlannedOrder
entity using key fields. |
PlannedOrderCapacityByKeyFluentHelper |
getPlannedOrderCapacityByKey(String capacityRequirement,
String capacityRequirementItem,
String capacityRqmtItemCapacity)
Fetch a single
PlannedOrderCapacity entity using key fields. |
PlannedOrderComponentByKeyFluentHelper |
getPlannedOrderComponentByKey(String reservation,
String reservationItem)
Fetch a single
PlannedOrderComponent entity using key fields. |
PlannedOrderScheduleFluentHelper |
plannedOrderSchedule(String plannedOrder)
Creates a fluent helper for the PlannedOrderSchedule OData function import.
|
SchedulePlannedOrderOperationFluentHelper |
schedulePlannedOrderOperation(String plannedOrder,
String capacityRequirement,
String capacityRequirementItem,
String capacityRqmtItemCapacity,
LocalDateTime opSchedldStartDate,
LocalTime opSchedldStartTime,
LocalDateTime opSchedldEndDate,
LocalTime opSchedldEndTime,
String opSchedulingMode,
String opSchedulingStatus,
String opSchedulingStrategy)
Creates a fluent helper for the SchedulePlannedOrderOperation OData function import.
|
PlannedOrderUpdateFluentHelper |
updatePlannedOrder(PlannedOrder plannedOrder)
Update an existing
PlannedOrder entity and save it to the S/4HANA system. |
PlannedOrderComponentUpdateFluentHelper |
updatePlannedOrderComponent(PlannedOrderComponent plannedOrderComponent)
Update an existing
PlannedOrderComponent entity and save it to the S/4HANA system. |
PlannedOrderService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull PlannedOrderService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull PlannedOrderFluentHelper getAllPlannedOrder()
PlannedOrder
entities.PlannedOrder
entities. This fluent helper allows methods which modify the underlying query to be called before
executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull PlannedOrderByKeyFluentHelper getPlannedOrderByKey(String plannedOrder)
PlannedOrder
entity using key fields.plannedOrder
- Number that specifically identifies a planned order for a material.
Constraints: Not nullable, Maximum length: 10
PlannedOrder
entity
using key fields. This fluent helper allows methods which modify the underlying query to be called before
executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull PlannedOrderCreateFluentHelper createPlannedOrder(@Nonnull PlannedOrder plannedOrder)
PlannedOrder
entity and save it to the S/4HANA system.plannedOrder
- PlannedOrder
entity object that will be created in the S/4HANA system.PlannedOrder
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull PlannedOrderUpdateFluentHelper updatePlannedOrder(@Nonnull PlannedOrder plannedOrder)
PlannedOrder
entity and save it to the S/4HANA system.plannedOrder
- PlannedOrder
entity object that will be updated in the S/4HANA system.PlannedOrder
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull PlannedOrderDeleteFluentHelper deletePlannedOrder(@Nonnull PlannedOrder plannedOrder)
PlannedOrder
entity in the S/4HANA system.plannedOrder
- PlannedOrder
entity object that will be deleted in the S/4HANA system.PlannedOrder
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull PlannedOrderCapacityFluentHelper getAllPlannedOrderCapacity()
PlannedOrderCapacity
entities.PlannedOrderCapacity
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull PlannedOrderCapacityByKeyFluentHelper getPlannedOrderCapacityByKey(String capacityRequirement, String capacityRequirementItem, String capacityRqmtItemCapacity)
PlannedOrderCapacity
entity using key fields.capacityRequirementItem
- Capacity Requirement Item
Constraints: Not nullable, Maximum length: 8
capacityRequirement
- ID of the Capacity Requirements Record
Constraints: Not nullable, Maximum length: 12
capacityRqmtItemCapacity
- Individual Capacity of a Capacity Requirement Item
Constraints: Not nullable, Maximum length: 4
PlannedOrderCapacity
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull PlannedOrderComponentFluentHelper getAllPlannedOrderComponent()
PlannedOrderComponent
entities.PlannedOrderComponent
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull PlannedOrderComponentByKeyFluentHelper getPlannedOrderComponentByKey(String reservation, String reservationItem)
PlannedOrderComponent
entity using key fields.reservationItem
- Reservation Item
Constraints: Not nullable, Maximum length: 4
reservation
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
PlannedOrderComponent
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull PlannedOrderComponentCreateFluentHelper createPlannedOrderComponent(@Nonnull PlannedOrderComponent plannedOrderComponent)
PlannedOrderComponent
entity and save it to the S/4HANA system.plannedOrderComponent
- PlannedOrderComponent
entity object that will be created in the S/4HANA system.PlannedOrderComponent
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull PlannedOrderComponentUpdateFluentHelper updatePlannedOrderComponent(@Nonnull PlannedOrderComponent plannedOrderComponent)
PlannedOrderComponent
entity and save it to the S/4HANA system.plannedOrderComponent
- PlannedOrderComponent
entity object that will be updated in the S/4HANA system.PlannedOrderComponent
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull PlannedOrderComponentDeleteFluentHelper deletePlannedOrderComponent(@Nonnull PlannedOrderComponent plannedOrderComponent)
PlannedOrderComponent
entity in the S/4HANA system.plannedOrderComponent
- PlannedOrderComponent
entity object that will be deleted in the S/4HANA system.PlannedOrderComponent
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull PlannedOrderScheduleFluentHelper plannedOrderSchedule(@Nonnull String plannedOrder)
Creates a fluent helper for the PlannedOrderSchedule OData function import.
plannedOrder
- Planned Order
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: PlannedOrder
execute
method on the fluent helper object.@Nonnull SchedulePlannedOrderOperationFluentHelper schedulePlannedOrderOperation(@Nonnull String plannedOrder, @Nonnull String capacityRequirement, @Nonnull String capacityRequirementItem, @Nonnull String capacityRqmtItemCapacity, @Nullable LocalDateTime opSchedldStartDate, @Nullable LocalTime opSchedldStartTime, @Nullable LocalDateTime opSchedldEndDate, @Nullable LocalTime opSchedldEndTime, @Nonnull String opSchedulingMode, @Nullable String opSchedulingStatus, @Nonnull String opSchedulingStrategy)
Creates a fluent helper for the SchedulePlannedOrderOperation OData function import.
capacityRequirementItem
- Counter
Constraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: CapacityRequirementItem
opSchedldStartDate
- Latest Start Date
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldStartDate
capacityRequirement
- Capacity Requirement
Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: CapacityRequirement
plannedOrder
- Planned Order
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: PlannedOrder
capacityRqmtItemCapacity
- Counter
Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: CapacityRqmtItemCapacity
opSchedulingStrategy
- Component of the Version Number
Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: OpSchedulingStrategy
opSchedulingStatus
- Status
Constraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: OpSchedulingStatus
opSchedulingMode
- Scheduling type
Constraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: OpSchedulingMode
opSchedldStartTime
- Latest Start Time
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldStartTime
opSchedldEndDate
- Latest End Date
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldEndDate
opSchedldEndTime
- Latest End Time
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldEndTime
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.