Show TOC

 Find Inventory By Elements

 

To find specific inventory using elements as search criteria.

Technical Data

Entity Type

Service Operation

Release State

released

Technical Name

InventoryByElementsQueryResponse_In

Namespace

http://sap.com/xi/EWM/Global

Application Component

SCM-EWM

Web Service Definition (Back End)

/SCWM/BIF_INV_QR

Category

B2B

Direction

inbound

Mode

synchronous

Idempotency

no

Change/Update Behavior

not applicable

P2P Communication Enabled

true

Business Context and Use

The Find Inventory By Elements inbound operation finds inventory by using elements as search criteria. You can use this operation to find inventory in a specific warehouse.

Features

The Find Inventory By Elements request message accepts complex selection criteria that can include the following elements:

  • WarehouseID or StorageBinID (LogisticAreaID element)

  • Means of transportation or user (ResourceID element)

You can also include one or more entries for the following elements:

  • Product (ProductInternalID element)

  • Location-independent stock type (InventoryUsabilityCode element)

  • Availability group (UserInventoryAvailabilityCheckScopeCode element)

  • Stock usage (InventorySpecialStockTypeCode element)

  • Owner (OwnerInternalID element)

  • Party entitled to dispose (EntitledToDisposeInternalID element)

In addition, you can use the following indicators to delimit your search:

  • Setting the CustomsBlockedIndicator will limit the inventory selection to the stock type role Customs Blocked Stock.

  • Setting the ScrappedIndicator will limit the inventory selection to the stock type role Scrapping Stock.

  • If you set neither the CustomsBlockedIndicator nor the ScrappedIndicator, the inventory selection will be lmited to the stock type role Normal Stock.

  • If you set the both CustomsBlockedIndicator and the ScrappedIndicator, the inventory selection will be limited to the stock type role Scrapping Stock.

If successful, the operation returns a log along with all of the details of the inventory found that matches the search criteria. If unsuccessful, the operation returns a log with error details.

Notes
  • If the selected Inventory is of type Sales Order Stock, the sales order numbert is retrieved as SalesOrderID, and the corresponding sales order item is retrieved as SalesOrderItemID.

  • If the selected Inventory is of type Project Stock, the project number is retrieved as ProjectWorkBreakdownStructureElementID.

  • For inventory subject to quality inspection, the inspection document is retrieved as MaterialInspectionID for inventory subject to complete inspection, or as MaterialInspectionItemID for inventory subject to sampling inspection.

Message Types

  • InventoryByElementsQuery_sync

  • InventoryByElementsResponse_sync

Notes on SAP Implementation

The BAdI for InventoryQueryResponse (/SCWM/INV_BIF_QR) Business Add-In (BAdI) is available for this operation.