@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultProductionSupplyAreaService") public class DefaultProductionSupplyAreaService extends Object implements ProductionSupplyAreaService
The OData API for production supply areas enables you to create, update, delete, and retrieve production supply areas. The service is based on the OData protocol and can be consumed by external systems and user interfaces. .
Reference: SAP API Business Hub
OData Service: | OP_API_PRODUCTIONSUPPLYAREA_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | ProductionSupplyArea |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultProductionSupplyAreaService()
Creates a service using
ProductionSupplyAreaService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultProductionSupplyAreaService()
ProductionSupplyAreaService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultProductionSupplyAreaService withServicePath(@Nonnull String servicePath)
ProductionSupplyAreaService
withServicePath
in interface ProductionSupplyAreaService
servicePath
- Service path that will override the default.@Nonnull public DefaultProductionSupplyAreaServiceBatch batch()
batch
in interface BatchService<ProductionSupplyAreaServiceBatch>
@Nonnull public ProductionSupplyAreaFluentHelper getAllProductionSupplyArea()
ProductionSupplyAreaService
ProductionSupplyArea
entities.getAllProductionSupplyArea
in interface ProductionSupplyAreaService
ProductionSupplyArea
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 ProductionSupplyAreaByKeyFluentHelper getProductionSupplyAreaByKey(String productionSupplyArea, String plant)
ProductionSupplyAreaService
ProductionSupplyArea
entity using key fields.getProductionSupplyAreaByKey
in interface ProductionSupplyAreaService
productionSupplyArea
- Production Supply Area
Constraints: Not nullable, Maximum length: 10
plant
- Plant
Constraints: Not nullable, Maximum length: 4
ProductionSupplyArea
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 ProductionSupplyAreaCreateFluentHelper createProductionSupplyArea(@Nonnull ProductionSupplyArea productionSupplyArea)
ProductionSupplyAreaService
ProductionSupplyArea
entity and save it to the S/4HANA system.createProductionSupplyArea
in interface ProductionSupplyAreaService
productionSupplyArea
- ProductionSupplyArea
entity object that will be created in the S/4HANA system.ProductionSupplyArea
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionSupplyAreaUpdateFluentHelper updateProductionSupplyArea(@Nonnull ProductionSupplyArea productionSupplyArea)
ProductionSupplyAreaService
ProductionSupplyArea
entity and save it to the S/4HANA system.updateProductionSupplyArea
in interface ProductionSupplyAreaService
productionSupplyArea
- ProductionSupplyArea
entity object that will be updated in the S/4HANA system.ProductionSupplyArea
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionSupplyAreaDeleteFluentHelper deleteProductionSupplyArea(@Nonnull ProductionSupplyArea productionSupplyArea)
ProductionSupplyAreaService
ProductionSupplyArea
entity in the S/4HANA system.deleteProductionSupplyArea
in interface ProductionSupplyAreaService
productionSupplyArea
- ProductionSupplyArea
entity object that will be deleted in the S/4HANA system.ProductionSupplyArea
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionSupplyAreaAddressFluentHelper getAllProductionSupplyAreaAddress()
ProductionSupplyAreaService
ProductionSupplyAreaAddress
entities.getAllProductionSupplyAreaAddress
in interface ProductionSupplyAreaService
ProductionSupplyAreaAddress
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 ProductionSupplyAreaAddressByKeyFluentHelper getProductionSupplyAreaAddressByKey(String productionSupplyArea, String plant)
ProductionSupplyAreaService
ProductionSupplyAreaAddress
entity using key fields.getProductionSupplyAreaAddressByKey
in interface ProductionSupplyAreaService
productionSupplyArea
- Production Supply Area
Constraints: Not nullable, Maximum length: 10
plant
- Plant
Constraints: Not nullable, Maximum length: 4
ProductionSupplyAreaAddress
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 ProductionSupplyAreaAddressCreateFluentHelper createProductionSupplyAreaAddress(@Nonnull ProductionSupplyAreaAddress productionSupplyAreaAddress)
ProductionSupplyAreaService
ProductionSupplyAreaAddress
entity and save it to the S/4HANA system.createProductionSupplyAreaAddress
in interface ProductionSupplyAreaService
productionSupplyAreaAddress
- ProductionSupplyAreaAddress
entity object that will be created in the S/4HANA system.ProductionSupplyAreaAddress
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionSupplyAreaAddressUpdateFluentHelper updateProductionSupplyAreaAddress(@Nonnull ProductionSupplyAreaAddress productionSupplyAreaAddress)
ProductionSupplyAreaService
ProductionSupplyAreaAddress
entity and save it to the S/4HANA system.updateProductionSupplyAreaAddress
in interface ProductionSupplyAreaService
productionSupplyAreaAddress
- ProductionSupplyAreaAddress
entity object that will be updated in the S/4HANA system.ProductionSupplyAreaAddress
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionSupplyAreaAddressDeleteFluentHelper deleteProductionSupplyAreaAddress(@Nonnull ProductionSupplyAreaAddress productionSupplyAreaAddress)
ProductionSupplyAreaService
ProductionSupplyAreaAddress
entity in the S/4HANA system.deleteProductionSupplyAreaAddress
in interface ProductionSupplyAreaService
productionSupplyAreaAddress
- ProductionSupplyAreaAddress
entity object that will be deleted in the S/4HANA system.ProductionSupplyAreaAddress
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionSupplyAreaTextFluentHelper getAllProductionSupplyAreaText()
ProductionSupplyAreaService
ProductionSupplyAreaText
entities.getAllProductionSupplyAreaText
in interface ProductionSupplyAreaService
ProductionSupplyAreaText
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 ProductionSupplyAreaTextByKeyFluentHelper getProductionSupplyAreaTextByKey(String productionSupplyArea, String plant, String language)
ProductionSupplyAreaService
ProductionSupplyAreaText
entity using key fields.getProductionSupplyAreaTextByKey
in interface ProductionSupplyAreaService
productionSupplyArea
- Production Supply Area
Constraints: Not nullable, Maximum length: 10
plant
- Plant
Constraints: Not nullable, Maximum length: 4
language
- Language Key
Constraints: Not nullable, Maximum length: 2
ProductionSupplyAreaText
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 ProductionSupplyAreaTextCreateFluentHelper createProductionSupplyAreaText(@Nonnull ProductionSupplyAreaText productionSupplyAreaText)
ProductionSupplyAreaService
ProductionSupplyAreaText
entity and save it to the S/4HANA system.createProductionSupplyAreaText
in interface ProductionSupplyAreaService
productionSupplyAreaText
- ProductionSupplyAreaText
entity object that will be created in the S/4HANA system.ProductionSupplyAreaText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionSupplyAreaTextUpdateFluentHelper updateProductionSupplyAreaText(@Nonnull ProductionSupplyAreaText productionSupplyAreaText)
ProductionSupplyAreaService
ProductionSupplyAreaText
entity and save it to the S/4HANA system.updateProductionSupplyAreaText
in interface ProductionSupplyAreaService
productionSupplyAreaText
- ProductionSupplyAreaText
entity object that will be updated in the S/4HANA system.ProductionSupplyAreaText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionSupplyAreaTextDeleteFluentHelper deleteProductionSupplyAreaText(@Nonnull ProductionSupplyAreaText productionSupplyAreaText)
ProductionSupplyAreaService
ProductionSupplyAreaText
entity in the S/4HANA system.deleteProductionSupplyAreaText
in interface ProductionSupplyAreaService
productionSupplyAreaText
- ProductionSupplyAreaText
entity object that will be deleted in the S/4HANA system.ProductionSupplyAreaText
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.