@Named public class DefaultMaterialStockDisplayService extends Object implements 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 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) |
Constructor and Description |
---|
DefaultMaterialStockDisplayService() |
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. |
public MaterialStockFluentHelper getAllMaterialStock()
MaterialStockDisplayService
MaterialStock
entities.getAllMaterialStock
in interface MaterialStockDisplayService
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.public MaterialStockByKeyFluentHelper getMaterialStockByKey(String material)
MaterialStockDisplayService
MaterialStock
entity using key fields.getMaterialStockByKey
in interface MaterialStockDisplayService
material
- Material NumberConstraints: 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.public MatlStkInAcctModFluentHelper getAllMatlStkInAcctMod()
MaterialStockDisplayService
MatlStkInAcctMod
entities.getAllMatlStkInAcctMod
in interface MaterialStockDisplayService
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.public MatlStkInAcctModByKeyFluentHelper getMatlStkInAcctModByKey(String material, String inventorySpecialStockType, String inventoryStockType, String plant, String storageLocation, String batch, String supplier, String customer, String wBSElementInternalID, String sDDocument, String sDDocumentItem)
MaterialStockDisplayService
MatlStkInAcctMod
entity using key fields.getMatlStkInAcctModByKey
in interface MaterialStockDisplayService
material
- Material in Respect of Which Stock is ManagedConstraints: Not nullable, Maximum length: 40
inventorySpecialStockType
- Special Stock IndicatorConstraints: Not nullable, Maximum length: 1
inventoryStockType
- Stock Type of Goods Movement (Stock Identifier)Constraints: Not nullable, Maximum length: 2
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
- Account Number of Supplier or Creditor (Stock Identifier)Constraints: Not nullable, Maximum length: 10
customer
- Customer Number (Stock Identifier)Constraints: 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
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 © 2017 SAP SE. All rights reserved.