Interface MaterialStockDisplayService
- All Superinterfaces:
BatchService<MaterialStockDisplayServiceBatch>
- All Known Implementing Classes:
DefaultMaterialStockDisplayService
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
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 TypeMethodDescriptionDeprecated.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.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
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.
-
getAllMaterialStock
Deprecated.Fetch multipleMaterialStockentities.- 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.Fetch a singleMaterialStockentity using key fields.- 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.Fetch multipleMatlStkInAcctModentities.- 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 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.Fetch a singleMatlStkInAcctModentity using key fields.- Parameters:
material- Material in Respect of Which Stock is ManagedConstraints: Not nullable, Maximum length: 40
wBSElementInternalID- Valuated Sales Order Stock WBS ElementConstraints: Not nullable, Maximum length: 24
inventorySpecialStockType- Special Stock TypeConstraints: Not nullable, Maximum length: 1
plant- PlantConstraints: Not nullable, Maximum length: 4
supplier- Supplier for Special StockConstraints: Not nullable, Maximum length: 10
batch- Batch Number (Stock Identifier)Constraints: Not nullable, Maximum length: 10
storageLocation- Storage LocationConstraints: Not nullable, Maximum length: 4
sDDocumentItem- Sales Order Item of Valuated Sales Order StockConstraints: Not nullable, Maximum length: 6
inventoryStockType- Stock Type of Goods Movement (Stock Identifier)Constraints: Not nullable, Maximum length: 2
sDDocument- Sales order number of valuated sales order stockConstraints: Not nullable, Maximum length: 10
customer- Customer for Special StockConstraints: Not nullable, Maximum length: 10
- 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.
-