Interface SupplyAvailabilityProtectionPlanV2Service
- All Known Implementing Classes:
DefaultSupplyAvailabilityProtectionPlanV2Service
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
The service contains the supply protection object, the characteristics, the supply protection groups and the time buckets. Once the supply availability protection plan has been created, the response contains the created object with comprehensive information including UUIDs of the objects as well as error messages for the case that the creation was not successful..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_SUPAVAILYPROTPLAN_0002 |
| API Version: | 2.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Supply Availability Protection Plan Integration(SAP_COM_0384) |
| Scope Items: | Advanced Available-to-Promise Processing(1JW) |
| Authentication Methods: | x509 |
| Service Group Name: | API_SUPAVAILYPROTPLAN |
| Business Object: | Supply Availability Protection Plan |
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theSupplyProtectionentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSupplyProtectionGroupentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSupplyProtectionTimeBucketentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSupProtCharacteristicentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSupProtFlexibleTimeBucketentity collection matching the filter and search expressions.createSupplyProtection(SupplyProtection supplyProtection) Deprecated.Create a newSupplyProtectionentity and save it to the S/4HANA system.createSupplyProtectionGroup(SupplyProtectionGroup supplyProtectionGroup) Deprecated.Create a newSupplyProtectionGroupentity and save it to the S/4HANA system.deleteSupplyProtection(SupplyProtection supplyProtection) Deprecated.Deletes an existingSupplyProtectionentity in the S/4HANA system.deleteSupplyProtectionGroup(SupplyProtectionGroup supplyProtectionGroup) Deprecated.Deletes an existingSupplyProtectionGroupentity in the S/4HANA system.deleteSupplyProtectionTimeBucket(SupplyProtectionTimeBucket supplyProtectionTimeBucket) Deprecated.Deletes an existingSupplyProtectionTimeBucketentity in the S/4HANA system.deleteSupProtCharacteristic(SupProtCharacteristic supProtCharacteristic) Deprecated.Deletes an existingSupProtCharacteristicentity in the S/4HANA system.deleteSupProtFlexibleTimeBucket(SupProtFlexibleTimeBucket supProtFlexibleTimeBucket) Deprecated.Deletes an existingSupProtFlexibleTimeBucketentity in the S/4HANA system.Deprecated.Fetch multipleSupplyProtectionentities.Deprecated.Fetch multipleSupplyProtectionGroupentities.Deprecated.Fetch multipleSupplyProtectionTimeBucketentities.Deprecated.Fetch multipleSupProtCharacteristicentities.Deprecated.Fetch multipleSupProtFlexibleTimeBucketentities.getSupplyProtectionByKey(UUID supplyProtectionUUID) Deprecated.Fetch a singleSupplyProtectionentity using key fields.getSupplyProtectionGroupByKey(UUID supplyProtectionGroupUUID) Deprecated.Fetch a singleSupplyProtectionGroupentity using key fields.getSupplyProtectionTimeBucketByKey(UUID supProtTimeBucketUUID) Deprecated.Fetch a singleSupplyProtectionTimeBucketentity using key fields.getSupProtCharacteristicByKey(UUID supProtCharacteristicUUID) Deprecated.Fetch a singleSupProtCharacteristicentity using key fields.getSupProtFlexibleTimeBucketByKey(UUID supProtFlexibleTimeBucketUUID) Deprecated.Fetch a singleSupProtFlexibleTimeBucketentity using key fields.updateSupplyProtection(SupplyProtection supplyProtection) Deprecated.Update an existingSupplyProtectionentity and save it to the S/4HANA system.updateSupplyProtectionGroup(SupplyProtectionGroup supplyProtectionGroup) Deprecated.Update an existingSupplyProtectionGroupentity and save it to the S/4HANA system.updateSupplyProtectionTimeBucket(SupplyProtectionTimeBucket supplyProtectionTimeBucket) Deprecated.Update an existingSupplyProtectionTimeBucketentity and save it to the S/4HANA system.updateSupProtCharacteristic(SupProtCharacteristic supProtCharacteristic) Deprecated.Update an existingSupProtCharacteristicentity and save it to the S/4HANA system.updateSupProtFlexibleTimeBucket(SupProtFlexibleTimeBucket supProtFlexibleTimeBucket) Deprecated.Update an existingSupProtFlexibleTimeBucketentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Creates a batch request builder object.- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllSupplyProtection
Deprecated.Fetch multipleSupplyProtectionentities.- Returns:
- A request builder to fetch multiple
SupplyProtectionentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countSupplyProtection
Deprecated.Fetch the number of entries from theSupplyProtectionentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
SupplyProtectionentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getSupplyProtectionByKey
@Nonnull GetByKeyRequestBuilder<SupplyProtection> getSupplyProtectionByKey(UUID supplyProtectionUUID) Deprecated.Fetch a singleSupplyProtectionentity using key fields.- Parameters:
supplyProtectionUUID- UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
SupplyProtectionentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createSupplyProtection
@Nonnull CreateRequestBuilder<SupplyProtection> createSupplyProtection(@Nonnull SupplyProtection supplyProtection) Deprecated.Create a newSupplyProtectionentity and save it to the S/4HANA system.- Parameters:
supplyProtection-SupplyProtectionentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
SupplyProtectionentity. To perform execution, call theexecutemethod on the request builder object.
-
updateSupplyProtection
@Nonnull UpdateRequestBuilder<SupplyProtection> updateSupplyProtection(@Nonnull SupplyProtection supplyProtection) Deprecated.Update an existingSupplyProtectionentity and save it to the S/4HANA system.- Parameters:
supplyProtection-SupplyProtectionentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
SupplyProtectionentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteSupplyProtection
@Nonnull DeleteRequestBuilder<SupplyProtection> deleteSupplyProtection(@Nonnull SupplyProtection supplyProtection) Deprecated.Deletes an existingSupplyProtectionentity in the S/4HANA system.- Parameters:
supplyProtection-SupplyProtectionentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
SupplyProtectionentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllSupplyProtectionGroup
Deprecated.Fetch multipleSupplyProtectionGroupentities.- Returns:
- A request builder to fetch multiple
SupplyProtectionGroupentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countSupplyProtectionGroup
Deprecated.Fetch the number of entries from theSupplyProtectionGroupentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
SupplyProtectionGroupentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getSupplyProtectionGroupByKey
@Nonnull GetByKeyRequestBuilder<SupplyProtectionGroup> getSupplyProtectionGroupByKey(UUID supplyProtectionGroupUUID) Deprecated.Fetch a singleSupplyProtectionGroupentity using key fields.- Parameters:
supplyProtectionGroupUUID- Characteristic Value Combination UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
SupplyProtectionGroupentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createSupplyProtectionGroup
@Nonnull CreateRequestBuilder<SupplyProtectionGroup> createSupplyProtectionGroup(@Nonnull SupplyProtectionGroup supplyProtectionGroup) Deprecated.Create a newSupplyProtectionGroupentity and save it to the S/4HANA system.- Parameters:
supplyProtectionGroup-SupplyProtectionGroupentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
SupplyProtectionGroupentity. To perform execution, call theexecutemethod on the request builder object.
-
updateSupplyProtectionGroup
@Nonnull UpdateRequestBuilder<SupplyProtectionGroup> updateSupplyProtectionGroup(@Nonnull SupplyProtectionGroup supplyProtectionGroup) Deprecated.Update an existingSupplyProtectionGroupentity and save it to the S/4HANA system.- Parameters:
supplyProtectionGroup-SupplyProtectionGroupentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
SupplyProtectionGroupentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteSupplyProtectionGroup
@Nonnull DeleteRequestBuilder<SupplyProtectionGroup> deleteSupplyProtectionGroup(@Nonnull SupplyProtectionGroup supplyProtectionGroup) Deprecated.Deletes an existingSupplyProtectionGroupentity in the S/4HANA system.- Parameters:
supplyProtectionGroup-SupplyProtectionGroupentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
SupplyProtectionGroupentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllSupplyProtectionTimeBucket
Deprecated.Fetch multipleSupplyProtectionTimeBucketentities.- Returns:
- A request builder to fetch multiple
SupplyProtectionTimeBucketentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countSupplyProtectionTimeBucket
Deprecated.Fetch the number of entries from theSupplyProtectionTimeBucketentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
SupplyProtectionTimeBucketentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getSupplyProtectionTimeBucketByKey
@Nonnull GetByKeyRequestBuilder<SupplyProtectionTimeBucket> getSupplyProtectionTimeBucketByKey(UUID supProtTimeBucketUUID) Deprecated.Fetch a singleSupplyProtectionTimeBucketentity using key fields.- Parameters:
supProtTimeBucketUUID- Time Bucket UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
SupplyProtectionTimeBucketentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
updateSupplyProtectionTimeBucket
@Nonnull UpdateRequestBuilder<SupplyProtectionTimeBucket> updateSupplyProtectionTimeBucket(@Nonnull SupplyProtectionTimeBucket supplyProtectionTimeBucket) Deprecated.Update an existingSupplyProtectionTimeBucketentity and save it to the S/4HANA system.- Parameters:
supplyProtectionTimeBucket-SupplyProtectionTimeBucketentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
SupplyProtectionTimeBucketentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteSupplyProtectionTimeBucket
@Nonnull DeleteRequestBuilder<SupplyProtectionTimeBucket> deleteSupplyProtectionTimeBucket(@Nonnull SupplyProtectionTimeBucket supplyProtectionTimeBucket) Deprecated.Deletes an existingSupplyProtectionTimeBucketentity in the S/4HANA system.- Parameters:
supplyProtectionTimeBucket-SupplyProtectionTimeBucketentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
SupplyProtectionTimeBucketentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllSupProtCharacteristic
Deprecated.Fetch multipleSupProtCharacteristicentities.- Returns:
- A request builder to fetch multiple
SupProtCharacteristicentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countSupProtCharacteristic
Deprecated.Fetch the number of entries from theSupProtCharacteristicentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
SupProtCharacteristicentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getSupProtCharacteristicByKey
@Nonnull GetByKeyRequestBuilder<SupProtCharacteristic> getSupProtCharacteristicByKey(UUID supProtCharacteristicUUID) Deprecated.Fetch a singleSupProtCharacteristicentity using key fields.- Parameters:
supProtCharacteristicUUID- Characteristic UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
SupProtCharacteristicentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
updateSupProtCharacteristic
@Nonnull UpdateRequestBuilder<SupProtCharacteristic> updateSupProtCharacteristic(@Nonnull SupProtCharacteristic supProtCharacteristic) Deprecated.Update an existingSupProtCharacteristicentity and save it to the S/4HANA system.- Parameters:
supProtCharacteristic-SupProtCharacteristicentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
SupProtCharacteristicentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteSupProtCharacteristic
@Nonnull DeleteRequestBuilder<SupProtCharacteristic> deleteSupProtCharacteristic(@Nonnull SupProtCharacteristic supProtCharacteristic) Deprecated.Deletes an existingSupProtCharacteristicentity in the S/4HANA system.- Parameters:
supProtCharacteristic-SupProtCharacteristicentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
SupProtCharacteristicentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllSupProtFlexibleTimeBucket
Deprecated.Fetch multipleSupProtFlexibleTimeBucketentities.- Returns:
- A request builder to fetch multiple
SupProtFlexibleTimeBucketentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countSupProtFlexibleTimeBucket
Deprecated.Fetch the number of entries from theSupProtFlexibleTimeBucketentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
SupProtFlexibleTimeBucketentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getSupProtFlexibleTimeBucketByKey
@Nonnull GetByKeyRequestBuilder<SupProtFlexibleTimeBucket> getSupProtFlexibleTimeBucketByKey(UUID supProtFlexibleTimeBucketUUID) Deprecated.Fetch a singleSupProtFlexibleTimeBucketentity using key fields.- Parameters:
supProtFlexibleTimeBucketUUID- Flexible Time Bucket UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
SupProtFlexibleTimeBucketentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
updateSupProtFlexibleTimeBucket
@Nonnull UpdateRequestBuilder<SupProtFlexibleTimeBucket> updateSupProtFlexibleTimeBucket(@Nonnull SupProtFlexibleTimeBucket supProtFlexibleTimeBucket) Deprecated.Update an existingSupProtFlexibleTimeBucketentity and save it to the S/4HANA system.- Parameters:
supProtFlexibleTimeBucket-SupProtFlexibleTimeBucketentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
SupProtFlexibleTimeBucketentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteSupProtFlexibleTimeBucket
@Nonnull DeleteRequestBuilder<SupProtFlexibleTimeBucket> deleteSupProtFlexibleTimeBucket(@Nonnull SupProtFlexibleTimeBucket supProtFlexibleTimeBucket) Deprecated.Deletes an existingSupProtFlexibleTimeBucketentity in the S/4HANA system.- Parameters:
supProtFlexibleTimeBucket-SupProtFlexibleTimeBucketentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
SupProtFlexibleTimeBucketentity. To perform execution, call theexecutemethod on the request builder object.
-