Class DefaultMaterialStockDisplayService
- All Implemented Interfaces:
BatchService<MaterialStockDisplayServiceBatch>,MaterialStockDisplayService
This service enables you to retrieve material stock information using the OData protocol with filter data provided in the payload. It can be consumed by external warehouse applications..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_MATERIAL_STOCK_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Material Stock Integration(SAP_COM_0164) |
| Scope Items: | Core Inventory Management(BMC), Core Inventory Management(OMC) |
| Authentication Methods: | x509 |
| Business Object: | Material Stock |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.MaterialStockDisplayService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingMaterialStockDisplayService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleMaterialStockentities.Deprecated.Fetch multipleMatlStkInAcctModentities.getMaterialStockByKey(String material) Deprecated.Fetch a singleMaterialStockentity using key fields.getMatlStkInAcctModByKey(String material, String plant, String storageLocation, String batch, String supplier, String customer, String wBSElementInternalID, String sDDocument, String sDDocumentItem, String inventorySpecialStockType, String inventoryStockType) Deprecated.Fetch a singleMatlStkInAcctModentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultMaterialStockDisplayService
public DefaultMaterialStockDisplayService()Deprecated.Creates a service usingMaterialStockDisplayService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:MaterialStockDisplayServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceMaterialStockDisplayService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<MaterialStockDisplayServiceBatch>
-
getAllMaterialStock
Deprecated.Description copied from interface:MaterialStockDisplayServiceFetch multipleMaterialStockentities.- Specified by:
getAllMaterialStockin interfaceMaterialStockDisplayService- Returns:
- A fluent helper to fetch multiple
MaterialStockentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getMaterialStockByKey
Deprecated.Description copied from interface:MaterialStockDisplayServiceFetch a singleMaterialStockentity using key fields.- Specified by:
getMaterialStockByKeyin interfaceMaterialStockDisplayService- Parameters:
material- Material NumberConstraints: Not nullable, Maximum length: 40
- Returns:
- A fluent helper to fetch a single
MaterialStockentity 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 theexecutemethod on the fluent helper object.
-
getAllMatlStkInAcctMod
Deprecated.Description copied from interface:MaterialStockDisplayServiceFetch multipleMatlStkInAcctModentities.- Specified by:
getAllMatlStkInAcctModin interfaceMaterialStockDisplayService- Returns:
- A fluent helper to fetch multiple
MatlStkInAcctModentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getMatlStkInAcctModByKey
@Nonnull public MatlStkInAcctModByKeyFluentHelper getMatlStkInAcctModByKey(String material, String plant, String storageLocation, String batch, String supplier, String customer, String wBSElementInternalID, String sDDocument, String sDDocumentItem, String inventorySpecialStockType, String inventoryStockType) Deprecated.Description copied from interface:MaterialStockDisplayServiceFetch a singleMatlStkInAcctModentity using key fields.- Specified by:
getMatlStkInAcctModByKeyin interfaceMaterialStockDisplayService- Parameters:
material- Material in Respect of Which Stock is ManagedConstraints: Not nullable, Maximum length: 40
plant- PlantConstraints: Not nullable, Maximum length: 4
storageLocation- Storage LocationConstraints: Not nullable, Maximum length: 4
batch- Batch Number (Stock Identifier)Constraints: Not nullable, Maximum length: 10
supplier- Supplier for Special StockConstraints: Not nullable, Maximum length: 10
customer- Customer for Special StockConstraints: Not nullable, Maximum length: 10
wBSElementInternalID- Valuated Sales Order Stock WBS ElementConstraints: Not nullable, Maximum length: 24
sDDocument- Sales order number of valuated sales order stockConstraints: Not nullable, Maximum length: 10
sDDocumentItem- Sales Order Item of Valuated Sales Order StockConstraints: Not nullable, Maximum length: 6
inventorySpecialStockType- Special Stock TypeConstraints: Not nullable, Maximum length: 1
inventoryStockType- Stock Type of Goods Movement (Stock Identifier)Constraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
MatlStkInAcctModentity 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 theexecutemethod on the fluent helper object.
-