public interface MaterialStockDisplayService extends BatchService<MaterialStockDisplayServiceBatch>
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 API Business Hub
OData Service: | API_MATERIAL_STOCK_SRV |
API Version: | 1 |
Communication Scenario: | Material Stock Integration (SAP_COM_0164) |
Scope Items: | Core Inventory Management (BMC), CORE Inventory Management (OMC) |
Authentication Methods: | Basic, x509 |
Business Object: | MaterialStock |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
MaterialStockFluentHelper |
getAllMaterialStock()
Fetch multiple
MaterialStock entities. |
MatlStkInAcctModFluentHelper |
getAllMatlStkInAcctMod()
Fetch multiple
MatlStkInAcctMod entities. |
MaterialStockByKeyFluentHelper |
getMaterialStockByKey(String material)
Fetch a single
MaterialStock entity using key fields. |
MatlStkInAcctModByKeyFluentHelper |
getMatlStkInAcctModByKey(String material,
String plant,
String storageLocation,
String batch,
String supplier,
String customer,
String wBSElementInternalID,
String sDDocument,
String sDDocumentItem,
String inventorySpecialStockType,
String inventoryStockType)
Fetch a single
MatlStkInAcctMod entity using key fields. |
MaterialStockDisplayService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull MaterialStockDisplayService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull MaterialStockFluentHelper getAllMaterialStock()
MaterialStock
entities.MaterialStock
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 MaterialStockByKeyFluentHelper getMaterialStockByKey(String material)
MaterialStock
entity using key fields.material
- Alphanumeric key uniquely identifying the material.
Constraints: Not nullable, Maximum length: 40
MaterialStock
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 MatlStkInAcctModFluentHelper getAllMatlStkInAcctMod()
MatlStkInAcctMod
entities.MatlStkInAcctMod
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 MatlStkInAcctModByKeyFluentHelper getMatlStkInAcctModByKey(String material, String plant, String storageLocation, String batch, String supplier, String customer, String wBSElementInternalID, String sDDocument, String sDDocumentItem, String inventorySpecialStockType, String inventoryStockType)
MatlStkInAcctMod
entity using key fields.material
- Material in respect of which the stock is managed.
Constraints: Not nullable, Maximum length: 40
wBSElementInternalID
- Key that identifies the WBS element that is assigned to a sales order stock
Constraints: Not nullable, Maximum length: 24
inventorySpecialStockType
- Special Stock Type
Constraints: Not nullable, Maximum length: 1
plant
- Key uniquely identifying a plant.
Constraints: Not nullable, Maximum length: 4
supplier
- Specifies an alphanumeric key that uniquely identifies the supplier in the SAP system.
Constraints: Not nullable, Maximum length: 10
batch
- Assigns a material that is manufactured in batches or production lots to a specific batch.
Constraints: Not nullable, Maximum length: 10
storageLocation
- Number of the storage location in which the material is stored. A plant may contain one or more
storage locations.
Constraints: Not nullable, Maximum length: 4
sDDocumentItem
- Uniquely identifies an item in a sales order.
Constraints: Not nullable, Maximum length: 6
inventoryStockType
- Unique stock type that identifies the purpose of the stock.
Constraints: Not nullable, Maximum length: 2
sDDocument
- Uniquely identifies a sales order.
Constraints: Not nullable, Maximum length: 10
customer
- Gives an alphanumeric key, which clearly identifies the customer or supplier in the SAP system.
Constraints: Not nullable, Maximum length: 10
MatlStkInAcctMod
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 © 2021 SAP SE. All rights reserved.