@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultProductAllocationObjectService") public class DefaultProductAllocationObjectService extends Object implements ProductAllocationObjectService
Product Allocation (PAL) in SAP S/4HANA is used to determine the availability of requested products by checking against sales data as well as data for restricted resources (materials and/or capacity) consumed along the value chain of the requested product. Restricted resources and sales rules are organized in time series, these packages of supply are referred to as product allocations. Critical situations in demand and (internal and external) procurement processes can therefore be avoided by factoring sales and supply restrictions into the product availability check. You can use this service to read data for product allocation objects such as header data, characteristic metadata, characteristic values and their time series (period, quantity, unit of measure). In addition, you can create and edit the characteristic values and time series data from external planning systems such as: SAP Merchandise and Assortment Planning (AMR). SAP Assortment Planning for Retail (APR). SAP Integrated Business Planning (IBP). Any other planning systems.
Reference: SAP API Business Hub
OData Service: | API_PRODUCT_ALLOCATION_OBJECT_SRV |
API Version: | 1 |
Communication Scenario: | Product Allocation Object Integration (SAP_COM_0152) |
Scope Items: | Advanced Available-to-Promise Processing (1JW) |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultProductAllocationObjectService()
Creates a service using
ProductAllocationObjectService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultProductAllocationObjectService()
ProductAllocationObjectService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultProductAllocationObjectService withServicePath(@Nonnull String servicePath)
ProductAllocationObjectService
withServicePath
in interface ProductAllocationObjectService
servicePath
- Service path that will override the default.@Nonnull public DefaultProductAllocationObjectServiceBatch batch()
batch
in interface BatchService<ProductAllocationObjectServiceBatch>
@Nonnull public ProdAllocCharcMetaDataFluentHelper getAllProdAllocCharcMetaData()
ProductAllocationObjectService
ProdAllocCharcMetaData
entities.getAllProdAllocCharcMetaData
in interface ProductAllocationObjectService
ProdAllocCharcMetaData
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 public ProdAllocCharcMetaDataByKeyFluentHelper getProdAllocCharcMetaDataByKey(UUID characteristicsMetaDataUUID)
ProductAllocationObjectService
ProdAllocCharcMetaData
entity using key fields.getProdAllocCharcMetaDataByKey
in interface ProductAllocationObjectService
characteristicsMetaDataUUID
- Characteristic Meta Data UUID
Constraints: Not nullable
ProdAllocCharcMetaData
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 public ProdAllocCharcValCombnFluentHelper getAllProdAllocCharcValCombn()
ProductAllocationObjectService
ProdAllocCharcValCombn
entities.getAllProdAllocCharcValCombn
in interface ProductAllocationObjectService
ProdAllocCharcValCombn
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 public ProdAllocCharcValCombnByKeyFluentHelper getProdAllocCharcValCombnByKey(UUID charcValueCombinationUUID)
ProductAllocationObjectService
ProdAllocCharcValCombn
entity using key fields.getProdAllocCharcValCombnByKey
in interface ProductAllocationObjectService
charcValueCombinationUUID
- Characteristic Value Combination UUID
Constraints: Not nullable
ProdAllocCharcValCombn
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 public ProdAllocCharcValCombnCreateFluentHelper createProdAllocCharcValCombn(@Nonnull ProdAllocCharcValCombn prodAllocCharcValCombn)
ProductAllocationObjectService
ProdAllocCharcValCombn
entity and save it to the S/4HANA system.createProdAllocCharcValCombn
in interface ProductAllocationObjectService
prodAllocCharcValCombn
- ProdAllocCharcValCombn
entity object that will be created in the S/4HANA system.ProdAllocCharcValCombn
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProdAllocCharcValCombnUpdateFluentHelper updateProdAllocCharcValCombn(@Nonnull ProdAllocCharcValCombn prodAllocCharcValCombn)
ProductAllocationObjectService
ProdAllocCharcValCombn
entity and save it to the S/4HANA system.updateProdAllocCharcValCombn
in interface ProductAllocationObjectService
prodAllocCharcValCombn
- ProdAllocCharcValCombn
entity object that will be updated in the S/4HANA system.ProdAllocCharcValCombn
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProdAllocObjTimeSeriesFluentHelper getAllProdAllocObjTimeSeries()
ProductAllocationObjectService
ProdAllocObjTimeSeries
entities.getAllProdAllocObjTimeSeries
in interface ProductAllocationObjectService
ProdAllocObjTimeSeries
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 public ProdAllocObjTimeSeriesByKeyFluentHelper getProdAllocObjTimeSeriesByKey(UUID prodAllocationTimeSeriesUUID)
ProductAllocationObjectService
ProdAllocObjTimeSeries
entity using key fields.getProdAllocObjTimeSeriesByKey
in interface ProductAllocationObjectService
prodAllocationTimeSeriesUUID
- Product Allocation Time SeriesUUID
Constraints: Not nullable
ProdAllocObjTimeSeries
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 public ProdAllocObjTimeSeriesCreateFluentHelper createProdAllocObjTimeSeries(@Nonnull ProdAllocObjTimeSeries prodAllocObjTimeSeries)
ProductAllocationObjectService
ProdAllocObjTimeSeries
entity and save it to the S/4HANA system.createProdAllocObjTimeSeries
in interface ProductAllocationObjectService
prodAllocObjTimeSeries
- ProdAllocObjTimeSeries
entity object that will be created in the S/4HANA system.ProdAllocObjTimeSeries
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProdAllocObjTimeSeriesUpdateFluentHelper updateProdAllocObjTimeSeries(@Nonnull ProdAllocObjTimeSeries prodAllocObjTimeSeries)
ProductAllocationObjectService
ProdAllocObjTimeSeries
entity and save it to the S/4HANA system.updateProdAllocObjTimeSeries
in interface ProductAllocationObjectService
prodAllocObjTimeSeries
- ProdAllocObjTimeSeries
entity object that will be updated in the S/4HANA system.ProdAllocObjTimeSeries
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProdAllocationObjectFluentHelper getAllProdAllocationObject()
ProductAllocationObjectService
ProdAllocationObject
entities.getAllProdAllocationObject
in interface ProductAllocationObjectService
ProdAllocationObject
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 public ProdAllocationObjectByKeyFluentHelper getProdAllocationObjectByKey(UUID productAllocationObjectUUID)
ProductAllocationObjectService
ProdAllocationObject
entity using key fields.getProdAllocationObjectByKey
in interface ProductAllocationObjectService
productAllocationObjectUUID
- Product Allocation Object UUID
Constraints: Not nullable
ProdAllocationObject
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 public ProdAllocationObjectTFluentHelper getAllProdAllocationObjectT()
ProductAllocationObjectService
ProdAllocationObjectT
entities.getAllProdAllocationObjectT
in interface ProductAllocationObjectService
ProdAllocationObjectT
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 public ProdAllocationObjectTByKeyFluentHelper getProdAllocationObjectTByKey(UUID productAllocationObjectUUID, String language)
ProductAllocationObjectService
ProdAllocationObjectT
entity using key fields.getProdAllocationObjectTByKey
in interface ProductAllocationObjectService
productAllocationObjectUUID
- Product Allocation Object UUID
Constraints: Not nullable
language
- Language Key
Constraints: Not nullable, Maximum length: 2
ProdAllocationObjectT
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.Copyright © 2019 SAP SE. All rights reserved.