Class DefaultMaterialStockDisplayService

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultMaterialStockDisplayService
All Implemented Interfaces:
BatchService<MaterialStockDisplayServiceBatch>, MaterialStockDisplayService

@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultMaterialStockDisplayService") @Deprecated public class DefaultMaterialStockDisplayService extends Object implements MaterialStockDisplayService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

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..

Business Documentation

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
  • Constructor Details

  • Method Details

    • withServicePath

      @Nonnull public DefaultMaterialStockDisplayService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Description copied from interface: MaterialStockDisplayService
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Specified by:
      withServicePath in interface MaterialStockDisplayService
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • batch

      @Nonnull public DefaultMaterialStockDisplayServiceBatch batch()
      Deprecated.
      Specified by:
      batch in interface BatchService<MaterialStockDisplayServiceBatch>
    • getAllMaterialStock

      @Nonnull public MaterialStockFluentHelper getAllMaterialStock()
      Deprecated.
      Description copied from interface: MaterialStockDisplayService
      Fetch multiple MaterialStock entities.
      Specified by:
      getAllMaterialStock in interface MaterialStockDisplayService
      Returns:
      A fluent helper to fetch multiple 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.
    • getMaterialStockByKey

      @Nonnull public MaterialStockByKeyFluentHelper getMaterialStockByKey(String material)
      Deprecated.
      Description copied from interface: MaterialStockDisplayService
      Fetch a single MaterialStock entity using key fields.
      Specified by:
      getMaterialStockByKey in interface MaterialStockDisplayService
      Parameters:
      material - Material Number

      Constraints: Not nullable, Maximum length: 40

      Returns:
      A fluent helper to fetch a single 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.
    • getAllMatlStkInAcctMod

      @Nonnull public MatlStkInAcctModFluentHelper getAllMatlStkInAcctMod()
      Deprecated.
      Description copied from interface: MaterialStockDisplayService
      Fetch multiple MatlStkInAcctMod entities.
      Specified by:
      getAllMatlStkInAcctMod in interface MaterialStockDisplayService
      Returns:
      A fluent helper to fetch multiple 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.
    • 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: MaterialStockDisplayService
      Fetch a single MatlStkInAcctMod entity using key fields.
      Specified by:
      getMatlStkInAcctModByKey in interface MaterialStockDisplayService
      Parameters:
      material - Material in Respect of Which Stock is Managed

      Constraints: Not nullable, Maximum length: 40

      plant - Plant

      Constraints: Not nullable, Maximum length: 4

      storageLocation - Storage Location

      Constraints: Not nullable, Maximum length: 4

      batch - Batch Number (Stock Identifier)

      Constraints: Not nullable, Maximum length: 10

      supplier - Supplier for Special Stock

      Constraints: Not nullable, Maximum length: 10

      customer - Customer for Special Stock

      Constraints: Not nullable, Maximum length: 10

      wBSElementInternalID - Valuated Sales Order Stock WBS Element

      Constraints: Not nullable, Maximum length: 24

      sDDocument - Sales order number of valuated sales order stock

      Constraints: Not nullable, Maximum length: 10

      sDDocumentItem - Sales Order Item of Valuated Sales Order Stock

      Constraints: Not nullable, Maximum length: 6

      inventorySpecialStockType - Special Stock Type

      Constraints: 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 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.