@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultProductionSupplyAreaService") public class DefaultProductionSupplyAreaService extends Object implements ProductionSupplyAreaService
This service enables the user to retrieve Production Supply Areas along with the descriptions that are maintained. It can be consumed by external systems and user interfaces.
Reference: SAP API Business Hub
OData Service: | API_PRODUCTIONSUPPLYAREA_SRV |
API Version: | 1 |
Communication Scenario: | Production Supply Area Integration (SAP_COM_0328) |
Scope Items: | Manufacturing with Kanban Supply into Production (1E3) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultProductionSupplyAreaService()
Creates a service using
ProductionSupplyAreaService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
ProductionSupplyAreaFluentHelper |
getAllProductionSupplyArea()
Fetch multiple
ProductionSupplyArea entities. |
ProductionSupplyAreaTextFluentHelper |
getAllProductionSupplyAreaText()
Fetch multiple
ProductionSupplyAreaText entities. |
ProductionSupplyAreaByKeyFluentHelper |
getProductionSupplyAreaByKey(String productionSupplyArea,
String plant)
Fetch a single
ProductionSupplyArea entity using key fields. |
ProductionSupplyAreaTextByKeyFluentHelper |
getProductionSupplyAreaTextByKey(String productionSupplyArea,
String plant,
String language)
Fetch a single
ProductionSupplyAreaText entity using key fields. |
DefaultProductionSupplyAreaService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
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 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
- The production supply area (PSA) serves as a place for interim storage on the shop floor and is used to make material directly available for production purposes.Constraints: Not nullable, Maximum length: 10
plant
- Key uniquely identifying a 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 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
- The production supply area (PSA) serves as a place for interim storage on the shop floor and is used to make material directly available for production purposes.Constraints: Not nullable, Maximum length: 10
plant
- Key uniquely identifying a plant.Constraints: Not nullable, Maximum length: 4
language
- The language key indicatesConstraints: 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.Copyright © 2018 SAP SE. All rights reserved.