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) |
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 inventorySpecialStockType,
String inventoryStockType,
String plant,
String storageLocation,
String batch,
String supplier,
String customer,
String wBSElementInternalID,
String sDDocument,
String sDDocumentItem)
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
- Material Number
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 inventorySpecialStockType, String inventoryStockType, String plant, String storageLocation, String batch, String supplier, String customer, String wBSElementInternalID, String sDDocument, String sDDocumentItem)
MatlStkInAcctMod
entity using key fields.material
- Material in Respect of Which Stock is Managed
Constraints: Not nullable, Maximum length: 40
inventorySpecialStockType
- Special Stock Indicator
Constraints: Not nullable, Maximum length: 1
wBSElementInternalID
- Valuated Sales Order Stock WBS Element
Constraints: Not nullable, Maximum length: 24
plant
- Plant
Constraints: Not nullable, Maximum length: 4
supplier
- Account Number of Supplier or Creditor (Stock Identifier)
Constraints: Not nullable, Maximum length: 10
batch
- Batch Number (Stock Identifier)
Constraints: Not nullable, Maximum length: 10
storageLocation
- Storage Location
Constraints: Not nullable, Maximum length: 4
sDDocumentItem
- Sales Order Item of Valuated Sales Order Stock
Constraints: 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 Stock
Constraints: Not nullable, Maximum length: 10
customer
- Customer Number (Stock Identifier)
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 © 2019 SAP SE. All rights reserved.